I began deciding to make FTL ships through a combination of 2 ship editors, though after a bit of hard graft, for some reason, the game crashes, i have no idea why, i know it isn't a problem with system placement since they are all placed where they need to be, i know it isn't a problem with images since i have done ALL of the images including cloak, but it still crashes, i seriously don't know why so i would like your help as to why it is
I don't know. From experience i know that unexpected crashes are fairly common and finding the problem can be very difficult. That is why i don't use ship editors. Doing it by hand makes it easier to trace back to an error. It looks like the problem is in one of the blueprints files, since errors with images usually result in things becoming invisible.
If you like you can upload the mod in it's current state so someone can take a look at it and help you find the problem.
UltraMantis wrote:I don't know. From experience i know that unexpected crashes are fairly common and finding the problem can be very difficult. That is why i don't use ship editors. Doing it by hand makes it easier to trace back to an error. It looks like the problem is in one of the blueprints files, since errors with images usually result in things becoming invisible.
If you like you can upload the mod in it's current state so someone can take a look at it and help you find the problem.
data.rar
you will need to use a seperate img folder, i cannot attatch smaller files
<medbay power="1" room="7" start="true" img="room_medbay"/>
<slot>
<direction>right</direction>
<number>-2</number>
</slot>
is incorrect. When slots are defined a closing tag must be included after the <slot> tag.
This is correct:
<medbay power="1" room="7" start="true" img="room_medbay">
<slot>
<direction>right</direction>
<number>-2</number>
</slot>
</medbay>
Note that the / is removed from the end of the opening <medbay> tag, and instead placed in the closing </medbay> tag. Systems with <slot> data are treated differently.
There's still some issues with room positions, but it's not crashing anymore. I don't know which editor messed up the data. It's a pretty serious error, maybe you should post about it in the editor thread.
<medbay power="1" room="7" start="true" img="room_medbay"/>
<slot>
<direction>right</direction>
<number>-2</number>
</slot>
is incorrect. When slots are defined a closing tag must be included after the <slot> tag.
This is correct:
<medbay power="1" room="7" start="true" img="room_medbay">
<slot>
<direction>right</direction>
<number>-2</number>
</slot>
</medbay>
Note that the / is removed from the end of the opening <medbay> tag, and instead placed in the closing </medbay> tag. Systems with <slot> data are treated differently.
There's still some issues with room positions, but it's not crashing anymore. I don't know which editor messed up the data. It's a pretty serious error, maybe you should post about it in the editor thread.
there is a very good chance it was FTLedit, i used it for the room layout and weapons (basically making the blueprint file) and the other creator for wepaon mounts, i noticed that when making the ship and adding stuff on options, the rooms would go horribly off position
okay, i've managed to fix the room problems and a little off-center issue, but now the shield image is off-center and i do not know why, also, the outer doors (that are supposed to be airlocks to outside) don't drain oxygen, i do not knwo why this is and i cannot find the code to solve this
For shield graphic, you have to adjust the ellipse in shipname.txt - the latter two of the four values are the offset, try playing around with them to align the shield the way you want.
As for airlock doors not draining oxygen, it's an issue with their room IDs: airlock doors should have an ID of -1 where they border with space. Take a look at this, if you haven't seen it already; the room (left/up) and room (right/down) are the values you have to adjust.