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

IsLaser: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
Added info about a bug related to the flag
Testid123 (talk | contribs)
mNo edit summary
Line 16: Line 16:


{{bugs}}
{{bugs}}
This flag is only correctly read from the object's {{f|Primary|link}} weapon; If the object's {{f|Secondary|link}} weapon has {{f|IsLaser|yes}} but the {{f|Primary}} does not, then no laser is drawn for the {{f|Secondary}}.
This flag is only correctly read from the object's {{f|Primary|link}} weapon; If the object's {{f|Secondary|link}} weapon has {{f|IsLaser|yes}} but the {{f|Primary}} does not, then no laser is drawn for the {{f|Secondary}}.<br>
 
Sometimes the laser beam has a special transparency When attacking through any area.<br>

Revision as of 14:16, 3 September 2024

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: IsLaser
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: Weapons


If set, the game will draw a laser along the projectile path. The laser's lifetime is defined by LaserDuration, and its colors are defined by LaserInnerColor, LaserOuterColor, LaserOuterSpread and IsHouseColor.

Bugs/Side-Effects/Unexpected Limitations

This flag is only correctly read from the object's Primary weapon; If the object's Secondary weapon has IsLaser=yes but the Primary does not, then no laser is drawn for the Secondary.

Sometimes the laser beam has a special transparency When attacking through any area.