Env wind

From Valve Developer Community
Revision as of 20:09, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity description

Env wind.png

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

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

Keyvalues

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.
  • gustsound
<sound> Sound to be played to simulate the gusting wind. Deprecated (in all games since Half-Life 2: Episode One)
  • 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 Half-Life 2: Episode One)
<integer> How long will the wind gust for.

Inputs

Outputs

  • OnGustStart (in all games since Half-Life 2: Episode One)
Fired when a wind gust begins.
  • OnGustEnd (in all games since Half-Life 2: Episode One)
Fired when a wind gust ends.