Changes
Jump to navigation
Jump to search
TODO: railBy MaKiPL ==Info==Rail.obj is a file containing key locations of train pre-keyed movement track.It stores location on world map, and the train automatically rotates, gives power and calculates needed info (like cargo rotation and etc.) ===File scheme===The file is built the similiar way as [[FF8/WorldMap_wmx|World map WMX.obj]]. The engine is loading animation for specific train every 0x800 bytes (2048). Always. Animation cannot be larger than 2048, and if is smaller than 2048 bytes, then what's left is filled with 00. One animation frame is 16 bytes. {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" | Offset! style="background:rgb(204,204,204)" | Length! style="background:rgb(204,204,204)" | Description|-| 0| Byte| Count of animation frames|-| 1| Byte| Unknown|-| 2| 10 bytes| Unknown|-| varies| count * 16 bytes| Animation frames|-| varies| varies| Padding / 00|}
Added file scheme