Env wind: Difference between revisions
Jump to navigation
Jump to search

Important:This is a preserved entity in 






.
If the game has round restart mechanics this entity may not behave as expected:
Note:Wind direction is determined by
Note:In most games that have $treeSway, this entity is required in order for the materials to simulate wind blowing on them. 
only) is used.
Bug:The wind effect in the client game will not change when a new map is loaded which does not contain an env_wind entity. [todo tested in ?]
(Grammar + KV intns.) |
(-concise page) |
||
Line 20: | Line 20: | ||
{{KV|Max gust dir change (degrees)|intn=gustdirchange|integer|Maximum amount that the wind's direction changes due to a gust.}} | {{KV|Max gust dir change (degrees)|intn=gustdirchange|integer|Maximum amount that the wind's direction changes due to a gust.}} | ||
{{KV|Radius|intn=windradius|float|only=L4ds|The radius this entity applies wind effects to. -1 for global effect.}} | {{KV|Radius|intn=windradius|float|only=L4ds|The radius this entity applies wind effects to. -1 for global effect.}} | ||
{{KV | {{KV Targetname}} | ||
==Inputs== | ==Inputs== | ||
Line 26: | Line 26: | ||
{{IO|Enable|Turns the wind on|only={{P2CE}}}} | {{IO|Enable|Turns the wind on|only={{P2CE}}}} | ||
{{IO|Disable|Turns the wind off|only={{P2CE}}}} | {{IO|Disable|Turns the wind off|only={{P2CE}}}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OnGustStart|Fired when a wind gust begins.}} | {{IO|OnGustStart|Fired when a wind gust begins.}} | ||
{{IO|OnGustEnd|Fired when a wind gust ends.}} | {{IO|OnGustEnd|Fired when a wind gust ends.}} | ||
==See Also== | ==See Also== |
Revision as of 06:43, 1 November 2022


Template:Base point It creates wind throughout an entire map.









If the game has round restart mechanics this entity may not behave as expected:
|

env_wind
's yaw value.
$treesway
does not require env_wind
if $treeswaystatic
(


Keyvalues
- Min normal speed (minwind) <integer>
- Minimum speed of the wind while idling.
- Max normal speed (maxwind) <integer>
- Maximum speed of the wind while idling.
- 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 in
)
- The radius this entity applies wind effects to. -1 for global effect.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
Outputs
- OnGustStart
- Fired when a wind gust begins.
- OnGustEnd
- Fired when a wind gust ends.