TeamSpeak
Being able to communicate with a gaming headset or microphone is an important part of fast-paced multiplayer gaming. Therefore, Leadwerks 4.6 will feature easy to use voice recording features that allow you to talk to your teammates or taunt your opponents, in addition to a new peer-to-peer networking system.
The system is largely automated so that you only have to call a single command:
Voice::SetRecording(true)
Or in Leadwerks 5:
SetVoiceRecording(true)
In practical usage, you would just link this to a key press like this:
SetVoiceRecording( window->GetKeyDown(KEY_V) )
To prevent opponents from hearing your team's communication you can disable voice broadcast to some users:
Voice::SetMemberBroadcast(const uint64 steamid, const bool state)
I'm not too sure about the naming of that last function, but you get the idea.
That's really all there is too it. The engine will handle recording, compression, and broadcast of your voice so you can easily talk to other players in any Steam-based multiplayer game. When the other players receive the voice data it will automatically be converted into a sound and played. So you can enable voice communication in your game with just one command!
- 3
- 1
6 Comments
Recommended Comments