Difference between revisions of "TERMP.DAT"
Jump to navigation
Jump to search
m (→See Also: added category) |
Bomb Bloke (talk | contribs) |
||
Line 4: | Line 4: | ||
File contains data about light from non-moving sources (map objects, flares, fire) and ambient light. It is recalculated when: | File contains data about light from non-moving sources (map objects, flares, fire) and ambient light. It is recalculated when: | ||
− | * | + | * A flare is thrown (not dropped/picked up) |
* HE ammo explodes | * HE ammo explodes | ||
− | * | + | * Explosive terrain goes off (only HE, not smoke) |
− | * | + | * A fire starts |
− | * | + | * Player ends turn |
− | Ambient light levels are stored in [[BGLOB.DAT]]. Together with [[SOURCEMP.DAT]] it is full info about current lighting of the map. Actual lighting of tile is lower value from both files. Exact meaning of values is a number that | + | Ambient light levels are stored in [[BGLOB.DAT]]. |
+ | |||
+ | Together with [[SOURCEMP.DAT]] it is full info about current lighting of the map. Actual lighting of tile is lower value from both files. Exact meaning of values is a number that palette is shifted towards darker colours, though doors will never be shifted by more then three or [[SCANG.DAT]] images by more then seven. | ||
==See Also== | ==See Also== |
Revision as of 13:51, 21 June 2008
This file is only used by tactical saves.
Length of file is map size (overall number of tiles) + some 4 bytes at the end.
File contains data about light from non-moving sources (map objects, flares, fire) and ambient light. It is recalculated when:
- A flare is thrown (not dropped/picked up)
- HE ammo explodes
- Explosive terrain goes off (only HE, not smoke)
- A fire starts
- Player ends turn
Ambient light levels are stored in BGLOB.DAT.
Together with SOURCEMP.DAT it is full info about current lighting of the map. Actual lighting of tile is lower value from both files. Exact meaning of values is a number that palette is shifted towards darker colours, though doors will never be shifted by more then three or SCANG.DAT images by more then seven.