Env wind: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
mNo edit summary
Line 1: Line 1:
[[File:env_wind.png|left|link=]]
{{base point|env_wind|sprite=1}} It is used to control wind in the map and is partially functional.


{{base point|env_wind}} It is used to control wind in the map and is partially functional.{{clr}}
{{code class|CEnvWind|effects.cpp}}


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


== Keyvalues ==
== Keyvalues ==

Revision as of 08:39, 30 July 2011

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

C++ In code, it is represented by theCEnvWindclass, defined in theeffects.cppfile.

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