playMaker

Author Topic: How to play shoot animation in a third person shooter[SOLVED]  (Read 6890 times)

michaelwwswr

  • Playmaker Newbie
  • *
  • Posts: 38
    • View Profile
How to play shoot animation in a third person shooter[SOLVED]
« on: September 13, 2012, 05: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.
« Last Edit: September 24, 2012, 12:11:25 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15398
  • Official Playmaker Support
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #1 on: September 15, 2012, 01: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

 

michaelwwswr

  • Playmaker Newbie
  • *
  • Posts: 38
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #2 on: September 15, 2012, 04:50:42 AM »
Thanks.

Maurice

  • 1.2 Beta
  • Playmaker Newbie
  • *
  • Posts: 23
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #3 on: September 17, 2012, 11:22:24 AM »
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

michaelwwswr

  • Playmaker Newbie
  • *
  • Posts: 38
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #4 on: September 17, 2012, 08: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.

michaelwwswr

  • Playmaker Newbie
  • *
  • Posts: 38
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #5 on: September 17, 2012, 08: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.

michaelwwswr

  • Playmaker Newbie
  • *
  • Posts: 38
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #6 on: September 17, 2012, 09:04:22 PM »
I Keep forgetting things,
How to Make These animations Transition on get key down?

idle, walk, run, jump, shoot.

thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15398
  • Official Playmaker Support
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #7 on: September 20, 2012, 01: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

 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

michaelwwswr

  • Playmaker Newbie
  • *
  • Posts: 38
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #8 on: September 20, 2012, 07:22:07 AM »
Thanks Jean

mickman

  • Junior Playmaker
  • **
  • Posts: 62
    • View Profile
Re: How to play shoot animation in a third person shooter
« Reply #9 on: October 30, 2012, 05: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... ??   :-\



jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15398
  • Official Playmaker Support
    • View Profile
Re: How to play shoot animation in a third person shooter[SOLVED]
« Reply #10 on: October 30, 2012, 05: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