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

Difference between revisions of "LandTypes"

From ModEnc
Jump to: navigation, search
m
(Updated about veins, plus minor formatting updates.)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
!colspan=3|Available in
 
!colspan=3|Available in
 
!rowspan=2|Description
 
!rowspan=2|Description
 +
!rowspan=2|Allows [[IsVeins|veins]]?<ref>Whether or not Tiberium [[IsVeins|veins]] can spread to this land type. Appears to be hardcoded.</ref>
 
|-
 
|-
 
|[[Image:Game_ra_yes.png]]
 
|[[Image:Game_ra_yes.png]]
Line 14: Line 15:
 
|-
 
|-
 
|Clear
 
|Clear
|
+
|{{Y}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Clear ground, no obstacles.
 
| Clear ground, no obstacles.
 +
|{{Y}}
 
|-
 
|-
 
|Rough
 
|Rough
|
+
|{{Y}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Rougher terrain such as rocky areas or thick grass. In {{ra2}}, this defaults to the same settings as {{tt|Clear}}.
 
| Rougher terrain such as rocky areas or thick grass. In {{ra2}}, this defaults to the same settings as {{tt|Clear}}.
 +
|{{Y}}
 
|-
 
|-
 
|Road
 
|Road
|
+
|{{Y}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Dirt or paved roads.
 
| Dirt or paved roads.
 +
|{{Y}}
 
|-
 
|-
 
|Water
 
|Water
|
+
|{{Y}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Water as in lakes or ocean areas.
 
| Water as in lakes or ocean areas.
 +
|{{N}}
 
|-
 
|-
 
|Rock
 
|Rock
|
+
|{{Y}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Rocks, trees, cliffs, anything impassable.
 
| Rocks, trees, cliffs, anything impassable.
 +
|{{N}}
 
|-
 
|-
 
|Wall
 
|Wall
|
+
|{{Y}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Non-firestorm/non-laserfence walls.
 
| Non-firestorm/non-laserfence walls.
 +
|{{N}}
 
|-
 
|-
 
|Ore
 
|Ore
|
+
|{{Y}}
|
+
|{{N}}
|
+
|{{N}}
 
| Ore/Gem overlays.
 
| Ore/Gem overlays.
 +
|{{N}}
 
|-
 
|-
 
|Tiberium
 
|Tiberium
|
+
|{{N}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Ore/Gem/[[Tiberium]] overlays.
 
| Ore/Gem/[[Tiberium]] overlays.
 +
|{{N}}
 
|-
 
|-
 
|Beach
 
|Beach
|
+
|{{Y}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| The line where water and ground join.
 
| The line where water and ground join.
 +
|{{N}}
 
|-
 
|-
 
|River
 
|River
|
+
|{{Y}}
|
+
|{{N}}
|
+
|{{N}}
 
| Rivers.
 
| Rivers.
 +
|N/A
 
|-
 
|-
 
|Ice
 
|Ice
|
+
|{{N}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Water gone cold (works in {{ts}}, in {{ra2}} it is not assigned to anything and can be used for new movement rules).
 
| Water gone cold (works in {{ts}}, in {{ra2}} it is not assigned to anything and can be used for new movement rules).
 +
|{{N}}
 
|-
 
|-
 
|Tunnel
 
|Tunnel
|
+
|{{N}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Tunnel entrance/exit (works in {{ts}}, in {{ra2}} requires [[Terrain Expansion]] (aka TX)).
 
| Tunnel entrance/exit (works in {{ts}}, in {{ra2}} requires [[Terrain Expansion]] (aka TX)).
 +
|{{Y}}
 
|-
 
|-
 
|Railroad
 
|Railroad
|
+
|{{N}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Train tracks (works in {{ts}}, in {{ra2}} requires [[Terrain Expansion]] (aka TX)).
 
| Train tracks (works in {{ts}}, in {{ra2}} requires [[Terrain Expansion]] (aka TX)).
 +
|{{Y}}
 
|-
 
|-
 
|Weeds
 
|Weeds
|
+
|{{N}}
|
+
|{{Y}}
|
+
|{{Y}}
 
| Tiberium Veins (Works in TS, in RA2 it is not assigned to anything and can be used for new movement rules).
 
| Tiberium Veins (Works in TS, in RA2 it is not assigned to anything and can be used for new movement rules).
 +
|{{Y}}
 
|-
 
|-
 
|Cliff
 
|Cliff
|
+
|{{N}}
|
+
|{{N}}
|
+
|{{Y}}
 
| Cliffs (before {{ra2}} {{tt|Rock}} was used for cliffs).
 
| Cliffs (before {{ra2}} {{tt|Rock}} was used for cliffs).
 +
|{{Q}}
 
|}
 
|}
  
Line 123: Line 139:
 
*You can make [[OverlayTypes|overlays]] which, when placed, transform the ground (technically) to any type mentioned above. To do that, use the {{f|Land|<terrain type name>|link}} tag on the overlay rules coding.
 
*You can make [[OverlayTypes|overlays]] which, when placed, transform the ground (technically) to any type mentioned above. To do that, use the {{f|Land|<terrain type name>|link}} tag on the overlay rules coding.
 
*{{f|Winged|link}} can not be modified in the LandType section (i.e. ''Winged=80%'' would not work).
 
*{{f|Winged|link}} can not be modified in the LandType section (i.e. ''Winged=80%'' would not work).
 +
=== Footnotes ===
 
<references/>
 
<references/>
  
 
[[Category:INI Flags]]
 
[[Category:INI Flags]]
 
[[Category:rules(md).ini Sections]]
 
[[Category:rules(md).ini Sections]]
[[Category:Terrain Control INI Flags]]
 

Latest revision as of 17:29, 14 February 2024

One of the principal characteristics of any terrain is passability, i.e. how well units can traverse it. In Tiberian Dawn, terrain tiles were simply either passable or not. In Red Alert, this system was expanded significantly. Different tiles could now affect the speed of different units at different rates. This attribute is managed by LandTypes.

LandTypes are essentially different types of terrain. Every terrain tile has a parameter linking it to a specific LandType.

The available LandTypes are as follows:

LandType Available in Description Allows veins?[1]
Game ra yes.png Game ts yes.png Game ra2 yes.png
Clear Cc apply.png Cc apply.png Cc apply.png Clear ground, no obstacles. Cc apply.png
Rough Cc apply.png Cc apply.png Cc apply.png Rougher terrain such as rocky areas or thick grass. In Red Alert 2, this defaults to the same settings as Clear. Cc apply.png
Road Cc apply.png Cc apply.png Cc apply.png Dirt or paved roads. Cc apply.png
Water Cc apply.png Cc apply.png Cc apply.png Water as in lakes or ocean areas. Cc cancel.png
Rock Cc apply.png Cc apply.png Cc apply.png Rocks, trees, cliffs, anything impassable. Cc cancel.png
Wall Cc apply.png Cc apply.png Cc apply.png Non-firestorm/non-laserfence walls. Cc cancel.png
Ore Cc apply.png Cc cancel.png Cc cancel.png Ore/Gem overlays. Cc cancel.png
Tiberium Cc cancel.png Cc apply.png Cc apply.png Ore/Gem/Tiberium overlays. Cc cancel.png
Beach Cc apply.png Cc apply.png Cc apply.png The line where water and ground join. Cc cancel.png
River Cc apply.png Cc cancel.png Cc cancel.png Rivers. N/A
Ice Cc cancel.png Cc apply.png Cc apply.png Water gone cold (works in Tiberian Sun, in Red Alert 2 it is not assigned to anything and can be used for new movement rules). Cc cancel.png
Tunnel Cc cancel.png Cc apply.png Cc apply.png Tunnel entrance/exit (works in Tiberian Sun, in Red Alert 2 requires Terrain Expansion (aka TX)). Cc apply.png
Railroad Cc cancel.png Cc apply.png Cc apply.png Train tracks (works in Tiberian Sun, in Red Alert 2 requires Terrain Expansion (aka TX)). Cc apply.png
Weeds Cc cancel.png Cc apply.png Cc apply.png Tiberium Veins (Works in TS, in RA2 it is not assigned to anything and can be used for new movement rules). Cc apply.png
Cliff Cc cancel.png Cc cancel.png Cc apply.png Cliffs (before Red Alert 2 Rock was used for cliffs). Question.gif

In addition to unit speeds, LandType governs whether buildings can be constructed on the terrain or not.

Each LandType has it's own section in rules(md).ini, setting up its defining characteristics:

[Clear]
Buildable=yes
Foot=100%[2]
Track=100%[3]
Wheel=100%
Float=0%[4]
;The following LandTypes were added Tiberian Sun and later games:
Hover=50%
Amphibious=80%
Creep=100% ;only available in Firestorm
FloatBeach=0% ;only available in Red Alert 2 and Yuri's Revenge

The numbers indicate at what percent of its speed can units with a matching SpeedType move over this terrain. In this example, units with SpeedType=Hover, for instance, can move only up to half their normal Speed over tiles with this LandType.

Notes

  • You can make overlays which, when placed, transform the ground (technically) to any type mentioned above. To do that, use the Land=<terrain type name> tag on the overlay rules coding.
  • Winged can not be modified in the LandType section (i.e. Winged=80% would not work).

Footnotes

  1. Whether or not Tiberium veins can spread to this land type. Appears to be hardcoded.
  2. Any percentage exceeding 100% is ignored; 200% will have the same effect as 100%.
  3. If the value for Track is set to 0%, it will make the LandType impassable for units using Foot as their SpeedType as well.
  4. If value of Float SpeedType is above 0%, the LandType is also affected by WaterBound.