Difference between revisions of "MAP.DAT"

From UFOpaedia
Jump to navigation Jump to search
m (→‎See Also: Category)
m (→‎See Also: added category)
Line 16: Line 16:
 
* [[Saved Game Files]]
 
* [[Saved Game Files]]
 
* [[Saved_Game_Files#Battlescape_Files|Battlescape Files]]
 
* [[Saved_Game_Files#Battlescape_Files|Battlescape Files]]
 +
[[Category:Game Files]]

Revision as of 23:42, 7 February 2007

This file is only used by tactical saves.

Length of wglob[2]*wglob[3]*wglob[4]*4 bytes.

Stores the map, in bitmap style. Each tile of the map is stored as four bytes. Each of these bytes maps to a different object in the MCD array. The first byte is the ground. The second is the west wall. The third is the north wall. The forth is the contents (not usable objects - dirt and stuff). Tiles are stored in order of left to right, top to bottom, top floor to bottom floor.

See Also