Difference between revisions of "SITE.DAT"

From UFOpaedia
Jump to navigation Jump to search
m (→‎Structure: - fixed cut & paste error)
(Added See Also and link.)
Line 10: Line 10:
  
 
'''26:''' Current type of attack site:  Shipping Route ('S') or Terror Site ('T')
 
'''26:''' Current type of attack site:  Shipping Route ('S') or Terror Site ('T')
 +
 +
==See Also==
 +
*[[Game Files]]
 
[[Category:Game Files]]
 
[[Category:Game Files]]

Revision as of 21:30, 4 January 2009

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')

See Also