env_doppler_emitter
Jump to navigation
Jump to search
env_doppler_emitter
is a point entity available in Black Mesa. This entity imitates specified sound, while parent is moving. If used with no parent, it will play sound once after TurnOn
input. Used for some NPCs to play their movement sound. The NPCs is: npc_apache, npc_osprey, npc_alien_controller, npc_ichthyosaur, npc_gargantua. By default, it is not in FGD because of its very specific use.
Represented by class CEnv_Doppler_Emitter
.
Bug:Will not play specified sound if the sound is not precached.
Keyvalues
- Name (targetname) <string>
- 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
- Sound Name (soundname) <sound>
- Name of the GameSound entry for the sound to play. Doesn't support direct .wav filenames.
- Pitch (pitch) <float>
- Sound pitch, expressed as a range from 1(low) to 255(high), where 100 is the sound's default pitch. Overriden by soundscripts.
- Distance (distance) <float>
- Maximum distance at which this sound is audible.
Inputs
- TurnOff <void>
- Turns entity off.
- TurnOn <void>
- Turns entity on.