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

Movement: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
removed useless links (121st edit today)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Controlling Unit Movement Abilities (by DCoder) ==
== Controlling Unit Movement Abilities ==


For example, Tanya can go into the water, so can seals. Other infantry can't. Some vehicles can also go over water, while other can't. It is not dependant on the locomotor, the MovementZone and SpeedType control this.
Tanya can go into the water, so can seals. Other [[InfantryTypes]] can't. Some vehicles can also go over water, while others can't. It is not dependant on the [[locomotor]], the MovementZone and SpeedType control this. For more information, refer to the {{Tt|[[MovementZone]], [[SpeedType]], [[MovementRestrictedTo]]}} articles.
 
=== MovementZone ===
 
MovementZone says where is the unit allowed to go:
 
Amphibious - ground and water. <br>
AmphibiousDestroyer - can go into water as well as ground, but can't crush. Can destroy infantry obstacles via weaponry. <br>
Crusher - ground only, can crush infantry, but not armed. <br>
CrusherAll - ground only. Can crush any mobile object, including walls. <br>
Destroyer - ground, no water. Can destroy building obstacles and crush infantry. <br>
Fly - fly anywhere. <br>
None - same as Fly. <br>
Infantry - only clear ground, no water. <br>
InfantryDestroyer - only clear ground, no water. Can destroy obstacles. <br>
Normal - clear ground, no water. Can destroy trees and such obstacles. Can crush infantry. <br>
Water - water only. <br>
 
=== SpeedType ===
 
SpeedType defines the way units move over certain terrain types. Looking at the rules, we see that each terrain type (Clear, Rough, Road, Tiberium, Water, etc.) has it's own section. Let's look at one:<br>
<tt>
[Clear]<br>
Foot=100%<br>
Track=100%<br>
Wheel=100% <sup>1</sup><br>
Float=0%<br>
Hover=50%<br>
Amphibious=80%<br>
FloatBeach=0%<br>
Buildable=yes<br>
</tt>
 
The numbers indicate at what percent of it's Speed= can the unit with a certain <tt>SpeedType=</tt> move over this terrain. You see that units with <tt>SpeedType=Hover</tt>, for instance, can move only up to half their normal <tt>Speed=</tt> over this terrain. You can use percent over 100, it'll work fine.
The terrain types are as follows:
 
Clear - clear ground, no obstacles. <br>
Road - duh, roads. <br>
Rough - area covered in rubble and such minor obstacles. <br>
Rock - rocks, trees, cliffs, anything impassable. <br>
Tiberium - areas covered in Ore/Gems/Tiberium. <br>
Water - duh, water. <br>
Railroad - train tracks (Works in TS, in RA2 requires [http://tx.cannis.net <b>T</b>errain_E<b>x</b>pansion]). <br>
Tunnel - tunnels (Works in TS, in RA2 requires [http://tx.cannis.net <b>T</b>errain_E<b>x</b>pansion]). <br>
Beach - the line where water and ground join. <br>
 
Some units also are restricted to certain terrains, say trains are restricted to railroad, ships are restricted to water, and some spawned aircraft are restricted to water(it affects only their landing). You can restrict other units to some kind of terrain, say to roads only (although the point in that escapes me). To do so, use <tt>MovementRestrictedTo=</tt> with one of terrain types described above - Clear, Rough, Road, Water, Tiberium, Rock, Beach...
 
<sup>1</sup>
<tt>SpeedType=Wheel</tt> is not used by any object ingame. So you can either restore it for it's original purpose (light vehicles) to  provide certain variation against tracked vehicles (see also below), or use it for something entirely unrelated, like a class of vehicles that can't go over tiberium for whatever reason.


=== Tracked vs Wheeled ===
=== Tracked vs Wheeled ===
Line 61: Line 12:


These are multipliers to units' speed when climbing up/down hill.
These are multipliers to units' speed when climbing up/down hill.
[[Category:General_Editing_Information]]

Latest revision as of 09:17, 12 June 2006

Controlling Unit Movement Abilities

Tanya can go into the water, so can seals. Other InfantryTypes can't. Some vehicles can also go over water, while others can't. It is not dependant on the locomotor, the MovementZone and SpeedType control this. For more information, refer to the MovementZone, SpeedType, MovementRestrictedTo articles.

Tracked vs Wheeled

[General]
TrackedUphill=1.0
TrackedDownhill=1.2
WheeledUphill=1.0
WheeledDownhill=1.2

These are multipliers to units' speed when climbing up/down hill.