[bb] Mumble Positional Audio by ThePaiva [ 1+ years ago ]

Started by BlitzBot, June 29, 2017, 00:28:43

Previous topic - Next topic

BlitzBot

Title : Mumble Positional Audio
Author : ThePaiva
Posted : 1+ years ago

Description : You'll need the decls and the dll I made, they're here: <a href="https://www.mediafire.com/folder/a1pfem06w1g9s/Mumble_DLL" target="_blank">https://www.mediafire.com/folder/a1pfem06w1g9s/Mumble_DLL</a>

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...


Code :
Code (blitzbasic) Select
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 :


videz(Posted 1+ years ago)

 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 :-)