Difference between revisions of "TERMP.DAT"
Jump to navigation
Jump to search
Quantifier (talk | contribs) m |
Quantifier (talk | contribs) m |
||
Line 3: | Line 3: | ||
Length of file is map size (overall number of tiles) + some 4 bytes at the end. |
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 |
+ | 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 |
||
+ | * 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 pallette is shifted towards darker colours. |
||
==See Also== |
==See Also== |
Revision as of 19:51, 12 September 2006
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
- 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 pallette is shifted towards darker colours.