Jump to content

DeaccelerationFactor: Difference between revisions

From ModEnc²
en>TAK02
Needs Accelerates=yes (default)
en>Crimsonum
No edit summary
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Percentage multiple over-ride (reduction) to apply to the object's Speed= if it is ending movement.
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|AircraftTypes}}, {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}
|values={{values|Percentages}}
|default=0.002
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}


Example of Use:
Percentage multiple over-ride (reduction) to apply to the object's [[speed]] if it is ending movement. Basically, this controls how quickly the unit decelerates. Larger values mean slower deceleration.


DeaccelerationFactor=0.7
Always double check {{f|Accelerates|link}} is not disabled on the unit in question. You need the default or {{f|Accelerates|yes|link}} for this work.
DeaccelerationFactor=0.8


Meaning that it will slow down to seventy percent before stopping in the first example and 80% in the second.
{{bugs}}
If this flag is set to zero, speed modifiers such as [[LandTypes|terrain characteristics]] do not affect the unit's speed while the unit is moving.


 
== See Also ==
Editor's note:
* [[Accelerates]]
 
* [[AccelerationFactor]]
Always double check {{f|Accelerates|no|link}} and/or {{f|Accelerates|false|link}} are not on the unit in question. You need the default or {{f|Accelerates|yes|link}} for this work.
* [[SlowdownDistance]]

Revision as of 16:07, 21 January 2022

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DeaccelerationFactor
File(s): rules(md).ini
Values: Percentages: Either a direct percentage (e.g. "50%"), or a floating point value (e.g. "0.5").
Default: 0.002
Applicable to: AircraftTypes, InfantryTypes, VehicleTypes


Percentage multiple over-ride (reduction) to apply to the object's speed if it is ending movement. Basically, this controls how quickly the unit decelerates. Larger values mean slower deceleration.

Always double check Accelerates is not disabled on the unit in question. You need the default or Accelerates=yes for this work.

Bugs/Side-Effects/Unexpected Limitations If this flag is set to zero, speed modifiers such as terrain characteristics do not affect the unit's speed while the unit is moving.

See Also