UE3 - UT3 Custom Jump/Damage Sounds for my Pawn?

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

SuicideBadger

New Member
Feb 11, 2009
12
0
0
Hi all,

I've got a custom character set up in my Mod and playable. However, as a final touch I want to change all the sounds from the generic UT3 jumping, damage, dodging etc. sounds to ones I've made.

At the moment I have:
THPawn.uc with my Character information in it

Then after looking through all Unreal's code last night, found UTPawnSoundGroup.uc, so made my own extenstion called THPawnSoundGroup.uc and did this:

THPawn.uc
Code:
defaultproperties
{
	SuperHealthMax=150
	UnderWaterTime=+00020.000000
	SoundGroupClass=class'THPawnSoundGroup'
             //More Stuff Below That's Been Cut For Web
}

Then in THPawnSoundGroup I've put the following:
Code:
defaultproperties
{
	HitSounds[0]=SoundCue'THSoundEffects.Pain1Cue'
	HitSounds[1]=SoundCue'THSoundEffects.Pain1Cue'
	HitSounds[2]=SoundCue'THSoundEffects.Pain1Cue'
}

I get no errors when compiling, but in the game, when I damage my character I still get the basic UT noises.

Can anyone shed any light? I thought it might be something to do with the actual CustomCharacter or what?

Thank you in advance all for the help, much appreciated.