Full Version : Saving spawners on a map section?
xmlspawner >>Q&A >>Saving spawners on a map section?
<< Prev | Next >>
koluch- 09-27-2007
I want to save the spawners we have on Trammel T2a and import them back onto Felucca T2a.
I have saved an area of spawners before, but do not recall how to do it.
What is my best bet to save just t2a spawners?
Thanks!
Koluch
ArteGordon- 09-27-2007
easiest way to do this is to go to tram, do an [xmlsave of your spawners to some file, then set your map to Fel and do an [xmlnewload of the file that you just saved.
That will create new spawners on the current map and leave the old ones where they were.
from xmlspawner2.txt

QUOTE
- added the commands "[xmlnewload filename [spawner prefix][-maxrange range]" and "[xmlnewloadhere filename [spawner prefix][-maxrange range]" which are the same as the [xmlload and [xmlloadhere commands except that they do not attempt to replace existing spawners by checking for matching GUIDs (every xmlspawner gets one), but rather automatically add new spawners and assign them new GUIDs on loading. They also override any specified Map settings in the file and use the players current map instead. This allows you to make a .xml file and use it as a template for creating spawners that can be placed repeatedly. Note, that you will not be able to [xmlunload spawners that are loaded in this way since there would not be a file containing the new GUIDs. If you wish to be able to unload them, then after loading spawners in this way, I would recommend doing an "[xmlsave filename [spawner prefix]" of them so that they are now uniquely defined in their own "[xmlunload"-able file.
The [xmlnewload" command can also be used to copy spawns between felucca and trammel. For example, to duplicate felucca in trammel, go to felucca and do an [xmlsave, then go to trammel and do an [xmlnewload (thanks to Quantos for the suggestion).

If you wanted to move the spawners from Tram to Fel instead of duplicating them, you could do the same thing but use [xmlloadhere. That will load the existing spawners onto the current map (essentially moving them from their former locations to the new locations). When using [xmlloadhere (or [xmlnewloadhere) like this, make sure that you are in the same location (same location, different map) that you saved.
You can also use the SpawnEditor to do this if you want to visually drag out an area of spawners to be copied or moved.