Jump to content

ACTS.DAT: Difference between revisions

From UFOpaedia
Information on the internal structure of acts.dat
 
See Also: added TFTD link
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
acts.dat
Contains information about which acts and with what priority in respective zones the aliens are going to try. Each of the twelve zones has seven possible acts which sums up to a total of 84 bytes.


contains information which acts with which priority in respective zones aliens are going to try. Each of the twelve zonzes has seven possilbe acts which sums up to a total of 84 bytes.
Each month, after rolling on ZONAL.DAT to get a location to target, the computer rolls on ACTS.DAT to determine what [[Alien Missions|mission]] to perform there. Every act thus selected has its priority set to zero and, if that was the last act with non-zero priority for that zone, the zone's weight in ZONAL.DAT is also set to zero. The aliens will perform one act per month from February until June 1999 (inclusive), then two acts per month until ACTS.DAT and ZONAL.DAT are exhausted in April 2001. From May 2001 onward, the only new missions generated will be Alien Supply, Alien Terror and Alien Retaliation (which do not use these tables).
 
Each month two acts (beginner level) are started by aliens and their priority in [acts.dat] is set to zero. If all acts of a zone are tried, the zone is set to zero priority. This would give you about five years worth of alien acts.




Line 15: Line 13:
  4 Base
  4 Base
  5 Terror **
  5 Terror **
  6 Retaliation ***
  6 Retaliation **


<nowiki>*</nowiki>
<nowiki>*</nowiki>
Line 21: Line 19:


<nowiki>**</nowiki>
<nowiki>**</nowiki>
One act of terror is tried every month, priority is not used.
[[Alien Supply]], [[Alien Terror]] and [[Alien Retaliation]] are generated separately, rather than through ZONAL.DAT and ACTS.DAT. These values are normally unused (Supply doesn't even have one).
 
<nowiki>***</nowiki>
Retaliation is triggered by unsuccesful acts, priority is not used.


The total file might be like this:
At the beginning of a new game, ACTS.DAT looks like this (in hexadecimal):


                   Re Ha Ab In Ba Tr Re
                   Re Ha Ab In Ba Tr Re
Line 42: Line 37:
  Pacific 000004d: 0f 00 00 00 1c 00 00
  Pacific 000004d: 0f 00 00 00 1c 00 00


Supply, which is requested by the alien base, is not part of acts.dat.
==See Also==
* [[MISSIONS.DAT]] - Information on the current UFO missions
* [[ALIEN.DAT]] - Graph information on alien activity in areas
* [[ZONAL.DAT]] - Aliens' priority for areas
* [[ACTS.DAT (TFTD)]] - the equivalent in TFTD
[[Category:Game Files]]
[[Category:Enemy Unknown/UFO Defense]]

Latest revision as of 09:25, 14 August 2020

Contains information about which acts and with what priority in respective zones the aliens are going to try. Each of the twelve zones has seven possible acts which sums up to a total of 84 bytes.

Each month, after rolling on ZONAL.DAT to get a location to target, the computer rolls on ACTS.DAT to determine what mission to perform there. Every act thus selected has its priority set to zero and, if that was the last act with non-zero priority for that zone, the zone's weight in ZONAL.DAT is also set to zero. The aliens will perform one act per month from February until June 1999 (inclusive), then two acts per month until ACTS.DAT and ZONAL.DAT are exhausted in April 2001. From May 2001 onward, the only new missions generated will be Alien Supply, Alien Terror and Alien Retaliation (which do not use these tables).


The acts are:

offset	act		
0	Research 	
1	Harvest 	*
2	Abduction 	*
3	Infiltration 	*
4	Base 		
5	Terror 		**
6	Retaliation	**

* These are not tried in some zones as they are not realistic, e.g. abduction in Antarctic.

** Alien Supply, Alien Terror and Alien Retaliation are generated separately, rather than through ZONAL.DAT and ACTS.DAT. These values are normally unused (Supply doesn't even have one).

At the beginning of a new game, ACTS.DAT looks like this (in hexadecimal):

                 Re Ha Ab In Ba Tr Re
NAme    0000000: 0e 10 14 14 14 00 00
Arctis  0000007: 19 00 00 00 23 00 00
Antarc  000000e: 19 00 00 00 23 00 00
SAme    0000015: 0a 18 0c 12 14 00 00
Euro    000001c: 0a 0a 0f 14 06 00 00
NAfr    0000023: 08 08 08 08 13 00 00
SAfr    000002a: 07 08 08 08 09 00 00
ZAs     0000031: 05 05 06 0a 08 00 00
SEAs    0000038: 08 0d 15 0d 08 00 00
Sibir   000003f: 06 00 04 00 09 00 00
Austra  0000046: 0f 0b 04 08 16 00 00
Pacific 000004d: 0f 00 00 00 1c 00 00

See Also