|
Post by Chronicman on Mar 13, 2020 5:02:37 GMT
Spawner system: version 2.0 www.dropbox.com/s/716za3u2n8paat2/SpawnerSystemLite%20v2.0.unitypackage?dl=0Last Updated Jan 16 2022 Updated Code to recent Invector version Added Tutorials & Demos Added AI Culling for AI Spawner Only Having a slight problem with my GUI skin not displaying events properly. It was also messing with Invectors events SOME HOW ?? If you wish you can delete the GUI skin in the Resources folder.
|
|
|
Post by MunK on Mar 13, 2020 10:45:33 GMT
Hi That sounds really cool i'll be keeping an eye out for this one. When do you plan to release? will you be adding Pool features?
|
|
|
Post by Chronicman on Mar 13, 2020 13:53:55 GMT
Umm I’m not to sure rn on a release date the wave spawner will take me a day or so. The spawner manager on the other hand is up in the air. I plan on having a list of created spawners that the user can select from and click in their scene to create a spawer. This way it would be possible to setup your scene super fast.
As for the pooling no I don’t plan on adding it. My core system will be good on preference since it all scriptable object. If you have 100 advanced spawners they all would run off 1 script. I was planning on adding a distance check from the spawned object to the player and turning the object off and on at certain distances.
|
|
|
Post by manwitch on Mar 13, 2020 15:23:37 GMT
I was planning on adding a distance check from the spawned object to the player and turning the object off and on at certain distances. Proximity spawners FTW! looking forward to your addon!
|
|
|
Post by farhez666 on Mar 15, 2020 15:36:59 GMT
Nice, hmm, can you spawn ai not infront of camera ? like when the player looks away at a different position then the ai or items spawn ?
|
|
|
Post by Chronicman on Mar 15, 2020 15:44:43 GMT
Unfortunately no it does not.
|
|
|
Post by james92corner on Mar 19, 2020 14:16:20 GMT
You're a legend cant wait to try this out
|
|
|
Post by Chronicman on Mar 19, 2020 14:59:25 GMT
Thx for the feedback man that goes along way. I was starting to think people had little interest in this addon.
|
|
|
Post by beinomat on Apr 2, 2020 15:02:30 GMT
Sounds great! Was looking for an object spawner, so I'll definately gonna try this out!
|
|
|
Post by Chronicman on Apr 3, 2020 17:24:30 GMT
Sounds great! Was looking for an object spawner, so I'll definately gonna try this out! Its more or less for Invector items, Should have named it better. I mean it could spawn objects once but if you wanted it to repeat you would need to tell the spawner its been collected or destroyed what ever the case might be.
|
|
|
Post by beinomat on Apr 4, 2020 12:49:01 GMT
Sounds great! Was looking for an object spawner, so I'll definately gonna try this out! Its more or less for Invector items, Should have named it better. I mean it could spawn objects once but if you wanted it to repeat you would need to tell the spawner its been collected or destroyed what ever the case might be. Well I actually need an Item Spawner ;) Had no time to try it yet, but the way I understand Item Spawner is that it can spawn Invector Collectable Objects that the Player can pick up, or am I wrong? If not I still have use for the wave spawner :D
|
|
|
Post by Chronicman on Apr 4, 2020 18:08:36 GMT
yeah it spawns item collections, basically it will spawn a collection and add a script to the collection on spawn. Once then item is collect it tells my script which updates the spawner that is has been collected and it can count down again until next spawn.
|
|
|
Post by beinomat on Apr 17, 2020 23:09:45 GMT
So I could finally test your spawning system. Object and AI Spawners work very well. Only the Wave Spawner isn't spawning anything, maybe I did something wrong, but it says "Spawner Active: True" but no enemies I tried would spawn with or without a target. Not sure what I am missing there but thanks a lot anyway! This system works well and even features randomised spawns. Nice!
|
|
|
Post by Chronicman on Apr 20, 2020 21:22:11 GMT
Sorry for the late response, I just tested the wave spawner and it working for me. You added the spawn data ? and set the spawn object and set the amount to spawn right ?
|
|
|
Post by beinomat on May 11, 2020 15:08:10 GMT
Sorry, I cannot find a lot of time for this next to my work... I tested it again and tried different things, but it still doesn't spawn anything (all the spawner objects and amount ect is set) but I get following error:
NullReferenceException: Object reference not set to an instance of an object. Chronicman.Spawn.AIWaveSpawnerBrain.OnSpawnObject (Chronicman.Spawn.AIWaveSpawner spawner) (at Assets/SpawerSystemLite/Scripts/AIWaveSpawnerBrain.cs:21) Chronicman.Spawn.AIWaveSpawnerBrain+<Think>d__2.MoveNext () (at Assets/SpawerSystemLite/Scripts/AIWaveSpawnerBrain.cs:49) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <d815b7efac424eeb8e053965cccb1f98>:0)
So line 21 is "motor.currentTarget.transform = spawner.toTarget;" but the target is definately set. I also tried with an empty Game Object (Transform) but no change :/
|
|