Skip to content

LaserOuterColor

The color of the pair of glow lines drawn alongside a laser beam's core.

Specification
Applies to
WeaponType
File
rules.ini
Section
[<ObjectType ID>]
Value
colour (R,G,B)
When omitted
0,0,0

Two extra lines are drawn a pixel away from the beam’s core, both in this color, and both jittered each frame by LaserOuterSpread. A value of exactly 0,0,0 suppresses them: the color is compared against black before the jitter is applied, so a spread cannot bring back a glow that was left at black.

rules.ini
[MyObeliskRay] ; example WeaponType
IsLaser=yes
LaserInnerColor=255,0,0
LaserOuterColor=128,32,32 ; only the 128 reaches the screen at normal detail

The color is read from the weapon in the object’s first slot whichever slot fired.