r/Tf2Scripts • • Sep 02 '13

Satisfied [Request] Hotkey for muting

Hey guys.

Sometimes I'm pubbing with a couple buddies and end up on one of a group of micspam servers that they really like (who knows why). I hate figuring out who's currently spamming to mute them and/or muting everyone almost as much as I hate micspam. Is there a command for muting players? Thanks!

5 Upvotes

8 comments sorted by

4

u/TimePath Sep 02 '13

Voice_scale can be used to set the voice volume iirc, but it only affects people who start talking after it is changed. If somebody is playing constant sound over the mic, you'll have to wait until they stop for it to have any effect.

3

u/Helmet_Icicle Sep 03 '13
 //Binds Chat Toggle to Numpad +
 alias "chattoggle" "chattoggleoff"
 alias "chattoggleon" "chaton; alias chattoggle chattoggleoff"
 alias "chattoggleoff" "chatoff; alias chattoggle chattoggleon"
 alias "chaton" "hud_saytext_time 12; voice_modenable 1; voice_scale 1; echo Chat: On"
 alias "chatoff" "hud_saytext_time 0; voice_modenable 0; voice_scale 0; echo Chat: Off"
 bind "KP_PLUS" "chattoggle"

1

u/allink Sep 06 '13

I'm curious why you turn off both voice_modenable and voice_scale. Does setting just one of those to 0 not effectively mute everyone?

1

u/Helmet_Icicle Sep 06 '13

It's virtually redundant, for efficacious purposes. Also, I could be wrong but I think one of the settings ceases all voicechat immediately, while the other only takes effect after the current transmission has ended.

3

u/[deleted] Sep 02 '13

[removed] — view removed comment

3

u/HifiBoombox eggsdee Sep 02 '13

The 0 and 1 are not needed.

3

u/genemilder Sep 02 '13

Agreed but it's how the official TF2 wiki has it. Not the most correct of documents.

1

u/loph12 Sep 02 '13

It should also be noted that voice will not enable until you reconnect or the server changes maps.