Skip to content

LightVisibility

The radius, in leptons, that a structure's glow reaches.

Specification
Applies to
BuildingType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
5000
rules.ini
[MYLAMP] ; example light post BuildingType
LightVisibility=2560 ; ten cells at 256 leptons each
LightIntensity=0.2
LightRedTint=0.05
LightGreenTint=0.05
LightBlueTint=0.01

The value is a radius in leptons, not cells. A cell is 256 leptons across, so the built-in 5000 reaches a little over nineteen cells.

The structure’s LightIntensity and its three tints are strongest at its center and fall off in a straight line to nothing at this radius. A wider radius therefore also lights every cell already inside it more strongly.

The radius has no effect when LightIntensity is 0.