Skip to content

all games: Add ConVars for configuring proximity voice chat #1277

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 2 commits into
base: master
Choose a base branch
from

Conversation

copperpixel
Copy link
Contributor

@copperpixel copperpixel commented May 14, 2025

Description

Currently, proximity voice chat exists in the engine but it is hard-coded to be disabled. This PR adds ConVars allowing proximity voice chat to be configured by server admins or custom gamemodes. By default it is disabled.

Name Default value Description
sv_proximity_voice_enable 0 Enable proximity voice chat
sv_proximity_voice_distance 16 Max distance at which voice will be projected

When proximity voice chat is enabled, the proximity_voice tag is added to the server.

@Megawolf7339
Copy link

it might be a good idea to add this to the auto tag list in tf2

@copperpixel
Copy link
Contributor Author

it might be a good idea to add this to the auto tag list in tf2

Implemented

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