From UFOpaedia
Jump to navigation Jump to search

Here is a theory about offset 100:

bit 0 (1): ?
bit 1 (2): craft ran out of fuel (way back to base?)
bit 2 (4): craft not being refueled because base ran out of elerium
bit 3 (8): ?
bit 4 (16): not enough ammos to rearm the left weapon
bit 5 (32): not enough ammos to rearm the right weapon
bit 6 (64): show complete craft stats (after detection from a hyperwave decoder)
bit 7 (128): ?

I didn't check on any savegame so don't take this stuff for granted! Seb76 13:47, 21 February 2008 (PST)

bit 0 (1): craft in hangar (0=craft's been flew away)
bit 1 (2): want to go home (set after mission or when out of fuel), blocks craft from re-targeting
bit 2 (4): [runtime] out of elerium (0=fueled)
bit 3 (8): [runtime] out of left ammo (0=left weapon rearmed)
bit 4 (16): [runtime] out of right ammo (0=right weapon rearmed)
bit 5 (32): [runtime] flag of processed UFO in interception window, to avoid multiple
          escape/attack timers decrementing in case when UFO is pursued in more than 1 window at once.
bit 6 (64): hyperwaved extra info

Runtime values cannot be tested to see any effect, since they are modified in runtime before using. --Volutar 07:27, 15 April 2011 (EDT)

Offsets 16-17: looks like an index into LOC.DAT referencing the destination (e.g. waypoint) of the craft (at least for XCOM ships). Seb76 14:06, 21 February 2008 (PST)

Tracking down UFO waypoints would also be interesting (the very next one is saved in the gamefile somewhere) -- Zaimoni 9;15 June 25 2008

Offsets 18-19: index into INTER.DAT when the ship is in interception mode. Does anyone have details concerning INTER.DAT? Seb76 16:32, 24 June 2008 (PDT)

Offsets 20-21, 22-23: Next UFO waypoint. Seb76 22:48, 26 September 2009 (EDT)

Are these two separate waypoints (eg, waypoint 1 and waypoint 2) or is 20-21 a horizontal coordinate and 22-23 a vertical coordinate? --Zombie 22:08, 27 September 2009 (EDT)

They are world coordinates. The game seems to use offset 4 to determine the tracking mode to use: for 1 it uses the waypoint at index 16 (xcom ships and base retaliation battleships), for 2 it uses these world coordinates (other alien ships). Seb76 05:39, 28 September 2009 (EDT)

Where are craft weapon stats held?

This may be a dumb question but where are craft weapon stats defined? Are they in the geoscape.exe executable, or in a data file? XComUtil must know where, since it hacks the combat stats of various craft weapons, as well as the manufacturing stats. Spike 15:33, 2 July 2009 (EDT)

OK I just saw Emphyrio's note at Talk:GEOSCAPE.EXE#craft weapon stats?.