playMaker

Author Topic: how to do wave system in playmaker [SOLVED]  (Read 4806 times)

Robert Foster

  • Playmaker Newbie
  • *
  • Posts: 36
how to do wave system in playmaker [SOLVED]
« on: January 20, 2014, 08:23:37 AM »
i try to make a simple wave system a with basic track to ai and different wave 1,2,3 one  is slow  two is fast  three is faster  i need a little bit help with out  download addon  :)
« Last Edit: January 30, 2014, 05:35:51 AM by jeanfabre »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: how to do wave system in playmaker
« Reply #1 on: January 20, 2014, 08:32:39 AM »
Waves, as in waves of enemies? Where the first is slow and the last is fast? Depends on your setup, but you could have the AI get their speed variable when they spawn from some static object, and increase that at the end of each round. Or make different versions of the enemies that walk faster.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Robert Foster

  • Playmaker Newbie
  • *
  • Posts: 36
Re: how to do wave system in playmaker
« Reply #2 on: January 20, 2014, 09:04:53 AM »
Waves, as in waves of enemies? yes  i trying to make a simple game i planning first i made a lot of template  i said nothing is now simple i need the you setup a small tutorial text & picture please without add on

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: how to do wave system in playmaker
« Reply #3 on: January 20, 2014, 09:32:08 AM »
Have you tried using a common speed variable and changing that after each wave?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Robert Foster

  • Playmaker Newbie
  • *
  • Posts: 36
Re: how to do wave system in playmaker
« Reply #4 on: January 20, 2014, 09:46:42 AM »
Have you tried using a common speed variable and changing that after each wave? no tail me more please

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: how to do wave system in playmaker
« Reply #5 on: January 20, 2014, 09:50:59 AM »
You can make a gameobject and put a "Speed" variable on it, then make the enemies get that variable when they spawn and use it in their locomotion system.

Then you just change [increase] that variable after each wave completes and the next wave will spawn, get the new speed variable and go along.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Robert Foster

  • Playmaker Newbie
  • *
  • Posts: 36
Re: how to do wave system in playmaker
« Reply #6 on: January 20, 2014, 02:08:03 PM »
Quote
You can make a gameobject and put a "Speed" variable on it, then make the enemies get that variable when they spawn and use it in their locomotion system.

Then you just change [increase] that variable after each wave completes and the next wave will spawn, get the new speed variable and go along.
it did not work i use manager i using int ,float or some thing else tail me more with picture please define speed is int or float  i don,t have a locomotion  i under stand but i need detail please one more time please

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: how to do wave system in playmaker
« Reply #7 on: January 20, 2014, 02:42:47 PM »
The enemies are moving by some force, right? You'll be using a float for speed most likely.

They must have some sort of even rudimentary AI system in order to operate, right? There must be at the bare minimum something that will move the enemy in a direction, and you'll need a float or int to control the speed.

When the enemy spawns he has to use some float variable to start moving, right? Speed. When he spawns, before he does anything, just force him to get a new speed variable from some game object/script/fsm in the scene.

You can change that Speed variable at any time, right? Just change it at the start of every wave, then any enemies that spawn will grab that new speed and use it. It's the same variable, you just increased it, hence making them move faster.

You could do this easier with global variables, but in my experience they are clunky to work with..
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Robert Foster

  • Playmaker Newbie
  • *
  • Posts: 36
Re: how to do wave system in playmaker
« Reply #8 on: January 20, 2014, 02:51:18 PM »
think you

Robert Foster

  • Playmaker Newbie
  • *
  • Posts: 36
Re: how to do wave system in playmaker
« Reply #9 on: January 21, 2014, 02:53:54 PM »
i try it will i have trouble with it here my file i hope you can tail me what wrong with it

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: how to do wave system in playmaker
« Reply #10 on: January 21, 2014, 03:52:14 PM »
There were many errors in that example and most of the fsm's were extremely hard to read, I made a new spawn manager and enemy for simplicity.



Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Robert Foster

  • Playmaker Newbie
  • *
  • Posts: 36
Re: how to do wave system in playmaker
« Reply #11 on: January 21, 2014, 06:32:36 PM »
Thank you