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

LaserDuration

From ModEnc
Jump to navigation Jump to search
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: LaserDuration
File(s): rules(md).ini
Values: Unsigned integers
Default: 10
Applicable to: Weapons


This flag defines the laser's lifetime, in frames, for IsLaser=yes and IsBigLaser=yes weapons.

Ares Info

In Ares, it is allowed for the support weapon of Prism Tower to use an actual weapon, in this case, the LaserDuration of that weapon serves as the original PrismSupportDuration.

Bugs/Side-Effects/Unexpected Limitations

This flag is only correctly read from the object's Primary weapon; If the object has a Secondary laser weapon, it will use the LaserDuration values of the Primary weapon.

  • Starting from Phobos Build#29 this bug has been fixed.