Env wind: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 
		
	
| m (Robot: fixing template case.) |  (Cleanup) | ||
| Line 1: | Line 1: | ||
| [[File:env_wind.png|left|link=]] | |||
| {{base point|env_wind}} It is used to control wind in the map and is partially functional.{{clr}} | |||
| In code it is represented by class CEnvWind, defined in effects.cpp. | In code it is represented by class CEnvWind, defined in effects.cpp. | ||
| == Keyvalues == | == Keyvalues == | ||
| {{KV|Min normal speed|integer|Minimum speed of the wind while idling.}} | |||
| {{KV|Max normal speed|integer|Maximum speed of the wind while idling.}} | |||
| {{KV|Min gust speed|integer|Minimum speed of wind gusts.}} | |||
| {{KV|Max gust speed|integer|Maximum speed of wind gusts.}} | |||
| {{KV|Min gust delay|integer|Minimum time delay between random gusts.}} | |||
| {{KV|Max gust delay|integer|Maximum time delay between random gusts.}} | |||
| {{KV|Gust Duration|integer|How long will the wind gust for.}} | |||
| {{KV|Max gust dir change (degrees)|integer|Maximum amount that the wind's direction changes due to a gust.}} | |||
| {{KV Targetname}} | |||
| {{KV Angles}} | |||
| == Inputs == | == Inputs == | ||
| {{I Targetname}} | |||
| == Outputs == | == Outputs == | ||
| {{IO|OnGustStart|Fired when a wind gust begins.}} | |||
| {{IO|OnGustEnd|Fired when a wind gust ends.}} | |||
| {{O Targetname}} | |||
| == See also == | |||
| * [[trigger_wind]] | |||
| * [[trigger_push]] | |||
| * [[env_rotorwash]] | |||
Revision as of 07:11, 24 July 2011

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
- 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. parentnameortarget).
 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.