Thanks for the input Jed, that was where I'd already looked and come up
blank.

However, I just found what I was looking for in the global_actors.txt
script file, which is just a keyvalues file that specifies model names
and gender.
Thanks!

Jed wrote:
I had similar problems back in the day but I can't remember the simple
solution off the top of my head. If I recall you could change it in
the player sounds script file to not use gender specific sounds by
re-configuring the

I think I also changed some of the code to do with gender in
SoundEmitterSystem.cpp in the EmitSoundByHandle function. You'll see
by default it assigns a gender of none then tries to deduct the gender
based on file name.

Theres probably a much simpler way but I cant think what it was right
now but searching the SDK for "gender" code should yeild the answer.

- Jed

On 19/02/2008, Richard Slaughter <[EMAIL PROTECTED]> wrote:

Hi List,

My mod is based on HL2DM and I want to get rid of the combine player
sounds, so in CHL2MP_Player::SetupPlayerSoundsByModel I just return
PLAYER_SOUNDS_CITIZEN.

This works fine, but now my combine players seem to be having gender
issues as they use female sounds.

Does anyone know how to rectify this? All I've found regarding player
gender is GetActorGender, but that just appears to be a function pointer
(implemented in the engine?)

Is this something that is set in the player model's .qc file or
somewhere else?
Thanks!

_______________________________________________
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

Reply via email to