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

SpeedType: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Juances19 (talk | contribs)
No edit summary
Starkku (talk | contribs)
Added a note about Float SpeedType and WaterBound connection.
Line 2: Line 2:
|types=[[InfantryTypes]], [[VehicleTypes]], [[AircraftTypes]], [[BuildingTypes]] (to the same extent as [[Locomotors]] do)|ts=yes|fs=yes|ets=yes|ra2=yes|yr=yes|rp=yes}}
|types=[[InfantryTypes]], [[VehicleTypes]], [[AircraftTypes]], [[BuildingTypes]] (to the same extent as [[Locomotors]] do)|ts=yes|fs=yes|ets=yes|ra2=yes|yr=yes|rp=yes}}


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>
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>
<tt>
Line 9: Line 9:
Track=100%<br>
Track=100%<br>
Wheel=100% <sup>[[#Notes|1]]</sup><br>
Wheel=100% <sup>[[#Notes|1]]</sup><br>
Float=0%<br>
Float=0% <sup>[[#Notes|2]]</sup><br>
Hover=50%<br>
Hover=50%<br>
Amphibious=80%<br>
Amphibious=80%<br>
FloatBeach=0%<br>
FloatBeach=0%<br>
Buildable=yes<br>
Buildable=yes<br>
Creep=100% <sup>[[#Notes|2]]</sup><br>
Creep=100% <sup>[[#Notes|3]]</sup><br>
</tt>
</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 just revert to 100.<br>
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 just revert to 100.<br>


Note that the AircraftType's default <tt>SpeedType=[[Winged]]</tt> will always result in 100 percet movement ability.<br>
Note that the AircraftType's default <tt>SpeedType=[[Winged]]</tt> will always result in 100 percet movement ability.<br>
Line 23: Line 23:


The terrain type of a certain tile is set in the tile [[Tools#Terrain_editing|.tmp file]].<br>
The terrain type of a certain tile is set in the tile [[Tools#Terrain_editing|.tmp file]].<br>
Terrain types<sup>[[#Notes|3]]</sup> are as follows:  
Terrain types<sup>[[#Notes|4]]</sup> are as follows:  


== Terrain Types ==
== Terrain Types ==
Line 40: Line 40:


=== Notes ===
=== Notes ===
<sup>1</sup> - <tt>SpeedType=Track</tt> is not used by any object ingame. So you can either restore it for it's original purpose (tracked vehicles) to  provide certain variation against standard vehicles (the vehicle locomotor defaults to SpeedType=Wheel) (see also [[Movement#Tracked_vs_Wheeled|Tracked vs Wheeled]]), or use it for something entirely unrelated, like a class of vehicles that can't go over [[tiberium]] for whatever reason.<br>
<sup>1</sup> - <tt>SpeedType=</tt>[[Track]] is not used by any object ingame. So you can either restore it for it's original purpose (tracked vehicles) to  provide certain variation against standard vehicles (the vehicle locomotor defaults to SpeedType=Wheel) (see also [[Movement#Tracked_vs_Wheeled|Tracked vs Wheeled]]), or use it for something entirely unrelated, like a class of vehicles that can't go over [[tiberium]] for whatever reason.<br>
<sup>2</sup> - A new SpeedType is introduced in [[Firestorm]], called <tt>Creep</tt>. It is originally used only by the Cyborg Reaper.<br>
<sup>2</sup> - If value of [[Float]] <tt>SpeedType</tt> is above 0%, the terrain type is also affected by [[WaterBound]].<br>
<sup>3</sup> - You can make [[OverlayTypes|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.
<sup>3</sup> - A new SpeedType is introduced in [[Firestorm]], called <tt>Creep</tt>. It is originally used only by the Cyborg Reaper.<br>
<sup>4</sup> - You can make [[OverlayTypes|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.


According to Allied General, Track was originally used for trains.
According to Allied General, Track was originally used for trains.

Revision as of 09:29, 17 October 2012

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: SpeedType
File(s): rules(md).ini
Values: special strings
Default: Foot for InfantryTypes, Wheel for VehicleTypes, Winged for AircraftTypes and Float for BuildingTypes
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes (to the same extent as Locomotors do)


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:

[Clear]
Foot=100%
Track=100%
Wheel=100% 1
Float=0% 2
Hover=50%
Amphibious=80%
FloatBeach=0%
Buildable=yes
Creep=100% 3

The numbers indicate at what percent of it's Speed= can the unit with a certain SpeedType= move over this terrain. You see that units with SpeedType=Hover, for instance, can move only up to half their normal Speed= over this terrain. You can use percent over 100, it'll just revert to 100.

Note that the AircraftType's default SpeedType=Winged will always result in 100 percet movement ability.
Winged can not be modified in the terrain type's section (i.e. Winged=80% would not work).

The terrain type of a certain tile is set in the tile .tmp file.
Terrain types4 are as follows:

Terrain Types

  • Clear - Clear ground, no obstacles.
  • Road - Dirt or paved roads.
  • Rough - Rougher terrain such as rocky areas or thick grass. In RA2, this defaults to the same settings as Clear.
  • Rock - rocks, trees, cliffs, anything impassable.
  • Tiberium - areas covered in Ore/Gems/Tiberium.
  • Water - Water as in rivers or ocean areas.
  • Railroad - Train tracks (Works in TS, in RA2 requires Terrain Expansion (aka TX)).
  • Tunnel - Tunnel Entrance/Exit (Works in TS, in RA2 requires Terrain Expansion (aka TX)).
  • Beach - The line where water and ground join.
  • Weeds - Tiberium Veins (Works in TS, in RA2 it is not assigned to anything and can be used for new movement rules).
  • Ice - Water gone cold (Works in TS, in RA2 it is not assigned to anything and can be used for new movement rules).
  • Wall - duh, non-firestorm/non-laserfence walls.

Notes

1 - SpeedType=Track is not used by any object ingame. So you can either restore it for it's original purpose (tracked vehicles) to provide certain variation against standard vehicles (the vehicle locomotor defaults to SpeedType=Wheel) (see also Tracked vs Wheeled), or use it for something entirely unrelated, like a class of vehicles that can't go over tiberium for whatever reason.
2 - If value of Float SpeedType is above 0%, the terrain type is also affected by WaterBound.
3 - A new SpeedType is introduced in Firestorm, called Creep. It is originally used only by the Cyborg Reaper.
4 - 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.

According to Allied General, Track was originally used for trains.