swabe
New Member
Posts: 2
Posts: 2
|
Post by swabe on Sept 11, 2017 6:36:18 GMT
Hey,
I was trying to implement a decreasing bullet shot pattern using Triggered Spawners.
To start: I have setup the Min Spawn and Max Spawn to 5, and the Spawn Time and Delay to zero.
I enabled Repeating Waves checkbox and set the mode to Endless, and then a Pause value of .5 second. Max Spawn limit is set to 100.
Finally I set the Spawn Increase to "-1" so that the number of spawned prefabs will decrease on every wave.
During the initial spawn, all is good. The game object will spawn 5 bullets, then a .5 second delay before spawning 4 bullets, then 3, 2 and then 1 bullet. And then it stops spawning!
Here's my problem - I don't want the game object to stop spawning. I want it to go back again on spawning 5 bullets, then 4, then 3 and so on.
Is there an option where I can "reset" back the Min/Max Spawn to its original value after a number of wave repetitions?
Or is there a better and a much straight forward way to do it?
|
|
|
Post by DarkTonic Dev on Sept 11, 2017 19:15:01 GMT
No, there's no way to do this right now.
I am adding something to the roadmap: minimum number to spawn field, checkbox to "reset" wave spawn qty back to 0 (and use original wave value) when min or max is reached.
|
|
swabe
New Member
Posts: 2
Posts: 2
|
Post by swabe on Sept 13, 2017 6:48:27 GMT
Yeah. I'll just have to wait for that feature.
And while we're it, is there a possibility to implement a "preset" save system for spawning (Synchro or Triggered)? I mean, allow us to save the settings of the waves i.e. Repeat Wave, Randomization or Incremental Settings (Distance or Rotation) or even the Nudge settings, to an "internal library" that we can later pull out for reuse on other scenes or projects. Similar to what the DoozyUI asset functionality (sorry for mentioning it).
While playing around the Repeat Wave, Randomization and Incremental settings, I can see a lot of potential in creating interesting spawn patterns (bullet patterns) thanks to the world variable support. But I find it lacking in a workflow, that I have to re-create or start from scratch if I ever want to implement the same patterns to other projects. For me, it is very time consuming to create spawn patterns, especially for shooter games.
I think it would be much better if we can "save" a spawn settings, then be able to use it later. Basically, a feature that allows us to save a bunch of spawn settings, then be able to export / import it needed on other project. Just have to import the settings, then probably select it in a drop-down menu, and it will automatically populate and change the default settings so we can start from there, instead of starting from blank.
|
|
|
Post by DarkTonic Dev on Sept 14, 2017 5:31:53 GMT
It's a cool idea. I don't know about the World Variable part though. I would think most World Variables would be different from game to game, and you'd have to go in and select a WV that exists after using the template for every one that is named something else, at the least.
Do you use the Preview feature of spawners? Does that help? Would it be better to just keep templates in a single project?
You are basically talking about saving single wave settings for a spawner, right? Maybe in a game object that ignores everything else when it copies from it.
|
|