Code archives/User Libs/Mumble Positional Audio

This code has been declared by its author to be Public Domain code.

Download source code

Mumble Positional Audio by ThePaiva2014
You'll need the decls and the dll I made, they're here: https://www.mediafire.com/folder/a1pfem06w1g9s/Mumble_DLL

I only created the function for the positional audio. There's much more you could do with it, like deciding the people who can hear you in the server(teammates only, or maybe only players in the same area...), but since I only needed something simple I didn't bother implementing it.

If you ever need the code for the DLL, let me know and I'll be glad to send it to you so it can be expanded.

Well, let's get to the coding...
InitMumble() ;Links your game to Mumble. You only need to use it once in your game

UpdateMumble(x#,y#,z#,rotation#) ;It updates your position in Mumble to all the other players.
;Just send the global entity position of your character or camera. Oh, and the rotation needs to be in 360 degrees. That's all.

Comments

videz2014
awesome ThePaiva! This looks like a good start to integrate Mumble.

yes please! a github or sourceforge page for the source DLLs would be nice :-)


Code Archives Forum