Difference between revisions of "UIGLOB.DAT"

From UFOpaedia
Jump to navigation Jump to search
m
m ('next ground assault' changed to 'months elapsed'.)
Line 1: Line 1:
This short file contains the following information, all stored in two byte numeric fields.
+
This short file contains the following information, all stored in 16-bit integer (two byte) numeric fields.
  
 
<table {{StdDescTable}}>
 
<table {{StdDescTable}}>
Line 5: Line 5:
 
<th {{StdDescTable_Heading}}>'''Offset<br/>dec (hex)'''</th><th {{StdDescTable_Heading}}>'''Meaning'''</th>
 
<th {{StdDescTable_Heading}}>'''Offset<br/>dec (hex)'''</th><th {{StdDescTable_Heading}}>'''Meaning'''</th>
 
</tr>
 
</tr>
<tr><td> 0  (0x00)</td><td>Next spotted UFO number       </td></tr>
+
<tr><td> 0  (0x00)</td><td>Next spotted UFO number</td></tr>
<tr><td> 2  (0x02)</td><td>Next Terror mission number     </td></tr>
+
<tr><td> 2  (0x02)</td><td>Next Terror mission number</td></tr>
 
<tr><td> 4  (0x04)</td><td>Next built Alien Base number </td></tr>
 
<tr><td> 4  (0x04)</td><td>Next built Alien Base number </td></tr>
 
<tr><td> 6  (0x06)</td><td>Number of minimized interceptor windows (but see Discussion)    </td></tr>
 
<tr><td> 6  (0x06)</td><td>Number of minimized interceptor windows (but see Discussion)    </td></tr>
<tr><td> 8  (0x08)</td><td>Next Ground Assault number      </td></tr>
+
<tr><td> 8  (0x08)</td><td>Months elapsed <sup>1</sup></td></tr>
<tr><td>10  (0x0A)</td><td>Next Waypoint number     </td></tr>
+
<tr><td>10  (0x0A)</td><td>Next Waypoint number</td></tr>
<tr><td>12  (0x0C)</td><td>Next Skyranger number     </td></tr>
+
<tr><td>12  (0x0C)</td><td>Next Skyranger number</td></tr>
<tr><td>14  (0x0E)</td><td>Next Lightning number     </td></tr>
+
<tr><td>14  (0x0E)</td><td>Next Lightning number</td></tr>
<tr><td>16  (0x10)</td><td>Next Avenger number     </td></tr>
+
<tr><td>16  (0x10)</td><td>Next Avenger number</td></tr>
<tr><td>18  (0x12)</td><td>Next Interceptor number     </td></tr>
+
<tr><td>18  (0x12)</td><td>Next Interceptor number</td></tr>
<tr><td>20  (0x14)</td><td>Next Firestorm number     </td></tr>
+
<tr><td>20  (0x14)</td><td>Next Firestorm number</td></tr>
<tr><td>22  (0x16)</td><td>Current Game Year (1999, (0x07CF) for a lot of the time)   </td></tr>
+
<tr><td>22  (0x16)</td><td>Current Game Year (1999, (0x07CF) for a lot of the time)</td></tr>
<tr><td>24+ (0x18)</td><td>Monthly score related values, Jan to Dec (See below)     </td></tr>
+
<tr><td>24+ (0x18)</td><td>Monthly score related values, Jan to Dec (See below)</td></tr>
 
</table>
 
</table>
  
These Alien Base and Terror mission numbers may be the wrong way around, because I was at the same number of both in all the saves I have, coincidentally.
+
[[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 also increased (by 400 in one example, couldnt find any obvious correlating value to explain that amount yet). Presumably it is something you are scoring that is non location specific, but not sure what exactly. Later months are then stored in the later offsets, increasing by two each time.
+
<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.
  
 
==See Also==
 
==See Also==

Revision as of 06:40, 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, increasing by two each time.

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