Full Version : spawn in region, every tile inside the region
xmlspawner >>Q&A >>spawn in region, every tile inside the region


<< Prev | Next >>

dr. phillie- 05-06-2007
If i make a xmlspawner and make a region, around a farmland, can i spawn wheat in every tile of the region i created? Not just random places, but every tile inside the region?

dr. phillie- 05-06-2007
ok, i found this:
http://xmlspawner.15.forumer.com/index.php?showtopic=415

But, do i have to click the ^-button until the whole area is spawned, or can i do it some other way? Not very fast thing to click the button like ~1000 times for each wheatland

ArteGordon- 05-06-2007
you can enter values directly into those fields (like the max value for an entry). You dont have to use the arrow buttons to increment or decrement the max values.
Make sure that you change both the entry max values and the spawner max value.

dr. phillie- 05-06-2007
but how do i know what numbers i put there :l
But, i tryed this wheat thing(with arrow buttons), and it doesn't work wery well..
---------------
|1|1|1|1|1|1|
--------------- ............ <-That is your xmlspawner region, fully spawned
|1|1|1|1|1|1|
---------------

---------------
|1|1|1|0|1|1|
--------------- .............. <-That is your xmlspawner region, 1 item taken
|1|1|1|1|1|1|
---------------

---------------
|2|1|1|0|1|1|
--------------- ............ <-That is your xmlspawner region, 1 item spawned back,WRONG!
|1|1|1|1|1|1|
---------------

ArteGordon- 05-06-2007
the #XFILL or any of the other fill keywords will work the way you want when you spawn from scratch or respawn everything, but it wont be able to replace spawns in the location that the spawns previously occupied.
The spawner just doesnt know where prevous spawns used to be.
The only way to do it would be to have it despawn everything and then respawn it all.

I like the idea though. I'll think about keywords to support something like that, similar to the #TILES and #NOTILES keywords. Something like

#UNOCCUPIED[,itemid[,itemid]]
#OCCUPIED[,itemid[,itemid]]

where it would only spawn on tiles that were occupied or unoccupied by the listed items. Maybe in the next update.

godfood- 05-06-2007
Couldn't he use runes to mark each tile he want's the wheat in? Perhaps a command to not spawn on a tile that a spawn is already occupying?

ArteGordon- 05-06-2007
QUOTE (godfood @ May 06, 2007 11:57 am)
Couldn't he use runes to mark each tile he want's the wheat in? Perhaps a command to not spawn on a tile that a spawn is already occupying?

that's what these keywords would do

QUOTE

#UNOCCUPIED[,itemid[,itemid]]
#OCCUPIED[,itemid[,itemid]]

godfood- 05-06-2007
o.o wow I'm blind........