playMaker

Author Topic: 3rd person deployable turrets?  (Read 1879 times)

Matt Pascual

  • Playmaker Newbie
  • *
  • Posts: 1
3rd person deployable turrets?
« on: May 14, 2013, 12:48:44 PM »
Hi everyone,

     I am looking for some help on how to set up a system to allow a 3rd person character to deploy an automated turret. Ideally this action would use a controllable targeting system.

I imagine it to work something like this:
Player is in combat> Player activates turret deploy mode> player controls switch to the target reticle> player chooses location for turret> player deploys turret> player deactivates turret deploy mode> player controls switch back to the character.

I am new to Playmaker and so far I find it incredibly useful. I have been following tutorials and I have been leveling up my skills and i was just hoping for some insight as to how this should be set up. I would really appreciate any support.

Thanks,

-Matt

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 3rd person deployable turrets?
« Reply #1 on: May 14, 2013, 01:27:35 PM »
Hi,

 For this, I would investigate the following:

 Design one fsm that have states exactly like you said:

-- in combat
-- activates turret deploy mode
-- controls switch to the target reticle
-- chooses location for turret
-- deploys turret
-- deactivates turret deploy mode

These states are high level manager for your turret deployment system, in them you will manage player controls, instanciate new gui, and watch for variables or events to know when to switch to the next phase.

 Does that make sense?

bye,

 Jean