Jump to content

Terrain (maps)

From ModEnc²
Revision as of 11:37, 10 April 2008 by en>DCoder (Created, needs td-ra content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page should correctly be named "[Terrain]"; it is wrong due to technical restrictions.



Terrain (maps)
Sidebar/Default

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
Meanings of each string
String Meaning
COORDS This is a number that stores the coordinates of the target cell. Their format depends on the value of [Basic] → Template:TTL : when it's less than four, the number is X * 128 + Y, otherwise it's X * 1000 + Y. 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.