Does anyone have any idea why the voice might not be working? This is the scratch build and I have not changed anything relating to voice. I added teams, but I used the team handling already in the scratch build, and even if that was breaking it I think I still should see the voice recording icon.
On Mon, Jan 19, 2009 at 7:22 PM, Tony Paloma <[email protected]> wrote: > I don't know about your problems with voice not working, but once you fix > it, look into CVoiceGameMgr::UpdateMasks() to change who can hear who. Where > it calls g_pVoiceServer->SetClientListening is what counts. Also, you might > be interested in CBasePlayer::CanHearAndReadChatFrom() for team chat. > > Changing the volume will be a bit trickier. > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Skyler Clark > Sent: Monday, January 19, 2009 3:48 PM > To: Discussion of Half-Life Programming > Subject: [hlcoders] SDK +voicerecord not working > > I used the "from scratch" build, and I am having some problems with > +voicerecord. When I press it, if I have voice_loopback set to 1, I > can hear myself speak but no icon is displayed on screen to indicate > it is recording. If someone else is on my team, even though I can hear > myself through the loopback, they can't hear me. > > So my first question (or first two) is how do I make the voice > communication work in the from scratch build? > > My second question: Once I have fixed voice communication, how could I > scale the volume of someone's microphone by distance, and how could I > make it so that nearby opponents can also hear them speak? > > e.g. > I want Team 1 to only be able to hear Team 1, but Team 2 should be > able to hear Team 2 as well as players on Team 1 who are within a set > range. > > Thanks for any help! > > -Skyler > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

