|
Post by metaldc4life on Oct 13, 2014 23:58:19 GMT
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..
Can anyone help me on this please?
Thanks!
|
|
|
Post by DarkTonic Dev on Oct 14, 2014 0:08:44 GMT
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.
|
|
|
Post by metaldc4life on Oct 14, 2014 0:33:05 GMT
Hi a real pleasure to talk to the dev of this great asset as it is a true asset!
Anyways your second one like when certain events occur..i have a 3d project going not 2d =)
|
|
|
Post by DarkTonic Dev on Oct 14, 2014 1:57:55 GMT
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.
|
|
|
Post by metaldc4life on Oct 14, 2014 5:47:19 GMT
well,it says in yellow that cannot propagate events with no child spawners?
|
|
|
Post by DarkTonic Dev on Oct 14, 2014 6:47:10 GMT
Correct. You don't need to propagate events unless you're setting up "child spawners" like that mothership in the 3rd example video. It's not very common.
That warning is there so you don't wonder "where the heck are the propagate controls mentioned in the manual?"
|
|
|
Post by metaldc4life on Oct 14, 2014 8:53:12 GMT
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 metaldc4life on Oct 14, 2014 16:05:24 GMT
wow! I got it working! thank you for this awesome asset it does just what I wanted it too!
you rock!
|
|
|
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.
|
|
|
Post by DarkTonic Dev on Oct 14, 2014 16:16:26 GMT
wow! I got it working! thank you for this awesome asset it does just what I wanted it too! you rock! Ok cool! See my last reply a couple minutes ago. There's some more ideas for you there.
|
|
|
Post by metaldc4life on Oct 14, 2014 16:23:55 GMT
wow that's also what I can do because like you said they spawned on top of each other lol... THANK YOU FOR YOUR AWESOME SUPPORT!
|
|
|
Post by DarkTonic Dev on Oct 14, 2014 18:02:00 GMT
No problem.
|
|