env_doppler_emitter

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the FGD by default.
It should not be put directly in a map because it is useless for most cases.

env_doppler_emitter is a point entity available in Black Mesa 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.

Icon-Bug.pngBug: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 or target).
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.