Env wind: Difference between revisions
Jump to navigation
Jump to search
Note:In 
, this entity is needed for prop materials that have $treeSway, so it can simulate wind blowing on them.
mNo edit summary |
m (Added a note about this entity being needed for $treeSway materials.) |
||
Line 1: | Line 1: | ||
{{base point|env_wind|sprite=1}} It is used to control wind in the map and is partially functional. | {{base point|env_wind|sprite=1}} It is used to control wind in the map and is partially functional. | ||
{{note|In {{csgo}}{{insurgency}}, this entity is needed for prop materials that have [[$treeSway]], so it can simulate wind blowing on them.}} | |||
{{code class|CEnvWind|effects.cpp}} | {{code class|CEnvWind|effects.cpp}} | ||
Revision as of 15:18, 10 January 2017
Template:Base point It is used to control wind in the map and is partially functional.



Keyvalues
- 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
ortarget
).
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.