Skip to content

WindDirection

The facing that smoke and gas particles drift toward.

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

The value is a facing index: 0 is north and each step of 1 adds 45 degrees clockwise, up to 7 for north-west. It picks one fixed offset — at most two leptons on each axis — and that offset is the same for every particle on the map. Nothing varies it during a match.

Two tables of eight offsets are held, and a particle’s behavior settles which one it reads and how. A Gas or WeakGas particle takes its offset unscaled, on one frame out of every 10 divided by its ParticleType’s WindEffect, and not at all while that setting is 0 or less. A Smoke particle takes its offset multiplied by WindEffect on every frame, on top of its own climb and its accumulated drift. The two tables agree at every facing but 3, where the unscaled offset is a lepton shorter. No other particle behavior consults the setting.

See alsoWindEffect, BehavesLike