Difference between revisions of "CRAFT.DAT (TFTD)"

From UFOpaedia
Jump to navigation Jump to search
(Split this from the EU file page.)
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
This file contains information specific to the crafts in the game. Both X-COM and Alien crafts (including hidden ones) are in this file, though the values for the alien craft are still shrouded in mystery.
 +
 +
Note that [[CRAFT.DAT|UFO:EU uses a different version of this file]]. Compared to the previous game, the TFTD copy is jumbled; presumably this was to prevent players "importing" their "uber craft" from their previous save-games.
 +
 +
 
==TFTD Structure==
 
==TFTD Structure==
There are 50 records each having 110 bytes long for a file size of 5,500 bytes. Unless otherwise noted, all values and offsets are in Hex; 2-byte values are signed little-endian integers.
+
There are 50 records each having 110 bytes long for a file size of 5,500 bytes. 2-byte values are signed little-endian integers.
  
* '''0''' - Craft Type, Possible Values are the same as [[GEODATA.DAT]]:
+
{| class="wikitable"
{| {{stdTable}}
 
! Human !! Alien
 
|-       
 
| 0 - Triton || 5 - Survey Ship
 
|-       
 
| 1 - Hammerhead || 6 - Escort
 
|-       
 
| 2 - Leviathan || 7 - Cruiser
 
|-       
 
| 3 - Barracuda || 8 - Heavy Cruiser
 
|-       
 
| 4 - Manta || 9 - Hunter
 
|-       
 
| || A - Battleship
 
|-       
 
| || B - Dreadnought
 
|-       
 
| || C - Fleet Supply Cruiser
 
 
|-
 
|-
| colspan="2" align="center" | FF - Entry Not Used
+
!Offset<br>(Decimal)
|}
+
!Offset<br>(Hex)
 
+
!Usage
Offsets 1 and 5 refer to the weapon placed in the left and right slots respectively. (The Hammerhead does not have a center weapon type, only a left). Their possible values are listed here:
+
|- valign="top"
   0 - Ajax Launcher
+
!<span id="0"></span>0
   1 - D.U.P. Head Launcher
+
!<span id="0x00"></span>0x00
   2 - Craft Gas Cannon
+
|Craft type, possible values are the same as [[GEODATA.DAT]]:
   3 - P.W.T. Cannon
+
    *HUMAN*          *ALIEN*       
   4 - Gauss Cannon
+
0 - [[Triton]]      5 - [[Survey Ship]]      255 - Entry Not Used
   5 - Sonic Wave
+
1 - [[Hammerhead]]  6 - [[Escort]]
 +
2 - [[Leviathan]]    7 - [[Cruiser]]
 +
3 - [[Barracuda]]    8 - [[Heavy Cruiser]]
 +
4 - [[Manta]]        9 - [[Hunter]]
 +
                10 - [[Battleship (TFTD)|Battleship]]
 +
                11 - [[Dreadnought]]
 +
                12 - [[Fleet Supply Cruiser]]
 +
|- valign="top"
 +
|colspan=3|Offsets 1 and 5 refer to the weapon placed in the left and right slots respectively. (The [[Hammerhead]] does not have a center weapon type, only a left). Their possible values are listed here:
 +
   0 - [[AJAX|Ajax Launcher]]
 +
   1 - [[D.U.P. Head|D.U.P. Head Launcher]]
 +
   2 - [[Craft Gas Cannon]]
 +
   3 - [[P.W.T. Cannon]]
 +
   4 - [[Gauss Cannon]]
 +
   5 - [[Sonic Oscillator]]
 
  FF - No Weapon
 
  FF - No Weapon
* '''1''' - Left Weapon Type
+
|- valign="top"
* '''2-3''' - Left Ammo Quantity <small>('''NOTE''': Ammo values normally do not exceed 100, but since the variable is stored as 2 bytes you can crank the total up to 32,767).</small>
+
!<span id="1"></span>1
* '''4''' - Indicates what a craft is doing.
+
!<span id="0x01"></span>0x01
 +
|Left weapon type.
 +
|- valign="top"
 +
!<span id="2-3"></span>2-3
 +
!<span id="0x02-0x03"></span>0x02-0x03
 +
|Left ammo quantity <small>('''NOTE''': Ammo values normally do not exceed 100, but since the variable is stored as 2 bytes you can crank the total up to 32,767).</small>
 +
|- valign="top"
 +
!<span id="4"></span>4
 +
!<span id="0x04"></span>0x04
 +
|Indicates what a craft is doing.
 
  0 - At base
 
  0 - At base
  1 - Airborne
+
  1 - Moving
  2 - USOs normally get this value, have no idea what it represents.
+
  2 - USOs often get this value, no idea what it represents.
* '''5''' - Right Weapon Type
+
|- valign="top"
* '''6-3C''' - Items on sub.
+
!<span id="5"></span>5
  6 - Coelacanth/G. Cannon
+
!<span id="0x05"></span>0x05
  7 - Coelacanth/Aqua Jet
+
|Right weapon type.
  8 - Coelacanth/Gauss
+
|- valign="top"
  9 - Displacer /Sonic
+
|colspan=3|The following values, 6-60 (0x06-0x3C), keep track of how many of item X is stored on the craft.
  A - Displacer /P.W.T.
+
|- valign="top"
  B - Dart Gun
+
!<span id="6"></span>6
  C - Dart Clip
+
!<span id="0x06"></span>0x06
  D - Jet Harpoon
+
|Coelacanth/G. Cannon
  E - Harpoon Clip
+
|- valign="top"
  F - Gas Cannon
+
!<span id="7"></span>7
10 - GC-AP Bolts
+
!<span id="0x07"></span>0x07
11 - GC-HE Bolts
+
|Coelacanth/Aqua Jet
12 - GC-Phosphorous Bolts
+
|- valign="top"
13 - Hydro-Jet Cannon
+
!<span id="8"></span>8
14 - HJ-AP Ammo
+
!<span id="0x08"></span>0x08
15 - HJ-HE Ammo
+
|Coelacanth/Gauss
16 - HJ-P Ammo
+
|- valign="top"
17 - Torpedo Launcher
+
!<span id="9"></span>9
18 - Small Torpedo
+
!<span id="0x09"></span>0x09
19 - Large Torpedo
+
|Displacer /Sonic
1A - Phosphor Torpedo
+
|- valign="top"
1B - Gauss Pistol
+
!<span id="10"></span>10
1C - Gauss Rifle
+
!<span id="0x0A"></span>0x0A
1D - Heavy Gauss
+
|Displacer /P.W.T.
1E - Magna-Blast Grenade
+
|- valign="top"
1F - Dye Grenade
+
!<span id="11"></span>11
20 - Particle Disturbance Grenade
+
!<span id="0x0B"></span>0x0B
21 - Magna-Pack Explosive
+
|Dart Gun
22 - Particle Disturbance Sensor
+
|- valign="top"
23 - Medi-Kit
+
!<span id="12"></span>12
24 - M.C. Disruptor
+
!<span id="0x0C"></span>0x0C
25 - Thermal Tazer
+
|Dart Clip
26 - Chemical Flare
+
|- valign="top"
27 - Vibro Blade
+
!<span id="13"></span>13
28 - Thermic Lance
+
!<span id="0x0D"></span>0x0D
29 - Heavy Thermic Lance
+
|Jet Harpoon
2A - ''(Unused)''
+
|- valign="top"
2B - ''(Unused)''
+
!<span id="14"></span>14
2C - ''(Unused)''
+
!<span id="0x0E"></span>0x0E
2D - Sonic Cannon
+
|Harpoon Clip
2E - Cannon Power Clip
+
|- valign="top"
2F - Sonic-Blasta Rifle
+
!<span id="15"></span>15
30 - Blasta Power Clip
+
!<span id="0x0F"></span>0x0F
31 - Sonic Pistol
+
|Gas Cannon
32 - Pistol Power Clip
+
|- valign="top"
33 - Disruptor Pulse Launcher
+
!<span id="16"></span>16
34 - Disruptor Ammo
+
!<span id="0x10"></span>0x10
35 - Thermal Shok Launcher
+
|GC-AP Bolts
36 - Thermal Shok Bomb
+
|- valign="top"
37 - Sonic Pulser
+
!<span id="17"></span>17
38 - ''(Unused)''
+
!<span id="0x11"></span>0x11
39 - M.C. Reader
+
|GC-HE Bolts
3A - Gauss Pistol Clip
+
|- valign="top"
3B - Gauss Rifle Clip
+
!<span id="18"></span>18
3C - Heavy Gauss Clip
+
!<span id="0x12"></span>0x12
* '''3D''' - Unknown.
+
|GC-Phosphorous Bolts
* '''3E-3F''' - Right Ammo Quantity <small>('''NOTE''': Ammo values normally do not exceed 100, but since the variable is stored as 2 bytes you can crank the total up to 32,767).</small>
+
|- valign="top"
* '''40-41''' - Unknown.
+
!<span id="19"></span>19
* '''42-43''' - Damage, that is the amount it currently has taken. This value divided by the craft's damage capacity gives the percentage shown in-game.
+
!<span id="0x13"></span>0x13
* '''44-45''' - Depth of craft.
+
|Hydro-Jet Cannon
 +
|- valign="top"
 +
!<span id="20"></span>20
 +
!<span id="0x14"></span>0x14
 +
|HJ-AP Ammo
 +
|- valign="top"
 +
!<span id="21"></span>21
 +
!<span id="0x15"></span>0x15
 +
|HJ-HE Ammo
 +
|- valign="top"
 +
!<span id="22"></span>22
 +
!<span id="0x16"></span>0x16
 +
|HJ-P Ammo
 +
|- valign="top"
 +
!<span id="23"></span>23
 +
!<span id="0x17"></span>0x17
 +
|Torpedo Launcher
 +
|- valign="top"
 +
!<span id="24"></span>24
 +
!<span id="0x18"></span>0x18
 +
|Small Torpedo
 +
|- valign="top"
 +
!<span id="25"></span>25
 +
!<span id="0x19"></span>0x19
 +
|Large Torpedo
 +
|- valign="top"
 +
!<span id="26"></span>26
 +
!<span id="0x1A"></span>0x1A
 +
|Phosphor Torpedo
 +
|- valign="top"
 +
!<span id="27"></span>27
 +
!<span id="0x1B"></span>0x1B
 +
|Gauss Pistol
 +
|- valign="top"
 +
!<span id="28"></span>28
 +
!<span id="0x1C"></span>0x1C
 +
|Gauss Rifle
 +
|- valign="top"
 +
!<span id="29"></span>29
 +
!<span id="0x1D"></span>0x1D
 +
|Heavy Gauss
 +
|- valign="top"
 +
!<span id="30"></span>30
 +
!<span id="0x1E"></span>0x1E
 +
|Magna-Blast Grenade
 +
|- valign="top"
 +
!<span id="31"></span>31
 +
!<span id="0x1F"></span>0x1F
 +
|Dye Grenade
 +
|- valign="top"
 +
!<span id="32"></span>32
 +
!<span id="0x20"></span>0x20
 +
|Particle Disturbance Grenade
 +
|- valign="top"
 +
!<span id="33"></span>33
 +
!<span id="0x21"></span>0x21
 +
|Magna-Pack Explosive
 +
|- valign="top"
 +
!<span id="34"></span>34
 +
!<span id="0x22"></span>0x22
 +
|Particle Disturbance Sensor
 +
|- valign="top"
 +
!<span id="35"></span>35
 +
!<span id="0x23"></span>0x23
 +
|Medi-Kit
 +
|- valign="top"
 +
!<span id="36"></span>36
 +
!<span id="0x24"></span>0x24
 +
|M.C. Disruptor
 +
|- valign="top"
 +
!<span id="37"></span>37
 +
!<span id="0x25"></span>0x25
 +
|Thermal Tazer
 +
|- valign="top"
 +
!<span id="38"></span>38
 +
!<span id="0x26"></span>0x26
 +
|Chemical Flare
 +
|- valign="top"
 +
!<span id="39"></span>39
 +
!<span id="0x27"></span>0x27
 +
|Vibro Blade
 +
|- valign="top"
 +
!<span id="40"></span>40
 +
!<span id="0x28"></span>0x28
 +
|Thermic Lance
 +
|- valign="top"
 +
!<span id="41"></span>41
 +
!<span id="0x29"></span>0x29
 +
|Heavy Thermic Lance
 +
|- valign="top"
 +
!<span id="42"></span>42
 +
!<span id="0x2A"></span>0x2A
 +
|''(Unused)''
 +
|- valign="top"
 +
!<span id="43"></span>43
 +
!<span id="0x2B"></span>0x2B
 +
|''(Unused)''
 +
|- valign="top"
 +
!<span id="44"></span>44
 +
!<span id="0x2C"></span>0x2C
 +
|''(Unused)''
 +
|- valign="top"
 +
!<span id="45"></span>45
 +
!<span id="0x2D"></span>0x2D
 +
|Sonic Cannon
 +
|- valign="top"
 +
!<span id="46"></span>46
 +
!<span id="0x2E"></span>0x2E
 +
|Cannon Power Clip
 +
|- valign="top"
 +
!<span id="47"></span>47
 +
!<span id="0x2F"></span>0x2F
 +
|Sonic-Blasta Rifle
 +
|- valign="top"
 +
!<span id="48"></span>48
 +
!<span id="0x30"></span>0x30
 +
|Blasta Power Clip
 +
|- valign="top"
 +
!<span id="49"></span>49
 +
!<span id="0x31"></span>0x31
 +
|Sonic Pistol
 +
|- valign="top"
 +
!<span id="50"></span>50
 +
!<span id="0x32"></span>0x32
 +
|Pistol Power Clip
 +
|- valign="top"
 +
!<span id="51"></span>51
 +
!<span id="0x33"></span>0x33
 +
|Disruptor Pulse Launcher
 +
|- valign="top"
 +
!<span id="52"></span>52
 +
!<span id="0x34"></span>0x34
 +
|Disruptor Ammo
 +
|- valign="top"
 +
!<span id="53"></span>53
 +
!<span id="0x35"></span>0x35
 +
|Thermal Shok Launcher
 +
|- valign="top"
 +
!<span id="54"></span>54
 +
!<span id="0x36"></span>0x36
 +
|Thermal Shok Bomb
 +
|- valign="top"
 +
!<span id="55"></span>55
 +
!<span id="0x37"></span>0x37
 +
|Sonic Pulser
 +
|- valign="top"
 +
!<span id="56"></span>56
 +
!<span id="0x38"></span>0x38
 +
|''(Unused)''
 +
|- valign="top"
 +
!<span id="57"></span>57
 +
!<span id="0x39"></span>0x39
 +
|M.C. Reader
 +
|- valign="top"
 +
!<span id="58"></span>58
 +
!<span id="0x3A"></span>0x3A
 +
|Gauss Pistol Clip
 +
|- valign="top"
 +
!<span id="59"></span>59
 +
!<span id="0x3B"></span>0x3B
 +
|Gauss Rifle Clip
 +
|- valign="top"
 +
!<span id="60"></span>60
 +
!<span id="0x3C"></span>0x3C
 +
|Heavy Gauss Clip
 +
|- valign="top"
 +
!<span id="61"></span>61
 +
!<span id="0x3D"></span>0x3D
 +
|''Unknown use.''
 +
|- valign="top"
 +
!<span id="62-63"></span>62-63
 +
!<span id="0x3E-0x3F"></span>0x3E-0x3F
 +
|Right ammo quantity <small>('''NOTE''': Ammo values normally do not exceed 100, but since the variable is stored as 2 bytes you can crank the total up to 32,767).</small>
 +
|- valign="top"
 +
!<span id="64-65"></span>64-65
 +
!<span id="0x40-0x41"></span>0x40-0x41
 +
|''(Unused)''
 +
|- valign="top"
 +
!<span id="66-67"></span>66-67
 +
!<span id="0x42-0x43"></span>0x42-0x43
 +
|Damage, that is the amount it currently has taken. This value divided by the craft's damage capacity gives the percentage shown in-game.
 +
|- valign="top"
 +
!<span id="68-69"></span>68-69
 +
!<span id="0x44-0x45"></span>0x44-0x45
 +
|Depth of craft.
 
  0 - Touched Down *
 
  0 - Touched Down *
 
  1 - Shallow
 
  1 - Shallow
Line 106: Line 300:
 
  3 - Deep
 
  3 - Deep
 
  4 - Very Deep
 
  4 - Very Deep
<small>('''*NOTE''': If craft is moving and you change it to this value the depth will correct itself automatically. Speed must also be edited to 0 for the change in depth to hold.)</small>
+
<small>('''*NOTE''': If craft is moving and you change it to this value the depth will correct itself automatically. Speed must also be edited to 0 for the change in depth to hold.)</small>
* '''46-47''' - Speed of craft.  
+
|- valign="top"
* '''48-49''' - Unknown - activity type?
+
!<span id="70-71"></span>70-71
* '''4A-4B''' - Unknown - goes to 0 when tracking a target but not attacking.
+
!<span id="0x46-0x47"></span>0x46-0x47
* '''4C-4D''' - Destination coordinates, horizontal.
+
|Speed of craft.
* '''4E-4F''' - Destination coordinates, vertical.
+
|- valign="top"
* '''50-51''' - Fuel, amount remaining. This value divided by the crafts total fuel capacity gives the percentage shown in-game.
+
!<span id="72-73"></span>72-73
* '''52-53''' - Base Reference as an index to [[LOC.DAT]]
+
!<span id="0x48-0x49"></span>0x48-0x49
* '''54-55''' - Mission type craft is on.
+
|Index into [[LOC.DAT]] referencing the destination - for example, waypoints for X-COM craft, or X-COM bases for alien craft.
 +
|- valign="top"
 +
!<span id="74-75"></span>74-75
 +
!<span id="0x4A-0x4B"></span>0x4A-0x4B
 +
|Unknown - goes to 0 when tracking a target but not attacking. -1 means the ship is airborne despite the value of byte 0x44
 +
|- valign="top"
 +
!<span id="76-77"></span>76-77
 +
!<span id="0x4C-0x4D"></span>0x4C-0x4D
 +
|Destination coordinates, horizontal (longitude).
 +
|- valign="top"
 +
!<span id="78-79"></span>78-79
 +
!<span id="0x4E-0x4F"></span>0x4E-0x4F
 +
|Destination coordinates, vertical (latitude).
 +
|- valign="top"
 +
!<span id="80-81"></span>80-81
 +
!<span id="0x50-0x51"></span>0x50-0x51
 +
|Fuel, amount remaining. This value divided by the crafts total fuel capacity gives the percentage shown in-game.
 +
|- valign="top"
 +
!<span id="82-83"></span>82-83
 +
!<span id="0x52-0x53"></span>0x52-0x53
 +
|Base reference as an index to [[LOC.DAT]].
 +
|- valign="top"
 +
!<span id="84-85"></span>84-85
 +
!<span id="0x54-0x55"></span>0x54-0x55
 +
|Mission type craft is on.
 
  0 - Alien Probe Mission
 
  0 - Alien Probe Mission
 
  1 - Alien Interdiction
 
  1 - Alien Interdiction
Line 123: Line 341:
 
  6 - Floating Base Attack
 
  6 - Floating Base Attack
 
  7 - Colony Supply Missions
 
  7 - Colony Supply Missions
* '''56-57''' - Zone where mission is being carried out.
+
|- valign="top"
 +
!<span id="86-87"></span>86-87
 +
!<span id="0x56-0x57"></span>0x56-0x57
 +
|Zone where mission is being carried out.
 
  0 - North Atlantic
 
  0 - North Atlantic
 
  1 - South Atlantic
 
  1 - South Atlantic
Line 139: Line 360:
 
  D - North America
 
  D - North America
 
  E - Africa
 
  E - Africa
* '''58-59''' - Unknown.
+
|- valign="top"
* '''5A-5B''' - Unknown.
+
!<span id="88-89"></span>88-89
* '''5C-5D''' - Primary Alien Race found on craft.
+
!<span id="0x58-0x59"></span>0x58-0x59
 +
|''Unknown use.''
 +
|- valign="top"
 +
!<span id="90-91"></span>90-91
 +
!<span id="0x5A-0x5B"></span>0x5A-0x5B
 +
|''Unknown use.''
 +
|- valign="top"
 +
!<span id="92-93"></span>92-93
 +
!<span id="0x5C-0x5D"></span>0x5C-0x5D
 +
|Primary alien race found on craft.
 
  0  - Aquatoid
 
  0  - Aquatoid
 
  1  - Gill Man
 
  1  - Gill Man
 
  2  - Lobster Man
 
  2  - Lobster Man
 
  3  - Tasoth
 
  3  - Tasoth
  4+ - Mixed
+
  4 - Mixed Tasoth based
* '''5E-5F''' - Unknown.
+
- Mixed Lobster Man based
* '''60-61''' - Unknown.
+
|- valign="top"
* '''62-63''' - Craft status.
+
!<span id="94-95"></span>94-95
 +
!<span id="0x5E-0x5F"></span>0x5E-0x5F
 +
|USO attack timer.
 +
|- valign="top"
 +
!<span id="96-97"></span>96-97
 +
!<span id="0x60-0x61"></span>0x60-0x61
 +
|USO escape maneuver timer.
 +
|- valign="top"
 +
!<span id="98-99"></span>98-99
 +
!<span id="0x62-0x63"></span>0x62-0x63
 +
|Craft status.
 
  0 - Ready
 
  0 - Ready
 
  1 - Out
 
  1 - Out
Line 155: Line 395:
 
  3 - Refueling
 
  3 - Refueling
 
  4 - Re-arming
 
  4 - Re-arming
* '''64''' - Bit Flags.
+
|- valign="top"
 +
!<span id="100-103"></span>100-103
 +
!<span id="0x64-0x67"></span>0x64-0x67
 +
|Bit Flags.
 
  40 - Show full Transmission Resolver data
 
  40 - Show full Transmission Resolver data
* '''65-67''' - Unknown - possibly 64 is actually a 4-byte value.
+
|- valign="top"
* '''68-69''' - Touchdown depth (see entry at 44-45 for possible values).
+
!<span id="104-105"></span>104-105
* '''6A-6D''' - Unknown.
+
!<span id="0x68-0x69"></span>0x68-0x69
 +
|Touchdown depth (see entry at [[#68-69|[68-69]]] for possible values).
 +
|- valign="top"
 +
!<span id="106"></span>106
 +
!<span id="0x6A"></span>0x6A
 +
|''Used to determine if Xcraft are able to intercept.''
 +
|- valign="top"
 +
!<span id="107"></span>107
 +
!<span id="0x6B"></span>0x6B
 +
|''Used to determine if Xcraft are able to intercept.''
 +
|- valign="top"
 +
!<span id="108"></span>108
 +
!<span id="0x6C"></span>0x6C
 +
|''Used to determine if Xcraft are able to intercept.''
 +
|- valign="top"
 +
!<span id="109"></span>109
 +
!<span id="0x6D"></span>0x6D
 +
|''Unknown.''
 +
|-
 +
|}
  
 
==See Also==
 
==See Also==
 +
* [[CRAFT.DAT]]
 +
* [[Saved Game Files]]
  
* [[Saved Game Files]]
+
[[Category:Game Files (TFTD)]]
 +
[[Category:TFTD]]

Latest revision as of 14:19, 23 July 2013

This file contains information specific to the crafts in the game. Both X-COM and Alien crafts (including hidden ones) are in this file, though the values for the alien craft are still shrouded in mystery.

Note that UFO:EU uses a different version of this file. Compared to the previous game, the TFTD copy is jumbled; presumably this was to prevent players "importing" their "uber craft" from their previous save-games.


TFTD Structure

There are 50 records each having 110 bytes long for a file size of 5,500 bytes. 2-byte values are signed little-endian integers.

Offset
(Decimal)
Offset
(Hex)
Usage
0 0x00 Craft type, possible values are the same as GEODATA.DAT:
    *HUMAN*          *ALIEN*         
0 - Triton       5 - Survey Ship      255 - Entry Not Used
1 - Hammerhead   6 - Escort
2 - Leviathan    7 - Cruiser
3 - Barracuda    8 - Heavy Cruiser
4 - Manta        9 - Hunter
                10 - Battleship
                11 - Dreadnought
                12 - Fleet Supply Cruiser
Offsets 1 and 5 refer to the weapon placed in the left and right slots respectively. (The Hammerhead does not have a center weapon type, only a left). Their possible values are listed here:
 0 - Ajax Launcher
 1 - D.U.P. Head Launcher
 2 - Craft Gas Cannon
 3 - P.W.T. Cannon
 4 - Gauss Cannon
 5 - Sonic Oscillator
FF - No Weapon
1 0x01 Left weapon type.
2-3 0x02-0x03 Left ammo quantity (NOTE: Ammo values normally do not exceed 100, but since the variable is stored as 2 bytes you can crank the total up to 32,767).
4 0x04 Indicates what a craft is doing.
0 - At base
1 - Moving
2 - USOs often get this value, no idea what it represents.
5 0x05 Right weapon type.
The following values, 6-60 (0x06-0x3C), keep track of how many of item X is stored on the craft.
6 0x06 Coelacanth/G. Cannon
7 0x07 Coelacanth/Aqua Jet
8 0x08 Coelacanth/Gauss
9 0x09 Displacer /Sonic
10 0x0A Displacer /P.W.T.
11 0x0B Dart Gun
12 0x0C Dart Clip
13 0x0D Jet Harpoon
14 0x0E Harpoon Clip
15 0x0F Gas Cannon
16 0x10 GC-AP Bolts
17 0x11 GC-HE Bolts
18 0x12 GC-Phosphorous Bolts
19 0x13 Hydro-Jet Cannon
20 0x14 HJ-AP Ammo
21 0x15 HJ-HE Ammo
22 0x16 HJ-P Ammo
23 0x17 Torpedo Launcher
24 0x18 Small Torpedo
25 0x19 Large Torpedo
26 0x1A Phosphor Torpedo
27 0x1B Gauss Pistol
28 0x1C Gauss Rifle
29 0x1D Heavy Gauss
30 0x1E Magna-Blast Grenade
31 0x1F Dye Grenade
32 0x20 Particle Disturbance Grenade
33 0x21 Magna-Pack Explosive
34 0x22 Particle Disturbance Sensor
35 0x23 Medi-Kit
36 0x24 M.C. Disruptor
37 0x25 Thermal Tazer
38 0x26 Chemical Flare
39 0x27 Vibro Blade
40 0x28 Thermic Lance
41 0x29 Heavy Thermic Lance
42 0x2A (Unused)
43 0x2B (Unused)
44 0x2C (Unused)
45 0x2D Sonic Cannon
46 0x2E Cannon Power Clip
47 0x2F Sonic-Blasta Rifle
48 0x30 Blasta Power Clip
49 0x31 Sonic Pistol
50 0x32 Pistol Power Clip
51 0x33 Disruptor Pulse Launcher
52 0x34 Disruptor Ammo
53 0x35 Thermal Shok Launcher
54 0x36 Thermal Shok Bomb
55 0x37 Sonic Pulser
56 0x38 (Unused)
57 0x39 M.C. Reader
58 0x3A Gauss Pistol Clip
59 0x3B Gauss Rifle Clip
60 0x3C Heavy Gauss Clip
61 0x3D Unknown use.
62-63 0x3E-0x3F Right ammo quantity (NOTE: Ammo values normally do not exceed 100, but since the variable is stored as 2 bytes you can crank the total up to 32,767).
64-65 0x40-0x41 (Unused)
66-67 0x42-0x43 Damage, that is the amount it currently has taken. This value divided by the craft's damage capacity gives the percentage shown in-game.
68-69 0x44-0x45 Depth of craft.
0 - Touched Down *
1 - Shallow
2 - Normal
3 - Deep
4 - Very Deep

(*NOTE: If craft is moving and you change it to this value the depth will correct itself automatically. Speed must also be edited to 0 for the change in depth to hold.)

70-71 0x46-0x47 Speed of craft.
72-73 0x48-0x49 Index into LOC.DAT referencing the destination - for example, waypoints for X-COM craft, or X-COM bases for alien craft.
74-75 0x4A-0x4B Unknown - goes to 0 when tracking a target but not attacking. -1 means the ship is airborne despite the value of byte 0x44
76-77 0x4C-0x4D Destination coordinates, horizontal (longitude).
78-79 0x4E-0x4F Destination coordinates, vertical (latitude).
80-81 0x50-0x51 Fuel, amount remaining. This value divided by the crafts total fuel capacity gives the percentage shown in-game.
82-83 0x52-0x53 Base reference as an index to LOC.DAT.
84-85 0x54-0x55 Mission type craft is on.
0 - Alien Probe Mission
1 - Alien Interdiction
2 - Alien Resource Raid
3 - Alien Infiltration
4 - Alien Colony Expansion
5 - Alien Surface Attacks
6 - Floating Base Attack
7 - Colony Supply Missions
86-87 0x56-0x57 Zone where mission is being carried out.
0 - North Atlantic
1 - South Atlantic
2 - North Pacific
3 - South Pacific
4 - Mediterranean
5 - South China Sea
6 - Indian Ocean
7 - Sea of Japan
8 - North Sea
9 - Caribbean
A - Antarctic
B - Arctic
C - Eurasia
D - North America
E - Africa
88-89 0x58-0x59 Unknown use.
90-91 0x5A-0x5B Unknown use.
92-93 0x5C-0x5D Primary alien race found on craft.
0  - Aquatoid
1  - Gill Man
2  - Lobster Man
3  - Tasoth
4  - Mixed Tasoth based
5  - Mixed Lobster Man based
94-95 0x5E-0x5F USO attack timer.
96-97 0x60-0x61 USO escape maneuver timer.
98-99 0x62-0x63 Craft status.
0 - Ready
1 - Out
2 - Repairs
3 - Refueling
4 - Re-arming
100-103 0x64-0x67 Bit Flags.
40 - Show full Transmission Resolver data
104-105 0x68-0x69 Touchdown depth (see entry at [68-69] for possible values).
106 0x6A Used to determine if Xcraft are able to intercept.
107 0x6B Used to determine if Xcraft are able to intercept.
108 0x6C Used to determine if Xcraft are able to intercept.
109 0x6D Unknown.

See Also