Env wind: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (minoro)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=env_wind}}
{{wrongtitle|title=env_wind}}
{{base_point}}


== Entity description ==
== Entity description ==
[[Image:{{PAGENAME}}.png|left]]An entity to control wind in the map. It is partially functional.{{clr}}
[[Image:{{PAGENAME}}.png|left]]An entity to control wind in the map. It is partially functional.{{clr}}


== Availability ==
* See also : [[trigger_wind]], [[trigger_push]] and [[env_rotorwash]].
{{in game|point}} {{game-base}}
 
{{in code|class=class_c_env_wind.html CEnvWind|file=effects_8cpp-source.html effects.cpp}}
{{in code|class=class_c_env_wind.html CEnvWind|file=effects_8cpp-source.html effects.cpp}}


Line 39: Line 40:
* '''{{ep1 add|OnGustEnd}}'''
* '''{{ep1 add|OnGustEnd}}'''
: Fired when a wind gust ends.
: Fired when a wind gust ends.
== See also ==
* [[trigger_wind]]
* [[trigger_push]]
* [[env_rotorwash]]
[[Category:Entities]]

Revision as of 11:45, 12 April 2008

Template:Wrongtitle Template:Base point

Entity description

Env wind.png

An entity to control wind in the map. It is partially functional.

Template:In code

Keyvalues

<sound> Sound to be played to simulate the gusting wind. Template:Ep1 add
  • minwind
<integer> Minimum speed of the wind while idling.
  • maxwind
<integer> Maximum speed of the wind while idling.
  • mingust
<integer> Minimum speed of wind gusts.
  • maxgust
<integer> Maximum speed of wind gusts.
  • mingustdelay
<float> Minimum time delay between random gusts.
  • maxgustdelay
<float> Maximum time delay between random gusts.
  • gustdirchange
<integer> Maximum amount that the wind's direction changes due to a gust, in degrees.
<integer> How long will the wind gust for.

Inputs

Outputs

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