Skip to content

SpotlightLocationRadius

Distance ahead of a structure, in leptons, that its spotlight beam is aimed at.

Specification
Applies to
global rules
File
rules.ini
Section
[General]
Value
integer
When omitted
1000

A spotlight starts this far in front of its structure, along the direction the structure faces, and begins its sweep from there. The built-in value is a little under four cells. Only a structure whose type sets HasSpotlight=yes has a beam.

rules.ini
[General]
SpotlightLocationRadius=1536 ; the beam starts six cells in front of the structure

Once a beam is farther than this from its structure, it gains one sweep stage for every further tenth of the gap between this key and SpotlightMovementRadius. Each stage enlarges the radius at which the beam detects intruders, as SpotlightRadius describes. A beam closer to its structure than this distance is at stage zero.

A beam set to follow a target also casts a larger pool of light once it is beyond this distance. The pool grows one size step for each sweep stage, up to nine steps.