Difference between revisions of "INTER.DAT"

From UFOpaedia
Jump to navigation Jump to search
m
m
Line 11: Line 11:
 
*0x02 (word): ?aircraft type or icon? 3=Interceptor?
 
*0x02 (word): ?aircraft type or icon? 3=Interceptor?
 
*0x04 (word): ?aircraft number to use as label on minimised window? Or is 0x08 the aircraft#?
 
*0x04 (word): ?aircraft number to use as label on minimised window? Or is 0x08 the aircraft#?
*0x6/8 (words): 4-3 3-2 2-1 1-0. Some kind of previous/current/next window linked list?  
+
*0x06 (word): craft LOC.DAT entry number.
*0x0A (word): craft LOC.DAT entry number.
+
*0x08 (word): Some kind of previous/current/next window linked list?  
 +
*0x0A (word): UFO LOC.DAT entry number.
 
*0x0C (word): UFO size (note: size is [5-entry from UFO data]...vs=0, s=1, m=2, l=3, vl=4)
 
*0x0C (word): UFO size (note: size is [5-entry from UFO data]...vs=0, s=1, m=2, l=3, vl=4)
 
*0x0e (word): this window minimized =1, open =0  
 
*0x0e (word): this window minimized =1, open =0  

Revision as of 02:57, 15 February 2014

This file details the specifics of any interceptions currently occurring on the Geoscape.

  • File length 0x238 = 568 bytes
  • Up to 4 records - 1 per interception window
  • Record length 0x8E = 142 bytes

Record structure:

  • 0x00 (word): active/inactive window:
    • 0= active window (aircraft exists & is in intercept range)
    • 1= no active window (aircraft does not exist or does exist but is not in intercept range now)
  • 0x02 (word): ?aircraft type or icon? 3=Interceptor?
  • 0x04 (word): ?aircraft number to use as label on minimised window? Or is 0x08 the aircraft#?
  • 0x06 (word): craft LOC.DAT entry number.
  • 0x08 (word): Some kind of previous/current/next window linked list?
  • 0x0A (word): UFO LOC.DAT entry number.
  • 0x0C (word): UFO size (note: size is [5-entry from UFO data]...vs=0, s=1, m=2, l=3, vl=4)
  • 0x0e (word): this window minimized =1, open =0
  • 0x12 (word): y position of window (accessed as a byte where I found it but it is most likely a word).
  • 0x14 (word): x position of window (x position is accessed as a word)
  • 0x16 (word): status message (starting at offset 0x397 in ENGLISH.DAT)
  • 0x18 (word): count down before the status message is cleared
  • 0x1A (word): attack mode 0=Standoff 1=Cautious 2=Standard 3=Aggressive
  • 0x1C (word): ?current distance to target? (km x8) - can exceed standoff range (if 0x00 = 01)
  • 0x1E (word): requested distance to target (km x8) eg 30 02 = 560 = 70km (stand off)
  • 0x20 (word): speed delta (difference between speed of target ufo and xcom craft), "approach speed"
  • 0x22 (word): air speed (current? max?) eg 18 15 = 5,400 = Avenger
  • 0x24-0x41 (word): 15 distances of launched projectiles from left weapon
  • 0x42-0x5F (word): 15 distances of launched projectiles from right weapon
  • 0x60 (word): Left weapon type
  • 0x62 (word): Right weapon type
  • 0x64 (word): Left weapon reload timer
  • 0x66 (word): Right weapon reload timer
  • 0x6A (word): UFO hit flash timer
  • 0x6C (word): UFO return fire intense level
  • 0x6E (word): another hit counter?
  • 0x70 (word): UFO side view preview opened
  • 0x72 (word) XCOM craft type
  • 0x74 (word) UFO craft type
  • 0x76 (dword): memory pointer to CRAFT.DAT entry of the attacking craft
  • 0x7A (dword): memory pointer to attacking craft stats
  • 0x7E (dword): memory pointer to attacking craft left weapon stats
  • 0x82 (dword): memory pointer to attacking craft right weapon stats
  • 0x86 (dword): memory pointer to CRAFT.DAT entry of the attacked UFO
  • 0x8A (dword): memory pointer to UFO stats

It can be quite difficult to get saved INTER.DAT files while air combat is happening. The Options shortcut key from UFOExtender helps somewhat in getting to the Save menu. It seems to be easier to do if you have 4 aircraft engaged, vs just 1 or 2. Or maybe it's just easier if your aircraft are faster than the UFOs and can keep station with them effortlessly.


See Also