|
Post by chainsawpenguin on Jan 4, 2017 22:33:42 GMT
Good afternoon, team! I'm curious about how to add sfx (say, to a weapon) when it hits or is blocked. I think there's probably an easy way to do this, but I'm not sure where to look.
Thanks in advance for any guidance or suggestions!
~~ chainsawpenguin ~~
|
|
|
Post by jrackley on Jan 4, 2017 23:11:22 GMT
If you have look at one of the prefabs in the melee folder you will see that they have a script called vHitEffects attached to them, this is where you can change all of the weapon and hit sounds from. ![](http://thumb.ibb.co/eAjjLa/Screen_Shot_2017_01_04_at_6_07_44_PM.png) hope this helps ya out as for the default sounds for punches and kicks, then the vHitEffects script is attached to the bone i.e.(VBOT_:LeftForeArm)
|
|
|
Post by jrackley on Jan 4, 2017 23:18:42 GMT
Sorry also for the special effects I believe you would use the events under the vMeleeAttackObject and or vMeleeWeapon scripts (someone correct me if I am wrong here?) ![](http://thumb.ibb.co/fpKjLa/Screen_Shot_2017_01_04_at_6_15_26_PM.png)
|
|
|
Post by chainsawpenguin on Jan 5, 2017 2:11:53 GMT
Thanks very much!
|
|