Env wind

From Valve Developer Community
Revision as of 07:11, 24 July 2011 by Barracuda (talk | contribs) (Cleanup)
Jump to navigation Jump to search
Env wind.png

Template:Base point It is used to control wind in the map and is partially functional.

In code it is represented by class CEnvWind, defined in effects.cpp.

Keyvalues

Min normal speed ([todo internal name (i)]) <integer>
Minimum speed of the wind while idling.
Max normal speed ([todo internal name (i)]) <integer>
Maximum speed of the wind while idling.
Min gust speed ([todo internal name (i)]) <integer>
Minimum speed of wind gusts.
Max gust speed ([todo internal name (i)]) <integer>
Maximum speed of wind gusts.
Min gust delay ([todo internal name (i)]) <integer>
Minimum time delay between random gusts.
Max gust delay ([todo internal name (i)]) <integer>
Maximum time delay between random gusts.
Gust Duration ([todo internal name (i)]) <integer>
How long will the wind gust for.
Max gust dir change (degrees) ([todo internal name (i)]) <integer>
Maximum amount that the wind's direction changes due to a gust.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

Outputs

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


See also