[TF2] Add convar to prevent voice commands being printed in chat#1869
[TF2] Add convar to prevent voice commands being printed in chat#1869YourSourceBoiii wants to merge 2 commits intoValveSoftware:masterfrom
Conversation
|
It would be even better if there's in addition a server-side convar for this. (Not that there's a plugin blocking voice commands in chat already) |
|
In my opinion a nice addition would be to have Spy! calls also be a part of |
|
I think a more efficient solution would be an option to filter which specific voice commands are muted. I would argue "Sentry Ahead!", "Help!" and "Incoming!" are useful, but adding them all to cl_mute_voice_commands_text 2 might be cumbersome. |
What do you think would be a better solution then? I kinda wanted to keep it simple to increase the chances of Volvo merging this, but if you have a better idea I'm willing to add it in |
|
This should also be integrated with the chat "Filters" button as "Voice Commands" before being merged, as an additional entry alongside e.g. Team Changes/Achievement announcements. The cvar should be a part of cl_chatfilters instead of its own cvar. See and , should be simple enough to add. |
ISSUE: On certain gamemodes and servers, it can be quite annoying to constantly get spammed with voice commands being subtitled in chat.
(Voice) shitman gaming 123: Spy!, etc. being done by people on the other side of the map or as a joke. It would be nice to give players the ability to prevent these messages from being printed to their chat.FIX: Add in a client side convar named

cl_mute_voice_commands_text.This convar is set to 0 by default, allowing new players and less technically inclined people to still see those voice command subtitles in the chat.
When
cl_mute_voice_commands_text 1is set, none of the voice command subtitles get printed into your chat, allowing you to experience more peace of mind.When
cl_mute_voice_commands_text 2is set, only calls for a MEDIC will be printed to chat. A special case is made for these as medic calls are useful for medics to determine where somebody is on the map (seeing both their name in chat and seeing the balloon pop up on your screen)