So, will there be a way to apply different effects to the in-game voice chat? This could be used to imitate radio communications, for example.
Just use a voice changer.
What would be the point. Sandbox games are squeaker magnets. Squeaking is one thing... voice changer squeaking is unbearable. As ubre said, just grab a voice changer software.
I'd assume so if the voice chat is done serverside
I mean there should be a way to do it serverside. I'm not talking about an in-game voice changer, but rather some serverside C# method/hook that would allow to apply effects to voice chat before sending the audio to clients.
No point for the server to spend time doing this when clients can do it instead
Yeah, I see. So, will it be possible?
No it will be impossible to add a filter to a sound wtf of course it's possible :S
Well, it wasn't in GMod. So, i was just asking.
When someone speaks in Gmod the "voice" gets sent to the server before reaching the other client. It does this because if you were to send it directly from client to client then the other client would be able to get the IP of the person speaking to them, and DDos them. That's a big nono, in fact I think Rust had an update like 1 or 2 weeks ago where they fixed this. Of course the server could modify the pitch or add some effects, but think about 30 people speaking at the same time (Which is very easily done in servers like SeriousRP where you HAVE to talk using mic). You can easily just do it before sending it to the server.
Yep, it's either that or modifying it clientside after receiving the audio from the server, rather than before sending it.
If you have 20 people talking around you then you would have to modify and process it for all of them. I think it's still better to just have the client modifying it before sending it.
For example, some guy pulls out his phone and starts talking. Some other guy that he's on the phone with is supposed to hear this guy's voice with a filter applied to it, but there are also people standing near the guy with the phone, and they are supposed to hear his normal voice. And that is not possible, because the server only has his modified voice, because it had a filter applied to it before it was sent to the server.
GOOD point
I agree with ubre. If you have a popular server with 60 players all talking over voice chat with filters and effects, its going to negatively affect the performances significantly.
Client side would be much better since then its not impacting everyone. People with potato pc's and those who don't want to hear filtered squeakers can turn it off. And others who like it can keep it on.
Yeah, sending two sets of data would be a nice compromise.
Crude but optimal. Peoples PC's are usually much more powerful so it makes sense.
Sorry, you need to Log In to post a reply to this thread.