Difference between revisions of "SCANG.DAT"

From UFOpaedia
Jump to navigation Jump to search
Line 1: Line 1:
 
{{tocright}}Stored in the [[GEODATA]] folder, '''SCANG.DAT''' is used along with [[SCANBORD.PCK]] to present the overhead map. The title presumably stands for '''SCAN'''ner '''G'''raphics.
 
{{tocright}}Stored in the [[GEODATA]] folder, '''SCANG.DAT''' is used along with [[SCANBORD.PCK]] to present the overhead map. The title presumably stands for '''SCAN'''ner '''G'''raphics.
  
The file holds 4x4 images which represent particular tiles or map objects. The game uses [[TERRAIN#MCD|MCD[20-21]]] as a reference for which image to use: '''MCD[20] + MCD[21] * 256 + 35''' (the +35 is due to the fact that the first 36 images (0-35) are for units and equipment as opposed to actual terrain. You'd expect an offset of +36 to be used, but no, they did go with +35).
+
The file holds 4x4 images which represent particular tiles or map objects. The game uses [[MCD|MCD[20-21]]] as a reference for which image to use: '''MCD[20] + MCD[21] * 256 + 35''' (the +35 is due to the fact that the first 36 images (0-35) are for units and equipment as opposed to actual terrain. You'd expect an offset of +36 to be used, but no, they did go with +35).
  
 
==Images==
 
==Images==
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
[[TERRAIN#MCD|MCD Files]]
+
[[MCD|MCD Files]]
 
[[Category:Game Files]]
 
[[Category:Game Files]]

Revision as of 08:05, 27 June 2010

Stored in the GEODATA folder, SCANG.DAT is used along with SCANBORD.PCK to present the overhead map. The title presumably stands for SCANner Graphics.

The file holds 4x4 images which represent particular tiles or map objects. The game uses MCD[20-21] as a reference for which image to use: MCD[20] + MCD[21] * 256 + 35 (the +35 is due to the fact that the first 36 images (0-35) are for units and equipment as opposed to actual terrain. You'd expect an offset of +36 to be used, but no, they did go with +35).

Images

UFO

454 images, 7,264 bytes in total.

SCANG.png

TFTD

550 images, 8,800 bytes in total. These sample images were taken using the land palette.

SCANG (TFTD).png

See Also

MCD Files