How can I implement Voice Chat
by Jaime · in Torque Game Engine · 06/21/2008 (7:06 am) · 5 replies
Hey, I'm 1 day old to Torque, I'm going to do a game dev degree at Uni so throught I'd get started, I don't know code but have been looking at the guides and mods on this site.
There's one in the networking mod section to add voice chat, but how do I implment it into the game?
There's one in the networking mod section to add voice chat, but how do I implment it into the game?
#2
06/21/2008 (8:39 am)
You best solution is look into a 3rd party voice chat system with open source.. i dont know any. But i know torque doesnt have anything for it. And you will have to make a few changes. Not to mention i recommend a dedicated chat server on top of your game servers.
#3
this will get you started in the right direction
06/21/2008 (10:07 am)
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12238this will get you started in the right direction
#4
add it to the project. You will need to link Torque.exe with libspeex.lib and portaudio.lib. If you do not know how, you should not be using this code. (Sorry!)
How do I do that?
And
Finally, you need one of those little bind thingies to make it all work.
Where do I put that?
06/21/2008 (1:36 pm)
Yeah, thats the mod I'm talking about but I dont understand this To use this code, simply copy the voice.h and add it to the project. You will need to link Torque.exe with libspeex.lib and portaudio.lib. If you do not know how, you should not be using this code. (Sorry!)
How do I do that?
And
Finally, you need one of those little bind thingies to make it all work.
Where do I put that?
#5
Sums it up. If do not know how to link the .exe with those libs then you need to learn C++ before you attempt using that code. Why? Because you have to develop a method of mixing and playing the streams based on how you want voice chat to work in your game, in C++.
Besides there is also a small bug in the code, I havn't gotten around to fixing it yet.
06/21/2008 (4:54 pm)
"You will need to link Torque.exe with libspeex.lib and portaudio.lib. If you do not know how, you should not be using this code."Sums it up. If do not know how to link the .exe with those libs then you need to learn C++ before you attempt using that code. Why? Because you have to develop a method of mixing and playing the streams based on how you want voice chat to work in your game, in C++.
Besides there is also a small bug in the code, I havn't gotten around to fixing it yet.
Torque Owner Nathan Kent
Never looked into voice chat myselft (been working on a single player game), but I'm fairly sure that you will have to make engine changes, which means that you'll have to have a licence.