Difference between revisions of "TERRAIN"

From UFOpaedia
Jump to navigation Jump to search
(WIP)
Line 1: Line 1:
This folder contains the information used for tiles in the battlescape view, both statistical and graphical.
+
{{tocright}}This folder contains the information used for tiles in the battlescape view, both statistical and graphical.
  
These are divided up into "sets" made of three files: An [[MCD]] file, which defines the tiles for that set, and [[Image_Formats#PCK|PCK file accompanied by a TAB file]], which together define the image data that represents said tiles on-screen.
+
These are divided up into "sets" made of three files: An [[MCD]] file, which defines the tiles for that set, and [[Image_Formats#PCK|PCK file accompanied by a TAB file]], which together define the image data that represents said tiles on-screen (note that PCK files always have the same amount of records as their respective TAB files, though MCD files may have a different figure (as some tiles animate and hence use multiple sprites, and some tiles use the same sprites as others but at a different height offset)).
  
Each "set" stored here will have a corresponding set in the both the [[MAPS]] folder and the [[ROUTES]] folder.
+
Each "set" stored here will have a corresponding set in the both the [[MAPS]] folder and the [[ROUTES]] folder.  
  
 +
<br clear="all">
 
==Contents==
 
==Contents==
''Directory listings for UFO/TFTD to go here; [[MCD]] page has a fairly good outline for now. To memory, TFTD doesn't actually use all the files it has...''
+
 
 +
The size of an MCD file is equal to the amount of records it holds times 62 bytes. The size of a TAB file is equal to the amount of images it indexes times 2 bytes. PCK files contain image data and are of variable size.
 +
 
 +
 
 +
===UFO===
 +
====0: [[Jungle Terrain]]====
 +
{| class="wikitable"
 +
! width="100" | Set
 +
! width="100" | MCD Records
 +
! width="100" | Image Count
 +
! width="100" | MCD Filesize
 +
! width="100" | PCK Filesize
 +
! width="100" | TAB Filesize
 +
! Overview
 +
|- align="center"
 +
! BLANKS
 +
| 2 || 2 || 124b || 578b || 4b || Loaded as part of all sets. Contains burnt ground and the darkness seen outside of the map boundaries.
 +
|- align="center"
 +
! JUNGLE
 +
| 82 || 82 || 5,084b || 42,594b || 164b || Primary Jungle terrain data.
 +
|- align="center"
 +
! Totals !! 84 !! 84 !! 5,208b !! 43,172b !! 168b !!
 +
|}
 +
 
 +
 
 +
====1: [[Farm Terrain]]====
 +
{| class="wikitable"
 +
! width="100" | Set
 +
! width="100" | MCD Records
 +
! width="100" | Image Count
 +
! width="100" | MCD Filesize
 +
! width="100" | PCK Filesize
 +
! width="100" | TAB Filesize
 +
! Overview
 +
|- align="center"
 +
! BLANKS
 +
| 2 || 2 || 124b || 578b || 4b || Loaded as part of all sets. Contains burnt ground and the darkness seen outside of the map boundaries.
 +
|- align="center"
 +
! CULTIVAT
 +
| 37 || 37 || 2,294b || 13,695b || 74b || Crops, hedges, fences, rock walls.
 +
|- align="center"
 +
! BARN
 +
| 29 || 29 || 1,798b || 11,281b || 58b || Structures, doors, stairs, hay bales.
 +
|- align="center"
 +
! Totals !! 68 !! 68 !! 4,216b !! 25,554b !! 136b !!
 +
|}
 +
 
 +
 
 +
====2: [[Forest Terrain]]====
 +
{| class="wikitable"
 +
! width="100" | Set
 +
! width="100" | MCD Records
 +
! width="100" | Image Count
 +
! width="100" | MCD Filesize
 +
! width="100" | PCK Filesize
 +
! width="100" | TAB Filesize
 +
! Overview
 +
|- align="center"
 +
! BLANKS
 +
| 2 || 2 || 124b || 578b || 4b || Loaded as part of all sets. Contains burnt ground and the darkness seen outside of the map boundaries.
 +
|- align="center"
 +
! FOREST
 +
| 83 || 59 || 5,146b || 34,290b || 118b || Primary Forest terrain data.
 +
|- align="center"
 +
! Totals !! 85 !! 61 !! 5,270b !! 34,868b !! 122b !!
 +
|}
 +
 
 +
 
 +
''Much, much more to come...''
 +
 
  
 
==See Also==
 
==See Also==
 
* [[Game Files]]
 
* [[Game Files]]
 +
* [[Field Manual: Terrain]]
  
[[Category:Terrain]]
+
[[Category:Terrain]][[Category:Game Files]]
[[Category:Game Files]]
 

Revision as of 01:13, 21 October 2010

This folder contains the information used for tiles in the battlescape view, both statistical and graphical.

These are divided up into "sets" made of three files: An MCD file, which defines the tiles for that set, and PCK file accompanied by a TAB file, which together define the image data that represents said tiles on-screen (note that PCK files always have the same amount of records as their respective TAB files, though MCD files may have a different figure (as some tiles animate and hence use multiple sprites, and some tiles use the same sprites as others but at a different height offset)).

Each "set" stored here will have a corresponding set in the both the MAPS folder and the ROUTES folder.


Contents

The size of an MCD file is equal to the amount of records it holds times 62 bytes. The size of a TAB file is equal to the amount of images it indexes times 2 bytes. PCK files contain image data and are of variable size.


UFO

0: Jungle Terrain

Set MCD Records Image Count MCD Filesize PCK Filesize TAB Filesize Overview
BLANKS 2 2 124b 578b 4b Loaded as part of all sets. Contains burnt ground and the darkness seen outside of the map boundaries.
JUNGLE 82 82 5,084b 42,594b 164b Primary Jungle terrain data.
Totals 84 84 5,208b 43,172b 168b


1: Farm Terrain

Set MCD Records Image Count MCD Filesize PCK Filesize TAB Filesize Overview
BLANKS 2 2 124b 578b 4b Loaded as part of all sets. Contains burnt ground and the darkness seen outside of the map boundaries.
CULTIVAT 37 37 2,294b 13,695b 74b Crops, hedges, fences, rock walls.
BARN 29 29 1,798b 11,281b 58b Structures, doors, stairs, hay bales.
Totals 68 68 4,216b 25,554b 136b


2: Forest Terrain

Set MCD Records Image Count MCD Filesize PCK Filesize TAB Filesize Overview
BLANKS 2 2 124b 578b 4b Loaded as part of all sets. Contains burnt ground and the darkness seen outside of the map boundaries.
FOREST 83 59 5,146b 34,290b 118b Primary Forest terrain data.
Totals 85 61 5,270b 34,868b 122b


Much, much more to come...


See Also