Difference between revisions of "BGLOB.DAT"
Jump to navigation
Jump to search
Bomb Bloke (talk | contribs) |
Quantifier (talk | contribs) |
||
Line 1: | Line 1: | ||
This file is only used by tactical saves. |
This file is only used by tactical saves. |
||
− | Always two bytes, |
+ | 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. |
||
− | Bit flags maybe? |
Revision as of 10: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.