Full Version : Random Moving Groups of Mobs
xmlspawner >>Q&A >>Random Moving Groups of Mobs


<< Prev | Next >>

Lara- 06-28-2006
I know there is a way to do it ... I know the information is probably in my head ... please pardon my exhustion.

I have a handful of random clearings on the map. I want to randomly spawn a group of mobs AND a multi addon in one region, then on the next spawn cycle spawn in another clearing.

So questions are ...

Should I use the waypoints for this?
Can I group 2-3 lines of spawns together?
How do i clean up the multi addon after all the mobs are killed, or should i just set a duration to reset the spawn?
If I use sequential spawning, will that randomize the location, or do them in order.

Thank you for any suggestions.
Lara



olsyke- 06-28-2006
hmm well i would probably go about it this way (but im only used to v3.03)


make 1 spawner something like this...


RandomMonsterSpawn-Mover

CODE
1   IF/GET,myRandomMonsterspawner,maxcount=0/22
2   GOTO/1
22 SET,myRandomMonsterspawner,xmlspawner/location/{RNDSTRLIST,(desiredlocation1),(desiredlocation2),(desiredlocation2)
23 SET,myRandomMonsterspawner,xmlspawner/dorespawn/true
GOTO/1

and then a 2nd for your actual monsters

myRandomMonsterspawner

CODE

1 desiredMulti
1 desiredmonster
2 desiredmonster
3 desiredmonster




this way you can modify your monsterspawner anyway you want (like make it a mobile Championspawn, or whatever...


but remember im not Arte theres probly like x³ better ways to do it smile.gif


EDIT* nearly forgot to adress your quesitons...


1) waypoints... hmm you have to keep in mind that monsters ai "freezes" if no one is in range of 26 tiles so theire actually only gonna walk from A to B (on bigger distances) if you guide them on their way

2) sorry i dont get it... grouping them together like in 1 subgroup ?


3)the best about the multi would be to uncheck "clear" in the extenden spawner gump so the multi stays aslong as monsters are living and when the Randomonsterspawner is moved to another location and respawned the Multi vanishes in the old location and spawns in the newly selected one


4)sequential spawning doesnt randomize at all... it gives you the possibility of spawning monsters in differend subgroups and you have to clear one after another to proceed in the spawnerentrys... but thats not all theres various things to play around with

Lara- 06-28-2006
Thank you! I'll give that a try.