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

Difference between revisions of "ChronoDistanceFactor"

From ModEnc
Jump to: navigation, search
 
(De-DZed. Another one bites the dust.)
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
This is used to calculate the delay of Chrono shifted units. The distance between its current location and its destination is measured in a straight line (in leptons), then divided by this to get the number of frames of delay. You can actually set a second arbitrary value for this if you don't want this equation to be used when the unit has moved a very small distance which can be quite useful (see ChronoRangeMinimum= below).
+
|values={{Values|unsigned integers}}
 +
|default=32
 +
|types={{Categ|General|[General]}}
 +
|ra2=yes
 +
|yr=yes
 +
}}
 +
 
 +
This flag is used in determining the time in [[Frame|frames]] that it takes for a [[TechnoTypes|unit]] with {{f|Locomotor|{4A582747-9839-11d1-B709-00A024DDAFD1}|link}} (chronoshift) to phase in{{fnl|1}} after moving to a new location.
 +
 
 +
If {{s|General|link}}{{arr}}{{f|ChronoTrigger|yes|link}} and the unit moves a sufficient distance in [[Lepton|leptons]] of at least {{s|General}}{{arr}}{{f|ChronoRangeMinimum|link}}, the following formula is used to calculate phase in time:
 +
 
 +
<pre>time = distance / ChronoDistanceFactor</pre>
 +
 
 +
Actual phase-in time can never be less than {{s|General}}{{arr}}{{f|ChronoMinimumDelay|link}}.
 +
 
 +
==See also==
 +
* {{f|ChronoMinimumDelay|link}}
 +
* {{f|ChronoTrigger|link}}
 +
* {{f|ChronoRangeMinimum|link}}
 +
 
 +
==Notes==
 +
{{fn|1|While a unit is phasing in it cannot move or fire any [[weapons]], but it can still take damage and perform some auxilliary functions such as deploying.}}

Latest revision as of 00:48, 13 December 2009

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: ChronoDistanceFactor
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 32
Applicable to: [General]


This flag is used in determining the time in frames that it takes for a unit with Locomotor={4A582747-9839-11d1-B709-00A024DDAFD1} (chronoshift) to phase in1 after moving to a new location.

If [General]ChronoTrigger=yes and the unit moves a sufficient distance in leptons of at least [General]ChronoRangeMinimum, the following formula is used to calculate phase in time:

time = distance / ChronoDistanceFactor

Actual phase-in time can never be less than [General]ChronoMinimumDelay.

See also

Notes

1 While a unit is phasing in it cannot move or fire any weapons, but it can still take damage and perform some auxilliary functions such as deploying.