ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "LaserOuterSpread"
From ModEnc
(Added info about a bug related to the flag) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Flag |
− | + | |name={{PAGENAME}} | |
+ | |files={{Categ|Rules(md).ini}} | ||
+ | |values=three comma-separated unsigned integers (RGB colour) | ||
+ | |default=0,0,0 | ||
+ | |types={{Categ|Weapon|Weapons}} | ||
+ | |ts=yes | ||
+ | |fs=yes | ||
+ | |ets=yes | ||
+ | |ra2=yes | ||
+ | |yr=yes | ||
+ | |rp=yes | ||
+ | }} | ||
+ | |||
+ | Defines the "variability" of the laser's outer color defined by {{f|LaserOuterColor|link}}. 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}} | ||
+ | This flag is only correctly read from the object's {{f|Primary|link}} weapon; If the object has a {{f|Secondary|link}} [[IsLaser|laser]] weapon, it will use the {{f|{{PAGENAME}}}} values of the {{f|Primary}} weapon. |
Latest revision as of 23:53, 8 November 2022
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.