Difference between revisions of "TERRAIN"
m (→Structure: Minor change to header.) |
m (categorizing) |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | This folder contains the information used for tiles in |
+ | {{tocright}}This folder contains the information used for tiles in ''EU's'' battlescape view, both statistical and graphical. |
− | <br> |
||
− | Each of the three files used for each tileset contains a variable amount of records. PCK files and their respective TAB files should always contain an equal amount of records.<br> |
||
− | =MCD= |
||
− | ==General Information== |
||
− | *MCD stands for Map Control Data. |
||
− | *MCD files have a variable amount of records, each of 62 bytes. |
||
− | *Each record defines one of four possible terrain items (see [54]): |
||
− | **ground tile, |
||
− | **north wall, |
||
− | **west wall, or |
||
− | **object |
||
− | *For example, DESERT.MCD defines a number of desert terrain items such as sand (ground tiles), sand dunes, rocks, and cacti. |
||
− | *The PCK and TAB files work hand-in-hand with MCD records to define what each terrain item looks like. |
||
− | *These MCD terrain items are subsequently combined to make "3D" maplets in the MAPS\DESERT''nn''.MAP 10x10 or 20x20 [[module|tilesets]]. |
||
− | *The MAP tilesets are then selected from, to make a "random" desert map when a new battlescape is created. |
||
− | *Sometimes more than one collection is used for a given map type; farms are made from the CULTIVAT (fields) and BARN (farmhouse) sets. |
||
− | *More complex terrain types, especially UFOs and bases, tend to have many more MCD records (terrain items) and/or more than one MCD set. The maximum total cannot excede 256 records. |
||
− | *Most MCD files are accompanied by respective [[Image_Formats#PCK|PCK & TAB]] files, and vice versa. |
||
+ | These are divided up into "sets" made of three files: An [[MCD]] file, which defines the tiles for that set, and a [[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)). |
||
− | ==Structure== |
||
− | '''0-7 / 00-07:''' Animation of the tile. |
||
+ | Each "set" stored here will be part of an even larger "terrain set", which will have corresponding files in both the [[MAPS]] folder and the [[ROUTES]] folder. |
||
− | The eight bytes refer to images on the PCK files which are used in a sequence (from the first byte to the last) to animate tiles. This animation is used by several tiles on both games, such as doors (see [46]), bubbles on TFTD, blinking lifts, etc. If all eight frames are the same, it's a static tile. |
||
+ | The maximum amount of MCD records allowed in any given fully-built map is 256. This is also the highest count used in game, achieved by sending a [[Skyranger]] or [[Interceptor]] to deal with a [[Harvester]] or [[Supply Ship]] in [[Forest Terrain]]. |
||
− | '''8-19 / 08-13:''' Line Of Fire Template (LOFT) for the tile. 12 values, each references into [[LOFTEMPS.DAT]] file. |
||
+ | The maximum amount of PCK records allowed is as yet unknown. The highest count used in game is 329, achieved by sending a [[Skyranger]] or [[Interceptor]] to deal with a [[Terror Ship]] or [[Battleship]] in [[Arctic Terrain]]. |
||
− | Each LOFT record is a 16x16 grid; these are stacked one over the other, with mcd[8] being the bottom. Used to create a 3D map (16x16x12) of the tile, for LOS. For more info, see [[LOFTEMPS.DAT]]. |
||
− | '''20-21 / 14-15:''' Reference into [[SCANG.DAT]] file. Two-byte integer ([20] + [21] * 256 + 35 = offset). 4x4 bmp images for the top-down map; see [[SCANG.DAT]]. |
||
+ | ==Contents== |
||
− | '''22-23 / 16-17:''' Two-byte integer. Unknown. Always 4. |
||
+ | The size of an [[MCD| MCD]] file is equal to the amount of records it holds times 62 bytes. |
||
− | '''24-25 / 18-19:''' Two-byte integer. Unknown. Breakdown of values listed below: |
||
+ | The size of a TAB file is equal to the amount of images it indexes times 2 bytes. |
||
− | <table {{StdCenterTable}} class="sortable"> |
||
− | <tr {{StdDescTable_Heading}}><th width="60">Low</th><th width="70">High</th><th width="80">Value</th><th align="left">File(s)</th></tr> |
||
− | <tr><td>193</td><td>79</td><td>20417</td><td align="left">U_BITS</td></tr> |
||
− | <tr><td>45</td><td>88</td><td>22573</td><td align="left">MARS, BRAIN</td></tr> |
||
− | <tr><td>183</td><td>88</td><td>22711</td><td align="left">AVENGER, POLAR, ROADS, U_EXT02, U_OPER2, URBAN, DESERT, fires, FRNITURE, interc, LIGHTNIN, MOUNT, PLANE</td></tr> |
||
− | <tr><td>185</td><td>88</td><td>22713</td><td align="left">UFO1, URBITS, JUNGLE, BLANKS</td></tr> |
||
− | <tr><td>109</td><td>90</td><td>23149</td><td align="left">FOREST, JUNGLE, CULTIVAT, BARN</td></tr> |
||
− | <tr><td>153</td><td>106</td><td>27289</td><td align="left">U_DISEC2</td></tr> |
||
− | <tr><td>154</td><td>106</td><td>27290</td><td align="left">U_BASE, U-PODS, U_WALL02, XBASE1, XBASE2</td></tr></table> |
||
+ | PCK files contain RLE-compressed image data and are of unpredictable sizes. |
||
− | '''26-27 / 1A-1B:''' Two-byte integer. Unknown. Always 4. |
||
+ | <br clear="all"> |
||
− | '''28-29 / 1C-1D:''' Two-byte integer. Unknown. Breakdown of values listed below: |
||
+ | ===Ships=== |
||
+ | ====X-COM Craft==== |
||
+ | {| class="wikitable" |
||
+ | ! width="100" | Set Number |
||
+ | ! width="100" | Set Name |
||
+ | ! width="100" | MCD Records |
||
+ | ! width="100" | Image Count |
||
+ | ! width="100" | MCD Filesize |
||
+ | ! width="100" | PCK Filesize |
||
+ | ! width="100" | TAB Filesize |
||
+ | ! width="100" | Overview |
||
+ | |- align="center" |
||
+ | | 0 |
||
+ | | PLANE || 65 || 63 || 4,030b || 21,467b || 126b || [[Skyranger]] |
||
+ | |- align="center" |
||
+ | | 1 |
||
+ | | LIGHTNIN || 42 || 51 || 2,604b || 22,701b || 102b || [[Lightning]] |
||
+ | |- align="center" |
||
+ | | 2 |
||
+ | | AVENGER || 59 || 62 || 3,658b || 27,196b || 124b || [[Avenger]] |
||
+ | |- align="center" |
||
+ | | 3 |
||
+ | | INTERC || 65 || 63 || 4,030b || 21,467b || 126b || [[Interceptor]] |
||
+ | |- align="center" |
||
+ | | 4 |
||
+ | | FIRES || 42 || 51 || 2,604b || 22,701b || 102b || [[Firestorm]] |
||
+ | |} |
||
+ | ''Note: The Interceptor and Firestorm are available only via [[XcomUtil]], and use the same tiles/images as the Skyranger and Lightning respectively.'' |
||
− | <table {{StdCenterTable}} class="sortable"> |
||
− | <tr {{StdDescTable_Heading}}><th width="60">Low</th><th width="70">High</th><th width="80">Value</th><th align="left">File(s)</th></tr> |
||
− | <tr><td>195</td><td>79</td><td>20419</td><td align="left">U_BITS</td></tr> |
||
− | <tr><td>47</td><td>88</td><td>22575</td><td align="left">BRAIN</td></tr> |
||
− | <tr><td>50</td><td>88</td><td>22578</td><td align="left">MARS</td></tr> |
||
− | <tr><td>186</td><td>88</td><td>22714</td><td align="left">U_OPER2, UFO1, BLANKS</td></tr> |
||
− | <tr><td>187</td><td>88</td><td>22715</td><td align="left">ROADS, FRNITURE</td></tr> |
||
− | <tr><td>189</td><td>88</td><td>22717</td><td align="left">U_EXT02, DESERT, URBITS</td></tr> |
||
− | <tr><td>190</td><td>88</td><td>22718</td><td align="left">fires, LIGHTNIN, MOUNT</td></tr> |
||
− | <tr><td>191</td><td>88</td><td>22719</td><td align="left">AVENGER</td></tr> |
||
− | <tr><td>192</td><td>88</td><td>22720</td><td align="left">interc, PLANE</td></tr> |
||
− | <tr><td>196</td><td>88</td><td>22724</td><td align="left">JUNGLE</td></tr> |
||
− | <tr><td>198</td><td>88</td><td>22726</td><td align="left">URBAN</td></tr> |
||
− | <tr><td>199</td><td>88</td><td>22727</td><td align="left">POLAR</td></tr> |
||
− | <tr><td>113</td><td>90</td><td>23153</td><td align="left">BARN</td></tr> |
||
− | <tr><td>114</td><td>90</td><td>23154</td><td align="left">CULTIVAT</td></tr> |
||
− | <tr><td>117</td><td>90</td><td>23157</td><td align="left">FOREST</td></tr> |
||
− | <tr><td>156</td><td>106</td><td>27292</td><td align="left">U_DISEC2</td></tr> |
||
− | <tr><td>158</td><td>106</td><td>27294</td><td align="left">U_PODS</td></tr> |
||
− | <tr><td>163</td><td>106</td><td>27299</td><td align="left">U_WALL02, XBASE2</td></tr> |
||
− | <tr><td>164</td><td>106</td><td>27300</td><td align="left">U_BASE</td></tr> |
||
− | <tr><td>168</td><td>106</td><td>27304</td><td align="left">XBASE1</td></tr></table> |
||
+ | ====5: [[Small Scout]]==== |
||
− | '''30 / 1E:''' Boolean: Is sliding door? See [46] |
||
+ | {| 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" |
||
+ | | UFO1 |
||
+ | | 20 || 27 || 1,240b || 10,085b || 54b || Primary Small Scout data. |
||
+ | |} |
||
− | '''31 / 1F:''' Boolean: Can see through? |
||
− | 0 = False = Can't see through tile <sup><b>*</b></sup> |
||
− | 1 = True = Can see through tile <sup><b>*</b></sup> |
||
− | <small><b>* Note:</b> Daishiva's MapView program lists this incorrectly!</small> |
||
+ | ====6: [[Medium Scout]]==== |
||
− | '''32 / 20:''' Boolean: Can't be stood on? For ground tiles: non-flying units fall through. ''Only two ground tiles have this set: BLANKS MCD id 0 and UFO1 MCD id 0'' |
||
+ | {| 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" |
||
+ | | U_EXT02 |
||
+ | | 34 || 40 || 2,108b || 17,841b || 80b || UFO flooring, ceilings, and exterior walls. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | | U_BITS |
||
+ | | 8 || 8 || 496b || 2,386b || 16b || Additional flooring and struts. |
||
+ | |- align="center" |
||
+ | ! Totals !! 89 !! 114 !! 5,518b !! 48,744b !! 228b !! |
||
+ | |} |
||
− | '''33 / 21:''' Boolean: Is Wall? Used for Objects intended to act as Walls; used to make UFO, Skyranger, and Avenger outer "walls" that aren't otherwise possible as "real" North or West walls. Used for a few other things, too. Called "BigWall" in MapView. |
||
+ | ====7: [[Large Scout]]==== |
||
− | '''34 / 22:''' Boolean: Is Grav lift? Up/Down of Lifts is determined by whether there is another one above or below in the .MAP. |
||
+ | {| 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" |
||
+ | | U_EXT02 |
||
+ | | 34 || 40 || 2,108b || 17,841b || 80b || UFO flooring, ceilings, and exterior walls. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | | U_BITS |
||
+ | | 8 || 8 || 496b || 2,386b || 16b || Additional flooring and struts. |
||
+ | |- align="center" |
||
+ | ! Totals !! 89 !! 114 !! 5,518b !! 48,744b !! 228b !! |
||
+ | |} |
||
− | '''35 / 23:''' Boolean: Is hinged door? See [46] |
||
+ | ====8: [[Harvester]]==== |
||
− | '''36 / 24:''' Boolean: Blocks fire? |
||
+ | {| 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" |
||
+ | | U_EXT02 |
||
+ | | 34 || 40 || 2,108b || 17,841b || 80b || UFO flooring, ceilings, and exterior walls. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | | U_DISEC2 |
||
+ | | 17 || 22 || 1,054b || 10,426b || 44b || Alien food and surgical units. |
||
+ | |- align="center" |
||
+ | | U_BITS |
||
+ | | 8 || 8 || 496b || 2,386b || 16b || Additional flooring and struts. |
||
+ | |- align="center" |
||
+ | ! Totals !! 106 !! 136 !! 6,572b !! 59,170b !! 272b !! |
||
+ | |} |
||
− | '''37 / 25:''' Boolean: Blocks smoke? |
||
+ | ====9: [[Abductor]]==== |
||
− | '''38 / 26:''' Unknown - Always 3. |
||
+ | {| 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" |
||
+ | | U_EXT02 |
||
+ | | 34 || 40 || 2,108b || 17,841b || 80b || UFO flooring, ceilings, and exterior walls. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | | U_OPER2 |
||
+ | | 15 || 15 || 930b || 6,801b || 30b || Examination room units. |
||
+ | |- align="center" |
||
+ | | U_BITS |
||
+ | | 8 || 8 || 496b || 2,386b || 16b || Additional flooring and struts. |
||
+ | |- align="center" |
||
+ | ! Totals !! 104 !! 129 !! 6,448b !! 55,545b !! 258b !! |
||
+ | |} |
||
− | '''39 / 27:''' Time units used to walk across the tile. (255 means unpassable) |
||
+ | ====10: [[Terror Ship]]==== |
||
− | '''40 / 28:''' Time units used to slide across the tile. (255 means unpassable) |
||
+ | {| 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" |
||
+ | | U_EXT02 |
||
+ | | 34 || 40 || 2,108b || 17,841b || 80b || UFO flooring, ceilings, and exterior walls. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | | U_PODS |
||
+ | | 11 || 27 || 682b || 15,178b || 54b || Alien entertainment and other glowing things. |
||
+ | |- align="center" |
||
+ | | U_BITS |
||
+ | | 8 || 8 || 496b || 2,386b || 16b || Additional flooring and struts. |
||
+ | |- align="center" |
||
+ | ! Totals !! 100 !! 141 !! 6,200b !! 63,922b !! 282b !! |
||
+ | |} |
||
− | '''41 / 29:''' Time units used to fly across the tile. (255 means unpassable) |
||
+ | ====11: [[Battleship]]==== |
||
− | For [39] to [41], values range from 0 to 8, or are 255. There are only a few places where they are not all the same ([39]=[40]=[41]): |
||
+ | {| 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" |
||
+ | | U_EXT02 |
||
+ | | 34 || 40 || 2,108b || 17,841b || 80b || UFO flooring, ceilings, and exterior walls. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | | U_PODS |
||
+ | | 11 || 27 || 682b || 15,178b || 54b || Alien entertainment and other glowing things. |
||
+ | |- align="center" |
||
+ | | U_BITS |
||
+ | | 8 || 8 || 496b || 2,386b || 16b || Additional flooring and struts. |
||
+ | |- align="center" |
||
+ | ! Totals !! 100 !! 141 !! 6,200b !! 63,922b !! 282b !! |
||
+ | |} |
||
− | <u>Walk</u> <u>Slide</u> <u>Fly</u> <u>File</u> <u>Description</u> |
||
− | |||
− | 2 0 2 Avenger Middle ramp object |
||
− | |||
− | 255 255 4 Arctic Water pools in ice (18 ground MCDs) |
||
− | |||
− | 2 2 0 U_Base Death ''objects'' for large round containers in alien bases (four quadrants)... |
||
− | thus, their remnants don't ''add'' TUs for fliers |
||
− | |||
− | 1 1 0 U_Base Little green plant objects found on black "base garden" flooring |
||
− | |||
− | 2 2 0 Urbits Two death objects (splinters on ground) for city's tall green picket fence |
||
− | (one is a North-wall fence, the other is a West-wall fence) |
||
+ | ====12: [[Supply Ship]]==== |
||
− | Which of the three movement types a given unit uses is determined by [[UNITREF.DAT|UnitRef[11]]]. Note that by default, ALL units are "walkers". |
||
+ | {| 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" |
||
+ | | U_EXT02 |
||
+ | | 34 || 40 || 2,108b || 17,841b || 80b || UFO flooring, ceilings, and exterior walls. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | | U_DISEC2 |
||
+ | | 17 || 22 || 1,054b || 10,426b || 44b || Alien food and surgical units. |
||
+ | |- align="center" |
||
+ | | U_BITS |
||
+ | | 8 || 8 || 496b || 2,386b || 16b || Additional flooring and struts. |
||
+ | |- align="center" |
||
+ | ! Totals !! 106 !! 136 !! 6,572b !! 59,170b !! 272b !! |
||
+ | |} |
||
− | '''42 / 2A:''' Armor of tile. |
||
+ | ===Terrain=== |
||
− | *Tile must take this amount of damage to be destroyed, at which point it changes to mcd[44]. |
||
+ | ====0: [[Jungle Terrain]]==== |
||
− | *Terrain items do not "remember" damage (like units); terrain is either destroyed (if damage >= armor) or not. |
||
+ | * Internal set name: JUNGLE |
||
− | *Some things are set to 255 to mean "indestructible" but actually, anything >100 is indestructible in a non-hacked game, and anything >127 (for explosives, 255/2) or >191 (firearms, 255x.75) cannot be destroyed, even in a hacked game (see [[Damage]] re: Damage to terrain). |
||
+ | * X-COM craft support: Yes. |
||
− | *With explosions, all four terrain items in the tile are hit by the same strength, but firearm shots target only one of them. |
||
+ | * Alien craft supported: Yes. |
||
− | *For a loopy exception to explosions being equally applied (due to erroneous data), see [[Explosions#Mile-High Madness|Mountain Madness]]. |
||
+ | * Potential maximum MCD record count: 255 |
||
− | *''[[user:NKF|NKF]]:'' I suppose you could make a gate out of this by creating two tiles, each easily destroyed, which change to the other when hit. One could be walked across, the other could not. |
||
+ | * Potential maximum image count: 288 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | JUNGLE |
||
+ | | 82 || 82 || 5,084b || 42,594b || 164b || Primary Jungle terrain data. |
||
+ | |- align="center" |
||
+ | ! Totals !! 84 !! 84 !! 5,208b !! 43,172b !! 168b !! |
||
+ | |} |
||
− | '''43 / 2B:''' [[Explosions#HE Block|HE Blockage]] |
||
+ | ====1: [[Farm Terrain]]==== |
||
− | '''44 / 2C:''' Tile becomes a tile of this type (i.e., this other MCD record in the same MCD file) when destroyed. Also known as the '''death tile'''. Also see [53]. |
||
+ | * Internal set name: CULTA |
||
+ | * X-COM craft support: Yes. |
||
+ | * Alien craft supported: Yes. |
||
+ | * Potential maximum MCD record count: 239 |
||
+ | * Potential maximum image count: 272 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- 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 !! |
||
+ | |} |
||
− | '''Note:''' If [44]=0, it means there is no death tile per se; it reverts to a "raw earth" (BLANKS[01]) tile if on ground, or nothing if in air. (It does not revert to the MCD id 0 record in the current collection.) |
||
+ | ====2: [[Forest Terrain]]==== |
||
− | '''45 / 2D:''' The higher this is, the less likely the tile will be set on fire. |
||
+ | * Internal set name: FOREST |
||
+ | * X-COM craft support: Yes. |
||
+ | * Alien craft supported: Yes. |
||
+ | * Potential maximum MCD record count: 256 |
||
+ | * Potential maximum image count: 265 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | FOREST |
||
+ | | 83 || 59 || 5,146b || 34,290b || 118b || Primary Forest terrain data. |
||
+ | |- align="center" |
||
+ | ! Totals !! 85 !! 61 !! 5,270b !! 34,868b !! 122b !! |
||
+ | |} |
||
− | '''46 / 2E:''' If the tile is a door ([30] or [35]), the tile will become this tile number when opened. Animation [0] (see [0] to [7]) is shown until someone walks through the door, in which case it cycles through its animation stopping and holding Animation [7]. Then it will return to a closed door next turn. |
||
+ | ====3: [[X-Com Base Terrain]]==== |
||
− | '''47 / 2F:''' Unknown - Always 0. [[TERRAIN#MCD Editor|MCDEdit]] calls this "Keycode". |
||
+ | * Internal set name: XBASE |
||
+ | * X-COM craft support: No. |
||
+ | * Alien craft supported: No. |
||
+ | * Potential maximum MCD record count: 161 (255 if using [[User:Bomb_Bloke|BB-Mod]]'s filled hangar modification) |
||
+ | * Potential maximum image count: 170 (262 if using [[User:Bomb_Bloke|BB-Mod]]'s filled hangar modification) |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | XBASE1 |
||
+ | | 97 || 105 || 6,014b || 47,341b || 210b || Primary X-COM base terrain data, including furnishings. |
||
+ | |- align="center" |
||
+ | | XBASE2 |
||
+ | | 62 || 63 || 3,844b || 24,718b || 126b || Additional furnishings, hangar flooring. |
||
+ | |- align="center" |
||
+ | ! Totals !! 161 !! 170 !! 9,982b !! 72,637b !! 340b !! |
||
+ | |} |
||
− | '''48 / 30:''' Signed value; add this to the graphical Y offset of units or objects on this tile. A.k.a. terrain level. |
||
+ | ====4: [[Alien Base Terrain]]==== |
||
− | '''49 / 31:''' Subtract this value from the graphical Y offset of the tile image (used for hills). |
||
+ | * Internal set name: UBASE |
||
+ | * X-COM craft support: No. |
||
+ | * Alien craft supported: No. |
||
+ | * Potential maximum MCD record count: 131 |
||
+ | * Potential maximum image count: 174 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | U_BASE |
||
+ | | 67 || 71 || 4,154b || 39,760b || 142b || Unique alien base furnishings. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || General alien furnishings. |
||
+ | |- align="center" |
||
+ | | U_PODS |
||
+ | | 11 || 27 || 682b || 15,178b || 54b || Alien entertainment and other glowing things. |
||
+ | |- align="center" |
||
+ | | BRAIN |
||
+ | | 4 || 8 || 248b || 5,294b || 16b || [[Brain|This]]. |
||
+ | |- align="center" |
||
+ | ! Totals !! 131 !! 174 !! 8,122b !! 89,327b !! 348b !! |
||
+ | |} |
||
− | '''50 / 32:''' Unknown - Always 0. |
||
+ | ====5: [[Urban Terrain]]==== |
||
− | '''51 / 33:''' From 0 to 10, amount of light blocked by tile. |
||
+ | * Internal set name: URBAN |
||
− | 0 Blocks no light. |
||
+ | * X-COM craft support: Yes. |
||
− | ''... up to ...'' |
||
+ | * Alien craft supported: No. |
||
− | 10 Blocks all light. |
||
+ | * Potential maximum MCD record count: 253 |
||
+ | * Potential maximum image count: 255 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | ROADS |
||
+ | | 23 || 23 || 1,426b || 7,110b || 46b || Roads, streetlamps, footpaths and intersections. |
||
+ | |- align="center" |
||
+ | | URBITS |
||
+ | | 25 || 25 || 1,550b || 8,427b || 50b || Fences, foliage, outdoor clutter. |
||
+ | |- align="center" |
||
+ | | URBAN |
||
+ | | 112 || 116 || 6,944b || 53,430b || 232b || Buildings, crates and store displays. |
||
+ | |- align="center" |
||
+ | | FRNITURE |
||
+ | | 26 || 26 || 1,612b || 13,835b || 52b || Household furnishings. |
||
+ | |- align="center" |
||
+ | ! Totals !! 188 !! 192 !! 11,656b !! 83,380b !! 384b !! |
||
+ | |} |
||
− | '''52 / 34:''' Footstep sound effect. Most likely an index to the .CAT file RAW wave ''-[http://www.strategycore.co.uk/forums/Map-Control-Data-MCD-long-Post-t1468.html BladeFireLight] |
||
− | 0 Not used in XCOM (makes a metal sound if hacked); is used on TFTD for some objects ''-[[User:Hobbes|Hobbes]]'' |
||
− | 1 Metal |
||
− | 2 Normal (Grass, Wood, Dirt) |
||
− | 3 Three mountain ground tiles, and some city apt. furniture objects that can't be walked on? |
||
− | (six furniture objects might've been - but they're death tiles that nothing points to) |
||
− | Uses same sound as 6 in DOS version. |
||
− | 4 Pool of water (Not used in XCOM) |
||
− | 5 Sand (Desert) |
||
− | 6 Martian ground (DOS version), snow (CE version) |
||
− | 7 Snow (only DOS version, Not used in XCOM, Arctic terrain actually uses 2) |
||
− | '''53 / 35:''' Tile type: |
||
− | 0 Floor |
||
− | 1 West Wall |
||
− | 2 North Wall |
||
− | 3 Object |
||
+ | ====6: [[Desert Terrain]]==== |
||
− | In the map, there are four bytes per tile: One each for the floor, west wall, north wall and object. If one of those changes (eg Is destroyed, or in the case of a door, opened), it is removed from the map and a new object is placed instead. This byte is used to work out which of the four map bytes should recieve the new object. |
||
+ | * Internal set name: DESERT |
||
+ | * X-COM craft support: Yes. |
||
+ | * Alien craft supported: Yes. |
||
+ | * Potential maximum MCD record count: 239 |
||
+ | * Potential maximum image count: 248 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | DESERT |
||
+ | | 66 || 42 || 4,092b || 13,972b || 84b || Primary Desert terrain data. |
||
+ | |- align="center" |
||
+ | ! Totals !! 68 !! 44 !! 4,216b !! 14,550b !! 88b !! |
||
+ | |} |
||
− | For example, in the mountains, if you destroy the ground tile you get an object (tree stump). The new tile gets written into the fourth byte of the map record, even though the original tile that was destroyed belonged in the first byte. |
||
+ | ====7: [[Mountain Terrain]]==== |
||
− | As for the potential for change in tile type when becoming death tile ([44]): There are 22 instances of [[Explosions#Mile-High Madness|Mountain Madness]] (ground to object), 1 instance of North Wall becoming an object (XCOM1 northwall door becomes rubble), one MCD record with tile type of '''10''' (Barn 7 which looks like a North Wall and becomes northwall when killed; obviously a typo'd Tile Type), and 31 total instances on 18 different tilesets where objects become ground upon dying (probably to "scorched earth", but this was not checked). |
||
+ | * Internal set name: MOUNT |
||
+ | * X-COM craft support: Yes. |
||
+ | * Alien craft supported: Yes. |
||
+ | * Potential maximum MCD record count: 251 |
||
+ | * Potential maximum image count: 260 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | MOUNT |
||
+ | | 78 || 54 || 4,836b || 23,093b || 108b || Primary Mountain terrain data. |
||
+ | |- align="center" |
||
+ | ! Totals !! 80 !! 56 !! 5,060b !! 23,671b !! 112b !! |
||
+ | |} |
||
− | '''54 / 36:''' Explosive type; [55] must be >0: |
||
− | 0 HE |
||
− | 1 Smoke |
||
− | ''Notes:'' |
||
− | #To see explosive objects in XCOM, see [[Explosions#Explosive Map Objects]]. |
||
− | #Type 0 (HE) explosions follow the usual rules for [[explosions]] (average damage to units decreases by 10 per tile outward, etc.). |
||
− | #Hackers: Type 0 (HE) terrain items with little or no armor ([42]=0) are obliterated before exploding (i.e., they won't explode, no matter how high [55] is). Probably also depends on, if it was a very big blast relative to the armor. |
||
− | #Chain reactions are exceedingly difficult to set up (per Hobbes). Most of the time when you see e.g. the four sections of the Navigator's table explode, it's because you used explosives that actually set off each one individually. It has to do with a balance of, among other things, not obliterating the object (see previous point). |
||
− | #Type 1 (Smoke) explosives are strange, and mainly only affect aliens - and very haphazardly at that. XCOM units are only very rarely affected; I could only get it to work if they were 1) unarmored, 2) on a diagonal, and 3) no other objects are "in the way" between the blast moving "over and up" or "up and over" to the diagonal (blast propagation never moves directly diagonally per se; see [[Explosions#Playing With Fire]]). ''-MTR'' |
||
− | #Chain reactions are not possible with Type 1 (Smoke) explosive objects. |
||
− | #Also, when dealing with smoke damage, remember that if there is already tons of smoke on the map (filling up the smoke table) such that no new smoke can appear, you might get unexpected results (or no effect). ''[[user:Hobbes|Hobbes]]:'' One strange thing that can happen when there's already too much smoke on the map and an object with [54]=1 explodes is that the alien dies and in the dying animation there's smoke on that square. ''Just in the dying animation, not after he's down? -MTR'' - ''I can't remember right now if the smoke remains afterward. Next time it happens I will check it [[User:Hobbes|Hobbes]] 12:00, 18 Nov 2005 (PST)'' |
||
− | #There are no "naturally occuring" HE explosives tiles in UFO. All explosive objects are MCD[54]=1. |
||
− | #TFTD uses both values for [54], 0 (more common, like the barrels on Port) and 1 (the Synomium device on Grunge/Artifact Site). |
||
+ | ====8: [[Arctic Terrain]]==== |
||
− | '''55 / 37:''' Strength of explosion when tile is destroyed. |
||
+ | * Internal set name: POLAR |
||
+ | * X-COM craft support: Yes. |
||
+ | * Alien craft supported: Yes. |
||
+ | * Potential maximum MCD record count: 254 |
||
+ | * Potential maximum image count: 329 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | POLAR |
||
+ | | 81 || 123 || 5,022b || 37,806b || 246b || Primary Arctic terrain data. |
||
+ | |- align="center" |
||
+ | ! Totals !! 83 !! 125 !! 5,146b !! 38,384b !! 250b !! |
||
+ | |} |
||
− | '''56 / 38:''' Smoke blockage. This is set to 0 for all UFO tiles! |
||
+ | ====9: [[Mars (Cydonia) Terrain|Martian Terrain]]==== |
||
− | '''''Perhaps [36] is used only? A varying [56] might have been where the 2 un-used smoke sprites would have come in. --[[User:Danial|Danial]]''''' |
||
+ | * Internal set name: MARS |
||
+ | * X-COM craft support: Yes. |
||
+ | * Alien craft supported: No. |
||
+ | * Potential maximum MCD record count: 150 |
||
+ | * Potential maximum image count: 168 |
||
+ | {| 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 || Burnt ground and out-of-bounds tiles. |
||
+ | |- align="center" |
||
+ | | MARS |
||
+ | | 36 || 37 || 2,232b || 16,394b || 74b || Primary Martian terrain data. |
||
+ | |- align="center" |
||
+ | | U_WALL02 |
||
+ | | 47 || 66 || 2,914b || 28,517b || 132b || Internal UFO components. |
||
+ | |- align="center" |
||
+ | ! Totals !! 85 !! 105 !! 5,270b !! 45,489b !! 210b !! |
||
+ | |} |
||
+ | ==See Also== |
||
− | '''57 / 39:''' The amount of turns this tile will burn for. |
||
+ | * [[Game Files]] |
||
+ | * [[Field Manual: Terrain]] |
||
+ | * [[TERRAIN (TFTD)|TFTD Terrain folder]] |
||
+ | [[Category:Terrain]] |
||
− | '''58 / 3A:''' Brightness of tile. Amount of light produced. |
||
− | |||
− | 11 MCDs produce light: 7 alien base objects (several pulsing fuel pods and several 4-part round "museum containers"), 2 XCOM base ground tiles, and 2 city objects (street lamp and large standing room lamp). See [[Night_Missions#Artificial_Lighting|Night Missions]] for pictures. Oddly, values range from 1 for the street lamp to 16 for the alien base museum containers, so lower values must be brighter. The [[Night Missions|distances]] of projected light have yet to be determined, but note that flares and personal lighting ignore vertical distance... at night, a soldier can see aliens on the ground exactly 9 tiles away, regardless of whether the soldier is at ground level or 4 levels high. |
||
− | |||
− | ''In practise, it seems if this is not zero then the tile will be fully illuminated regardless of the value. - [[User:Bomb Bloke|Bomb Bloke]] 06:48, 20 June 2008 (PDT)'' |
||
− | |||
− | '''59 / 3B:''' Special properties of tile. Determines what is salvaged at end of mission: |
||
− | 0 ''No Special Properties'' |
||
− | 1 Starting Point ''(place to Abort mission)'' |
||
− | 2 [[UFO Power Source]] |
||
− | 3 [[UFO Navigation]] |
||
− | 4 [[UFO Construction]] |
||
− | 5 [[Alien Food]] |
||
− | 6 [[Alien Reproduction]] |
||
− | 7 [[Alien Entertainment]] |
||
− | 8 [[Alien Surgery]] |
||
− | 9 [[Examination Room]] |
||
− | 10 [[Alien Alloys]] |
||
− | 11 [[Alien Habitat]] |
||
− | 12 Dead Tile |
||
− | 13 End Point ''(from surface of Mars to base)'' |
||
− | 14 Alien Brain ''(final mission victory condition)'' |
||
− | |||
− | '''60 / 3C:''' Set to 1 for most (but not all) non-death-tile XCOM base objects (TileType=3). All other MCD records set to 0. [[TERRAIN#MCD Editor|MCDEdit]] calls this "Victory Points" - so presumably you lose VPs based on how much of your base is destroyed? |
||
− | |||
− | '''61 / 3D:''' Almost half (560 of 1317) MCD records have widely varying values here, from 1 to 255 with no apparent pattern or preferred value. The remaining MCD records are 0. Some kind of pointer? |
||
− | |||
− | ==List of MCD Files== |
||
− | Here are the 27 MCD files in XCOM and a list of the number of records in each (1,317 total): |
||
− | |||
− | <table {{StdCenterTable}} class="sortable" width="35%"> |
||
− | <tr {{StdDescTable_Heading}}><th width="100" align="left">File</th><th>Terrain</th><th>Records</th></tr> |
||
− | <tr><td align="left">avenger</td><td>Avenger</td><td>59</td></tr> |
||
− | <tr><td align="left">barn</td><td>Farm</td><td>29</td></tr> |
||
− | <tr><td align="left">blanks</td><td>All</td><td>2</td></tr> |
||
− | <tr><td align="left">brain</td><td>Alien Base</td><td>4</td></tr> |
||
− | <tr><td align="left">cultitav</td><td>Farm</td><td>37</td></tr> |
||
− | <tr><td align="left">desert</td><td>Desert</td><td>66</td></tr> |
||
− | <tr><td align="left">forest</td><td>Forest</td><td>83</td></tr> |
||
− | <tr><td align="left">frniture</td><td>City</td><td>26</td></tr> |
||
− | <tr><td align="left">jungle</td><td>Jungle</td><td>82</td></tr> |
||
− | <tr><td align="left">lightnin</td><td>Lightning</td><td>42</td></tr> |
||
− | <tr><td align="left">mars</td><td>Cydonia</td><td>36</td></tr> |
||
− | <tr><td align="left">mount</td><td>Mountain</td><td>78</td></tr> |
||
− | <tr><td align="left">plane</td><td>Skyranger</td><td>65</td></tr> |
||
− | <tr><td align="left">polar</td><td>Polar</td><td>81</td></tr> |
||
− | <tr><td align="left">roads</td><td>City</td><td>23</td></tr> |
||
− | <tr><td align="left">ufo1</td><td>Small Scout</td><td>20</td></tr> |
||
− | <tr><td align="left">urban</td><td>City</td><td>112</td></tr> |
||
− | <tr><td align="left">urbits</td><td>City</td><td>25</td></tr> |
||
− | <tr><td align="left">u_base</td><td>Alien Base</td><td>67</td></tr> |
||
− | <tr><td align="left">u_bits</td><td>UFOs</td><td>8</td></tr> |
||
− | <tr><td align="left">u_disec2</td><td>UFOs</td><td>17</td></tr> |
||
− | <tr><td align="left">u_ext02</td><td>UFOs</td><td>34</td></tr> |
||
− | <tr><td align="left">u_oper2</td><td>UFOs</td><td>15</td></tr> |
||
− | <tr><td align="left">u_pods</td><td>UFO/Alien Base</td><td>11</td></tr> |
||
− | <tr><td align="left">u_wall02</td><td>UFO/Alien Base/Cydonia</td><td>47</td></tr> |
||
− | <tr><td align="left">xbase1</td><td>X-COM Base</td><td>97</td></tr> |
||
− | <tr><td align="left">xbase2</td><td>X-COM Base</td><td>62</td></tr></table> |
||
− | <br /> |
||
− | And here's the same list for TFTD: |
||
− | <br /><br /> |
||
− | <table {{StdCenterTable}} class="sortable" width="35%"> |
||
− | <tr {{StdDescTable_Heading}}><th width="100" align="left">File</th><th>Terrain</th><th>Records</th></tr> |
||
− | <tr><td align="left">asunk</td><td>Sunken Galleon</td><td>50</td></tr> |
||
− | <tr><td align="left">atlantis</td><td>Atlantis</td><td>77</td></tr> |
||
− | <tr><td align="left">barracud</td><td>Barracuda</td><td>46</td></tr> |
||
− | <tr><td align="left">blanks</td><td>All</td><td>2</td></tr> |
||
− | <tr><td align="left">cargo1</td><td>Cargo Ship</td><td>103</td></tr> |
||
− | <tr><td align="left">cargo2</td><td>Cargo Ship</td><td>13</td></tr> |
||
− | <tr><td align="left">cargo3</td><td>Cargo Ship</td><td>6</td></tr> |
||
− | <tr><td align="left">coral</td><td>Coral</td><td>28</td></tr> |
||
− | <tr><td align="left">crypt1</td><td>Crypt</td><td>45</td></tr> |
||
− | <tr><td align="left">crypt2</td><td>Crypt</td><td>49</td></tr> |
||
− | <tr><td align="left">crypt3</td><td>Crypt</td><td>12</td></tr> |
||
− | <tr><td align="left">crypt4</td><td>Crypt</td><td>7</td></tr> |
||
− | <tr><td align="left">debris</td><td>Seabed</td><td>50</td></tr> |
||
− | <tr><td align="left">deckc</td><td>Liner Ship (Top)</td><td>18</td></tr> |
||
− | <tr><td align="left">entry</td><td>Entry</td><td>12</td></tr> |
||
− | <tr><td align="left">grunge1</td><td>Artifact Site</td><td>38</td></tr> |
||
− | <tr><td align="left">grunge2</td><td>Artifact Site</td><td>8</td></tr> |
||
− | <tr><td align="left">grunge3</td><td>Artifact Site</td><td>10</td></tr> |
||
− | <tr><td align="left">grunge4</td><td>Artifact Site</td><td>37</td></tr> |
||
− | <tr><td align="left">hammer</td><td>Hammerhead</td><td>44</td></tr> |
||
− | <tr><td align="left">island1</td><td>Island</td><td>50</td></tr> |
||
− | <tr><td align="left">island2</td><td>Island</td><td>50</td></tr> |
||
− | <tr><td align="left">island3</td><td>Island</td><td>35</td></tr> |
||
− | <tr><td align="left">leviath</td><td>Leviathan</td><td>47</td></tr> |
||
− | <tr><td align="left">linera</td><td>Liner Ship</td><td>99</td></tr> |
||
− | <tr><td align="left">linerb</td><td>Liner Ship</td><td>24</td></tr> |
||
− | <tr><td align="left">linerc</td><td>Liner Ship</td><td>40</td></tr> |
||
− | <tr><td align="left">linerd</td><td>Liner Ship</td><td>23</td></tr> |
||
− | <tr><td align="left">manta</td><td>Manta</td><td>44</td></tr> |
||
− | <tr><td align="left">msunk1</td><td>Sunken Ship</td><td>50</td></tr> |
||
− | <tr><td align="left">msunk2</td><td>Sunken Ship</td><td>29</td></tr> |
||
− | <tr><td align="left">mu</td><td>Mu</td><td>80</td></tr> |
||
− | <tr><td align="left">organic1</td><td>Alien Base/Level/Entry</td><td>96</td></tr> |
||
− | <tr><td align="left">organic2</td><td>Alien Base/Level</td><td>10</td></tr> |
||
− | <tr><td align="left">organic3</td><td>Alien Base/Level</td><td>4</td></tr> |
||
− | <tr><td align="left">pipes</td><td>Pipes</td><td>55</td></tr> |
||
− | <tr><td align="left">planes</td><td>Sunken Plane</td><td>79</td></tr> |
||
− | <tr><td align="left">port01</td><td>Port</td><td>95</td></tr> |
||
− | <tr><td align="left">port02</td><td>Port</td><td>78</td></tr> |
||
− | <tr><td align="left">psynom</td><td>Alien Base/Level</td><td>2</td></tr> |
||
− | <tr><td align="left">pyramid</td><td>Artifact</td><td>24</td></tr> |
||
− | <tr><td align="left">rocks</td><td>Artifact/Seabed/Galleon</td><td>15</td></tr> |
||
− | <tr><td align="left">sand</td><td>several</td><td>20</td></tr> |
||
− | <tr><td align="left">sea</td><td>several</td><td>18</td></tr> |
||
− | <tr><td align="left">triton</td><td>Triton</td><td>46</td></tr> |
||
− | <tr><td align="left">uext1</td><td>?</td><td>4</td></tr> |
||
− | <tr><td align="left">uext2</td><td>USO/Entry</td><td>9</td></tr> |
||
− | <tr><td align="left">uext3</td><td>USO/Entry</td><td>25</td></tr> |
||
− | <tr><td align="left">ufobits</td><td>several</td><td>5</td></tr> |
||
− | <tr><td align="left">uint1</td><td>USO</td><td>41</td></tr> |
||
− | <tr><td align="left">uint2</td><td>USO</td><td>11</td></tr> |
||
− | <tr><td align="left">uint3</td><td>USO</td><td>14</td></tr> |
||
− | <tr><td align="left">volc</td><td>Volcanic</td><td>80</td></tr> |
||
− | <tr><td align="left">weeds</td><td>Artifact/Coral/Seabed</td><td>10</td></tr> |
||
− | <tr><td align="left">xbases1</td><td>X-COM Base</td><td>87</td></tr> |
||
− | <tr><td align="left">xbases2</td><td>X-COM Base</td><td>42</td></tr> |
||
− | <tr><td align="left">xbases3</td><td>X-COM Base</td><td>37</td></tr> |
||
− | <tr><td align="left">xbases4</td><td>X-COM Base</td><td>43</td></tr> |
||
− | <tr><td align="left">xbases5</td><td>X-COM Base</td><td>42</td></tr> |
||
− | <tr><td align="left">xbits</td><td>Cargo Ship</td><td>39</td></tr></table> |
||
− | |||
− | ==Additional Information== |
||
− | |||
− | ===MikeTheRed's MCD Database=== |
||
− | An Acccess 2000 copy of all MCD data is [[Media:XcomMCD.zip|here]]. It's from X-COM DOS 1.4, but AFAIK, all X-COM versions use the same data (even down to the buggy [[Explosions#Mile-High_Madness|Mile-High Madness]] MCD record). You will need to use this wiki page to understand it; I did not name the fields. They're just called by their offset address (see above). This Access database can be readily exported to Excel if you want. Or contact me. There are also a few files giving overall stats; the "Exclude" field for tblFileTypes only means, I excluded them for most counts I've made. There are also a few queries that might or might not be helpful. |
||
− | |||
− | ===BladeFireLight's MCD Info=== |
||
− | Another in-depth look at MCD (and more) can be found on [http://www.strategycore.co.uk/forums/lofiversion/index.php?t1468.html this] message by BladeFireLight. His post also contains a [http://www.HexWorkshop.com HexWorkshop] template for viewing MCD files in a logical manner. |
||
− | |||
− | ===MCD Editor=== |
||
− | Koralt's MCDEdit can view or modify MCD files. Find it here: [http://mypage.bluewin.ch/xcom/mcdedit.zip mcdedit.zip]. To see a screencap, scroll to the very bottom of BladeFireLight's MCD posting (above). MCDEdit needs [http://mypage.bluewin.ch/xcom/vbrun200.zip vbrun200] to run! |
||
− | |||
− | ===MapView=== |
||
− | DaiShiva has an excellent utility called [http://www.daishiva.com/phpBB2/generic.php?page=progLinks.shtml MapView] for viewing or editing maps. However, it does not allow editing of MCD terrain items per se, AFAIK; just moving/placement of them. Caution: You must install the extensive Microsoft .NET platform to use MapView; see DaiShiva's site. |
||
− | |||
− | ===BombBloke's Hacked Desert Terrain=== |
||
− | [[User:Bomb Bloke|Bomb Bloke]] has a numerical (ground) tileset which makes weapon damage blast testing easy as pie. It also has a little applet that lets you edit MCD variables Armor [42], HE Block [43], and Explosion Strength [55] (but not type, [54]), and it includes all four types of terrain item. Find his hacked terrain |
||
− | [http://www.strategycore.co.uk/forums/index.php?showtopic=746&st=195&# here] or bundled with a savegame [http://www.xcomufo.com/forums/index.php?showtopic=8701&st=114&# here]. To see a screencap of the tiles in action, see [http://www.xcomufo.com/forums/index.php?showtopic=8701&st=112&# this] message. |
||
− | |||
− | [[Category: Terrain]] |
||
[[Category:Game Files]] |
[[Category:Game Files]] |
||
+ | [[Category:Game Folders]] |
||
+ | [[Category:Enemy Unknown/UFO Defense]] |
Latest revision as of 04:35, 23 July 2013
This folder contains the information used for tiles in EU's 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 a 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 be part of an even larger "terrain set", which will have corresponding files in both the MAPS folder and the ROUTES folder.
The maximum amount of MCD records allowed in any given fully-built map is 256. This is also the highest count used in game, achieved by sending a Skyranger or Interceptor to deal with a Harvester or Supply Ship in Forest Terrain.
The maximum amount of PCK records allowed is as yet unknown. The highest count used in game is 329, achieved by sending a Skyranger or Interceptor to deal with a Terror Ship or Battleship in Arctic Terrain.
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 RLE-compressed image data and are of unpredictable sizes.
Ships
X-COM Craft
Set Number | Set Name | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|---|
0 | PLANE | 65 | 63 | 4,030b | 21,467b | 126b | Skyranger |
1 | LIGHTNIN | 42 | 51 | 2,604b | 22,701b | 102b | Lightning |
2 | AVENGER | 59 | 62 | 3,658b | 27,196b | 124b | Avenger |
3 | INTERC | 65 | 63 | 4,030b | 21,467b | 126b | Interceptor |
4 | FIRES | 42 | 51 | 2,604b | 22,701b | 102b | Firestorm |
Note: The Interceptor and Firestorm are available only via XcomUtil, and use the same tiles/images as the Skyranger and Lightning respectively.
5: Small Scout
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
UFO1 | 20 | 27 | 1,240b | 10,085b | 54b | Primary Small Scout data. |
6: Medium Scout
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
U_EXT02 | 34 | 40 | 2,108b | 17,841b | 80b | UFO flooring, ceilings, and exterior walls. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
U_BITS | 8 | 8 | 496b | 2,386b | 16b | Additional flooring and struts. |
Totals | 89 | 114 | 5,518b | 48,744b | 228b |
7: Large Scout
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
U_EXT02 | 34 | 40 | 2,108b | 17,841b | 80b | UFO flooring, ceilings, and exterior walls. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
U_BITS | 8 | 8 | 496b | 2,386b | 16b | Additional flooring and struts. |
Totals | 89 | 114 | 5,518b | 48,744b | 228b |
8: Harvester
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
U_EXT02 | 34 | 40 | 2,108b | 17,841b | 80b | UFO flooring, ceilings, and exterior walls. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
U_DISEC2 | 17 | 22 | 1,054b | 10,426b | 44b | Alien food and surgical units. |
U_BITS | 8 | 8 | 496b | 2,386b | 16b | Additional flooring and struts. |
Totals | 106 | 136 | 6,572b | 59,170b | 272b |
9: Abductor
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
U_EXT02 | 34 | 40 | 2,108b | 17,841b | 80b | UFO flooring, ceilings, and exterior walls. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
U_OPER2 | 15 | 15 | 930b | 6,801b | 30b | Examination room units. |
U_BITS | 8 | 8 | 496b | 2,386b | 16b | Additional flooring and struts. |
Totals | 104 | 129 | 6,448b | 55,545b | 258b |
10: Terror Ship
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
U_EXT02 | 34 | 40 | 2,108b | 17,841b | 80b | UFO flooring, ceilings, and exterior walls. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
U_PODS | 11 | 27 | 682b | 15,178b | 54b | Alien entertainment and other glowing things. |
U_BITS | 8 | 8 | 496b | 2,386b | 16b | Additional flooring and struts. |
Totals | 100 | 141 | 6,200b | 63,922b | 282b |
11: Battleship
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
U_EXT02 | 34 | 40 | 2,108b | 17,841b | 80b | UFO flooring, ceilings, and exterior walls. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
U_PODS | 11 | 27 | 682b | 15,178b | 54b | Alien entertainment and other glowing things. |
U_BITS | 8 | 8 | 496b | 2,386b | 16b | Additional flooring and struts. |
Totals | 100 | 141 | 6,200b | 63,922b | 282b |
12: Supply Ship
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
U_EXT02 | 34 | 40 | 2,108b | 17,841b | 80b | UFO flooring, ceilings, and exterior walls. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
U_DISEC2 | 17 | 22 | 1,054b | 10,426b | 44b | Alien food and surgical units. |
U_BITS | 8 | 8 | 496b | 2,386b | 16b | Additional flooring and struts. |
Totals | 106 | 136 | 6,572b | 59,170b | 272b |
Terrain
0: Jungle Terrain
- Internal set name: JUNGLE
- X-COM craft support: Yes.
- Alien craft supported: Yes.
- Potential maximum MCD record count: 255
- Potential maximum image count: 288
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
JUNGLE | 82 | 82 | 5,084b | 42,594b | 164b | Primary Jungle terrain data. |
Totals | 84 | 84 | 5,208b | 43,172b | 168b |
1: Farm Terrain
- Internal set name: CULTA
- X-COM craft support: Yes.
- Alien craft supported: Yes.
- Potential maximum MCD record count: 239
- Potential maximum image count: 272
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
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
- Internal set name: FOREST
- X-COM craft support: Yes.
- Alien craft supported: Yes.
- Potential maximum MCD record count: 256
- Potential maximum image count: 265
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
FOREST | 83 | 59 | 5,146b | 34,290b | 118b | Primary Forest terrain data. |
Totals | 85 | 61 | 5,270b | 34,868b | 122b |
3: X-Com Base Terrain
- Internal set name: XBASE
- X-COM craft support: No.
- Alien craft supported: No.
- Potential maximum MCD record count: 161 (255 if using BB-Mod's filled hangar modification)
- Potential maximum image count: 170 (262 if using BB-Mod's filled hangar modification)
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
XBASE1 | 97 | 105 | 6,014b | 47,341b | 210b | Primary X-COM base terrain data, including furnishings. |
XBASE2 | 62 | 63 | 3,844b | 24,718b | 126b | Additional furnishings, hangar flooring. |
Totals | 161 | 170 | 9,982b | 72,637b | 340b |
4: Alien Base Terrain
- Internal set name: UBASE
- X-COM craft support: No.
- Alien craft supported: No.
- Potential maximum MCD record count: 131
- Potential maximum image count: 174
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
U_BASE | 67 | 71 | 4,154b | 39,760b | 142b | Unique alien base furnishings. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | General alien furnishings. |
U_PODS | 11 | 27 | 682b | 15,178b | 54b | Alien entertainment and other glowing things. |
BRAIN | 4 | 8 | 248b | 5,294b | 16b | This. |
Totals | 131 | 174 | 8,122b | 89,327b | 348b |
5: Urban Terrain
- Internal set name: URBAN
- X-COM craft support: Yes.
- Alien craft supported: No.
- Potential maximum MCD record count: 253
- Potential maximum image count: 255
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
ROADS | 23 | 23 | 1,426b | 7,110b | 46b | Roads, streetlamps, footpaths and intersections. |
URBITS | 25 | 25 | 1,550b | 8,427b | 50b | Fences, foliage, outdoor clutter. |
URBAN | 112 | 116 | 6,944b | 53,430b | 232b | Buildings, crates and store displays. |
FRNITURE | 26 | 26 | 1,612b | 13,835b | 52b | Household furnishings. |
Totals | 188 | 192 | 11,656b | 83,380b | 384b |
6: Desert Terrain
- Internal set name: DESERT
- X-COM craft support: Yes.
- Alien craft supported: Yes.
- Potential maximum MCD record count: 239
- Potential maximum image count: 248
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
DESERT | 66 | 42 | 4,092b | 13,972b | 84b | Primary Desert terrain data. |
Totals | 68 | 44 | 4,216b | 14,550b | 88b |
7: Mountain Terrain
- Internal set name: MOUNT
- X-COM craft support: Yes.
- Alien craft supported: Yes.
- Potential maximum MCD record count: 251
- Potential maximum image count: 260
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
MOUNT | 78 | 54 | 4,836b | 23,093b | 108b | Primary Mountain terrain data. |
Totals | 80 | 56 | 5,060b | 23,671b | 112b |
8: Arctic Terrain
- Internal set name: POLAR
- X-COM craft support: Yes.
- Alien craft supported: Yes.
- Potential maximum MCD record count: 254
- Potential maximum image count: 329
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
POLAR | 81 | 123 | 5,022b | 37,806b | 246b | Primary Arctic terrain data. |
Totals | 83 | 125 | 5,146b | 38,384b | 250b |
9: Martian Terrain
- Internal set name: MARS
- X-COM craft support: Yes.
- Alien craft supported: No.
- Potential maximum MCD record count: 150
- Potential maximum image count: 168
Set | MCD Records | Image Count | MCD Filesize | PCK Filesize | TAB Filesize | Overview |
---|---|---|---|---|---|---|
BLANKS | 2 | 2 | 124b | 578b | 4b | Burnt ground and out-of-bounds tiles. |
MARS | 36 | 37 | 2,232b | 16,394b | 74b | Primary Martian terrain data. |
U_WALL02 | 47 | 66 | 2,914b | 28,517b | 132b | Internal UFO components. |
Totals | 85 | 105 | 5,270b | 45,489b | 210b |