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) (Created page with "{{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, whil...") |
MyGamepedia (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{CDA|CEnv_Doppler_Emitter|CBaseEntity|}} | |||
{{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}}. | {{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. | ||
{{bug|Will not play specified sound if the sound is not precached. | |||
{{bug|hidetested=1|Will not play specified sound if the sound is not precached.}} | |||
== Keyvalues == | == Keyvalues == | ||
{{KV|Sound Name|intn=soundname|sound|Name of the GameSound entry for the sound to play. Doesn't support direct .wav filenames.}} | {{KV|Sound Name|intn=soundname|sound|Name of the GameSound entry for the sound to play. Doesn't support direct .wav filenames.}} | ||
{{KV|Pitch|intn=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.}} | {{KV|Pitch|intn=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.}} |
Latest revision as of 23:37, 26 May 2025
![]() |
---|
CEnv_Doppler_Emitter |

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.

Keyvalues
- 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.