benilla-re systems structs docs

s_packetLifetimeLimit

global · lighting

Address
0x80ff6c · 4 bytes, up to 0x80ff6f
Type
const float
Meaning
Holds 60.0, the longest span a weather packet may have
Confidence
verified, proof one
Finding
lighting/precipitation#packet-replay

Finding: Packet replay in lighting: precipitation

A packet draws only once now reaches its start tick, with the time (now − start)/1024; until then it is invisible, so visible rain lags emission by one packet's span. A packet whose last tick has passed returns to the free list. A packet spanning 60 s or more from start to last tick is dropped with the message "Rain packet lifetime was too long". A stopping effect closes its open packet at once and, while the density is at most 0.25, drops every packet that has not started.

The derivation is in the doc.