Brought to you by PCGamingWiki

Modding ships

From FTL Wiki
Revision as of 14:13, 21 September 2012 by 94.194.200.208 (talk) (Created page with " Ship data is divided between several files. == Graphics == == TXT File == {| |- |X_OFFSET |- |<number> |[<number>*35 offsets the entire ship in the X axis] |- |Y_OFFSET |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ship data is divided between several files.

Graphics

TXT File

X_OFFSET
<number> [<number>*35 offsets the entire ship in the X axis]
Y_OFFSET
<number> [<number>*35 offsets the entire ship in the Y axis]
VERTICAL
<number> [<number> offsets the entire ship in the Y axis by this many pixels]
ELLIPSE [The shield graphic uses these parameters]
<width>
<height>
<x-offset>
<y-offset>
ROOM
<id> [Unique ID]
<x> [How many tiles from 0 the room is on the X-axis]
<y> [How many tiles from 0 the room is on the Y-axis]
<w> [How wide is the room]
<h> [How tall is the room]
DOOR
<x> [How many tiles from 0 the door is on the X-axis]
<y> [How many tiles from 0 the door is on the Y-axis]
<room (left/up)> [The room ID to the left (verticle) or above (horizontal) this door]
<room (right/down)> [The room ID to the right (verticle) or below (horizontal) this door]
<vertical/horizontal> [0 = verticle, 1 = horizontal : Door snaps to the left or top wall of that tile always]

XML File

Blueprint XML File