Env wind: Difference between revisions
Jump to navigation
Jump to search
Craziestdan (talk | contribs) (Removed dead links) |
m (Robot: fixing template case.) |
||
Line 13: | Line 13: | ||
*{{kv angles}} | *{{kv angles}} | ||
*'''gustsound''' | *'''gustsound''' | ||
:<sound> Sound to be played to simulate the gusting wind. {{ | :<sound> Sound to be played to simulate the gusting wind. {{EP1 add|Deprecated}} | ||
*'''minwind''' | *'''minwind''' | ||
:<integer> Minimum speed of the wind while idling. | :<integer> Minimum speed of the wind while idling. | ||
Line 28: | Line 28: | ||
*'''gustdirchange''' | *'''gustdirchange''' | ||
:<integer> Maximum amount that the wind's direction changes due to a gust, in degrees. | :<integer> Maximum amount that the wind's direction changes due to a gust, in degrees. | ||
* '''{{ | * '''{{EP1 add|gustduration}}''' | ||
: <integer> How long will the wind gust for. | : <integer> How long will the wind gust for. | ||
Line 36: | Line 36: | ||
== Outputs == | == Outputs == | ||
*{{o targetname}} | *{{o targetname}} | ||
* '''{{ | * '''{{EP1 add|OnGustStart}}''' | ||
: Fired when a wind gust begins. | : Fired when a wind gust begins. | ||
* '''{{ | * '''{{EP1 add|OnGustEnd}}''' | ||
: Fired when a wind gust ends. | : Fired when a wind gust ends. |
Revision as of 19:19, 19 January 2009
Template:Wrongtitle Template:Base point
Entity description
An entity to control wind in the map. It is partially functional.
- See also : trigger_wind, trigger_push and env_rotorwash.
In code it is represented by class CEnvWind, defined in effects.cpp.
Keyvalues
- Template:Kv targetname
- Template:Kv angles
- gustsound
- <sound> Sound to be played to simulate the gusting wind. Deprecated (in all games since
)
- 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.
- gustduration (in all games since
)
- <integer> How long will the wind gust for.
Inputs
Outputs
- Template:O targetname
- OnGustStart (in all games since
)
- Fired when a wind gust begins.
- OnGustEnd (in all games since
)
- Fired when a wind gust ends.