How to edit MFPS default animations

General support.
Post Reply
User avatar
turtleneckflex
Contributor
Contributor
Posts: 20
Joined: Mon Jun 29, 2020 11:41 pm

Hello again,

Here is the default MFPS animation for "WalkAim" while holding a pistol.
https://prnt.sc/tu5f4h

as shown, the soldier's head is tilted and the arms are not correct.

I understand this is the default animation for all weapons. Is there a code I can write to have a different animation for when holding weapon type "pistol". this way I can add in my own animation that fits specifically the pistol better.

appreciate the support.
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

You don't have to touch the code to replace an existing animation, you simply have to replace the Motion/Animation Clip from the state machine,
check the Player Animation section in the documentation (MFPS -> Tutorials -> Documentation -> Player Animation), select the upper layer of the Player animation controller -> double click on the Pistol state machine to open -> select the state (Idle or Running) and in the inspector window you will see the Motion property field, there you have to assign your new animation.
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
turtleneckflex
Contributor
Contributor
Posts: 20
Joined: Mon Jun 29, 2020 11:41 pm

gotcha, sounds simple enough

my only problem is that I am unable to see anything in the inspector after clicking "idle" or "running" in the pistol state of the animator
https://streamable.com/xopm28

i can only see the motion field box when i click in the rifle state
Post Reply