Env doppler emitter: Difference between revisions
Jump to navigation
Jump to search
Bug:Will not play specified sound if the sound is not precached.
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ent not in fgd|nolink=1|because=it is useless for most cases}} | {{ent not in fgd|nolink=1|because=it is useless for most cases}} | ||
{{this is a|point entity|name=env_doppler_emitter|game=Black Mesa}} This entity imitates specified sound, while parent is moving. If used with no parent, it will play sound once after {{code|TurnOn}} input. Used for some [[NPCs]] to play their movement sound. The NPCs is: {{ent|npc_apache}}, {{ent|npc_osprey}}, {{ent|npc_alien_controller}}, {{ent|npc_ichthyosaur}}, {{ent|npc_gargantua}}. By default, it is not in FGD because of its very specific use. | {{this is a|point entity|name=env_doppler_emitter|game=Black Mesa}} This entity imitates specified sound, while parent is moving. If used with no parent, it will play sound once after {{code|TurnOn}} input. Used for some [[NPCs]] to play their movement sound. The NPCs is: {{ent|npc_apache}}, {{ent|npc_osprey}}, {{ent|npc_alien_controller}}, {{ent|npc_ichthyosaur}}, {{ent|npc_gargantua}}. By default, it is not in FGD because of its very specific use. | ||
Represented by class <code>CEnv_Doppler_Emitter</code>. | |||
{{bug|Will not play specified sound if the sound is not precached.|hidetested=1}} | {{bug|Will not play specified sound if the sound is not precached.|hidetested=1}} | ||
Revision as of 04:05, 18 December 2024

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
.

Keyvalues
- Name (targetname) <string>[ Edit ]
- 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.