Env wind: Difference between revisions

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


==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==
== Availability ==
{{in game|point}} {{game-base}}
{{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}}


==Keyvalues==
== Keyvalues ==
*{{kv targetname}}
*{{kv targetname}}
*{{kv angles}}
*{{kv angles}}
Line 30: Line 30:
: <integer> How long will the wind gust for.
: <integer> How long will the wind gust for.


==Inputs==
== Inputs ==
*{{i targetname}}
*{{i targetname}}


==Outputs==
== Outputs ==
*{{o targetname}}
*{{o targetname}}
* '''{{ep1 add|OnGustStart}}'''
* '''{{ep1 add|OnGustStart}}'''
Line 40: Line 40:
: Fired when a wind gust ends.
: Fired when a wind gust ends.


==See also==
== See also ==
*[[trigger_wind]]
* [[trigger_wind]]
*[[trigger_push]]
* [[trigger_push]]
*[[env_rotorwash]]
* [[env_rotorwash]]


[[Category:Entities]]
[[Category:Entities]]

Revision as of 04:16, 1 February 2008

Template:Wrongtitle

Entity description

Env wind.png

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

Availability

Template:In game Template:Game-base 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.

See also