env_microphone
env_microphone is an existing point entity available
with all versions of Mapbase.An entity that acts as a microphone. It works in one of two modes. If it has a ‘Speaker’ set, it picks up all sounds within the specified sound range, and rebroadcasts them through the Speaker entity. In this Speaker mode, it ignores the Hears X spawnflags and does not fire the SoundLevel output. If it has no Speaker set, it measures the sound level at a point, and outputs the sound level as a value between 0 and 1. In Measuring mode, it only hears sounds that match the Hear X spawnflags.
KeyValues
- Local Destination Landmark (landmark) <target_destination>
If specified, then sounds offset from the speaker by their initial offset from this landmark. Only applicable in Speaker mode.
If specified, then sounds offset from the speaker by their initial offset from this landmark. Only applicable in Speaker mode.
- Pitch Scale (PitchScale) <float>
Scales the pitch of transmitted sounds. Only applicable in Speaker mode.
Scales the pitch of transmitted sounds. Only applicable in Speaker mode.
- Volume Scale (VolumeScale) <float>
Scales the volume of transmitted sounds. Only applicable in Speaker mode.
Scales the volume of transmitted sounds. Only applicable in Speaker mode.
- Channel (channel) <choices>
Sets the channel which sounds should transmit as. Only applicable in Speaker mode.
Sets the channel which sounds should transmit as. Only applicable in Speaker mode.
Flags
- [128] Hears sentences (Combine dialogue, etc.) : 128
Inputs
- SetDSPPreset
<integer>
Sets our DSP preset.
Sets our DSP preset.
- SetPitchScale
<float>
Sets the pitch scale.
Sets the pitch scale.
- SetVolumeScale
<float>
Sets the volume scale.
Sets the volume scale.
- SetChannel
<integer>
Sets the channel.
Sets the channel.
