Difference between revisions of "SITE.DAT"

From UFOpaedia
Jump to navigation Jump to search
(Initial info on SITE.DAT based on preliminary examination of the code.)
 
m (→‎Structure: - fixed cut & paste error)
Line 3: Line 3:
 
'''00-09:''' Seems to be a list of the last 5 (or fewer) Shipping Routes that were attacked; will re-randomize if one of these is selected for a new Shipping Route attack.
 
'''00-09:''' Seems to be a list of the last 5 (or fewer) Shipping Routes that were attacked; will re-randomize if one of these is selected for a new Shipping Route attack.
  
'''0A-21:''' Seems to be a list of the last 5 (or fewer) Terror Sites that were attacked; will re-randomize if one of these is selected for a new Terror Site attack.
+
'''0A-21:''' Seems to be a list of the last 12 (or fewer) Terror Sites that were attacked; will re-randomize if one of these is selected for a new Terror Site attack.
  
 
'''22:''' Number of valid entries in 00 block.
 
'''22:''' Number of valid entries in 00 block.

Revision as of 20:03, 31 March 2008

SITE.DAT is composed of 20 unsigned short integers (words), grouped into several sections.

Structure

00-09: Seems to be a list of the last 5 (or fewer) Shipping Routes that were attacked; will re-randomize if one of these is selected for a new Shipping Route attack.

0A-21: Seems to be a list of the last 12 (or fewer) Terror Sites that were attacked; will re-randomize if one of these is selected for a new Terror Site attack.

22: Number of valid entries in 00 block.

24: Number of valid entries in 0A block.

26: Current type of attack site: Shipping Route ('S') or Terror Site ('T')