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
color (R,G,B)
When omitted
0,0,0

The glow is two extra lines drawn one pixel off the beam’s core, both in this color. LaserOuterSpread shifts the color by a random amount on every frame.

0,0,0 turns the glow off. The color is tested against black before the spread is added, so no LaserOuterSpread brings back a glow set to 0,0,0.

rules.ini
[MyObeliskRay] ; example WeaponType
IsLaser=yes
LaserInnerColor=255,0,0
LaserOuterColor=128,32,32 ; above the lowest detail only the red 128 shows

The color always comes from the weapon in the object’s first weapon slot, even when a laser in the second slot fires.