Difference between revisions of "UIGLOB.DAT"

From UFOpaedia
Jump to navigation Jump to search
m ('next ground assault' changed to 'months elapsed'.)
m (Wiki table-ed!)
 
Line 1: Line 1:
 
This short file contains the following information, all stored in 16-bit integer (two byte) numeric fields.
 
This short file contains the following information, all stored in 16-bit integer (two byte) numeric fields.
  
<table {{StdDescTable}}>
+
{| {{StdDescTable}}
<tr>
+
|-
<th {{StdDescTable_Heading}}>'''Offset<br/>dec (hex)'''</th><th {{StdDescTable_Heading}}>'''Meaning'''</th>
+
! {{StdDescTable_Heading}}| Offset<br/>dec (hex)  
</tr>
+
! {{StdDescTable_Heading}}| Meaning
<tr><td> 0 (0x00)</td><td>Next spotted UFO number</td></tr>
+
|-
<tr><td> 2 (0x02)</td><td>Next Terror mission number</td></tr>
+
| 0 (0x00)
<tr><td> 4 (0x04)</td><td>Next built Alien Base number </td></tr>
+
| Next spotted UFO number
<tr><td> 6 (0x06)</td><td>Number of minimized interceptor windows (but see Discussion)   </td></tr>
+
|-
<tr><td> 8  (0x08)</td><td>Months elapsed <sup>1</sup></td></tr>
+
| 2 (0x02)
<tr><td>10  (0x0A)</td><td>Next Waypoint number</td></tr>
+
| Next Terror mission number
<tr><td>12  (0x0C)</td><td>Next Skyranger number</td></tr>
+
|-
<tr><td>14  (0x0E)</td><td>Next Lightning number</td></tr>
+
| 4 (0x04)
<tr><td>16  (0x10)</td><td>Next Avenger number</td></tr>
+
| Next built Alien Base number  
<tr><td>18  (0x12)</td><td>Next Interceptor number</td></tr>
+
|-
<tr><td>20  (0x14)</td><td>Next Firestorm number</td></tr>
+
| 6 (0x06)
<tr><td>22  (0x16)</td><td>Current Game Year (1999, (0x07CF) for a lot of the time)</td></tr>
+
| Number of minimized interceptor windows (but see Discussion)
<tr><td>24+ (0x18)</td><td>Monthly score related values, Jan to Dec (See below)</td></tr>
+
|-
</table>
+
| 8  (0x08)
 +
| Months elapsed <sup>1</sup>
 +
|-
 +
| 10  (0x0A)
 +
| Next Waypoint number
 +
|-
 +
| 12  (0x0C)
 +
| Next Skyranger number
 +
|-
 +
| 14  (0x0E)
 +
| Next Lightning number
 +
|-
 +
| 16  (0x10)
 +
| Next Avenger number
 +
|-
 +
| 18  (0x12)
 +
| Next Interceptor number
 +
|-
 +
| 20  (0x14)
 +
| Next Firestorm number
 +
|-
 +
| 22  (0x16)
 +
| Current Game Year (1999, (0x07CF) for a lot of the time)
 +
|-
 +
| 24+ (0x18)
 +
| Monthly score related values, Jan to Dec (See below)
 +
|}
  
[[Scoring|Score]] earned by completing research projects in January increase the value at Offset 24 (0x18) as you complete them, then at the end of the month this value is increased by 400 as a survival bonus. Later months are then stored in the later offsets, increasing by two each time.
+
 
 +
[[Scoring|Score]] earned by completing research projects in January increase the value at Offset 24 (0x18) as you complete them, then at the end of the month this value is increased by 400 as a survival bonus. Later months are then stored in the later offsets.
  
 
<sup>1</sup> '''Month elapsed''' count the number of months that have passed since the start of the game. This is used to control the alien race/activity stages as well as the early/mid/late weapon set selection.   
 
<sup>1</sup> '''Month elapsed''' count the number of months that have passed since the start of the game. This is used to control the alien race/activity stages as well as the early/mid/late weapon set selection.   

Latest revision as of 06:55, 13 January 2020

This short file contains the following information, all stored in 16-bit integer (two byte) numeric fields.

Offset
dec (hex)
Meaning
0 (0x00) Next spotted UFO number
2 (0x02) Next Terror mission number
4 (0x04) Next built Alien Base number
6 (0x06) Number of minimized interceptor windows (but see Discussion)
8 (0x08) Months elapsed 1
10 (0x0A) Next Waypoint number
12 (0x0C) Next Skyranger number
14 (0x0E) Next Lightning number
16 (0x10) Next Avenger number
18 (0x12) Next Interceptor number
20 (0x14) Next Firestorm number
22 (0x16) Current Game Year (1999, (0x07CF) for a lot of the time)
24+ (0x18) Monthly score related values, Jan to Dec (See below)


Score earned by completing research projects in January increase the value at Offset 24 (0x18) as you complete them, then at the end of the month this value is increased by 400 as a survival bonus. Later months are then stored in the later offsets.

1 Month elapsed count the number of months that have passed since the start of the game. This is used to control the alien race/activity stages as well as the early/mid/late weapon set selection.

See Also

Saved Game Files