Global_actors.txt defines gender type of a particular model.

Chris

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jed
Sent: Tuesday, February 19, 2008 9:51 AM
To: [email protected]
Subject: Re: [hlcoders] Gender Swapping

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