Env rotorwash emitter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
(Describe env_rotorwash_emitter a little better, document how "altitude" is ignored.)
Line 1: Line 1:
{{lang|Env rotorwash emitter}}
{{lang|Env rotorwash emitter}}
{{base point multi|env_rotorwash_emitter|game1=Half-Life 2|game2=Portal|game3=Alien Swarm}} It creates a [[rotor wash]] effect.
{{base point multi|env_rotorwash_emitter|game1=Half-Life 2|game2=Portal|game3=Alien Swarm}} It creates a [[rotor wash]] effect, when a helicopter flies near the ground. The surface below must always be at most 1024 units away to be detected, and can either be solid ground, water or slime.


{{code class|CRotorWashEmitter|rotorwash.cpp}}
{{code class|CRotorWashEmitter|rotorwash.cpp}}


==Keyvalues==
==Keyvalues==
{{KV|Altitude (altitude)|float|Altitude the rotorwash will show up.}}
{{KV|Altitude (altitude)|float|Altitude the rotorwash will show up. Despite being present in the entity, it's not actually used for anything.}}
{{KV BaseEntity|css=1}}
{{KV BaseEntity|css=1}}



Revision as of 18:45, 7 March 2020

English (en)中文 (zh)Translate (Translate)

Template:Base point multi It creates a rotor wash effect, when a helicopter flies near the ground. The surface below must always be at most 1024 units away to be detected, and can either be solid ground, water or slime.

C++ In code, it is represented by theCRotorWashEmitterclass, defined in therotorwash.cppfile.

Keyvalues

Altitude (altitude) ([todo internal name (i)]) <float>
Altitude the rotorwash will show up. Despite being present in the entity, it's not actually used for anything.


Inputs

Outputs