Jump to content

LaserOuterSpread

From ModEnc²
Revision as of 17:33, 2 July 2025 by Rain-Islet (talk | contribs) ([bot] Batch update {{Bugs}} templates.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: LaserOuterSpread
File(s): Rules(md).ini
Values: three comma-separated unsigned integers (RGB colour)
Default: 0,0,0
Applicable to: Weapons


Defines the "variability" of the laser's outer color defined by LaserOuterColor. Basically, every frame a random number from the range

[LaserOuterColor.X - LaserOuterSpread.X, LaserOuterColor.X + LaserOuterSpread.X] (substitute X for basic colors - R, G, B)

is used as the laser's outer color.

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 LaserOuterSpread values of the Primary weapon.