Terrain (maps): Difference between revisions
Appearance
en>DCoder m Updating -Maps/ |
en>DCoder m Updating with new sidebar + anchors |
||
| Line 1: | Line 1: | ||
{{WrongTitle|[Terrain]}} | {{WrongTitle|[Terrain]}} | ||
{{ | === <span id="td"></span>{{td}} === | ||
=== <span id="ra"></span>{{ra}}, {{cs}}, {{am}} === | |||
=== <span id="ts"></span><span id="ra2"></span><span id="yr"></span>{{ts}}, {{fs}}, {{ra2}}, {{yr}} === | |||
This section is responsible for pre-placed [[TerrainTypes]] that should appear on the map. | This section is responsible for pre-placed [[TerrainTypes]] that should appear on the map. | ||
{{clr}} | {{clr}} | ||
== Section == | == Section == | ||
=== | === <span id="td"></span>{{td}} === | ||
=== | === <span id="ra"></span>{{ra}}, {{cs}}, {{am}} === | ||
=== | === <span id="ts"></span><span id="ra2"></span><span id="yr"></span>{{ts}}, {{fs}}, {{ra2}}, {{yr}} === | ||
The [{{Tt|Terrain}}] section in a map takes this format: | The [{{Tt|Terrain}}] section in a map takes this format: | ||
Revision as of 17:02, 23 June 2008
Tiberian Dawn
Red Alert, Counterstrike, Aftermath
Tiberian Sun, Firestorm, Red Alert 2, Yuri's Revenge
This section is responsible for pre-placed TerrainTypes that should appear on the map.
Section
Tiberian Dawn
Red Alert, Counterstrike, Aftermath
Tiberian Sun, Firestorm, Red Alert 2, Yuri's Revenge
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]→NewINIFormat= : 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. |