Ooops
October 29, 2020, 02:35:17 AM

Author Topic: [bb] Mumble Positional Audio by ThePaiva [ 1+ years ago ]  (Read 1374 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
[bb] Mumble Positional Audio by ThePaiva [ 1+ years ago ]
« on: June 29, 2017, 12:28:43 AM »
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[/url]

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
  1. InitMumble() ;Links your game to Mumble. You only need to use it once in your game
  2.  
  3. UpdateMumble(x#,y#,z#,rotation#) ;It updates your position in Mumble to all the other players.
  4. ;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 :-)


 

SimplePortal 2.3.6 © 2008-2014, SimplePortal