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

Acceleration

From ModEnc
Revision as of 18:42, 17 August 2020 by TAK02 (talk | contribs) (Accelaration=0 projectiles have interesting behaviour, among other neat "features")
Jump to navigation Jump to search

This flag serves two different purposes in two different places.


In [JumpjetControls]

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: Acceleration
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Default: 0.25
Applicable to: JumpjetControls

Logic related to Acceleration, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge.



This flag controls the acceleration of units with JumpJet=yes.

This is now more obsolete in Red Alert 2 and Yuri's Revenge though, since this is specified on the unit itself through the JumpjetAccel tag.


On Projectiles

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: Acceleration
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 3
Applicable to: Projectiles


This tag controls the acceleration factor applied to the weapon of this projectile.

If this is 0 (or 4294967296) the projectile will spawn but stay where it was fired from. An exception to this seems to be when such a projectile is fired and the target is on a different height; the projectile will go up or down accordingly. A unit can only be hit by such projectiles if they go directly into them and if the unit in question was the target. Otherwise no damage at all is inflicted on anyone and the projectile remains at the same height as the target where it was fired from.

It is not clear what results from negative acceleration, but it has been tested that a projectile fired by AircraftTypes with an Acceleration value of -200 will go in wide circles and rarely if ever actually hit the target. Values 2147483648 and -2147483648 result in the projectile hitting the target instantly.