Skip to content

[TF2] Separate Voice and Chat mutes #1426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

horiuchii
Copy link

Description

This PR separates the option to mute players into two separate options, voice and chat. The mute menu and scoreboard context menu have been updated to display these options.

In order to achieve two separate mute options, the method of writing to voice_ban.dt was updated to include saving per player ban flags. All functions responsible for parsing mute statuses between players have been modified to use a ban flag parameter instead of a boolean.

Additionally, the MutePlayerDialog.res was updated to use new translation strings within mod_tf_english.txt

Showcase

Mute Dialog
1
Scoreboard context menu mute
2

Potential Volume Warning

Voice-Chat-Pr.1.mp4

Co-Authored-By: Bradasparky <49656562+bradasparky@users.noreply.github.com>
@@ -317,7 +317,7 @@ void CDrawingPanel::FireGameEvent( IGameEvent *event )
// If a player is muted for voice, also mute them for lines because jerks gonna jerk.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment still accurate? Looks like it probably is. But should it remain like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants