Difference between revisions of "Talk:CRAFT.DAT"

From UFOpaedia
Jump to navigation Jump to search
m (oops)
Line 3: Line 3:
 
  bit 1 (2): craft ran out of fuel (way back to base?)
 
  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 2 (4): craft not being refueled because base ran out of elerium
  bit 3 (8): show complete craft stats (after detection from a hyperwave decoder)
+
  bit 3 (8): ?
 
  bit 4 (16): not enough ammos to rearm the left weapon
 
  bit 4 (16): not enough ammos to rearm the left weapon
 
  bit 5 (32): not enough ammos to rearm the right weapon
 
  bit 5 (32): not enough ammos to rearm the right weapon
  bit 6 (64): ?
+
  bit 6 (64): show complete craft stats (after detection from a hyperwave decoder)
 
  bit 7 (128): ?
 
  bit 7 (128): ?
 
I didn't check on any savegame so don't take this stuff for granted!
 
I didn't check on any savegame so don't take this stuff for granted!

Revision as of 17:49, 5 May 2010

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)


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?.