Page 1 of 1

Add Animations to Weapons

Posted: Mon Aug 12, 2019 6:15 pm
by Pixgames
Hi, I'm integrating animations from another package, so far so good, I just don't know where I add other animations, such as moving animations. I selected the "custom animations for movements" option, but I think the fields should appear to add the animations ...

https://prnt.sc/orv9ix

Re: Add Animations to Weapons

Posted: Mon Aug 12, 2019 6:29 pm
by Pixgames
I want to add the other animations: walk, run, aim, change weapon...
https://prnt.sc/orve91

Re: Add Animations to Weapons

Posted: Mon Aug 12, 2019 11:10 pm
by Lovatto
Add any extra animation for FPWeapons will require you to modify the code, which scripts? well it depend how and when the animation should play, you can take the default ones as reference (check bl_WeaponAnimation.cs) all animations are played from this script Fire, Reload, Hide, etc... but they the logic to know when play it coming from bl_Gun.cs

If you want to implement the all animations from the first screenshot you will have to rewritte the whole Weapon Animation System yourself.

Regards.