Terrain (maps): Difference between revisions
Appearance
en>DCoder Created, needs td-ra content |
en>DCoder m Fixing |
||
| Line 26: | Line 26: | ||
|- | |- | ||
! {{Anchor|COORDS|ts}} | ! {{Anchor|COORDS|ts}} | ||
| This is a number that stores the coordinates of the | | This is a number that stores the coordinates of the destination cell. Their format depends on the value of [{{Tt|[[Maps/Basic|Basic]]}}] {{arr|r}} {{TTL|NewINIFormat}} : when it's less than four, the number is {{Tt|Y * 128 + X}}, otherwise it's {{Tt|Y * 1000 + X}}. The X and Y coordinates can be seen in the status bar when hovering the mouse over the cell in [[FinalSun]]/[[FinalAlert 2]]. | ||
|- | |- | ||
! {{Anchor|TERRAIN_ID|ts}} | ! {{Anchor|TERRAIN_ID|ts}} | ||
| The TerrainType's ID. | | The TerrainType's ID. | ||
|} | |} | ||
Revision as of 11:38, 10 April 2008
This section is responsible for pre-placed TerrainTypes that should appear on the map.
Section
TD/CO
RA/CS/AM
TS/FS/RA2/YR
The [Terrain] section in a map takes this format:
[Terrain] COORDS=TERRAIN_ID
| String | Meaning |
|---|---|
| COORDS | This is a number that stores the coordinates of the destination cell. Their format depends on the value of [Basic] → Template:TTL : when it's less than four, the number is Y * 128 + X, otherwise it's Y * 1000 + X. The X and Y coordinates can be seen in the status bar when hovering the mouse over the cell in FinalSun/FinalAlert 2. |
| TERRAIN_ID | The TerrainType's ID. |