Page 28 of 46

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Fri Dec 14, 2012 8:31 am
by Tassyr
I've got a different bug to report- for some reason if I resize any room, or even some I don't touch, the room itself ends up horribly, horribly distorted. As if the location were moved but the original dimension data was left untouched. Did I bork something by not exporting something I should have?

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Fri Dec 14, 2012 10:44 am
by snakybo
I've also have another bug, if I relocate the 2x1 teleporting room to the 2x2 room in the center of the ship it doesn't work at all, it shows up ingame and all but I can't use it

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Fri Dec 14, 2012 11:17 am
by alextfish
Tassyr wrote:I've got a different bug to report- for some reason if I resize any room, or even some I don't touch, the room itself ends up horribly, horribly distorted. As if the location were moved but the original dimension data was left untouched. Did I bork something by not exporting something I should have?
If you're referring to the image inside the room: that's something that FTLEdit doesn't handle. To fix this, you need to unzip the generated .ftl file, edit the blueprints.xml.append file, and look at the lines that say

Code: Select all

img="room_engines"
. Take a look in the folder resources.dat-unpacked/img/ship/interior and you'll see a bunch of different images called room_engines.png, room_engines_2.png, etc. They're a variety of different sizes, and in order to look right, you'll have to choose an image that's the same size as the room you've designed in FTLEdit. For example, suppose your engines room is 1 square wide and 2 squares high. Then the only supplied image that will look right is room_engines_5.png, so you should update your

Code: Select all

<engines
line to specify

Code: Select all

img="room_engines_5"
. You'll need to do this for every system and subsystem in the ship, including any that don't start off installed by default.

If you want a system room to be a shape different to any of the supplied images, then you need to actually create yourself an image of the right size (35 pixels per floor square), give it a name with a number higher than any of the built-in ones, and put it in your mod's img/ship/interior directory.

I imagine this possibility - the chance that none of the supplied images fit - is why FTLEdit doesn't do this for you.

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Sat Dec 15, 2012 6:08 pm
by bayjell654
I have only edited a little bit, adding more power, (no more than 10) and did a little bit of manual editing, but the first time I tried to run this, the layout to background was offset weird, then I closed it out and checked and compared the layout.txt to the original extracted one, and they were the same, so I re-packed my ftl file, thinking it might be an error on my part. Now when I run the game, it crashes everytime I select that ship. no error, no program stopped responding, just gone.
Here's my ftl file that I edited, please someone look it over and see if you can figure anything out

http://www.mediafire.com/?pk63m393l6617r3

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Sat Dec 15, 2012 8:28 pm
by thashepherd
bayjell654 wrote:I have only edited a little bit, adding more power, (no more than 10) and did a little bit of manual editing, but the first time I tried to run this, the layout to background was offset weird, then I closed it out and checked and compared the layout.txt to the original extracted one, and they were the same, so I re-packed my ftl file, thinking it might be an error on my part. Now when I run the game, it crashes everytime I select that ship. no error, no program stopped responding, just gone.
Here's my ftl file that I edited, please someone look it over and see if you can figure anything out

http://www.mediafire.com/?pk63m393l6617r3
Has anyone actually successfully added new room images? I remember trying once, and running into issues.

I wouldn't worry about the layout or rooms being off in the editor - sometimes the bg is in the wrong place or rooms will jump a block, nbd. I find it helps to set up a custom shipload event if you're testing an enemy layout - in-game is canon, and FTLEdit just kind of makes its best guess.

And bayjel - buddy, take a look at your fed_cruiser.xml. Compare it to, say, kestrel.xml - what do you notice about the contents? I would say that I think your fed_cruiser.txt and blueprints.xml.append are fine.

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Sun Dec 16, 2012 3:44 am
by Kieve
The Retribution has a custom pilot's room, which was as far as I progressed with customized interiors. It's possible - easy actually - but I suck with such fine-detail spritework and didn't have the patience to finish up the other rooms.

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Sun Dec 16, 2012 1:15 pm
by alextfish
thashepherd wrote:Has anyone actually successfully added new room images? I remember trying once, and running into issues.
Yeah, most of the ships in my Starcraft mod have custom room images. Notably the Phoenix (or Corsair? can't remember) has a pilot room that's 1x3. It just worked straightforwardly without issues for me (one of the few parts of making that mod that did just work!)

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Sun Dec 16, 2012 8:12 pm
by thashepherd
Nice, I'm glad that works! Thanks for the help.

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Mon Dec 17, 2012 7:04 pm
by RECONmarine2579
So, I need help... Any time I try to do anything to any of my ships in the editor its fine, until I log into the game
at that point the insides (the rooms with all the systems) and the outside of the ship are in a completely different spot
so the outline of the ship is at the bottom of the screen and the insides are at the top

I really like your editor and I want to use it but I don't want to use it if it screws up my ship

Also may I make a suggestion in the options screen you should make it were you can set the power level

Re: [TOOL]FTLEdit: FTL Ship editor [v0.9] (Updated 5th Decem

Posted: Mon Dec 17, 2012 7:06 pm
by RECONmarine2579
bayjell654 wrote:I have only edited a little bit, adding more power, (no more than 10) and did a little bit of manual editing, but the first time I tried to run this, the layout to background was offset weird, then I closed it out and checked and compared the layout.txt to the original extracted one, and they were the same, so I re-packed my ftl file, thinking it might be an error on my part. Now when I run the game, it crashes everytime I select that ship. no error, no program stopped responding, just gone.
Here's my ftl file that I edited, please someone look it over and see if you can figure anything out

http://www.mediafire.com/?pk63m393l6617r3
Same when I try to do anything its REALLY off set its annoying