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
Then in THPawnSoundGroup I've put the following:
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.
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.