Well, guys, I'm still working on Kheldrun (See this thread.) and well, since he's going to be Psionic, his melee attack (remember Hydras have melee animations that do damage equal to their needle spine damage) is special. Since he is going to be a glowing Hydralisk, I wanted his slicing claws to make Psi Blade (Zealot attack) sounds instead of the Zerg ones. Does anyone know how to swap the sounds out without duplication and what not?
Effect sounds are produced by actors. Find the actor that is producing the melee swipe sound, open it's events field, and remove any events that involve the effect you are using.
I looked around a bit and found out more.
The Hydralisk Actor has some entries it's Events field which use the event:
"WeaponStart.*.AttackStart"
Both of them check the units animation, and each one sets a timer (the timer duration varies depending on the animation the hydralisk used).
Just below them is a an event for "Timer Expires" which checks the name of the timer and then creates another actor called "HydraliskMeleeAttackLaunch." If you look up this Actor, it's a sound actor, and the associated Sound data is probably what you are hearing.
So if you want to change the sound of the hydralisk's attack, just change the actor that is created by the "Timer Expires" event. The great thing about this is because the timer is starting according to the animation which played, the sound effects should still "line up" with the hydralisk's animations.
I'm not accustomed to Actors creating other actors, but I realize this is frequently the case with Sounds. Not so much with Models (I have more experience with the latter). This is why the information I gave earlier was not entirely correct.
Well, guys, I'm still working on Kheldrun (See this thread.) and well, since he's going to be Psionic, his melee attack (remember Hydras have melee animations that do damage equal to their needle spine damage) is special. Since he is going to be a glowing Hydralisk, I wanted his slicing claws to make Psi Blade (Zealot attack) sounds instead of the Zerg ones. Does anyone know how to swap the sounds out without duplication and what not?
Thanks.
I think I got it to mostly work, but I still hear the normal swiping sounds from my Hero when he melee attacks. Anyone want to help me fix this?
Effect sounds are produced by actors. Find the actor that is producing the melee swipe sound, open it's events field, and remove any events that involve the effect you are using.
I tried looking, but I can't find it. :/
I looked around a bit and found out more. The Hydralisk Actor has some entries it's Events field which use the event: "WeaponStart.*.AttackStart" Both of them check the units animation, and each one sets a timer (the timer duration varies depending on the animation the hydralisk used).
Just below them is a an event for "Timer Expires" which checks the name of the timer and then creates another actor called "HydraliskMeleeAttackLaunch." If you look up this Actor, it's a sound actor, and the associated Sound data is probably what you are hearing.
So if you want to change the sound of the hydralisk's attack, just change the actor that is created by the "Timer Expires" event. The great thing about this is because the timer is starting according to the animation which played, the sound effects should still "line up" with the hydralisk's animations.
I'm not accustomed to Actors creating other actors, but I realize this is frequently the case with Sounds. Not so much with Models (I have more experience with the latter). This is why the information I gave earlier was not entirely correct.
That worked! Thank you!