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:In most games that have $treeSway, this entity is required in order for the materials to simulate wind blowing on them.
(→Keyvalues: typo) |
m (Reworded my note.) |
||
Line 4: | Line 4: | ||
{{PreservedEnt}} | {{PreservedEnt}} | ||
{{note|In | {{note|In most games that have {{ent|$treeSway}}, this entity is required in order for the materials to simulate wind blowing on them.}} | ||
{{code class|CEnvWind|effects.cpp}} | {{code class|CEnvWind|effects.cpp}} |
Revision as of 16:57, 4 October 2018


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









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

Keyvalues
- Min normal speed (minwind) ([todo internal name (i)]) <integer>
- Minimum speed of the wind while idling.
- Max normal speed (maxwind) ([todo internal name (i)]) <integer>
- Maximum speed of the wind while idling.
- Min gust delay (mingustdelay) ([todo internal name (i)]) <integer>
- Minimum time delay between random gusts.
- Max gust delay (maxgustdelay) ([todo internal name (i)]) <integer>
- Maximum time delay between random gusts.
- Max gust dir change (degrees) (gustdirchange) ([todo internal name (i)]) <integer>
- Maximum amount that the wind's direction changes due to a gust.
- Radius (windradius) ([todo internal name (i)]) <float> (in all games since
)
- Only in
. The radius this entity applies wind effects to. -1 for global effect.
Inputs
Outputs
- OnGustStart
- Fired when a wind gust begins.
- OnGustEnd
- Fired when a wind gust ends.