So according to the tutorial I was going by, I thought that this should be very simple... Let me explain the problem:
Basically after creating my ship, which goes smoothly in FTLedit, the rooms are offset in the game to where I had placed them before. It seems to be moving all my rooms so that the top-most room is flush against the top of my ping, despite where I place it in FTLedit. I've done numerous debug tests, and got so far that placing just above every other room 2 rooms below the top room would get every room (except for the top room) into the correct spot. Obviously I don't want a room floating above the ship, so when I move that down, everything gets bumped up in the game again so I'm back to square one.
Is there something I'm missing?? Or a different way to fix this stupid offset problem I'm having? I haven't been able to find anyone having a similar problem. I can post screens if my explanation above wasn't clear.
FTLedit Headache
- kartoFlane
- Posts: 1488
- Joined: Mon Jan 14, 2013 10:20 pm
Re: FTLedit Headache
Well, FTLEdit isn't exactly my creation (it's Darkfrost's) so I can't really help you there -- unless you've meant Superluminal and confused the names.
But regarding your problem, if you're having issues with the editor, you can edit the files manually - unpack your ship's ftl package, and find the shipname.txt file - this file contains all the info regarding layout (that is, rooms and doors).
To move the entire ship around, you have to adjust the X_OFFSET and Y_OFFSET values. If you need to do this on a per-room basis, then you'll have to scroll down to room declarations, and edit appropriate values to position them properly. Here's an explanation what those values mean.
Though frankly, I've had a difficult time comprehending what exactly your problem is, I guess some pictures would indeed help.
But regarding your problem, if you're having issues with the editor, you can edit the files manually - unpack your ship's ftl package, and find the shipname.txt file - this file contains all the info regarding layout (that is, rooms and doors).
To move the entire ship around, you have to adjust the X_OFFSET and Y_OFFSET values. If you need to do this on a per-room basis, then you'll have to scroll down to room declarations, and edit appropriate values to position them properly. Here's an explanation what those values mean.
Though frankly, I've had a difficult time comprehending what exactly your problem is, I guess some pictures would indeed help.
Superluminal2 - a ship editor for FTL
-
- Posts: 58
- Joined: Tue Feb 19, 2013 2:09 am
Re: FTLedit Headache
kartoFlane wrote:Well, FTLEdit isn't exactly my creation (it's Darkfrost's) so I can't really help you there -- unless you've meant Superluminal and confused the names.
But regarding your problem, if you're having issues with the editor, you can edit the files manually - unpack your ship's ftl package, and find the shipname.txt file - this file contains all the info regarding layout (that is, rooms and doors).
To move the entire ship around, you have to adjust the X_OFFSET and Y_OFFSET values. If you need to do this on a per-room basis, then you'll have to scroll down to room declarations, and edit appropriate values to position them properly. Here's an explanation what those values mean.
Though frankly, I've had a difficult time comprehending what exactly your problem is, I guess some pictures would indeed help.
Sorry yeah I was confused. I will mess with the x and y offsets. That probably will fix it, but if not I'll post a few screens here. Thanks.
-
- Posts: 2125
- Joined: Thu Sep 20, 2012 3:17 pm
Re: FTLedit Headache
Just to throw a quick explanation if you want to edit this by hand. In the shipname.txt file you have offsets that move the rooms AND the ship images by n * 35 pixels. The value n must be positive.
In shipname.xml you can set offsets in 1 pixel to move the ship images only. You can have negative offsets here.
So first you want to position the rooms in the middle of the play area, then move the ship images to fit the rooms.
In shipname.xml you can set offsets in 1 pixel to move the ship images only. You can have negative offsets here.
So first you want to position the rooms in the middle of the play area, then move the ship images to fit the rooms.
Report spam using the handy Report Button Mod.
- kartoFlane
- Posts: 1488
- Joined: Mon Jan 14, 2013 10:20 pm
Re: FTLedit Headache
Not exactly -- the offset actually can be negative, it's the net total position of a room that cannot be negative (that is, for all rooms the following has to be true: room_x + offset_x >= 0, same for Y values).
Though I'll admit, it's easier when the offset is positive.
Though I'll admit, it's easier when the offset is positive.
Superluminal2 - a ship editor for FTL
-
- Posts: 2125
- Joined: Thu Sep 20, 2012 3:17 pm
Re: FTLedit Headache
Well, i'll be damned. I allways assumed that having a negative would crash FTL. Still, it's hard to imagine a ship where you would want to use a negative offset at least on the horizontal axis. 0 is already dangerously close to the crew roster. You might want to push a very vertical layout higher up though. Handy to know.kartoFlane wrote:Not exactly -- the offset actually can be negative, it's the net total position of a room that cannot be negative (that is, for all rooms the following has to be true: room_x + offset_x >= 0, same for Y values).
Though I'll admit, it's easier when the offset is positive.
Report spam using the handy Report Button Mod.