Env wind: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (template update)
m (ep1 add)
Line 12: Line 12:
*{{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 27: Line 27:
*'''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.


==Inputs==
==Inputs==
Line 33: Line 35:
==Outputs==
==Outputs==
*{{o targetname}}
*{{o targetname}}
* '''{{ep1 add|OnGustStart'''
: Fired when a wind gust begins.
* '''{{ep1 add|OnGustEnd}}'''
: Fired when a wind gust ends.


==See also==
==See also==

Revision as of 15:34, 5 August 2006

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