Skip to content
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

[MIRROR] Makes robotic talk use GetVoice for carbons, fixing voice changer issue #2854

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

NaakaKo
Copy link
Collaborator

@NaakaKo NaakaKo commented Mar 9, 2024

Original PR: https://api.github.com/repos/tgstation/tgstation/pulls/81901

About The Pull Request

I noticed that when using a chameleon set and agent ID to change my voice and then using the binary encryption key to talk over binary, it would actually show as "Real Name (as ID)" rather than "ID" as expected.
Looking into the code, this seemed to be because robotic talk would use name rather than getting the voice of the speaker, which is set to the visible name of the speaker, leading to it using the visible name rather than their voice.
This pr changes it to use GetVoice to have a result consistent with regular comms.

Why It's Good For The Game

When you use a chameleon mask with an agent ID it lets you mask your voice over comms even if your face isn't fully covered, it's your voice after all, but over robotic comms it cares about your visible name rather than your voice even though you're still talking into a headset.
This pr makes it consistent with the behaviour of voice changing over regular comms.

Changelog

🆑
fix: When a carbon talks over robotic it uses their voice instead of visible name. Meaning, voice changers work like they do over other comms regardless of face covering.
/:cl:

00-Steven and others added 2 commits March 9, 2024 21:55
…ue (#81901)

## About The Pull Request

I noticed that when using a chameleon set and agent ID to change my
voice and then using the binary encryption key to talk over binary, it
would actually show as "Real Name (as ID)" rather than "ID" as expected.
Looking into the code, this seemed to be because robotic talk would use
`name` rather than getting the voice of the speaker, which is set to the
*visible name* of the speaker, leading to it using the visible name
rather than their voice.
This pr changes it to use `GetVoice` to have a result consistent with
regular comms.
## Why It's Good For The Game

When you use a chameleon mask with an agent ID it lets you mask your
voice over comms even if your face isn't fully covered, it's your voice
after all, but over robotic comms it cares about your visible name
rather than your voice even though you're still talking into a headset.
This pr makes it consistent with the behaviour of voice changing over
regular comms.
## Changelog
:cl:
fix: When a carbon talks over robotic it uses their voice instead of
visible name. Meaning, voice changers work like they do over other comms
regardless of face covering.
/:cl:
@NaakaKo NaakaKo added the Upstream PR Merged Used by the mirror bot. label Mar 9, 2024
@CliffracerX CliffracerX merged commit 530b025 into master Mar 12, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upstream PR Merged Used by the mirror bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants