Difference between revisions of "BGLOB.DAT"

From UFOpaedia
Jump to navigation Jump to search
 
Line 1: Line 1:
 
This file is only used by tactical saves.
 
This file is only used by tactical saves.
  
Always two bytes, use unknown. Possibly... world map location of mission?
+
Always two bytes, describes ambient light on map.
  
Bit flags maybe?
+
First byte indicates overall level of ambient lighting. On night missions it is 10h, on day missions 00h, dusk and dawn uses values in the middle. Second byte is ambient lighting of shadowed areas (below and inside Skyranger, inside UFOs), usually it is first byte+4. On the end of turn [[TERMP.DAT]] is recalculated using appropriate value from BGLOB.DAT as maximum. What determines which value of two is used is not known yet.

Revision as of 09:33, 6 March 2006

This file is only used by tactical saves.

Always two bytes, describes ambient light on map.

First byte indicates overall level of ambient lighting. On night missions it is 10h, on day missions 00h, dusk and dawn uses values in the middle. Second byte is ambient lighting of shadowed areas (below and inside Skyranger, inside UFOs), usually it is first byte+4. On the end of turn TERMP.DAT is recalculated using appropriate value from BGLOB.DAT as maximum. What determines which value of two is used is not known yet.