Difference between revisions of "MISDATA.DAT"

From UFOpaedia
Jump to navigation Jump to search
m (→‎See Also: Category)
Line 1: Line 1:
This file is only used by tactical saves.
+
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.
  
It's 170 bytes, most of which don't seem to do anything.
+
== Structure ==
  
misdata[20] is the mission descriptor. Possible values:
+
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:
 
  0: UFO site
 
  0: UFO site
 
  1: Terror site
 
  1: Terror site
Line 11: Line 15:
 
  5: Mars part 2
 
  5: Mars part 2
  
[74] and [76] serve some purpose. Possibely something to do
+
<b>74/4A</b> and <b>76/4C</b> serve some purpose. Perhaps terrain and alien craft stuff.
with terrain and alien craft stuff, but I can't translate it. :(
 
 
 
[77] seems to map to the craft in use. I think this value must
 
index off somewhere else, but I currently don't know where. It
 
seems to also serve when one of your bases is under attack.
 
 
 
[79] is 0 unless the mission is a UFO site, in which case it is 1.
 
  
All other values always seem to be equal to 0, with the exception
+
<b>77/4D</b> 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.
of [152], [164], and all in between; which are always equal to 1.
 
  
I have seen these values change. I find that at the beginning of
+
<b>79/4F</b> is 0 unless the mission is a UFO site, in which case it is 1.
a new game, values [152]-[164] are all 0, not 1; they change over
 
the course of the campaign. What they DO remains a mystery.
 
Research maybe?
 
  
 
==See Also==
 
==See Also==
 
* [[Saved Game Files]]
 
* [[Saved Game Files]]
 
* [[Saved_Game_Files#Battlescape_Files|Battlescape Files]]
 
* [[Saved_Game_Files#Battlescape_Files|Battlescape Files]]
 +
* [[Saved_Game_Files#Missdat_Files|Missdat Files]]

Revision as of 14:16, 19 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.

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 that requires research).

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.

See Also