I'm loving the whole concept and functionality of this asset but it is hard for me to understand a little, i'm making a survival horror game that looks great and all but I just need help on trying to figure out how to set my zombies up to spawn randomly..
First question: are you wanting to do timed / elimination waves like Fruit Ninja? Or things appear when certain events occur (like become visible). I'll give you the appropriate answer after you answer that first question.
Thank you Ok awesome. 3D or 2D is not the only thing that decides whether you'll use Syncro Spawners or Triggered...Syncro Spawners are for when you have timed or elimination waves (like Galaga). Triggered Spawners allow more free-form design (spawn a wave when player hits this object for instance), but there is no elimination wave in triggered spawners.
So regardless of which way you go, you need to go to the LevelWaveSettings prefab in Project View and create one in your Scene by clicking the "Create LevelWaveSettings Prefab" button. You should then go to its child prefab "Pool Boss" and check "Auto-add missing items" until later when you can set up pooling better.
Then you set up some Triggered spawners, which are just game objects in the Scene that you attach a Triggered Spawner component to.
Then you configure the Triggered Spawner to spawn a wave for certain events, like visible, or trigger enter. That should get you going. Watch the videos on youtube for a quick session of that.
Also, the example Scene #2 (Triggered Spawners) is a good one to study. The "Fighter 2" prefab has a triggered spawner that spawns laser shots at you on "visible" event.
oh ok, but I attached the triggered spawner component to my zombie enemy but to no avail I cannot get them to spawn more zombies.. lol I know i'm a total newb at this asset sorry if I have confused you in some way! I also noticed that there is a function to randomize spawns..i think heh
please bear with me but in a nutshell here is my problem:
I am trying to find out a way to randomize my zombies in different locations thus making them appear like they are coming in different directions.. since I already have the zombie set up and everything (even to shoot and kill) all I need and want is for them to spawn and keep coming but since my game is an open world game I would very much like it to not be leveled..
it's very early so I'm sorry if I don't make much since..lol
Post by DarkTonic Dev on Oct 14, 2014 16:15:43 GMT
What event are you using in the Triggerred Spawner? Are you saying you haven't spawned any zombies at all? Do you get any errors or warnings in the Console window? If so, what are they? Please take a screen shot of your Triggered Spawner so I can see the settings. And a screen shot of your LevelSettings prefab too.
Yes you can use the Random Distance options in the spawner but it's possible that they might spawn onscreen sometimes (like Gauntlet), which probably isn't what you want. It's probably a better idea to instead, make several Triggered Spawners with very large triggers, and when the player touches the trigger, start spawning zombies from that spawner. Triggers may overlap so walking in certain areas could set off 5 spawners.