Difference between revisions of "MISDATA.DAT"

From UFOpaedia
Jump to navigation Jump to search
Line 1: Line 1:
This 170 byte file is only used by tactical saves. It stores such information as the craft in use, and which alien artefacts are available for use in combat. Not many bytes have been decoded as yet.
+
This 170 byte file is only used by tactical saves. It stores such information as the craft in use, and which alien artefacts are available for use in combat. Not many bytes have been decoded as yet, but not many seem to be used.
  
 
== Structure ==
 
== Structure ==
 
Many of the later bytes are set to either 0 or 1. Values of 0 mean you can't use certain pieces of alien equipment, though I've yet to test as to which bytes effect which weapons.
 
 
X-Com produced equipment can be used even if it hasn't been researched (however, in order to get it into combat, you must build it - and <i>that</i> requires research).
 
  
 
<b>20/14</b> is the mission descriptor. Possible values:
 
<b>20/14</b> is the mission descriptor. Possible values:
Line 20: Line 16:
  
 
<b>79/4F</b> is 0 unless the mission is a UFO site, in which case it is 1.
 
<b>79/4F</b> is 0 unless the mission is a UFO site, in which case it is 1.
 +
 +
The following bytes allow you to use the following equipment only if they are set to 1:
 +
 +
<b>152/98</b> - [[Heavy Plasma]]
 +
<b>153/99</b> - [[Heavy Plasma Clip]]
 +
<b>154/9A</b> - [[Plasma Rifle]]
 +
<b>155/9B</b> - [[Plasma Rifle Clip]]
 +
<b>156/9C</b> - [[Plasma Pistol]]
 +
<b>157/9D</b> - [[Plasma Pistol Clip]]
 +
<b>158/9E</b> - [[Blaster Launcher]]
 +
<b>159/9F</b> - [[Blaster Bomb]]
 +
<b>160/A0</b> - [[Small Launcher]]
 +
<b>161/A1</b> - [[Stun Bomb]]
 +
<b>162/A2</b> - [[Alien Grenade]]
 +
<b>163/A3</b> - [[Elerium-115]]
 +
<b>164/A4</b> - [[Mind Probe]]
 +
 +
X-Com produced equipment can be used even if it hasn't been researched (however, in order to get it into combat, you must build it - and <i>that</i> requires research).
 +
 +
All other bytes in this file seem to be set to 0.
  
 
==See Also==
 
==See Also==

Revision as of 10:42, 20 June 2006

This 170 byte file is only used by tactical saves. It stores such information as the craft in use, and which alien artefacts are available for use in combat. Not many bytes have been decoded as yet, but not many seem to be used.

Structure

20/14 is the mission descriptor. Possible values:

0: UFO site
1: Terror site
2: Base defense (X-Com base)
3: Base offense (Alien base)
4: Mars part 1
5: Mars part 2

74/4A and 76/4C serve some purpose. Perhaps terrain and alien craft stuff.

77/4D seems to map to the craft in use. I assume this value indexes off somewhere else (eg CRAFT.DAT). It seems to also serve when one of your bases is under attack (BASE.DAT). Most likely it is used when combat is over, as it shouldn't be required for creating a new tactical map.

79/4F is 0 unless the mission is a UFO site, in which case it is 1.

The following bytes allow you to use the following equipment only if they are set to 1:

152/98 - Heavy Plasma
153/99 - Heavy Plasma Clip
154/9A - Plasma Rifle
155/9B - Plasma Rifle Clip
156/9C - Plasma Pistol
157/9D - Plasma Pistol Clip
158/9E - Blaster Launcher
159/9F - Blaster Bomb
160/A0 - Small Launcher
161/A1 - Stun Bomb
162/A2 - Alien Grenade
163/A3 - Elerium-115
164/A4 - Mind Probe

X-Com produced equipment can be used even if it hasn't been researched (however, in order to get it into combat, you must build it - and that requires research).

All other bytes in this file seem to be set to 0.

See Also