LaserColor
The color of the beam a railgun system draws.
Specification
- Applies to
- ParticleSystemType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- color (R,G,B)
- When omitted
0,0,0
The value is three comma-separated channel values, red, green and blue, each from 0 to 255. The beam is a single line in this color, so this color is its whole appearance. Only a Railgun system with Laser=yes reads it.
[MyRailgunSys] ; a ParticleSystemType registered in [ParticleSystems]BehavesLike=RailgunHoldsWhat=MyRailgunPart ; a ParticleType registered in [Particles]Laser=yesLaserColor=255,128,0 ; orangeAbove the lowest detail setting, the beam blends the pixels it crosses toward this color, but only in the channels this color sets above 0. In a channel set to 0, those pixels keep their value. 255,128,0 therefore shifts the red and green of what the beam crosses and keeps its blue, and a color of 0,0,0 draws no visible beam.
At the lowest detail setting, the beam is painted flat in this color as given, so 0,0,0 draws a black line there.