ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Terrain (maps)"

From ModEnc
Jump to: navigation, search
m (Fixing)
m (Woops, c/p error)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{WrongTitle|[Terrain]}}
 
{{WrongTitle|[Terrain]}}
  
{{SideBar|Map-specific INI sections|Template:Mapping}}
+
{{MappingBar}}
  
 
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.
  
 
__TOC__
 
__TOC__
{{clr}}
 
  
 
== Section ==
 
== Section ==
  
=== [[TD]]/[[CO]] ===
+
=== <span id="td"></span>{{td}} ===
  
=== [[RA]]/[[CS]]/[[AM]] ===
+
=== <span id="ra"></span>{{ra}}, {{cs}}, {{am}} ===
  
=== [[TS]]/[[FS]]/[[RA2]]/[[YR]] ===
+
=== <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:
Line 26: Line 25:
 
|-
 
|-
 
! {{Anchor|COORDS|ts}}
 
! {{Anchor|COORDS|ts}}
| 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]].
+
| This is a number that stores the coordinates of the destination cell. Their format depends on the value of {{sl|Basic|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.
 
|}
 
|}
 +
 +
 +
[[Category:Map Information]]

Latest revision as of 17:02, 23 June 2008

This page should correctly be named "[Terrain]"; it is wrong due to technical restrictions.


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
Meanings of each string
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.