Skip to content

WindEffect

How strongly the prevailing wind carries a particle sideways.

Specification
Applies to
ParticleType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
0

The wind moves a particle by a step of up to two leptons on each axis, in the direction WindDirection names. For Gas and WeakGas particles, this value sets how often the step is taken. For Smoke particles, it sets how large the step is. Fire, Spark, Railgun and Web particles ignore it. The behavior is set by BehavesLike.

Gas and WeakGas particles take the step once every N frames, where N is 10 divided by this value and rounded down. The scale is coarse and reaches every frame quickly:

ValueStep taken
0 or lessnever
1one frame in ten
2one frame in five
3one frame in three
4 or 5every other frame
6 through 10every frame

Smoke particles take the step every frame, multiplied by this value. The drift has no upper limit, and a negative value carries the puff upwind.