env_wind

From Source Entities
Jump to navigation Jump to search

Code classes:

Env wind.png

env_wind is a point entity present in all Source games. It pushes rope entities around as if wind was blowing on them.

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
rope_wind_dist1000World unitsTells engine to not apply small wind gusts to ropes past this distance, for performance purposes.

Keyvalues[edit | edit source]

Min normal speed (minwind) <integer>
Minimum speed of the wind while not gusting.
Max normal speed (maxwind) <integer>
Maximum speed of the wind while not gusting.
Min gust speed (mingust) <integer>
Minimum speed of wind gusts.
Max gust speed (maxgust) <integer>
Maximum speed of wind gusts.
Min gust delay (mingustdelay) <integer>
Minimum time delay between random gusts.
Max gust delay (maxgustdelay) <integer>
Maximum time delay between random gusts.
Gust Duration (gustduration) <integer>
How long will the wind gust for.
Max gust dir change (degrees) (gustdirchange) <integer>
Maximum amount that the wind's direction changes due to a gust.
Radius (windradius) <float> (only available in L4d.pngL4d2-small.png)
The radius this entity applies wind effects to. -1 for global effect.

Outputs[edit | edit source]

OnGustStart
Fired when a wind gust begins.
OnGustEnd
Fired when a wind gust ends.

See Also[edit | edit source]