Creatures and Attack sounds
In the Combat_Montage of our player character, we have the attack animation. In the attack animation segment we have one events (Notify) at the start of type PSAnimNotifyAttackSound
In psAttack::Attack() we create a soundID = <race id (without gender)> - <Weapon skill>
Example: Stonehammer hitting with a Fist = 0-4
this soundID is then sent to all clients this way: we call BroadcastAttackAnimation() to send it to all players in range, and then we call ReceiveAttackAnimation() on clients BP, this is then calling PlayPSAnimMontage()
Inside PlayPSAnimMontage() we use the soundid
UPSAnimNotifyAttackSound: <Race of Attacker> + "-" + <Weapon Type>
In the Combat_Montage of the hit creature , example the trepor, we have one in the Hit animation of type PSAnimNotifyCombatResultSound
UPSAnimNotifyCombatResultSound: <Weapon Type> + "-" + <Material> / Hit or Block