Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: michaelwwswr on September 13, 2012, 08:07:53 AM

Title: How to play shoot animation in a third person shooter[SOLVED]
Post by: michaelwwswr on September 13, 2012, 08:07:53 AM
I need a little help playing animations on a third person character, I can play the Idle, walk ,and run. but when it comes to Shoot jump and other animations I can't figure it out. I watched the animation graph video by Alex it only Covered Idle, Walk and Run. Thanks

Mike.
Title: Re: How to play shoot animation in a third person shooter
Post by: jeanfabre on September 15, 2012, 04:07:10 AM
Hi,

 There is indeed a missing action to cross fade animation. this might be where you are having issues.

 Allow me few days to get a sample working, and do not hesitate to come back to me next week if you haven't heard from me,

Bye,

 Jean

 
Title: Re: How to play shoot animation in a third person shooter
Post by: michaelwwswr on September 15, 2012, 07:50:42 AM
Thanks.
Title: Re: How to play shoot animation in a third person shooter
Post by: Maurice on September 17, 2012, 02:22:24 PM
Hello Jean,

Maybe you can use the soldier from the new quicktips video on the playmaker youtube channel
to show the animation blending and how to build a 3rd person shooter with playmaker.

Or it can be a great tutorial for Christopher to make.

Thanx in advance. Maurice
Title: Re: How to play shoot animation in a third person shooter
Post by: michaelwwswr on September 17, 2012, 11:20:43 PM
Maurice, I 've watched every video that's Avail. Non shows the Action needed, I was thinking maybe I can use Get key down on the needed animations. Also the Videos do not how transition from walk to run in real time.
Title: Re: How to play shoot animation in a third person shooter
Post by: michaelwwswr on September 17, 2012, 11:58:22 PM
My bad, I made some spelling mistakes.
setting up the Animation graphs without transitions is rather easy, however the crossfade seems impossible.
lets go step by step.

Idle
Walk
Run
Jump,
shoot.
 how to transition these movements without Animation Crossfade? I know a lot of people are having trouble with this.
Title: Re: How to play shoot animation in a third person shooter
Post by: michaelwwswr on September 18, 2012, 12:04:22 AM
I Keep forgetting things,
How to Make These animations Transition on get key down?

idle, walk, run, jump, shoot.

thanks
Title: Re: How to play shoot animation in a third person shooter
Post by: jeanfabre on September 20, 2012, 04:25:16 AM
Hi,

 ok, Please find bellow a fully working sample of a walk forward/backward, jump, fire using the unity tutorials as a base.

https://dl.dropbox.com/u/17356625/Unity/playmaker/misc/MixedCrossFadeAnimatedRobot.unitypackage (https://dl.dropbox.com/u/17356625/Unity/playmaker/misc/MixedCrossFadeAnimatedRobot.unitypackage)

 In there, you'll find the various technics needed to mix anims together, for example, when the player is walking, if you fire, you play only the upper body animation of the firing, while letting the legs still run.

 Tell me if it is of use to you, if so, I'll make to the wiki with better help.


bye,

 Jean
Title: Re: How to play shoot animation in a third person shooter
Post by: michaelwwswr on September 20, 2012, 10:22:07 AM
Thanks Jean
Title: Re: How to play shoot animation in a third person shooter
Post by: mickman on October 30, 2012, 08:10:44 AM
Trying to get Mixing-Cross-Fade scene to work.

It says Missing Action !     "SetAnimationWrapMode "   but I see it in the custom actions folder.  I can even see the script in the Project window.. I tried copying the script into Assets/ PlayMaker /Actions   but it still won't recognise it in the Actions window. 

 hhmmm... ??   :-\


Title: Re: How to play shoot animation in a third person shooter[SOLVED]
Post by: jeanfabre on October 30, 2012, 08:44:51 AM
Odd,

imported into a fresh project, and all works fine.

what version of playmaker are you using? have you updated from the asset store?

bye,

 Jean