Trigger wind: Difference between revisions
Jump to navigation
Jump to search
Warning:Clientside prop_physics aren't detected by this entity. Use Force server-side flag if this is an issue.
Warning:Brush also gets rotated but it's not shown in hammer
(-removed wrong info) |
(-removed useless info. Added warnings) |
||
Line 1: | Line 1: | ||
{{base brush|trigger_wind}} It is a [[trigger]] that pushes [[physics]] objects that touch its volume. | {{base brush|trigger_wind}} It is a [[trigger]] that pushes [[physics]] objects that touch its volume. | ||
{{warning|[[Sv pushaway clientside size|Clientside prop_physics]] aren't detected by this entity. Use Force server-side flag if this is an issue.}} | |||
{{code class|CTriggerWind|triggers.cpp}} | {{code class|CTriggerWind|triggers.cpp}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Speed|intn=speed|integer|The baseline for how hard the wind blows.}} | {{KV|Speed|intn=speed|integer|The baseline for how hard the wind blows.}} | ||
{{KV|Speed Noise|intn=SpeedNoise|integer|Noise added to wind speed +/-}} | {{KV|Speed Noise|intn=SpeedNoise|integer|Noise added to wind speed +/-}} | ||
{{KV|Pitch Yaw Roll (Y Z X)|intn=angles|angles|Yaw sets the wind direction. Pitch and roll should be ignored. | |||
{{warning|Brush also gets rotated but it's not shown in hammer}}}} | |||
{{KV|Direction Noise|intn=DirectionNoise|integer|Noise added to wind direction.}} | {{KV|Direction Noise|intn=DirectionNoise|integer|Noise added to wind direction.}} | ||
{{KV|Hold Time|integer|intn=HoldTime|Baseline for how long to wait before changing wind.}} | {{KV|Hold Time|integer|intn=HoldTime|Baseline for how long to wait before changing wind.}} | ||
{{KV|Hold Noise|integer|intn=HoldNoise|Noise added to how long to wait before changing wind.}} | {{KV|Hold Noise|integer|intn=HoldNoise|Noise added to how long to wait before changing wind.}} | ||
{{KV | |||
{{KV|Filter Name|intn=filtername|filter|Name of filter entity to test against activators.}} | |||
==Inputs== | ==Inputs== | ||
{{IO|SetSpeed|Set the baseline for how hard the wind blows.|param=integer}} | {{IO|SetSpeed|Set the baseline for how hard the wind blows.|param=integer}} | ||
{{I | {{I EnableDisable}} | ||
== | == See also == | ||
* [[env_wind]] | |||
* [[env_rotorwash]] | |||
{{sensor brush}} | {{sensor brush}} |
Revision as of 05:06, 3 October 2022
Template:Base brush It is a trigger that pushes physics objects that touch its volume.

Keyvalues
- Speed (speed) <integer>
- The baseline for how hard the wind blows.
- Speed Noise (SpeedNoise) <integer>
- Noise added to wind speed +/-
- Pitch Yaw Roll (Y Z X) (angles) <angles>
- Yaw sets the wind direction. Pitch and roll should be ignored.

- Direction Noise (DirectionNoise) <integer>
- Noise added to wind direction.
- Hold Time (HoldTime) <integer>
- Baseline for how long to wait before changing wind.
- Hold Noise (HoldNoise) <integer>
- Noise added to how long to wait before changing wind.
- Filter Name (filtername) <filter>
- Name of filter entity to test against activators.
Inputs
- SetSpeed <integer >
- Set the baseline for how hard the wind blows.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.