Add Animations to Weapons

Support for MFPS 2.0
Post Reply
User avatar
Pixgames
Contributor
Contributor
Posts: 16
Joined: Wed Feb 07, 2018 2:07 pm

Mon Aug 12, 2019 6:15 pm

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
User avatar
Pixgames
Contributor
Contributor
Posts: 16
Joined: Wed Feb 07, 2018 2:07 pm

Mon Aug 12, 2019 6:29 pm

I want to add the other animations: walk, run, aim, change weapon...
https://prnt.sc/orve91
User avatar
Lovatto
Admin
Admin
Posts: 1060
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Mon Aug 12, 2019 11:10 pm

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.
Post Reply