再スタート位置

Last-modified: 2009-01-21 (水) 18:23:11

Also see: opcodes 016C and 016D / save file block 8
An unmodded game has 7 restart locations for "busted" and 8 for "wasted". The memory structure suggests a limit of 10 for both of these.

0xa43268: dword -- number of busted structures
0xa4326c: dword -- number of wasted structures
0xa43270: float[10] -- town numbers for busted structures (1 LS / 2 Country+SF / 3 Desert+LV)
0xa43298: float[10] -- angles for busted structures
0xa432c0: float[10] -- town numbers for wasted structures (1 LS / 2 Country+SF / 3 Desert+LV)
0xa432e8: float[10] -- angles for wasted structures
0xa43310: byte[8] -- unknown -- seems to be always the same: 0A D7 A3 39 00 00 00 00
0xa43318: float[3][10] -- x,y,z - respawn coords for wasted structures
0xa43390: float[3][10] -- x,y,z - respawn coords for busted structures
0xa43408: byte[12] -- unknown; matching 12 unknown bytes of save block 8, 0x01 after Busted structures
0xa43414: byte[12] -- unknown; matching 12 unknown bytes of save block 8, 0x0F after Busted structures
0xa43420: [end]
Notes:

Town nos. and angles have the busted structures first but coords have the wasted structures first.
I'm not sure about the end of this structure, but I couldn't recognize anything from the according save block 8 after 0xa43420.