Difference between revisions of "SCANG.DAT"

From UFOpaedia
Jump to navigation Jump to search
m (categorizing)
 
(3 intermediate revisions by one other user not shown)
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 a 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 went 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 7: Line 7:
 
454 images,  7,264 bytes in total.
 
454 images,  7,264 bytes in total.
  
[[Image:SCANG.gif]]
+
[[Image:SCANG.png]]
  
 
===TFTD===
 
===TFTD===
 
550 images, 8,800 bytes in total. These sample images were taken using the [[PALETTES.DAT#TFTD_Tactical_Palettes|land palette]].
 
550 images, 8,800 bytes in total. These sample images were taken using the [[PALETTES.DAT#TFTD_Tactical_Palettes|land palette]].
  
[[Image:SCANG_(TFTD).gif]]
+
[[Image:SCANG_(TFTD).png]]
  
 
==See Also==
 
==See Also==
[[TERRAIN#MCD|MCD Files]]
+
[[MCD|MCD Files]]
 
[[Category:Game Files]]
 
[[Category:Game Files]]
 +
[[Category:Enemy Unknown/UFO Defense]]

Latest revision as of 04:40, 23 July 2013

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