LightIntensity
The brightness of the glow a structure casts over the ground around it.
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- floating point
- When omitted
0
[GALITE] ; the stock light postLightVisibility=5000LightIntensity=0.2LightRedTint=0.05LightGreenTint=0.05LightBlueTint=0.01The figure is a fraction of full brightness on the same scale the map’s own ambient light uses: a structure with LightIntensity=1 adds as much light at its own cell as a fully lit map already carries, and the contribution falls away in a straight line to nothing at LightVisibility. A negative figure darkens instead, which is how the stock negative light post takes light out of the ground around it.
A figure of exactly zero means the structure carries no light source at all, and the radius and the three tints are then never read. Otherwise the glow is created with the structure, switched off while it is unpowered, and destroyed with it; Fields, fences and lights covers the power condition. The glow is unrelated to the swept beam that HasSpotlight covers.
A file read after rules.ini — an expansion rules file, or a scenario’s own rules — that names the same section without this key cuts the stored figure back to a whole number before storing it again. A 0.2 light set in the rules therefore goes out entirely the moment a map touches that section for any other reason, and a 1.5 light drops to 1. The three tints round off the same way.