env_wind
Jump to navigation
Jump to search
Code classes:
CEnvWind
CBaseEntity
(all ents)
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/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
rope_wind_dist | 1000 | World units | Tells 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)
- 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.