From 61cbdd48e924b9b602d6eb8c401138fb2f866fd5 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Wed, 29 Apr 2020 13:25:22 -0500 Subject: [PATCH] Added ability to change channel on env_microphone, added "SetPitchScale" input --- base.fgd | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/base.fgd b/base.fgd index 7abdd4f..4e74168 100644 --- a/base.fgd +++ b/base.fgd @@ -5066,11 +5066,25 @@ landmark(target_destination) : "Local Destination Landmark" : : "If specified, then sounds offset from the speaker by their initial offset from this landmark. Only applicable in Speaker mode." - PitchScale(float) : "Pitch Scale" : "1.0" : "Scales the pitch of transmitted sounds." + PitchScale(float) : "Pitch Scale" : "1.0" : "Scales the pitch of transmitted sounds. Only applicable in Speaker mode." + + channel(choices) : "Channel" : 6 : "Sets the channel which sounds should transmit as. Only applicable in Speaker mode." = + [ + 0 : "CHAN_AUTO" + 1 : "CHAN_WEAPON" + 2 : "CHAN_VOICE" + 3 : "CHAN_ITEM" + 4 : "CHAN_BODY" + 5 : "CHAN_STREAM" + 6 : "CHAN_STATIC" + 7 : "CHAN_VOICE2" + ] // Inputs input SetSpeakerName(target_destination) : "Set the microphone to output through a different speaker entity." input SetDSPPreset(integer) : "Sets our DSP preset." + input SetPitchScale(float) : "Sets the pitch scale." + input SetChannel(integer) : "Sets the channel." // Outputs output SoundLevel(float) : "Fired in Measuring mode whenever the sound level changes."