-
Notifications
You must be signed in to change notification settings - Fork 72
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
Voice: Reworked HUD #1473
Voice: Reworked HUD #1473
Conversation
Feel free to review! But before it is merged, I have to test this on a multiplayer server. I'm pretty sure it works. But I have to confirm it. |
Some updates from @mexikoedi's test session:
Currently I have no idea how and why this could happen, I have to look into it more. |
I'm unable to reproduce this @mexikoedi Edit: Nevermind, found the issue and fixed it |
This PR is now done from my POV |
gamemodes/terrortown/gamemode/shared/hud_elements/tttvoice/pure_skin_voice.lua
Outdated
Show resolved
Hide resolved
gamemodes/terrortown/gamemode/shared/hud_elements/tttvoice/pure_skin_voice.lua
Outdated
Show resolved
Hide resolved
gamemodes/terrortown/gamemode/shared/hud_elements/tttvoice/pure_skin_voice.lua
Outdated
Show resolved
Hide resolved
I think everything is done now. However I'm unable to test it as I'm not at home for a while. Maybe @mexikoedi can give it a try? |
So I tried it out with a friend and encountered multiple issues. I only had the voice branch active.
|
That's a gmod limitation that I can't do anything about. If you set The other error is strange. But I can't say much without debugging. There's probably an error somewhere that prevents the file from being loaded |
Co-authored-by: ruby0b <106119328+ruby0b@users.noreply.github.com>
@mexikoedi Fixed the issue, should work now. |
I tested it again and it seemed that all the issues which I reported were resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only that small comment about the color, but not blocking :)
Otherwise good to go, sorry this took so long!
This doesn't do much besides creating a new UI in our HUD system instead of the weird stuff that was done before. It also adds a function that generates a fake voice spectrum.
Note: This voice spectrum is only visible for other players. Or if you have set
voice_loopback 1
on the client. I'm not sure if there is any real solution to that, so I guess it is unfixable.Stuff I want to add to voice (in other PRs):
For the reviewers: Besides the new UI elements not much changed. I reordered some calls, renamed some variables (
clrd
, seriously? :D) and removed the old rendering code.