Full Version : Can i import from server dungeon
xmlspawner >>XMLSpawner - Discussion >>Can i import from server dungeon


<< Prev | Next >>

Erica- 01-17-2008
Ok i got my whole shard spawned my question is can i import dungeon ares only like i want to import the dungeon i spawned by hand Prism Of Light if so how.

ArteGordon- 01-17-2008
QUOTE (Erica @ January 17, 2008 03:13 pm)
Ok i got my whole shard spawned my question is can i import dungeon ares only like i want to import the dungeon i spawned by hand Prism Of Light if so how.

there are a couple of ways to do this but if the dungeon has a named region associated with it, then the easiest way is to use [xmlfind, enter the region name into the 'Region' field (make sure to check the box next to it), enter xmlspawner into the 'Type' field (this is the default anyway), and then do a search.
This will find all of the xmlspawners in that named region.

Then just enter the file name in the 'Save to file' field at the bottom of the xmlfind gump, and hit the Save button.

You might find this post on xmlfind helpful.
http://xmlspawner.15.forumer.com/index.php?showtopic=1167

Once you have the saved file, you can use [xmlload to import it.

Erica- 01-17-2008
Ok did what you said ArteGordon the file is called Prismoflight i try saying this command [xmlload prismoflight says dont exist which it does its in runuo folder where the Runuo exe is what am i doing wrong.

Erica- 01-17-2008
Nvm got it working.

Erica- 01-17-2008
Do have another question ok if its in runuo folder where runuo exe is can load it up by saying [xmlload filename but my question is if i made a folder called Mondain's Dungeon Map and added a few of the files how would i load it cause i tryed that way and that way won't work i got 2 files in there now ones called prismoflighttramm and the other file in that same folder called prismoflightfel i can only [xmlload them if not in that new folder what would be the command to spawn one by one those files in that folder.

ArteGordon- 01-17-2008
just give it the path

[xmlload "Mondain's Dungeon Map/prismoflighttramm"

ArteGordon- 01-22-2008
also note that you can change the default directory for your spawn files by adding/modifying the XmlSpawnDir entry in your optional Data/xmlspawner.cfg file

from xmlspawner2.txt
QUOTE

- added support for a new xmlspawner.cfg file in the Data folder of the main RunUO installation.  This configuration file can be used to specify certain default values without having to modify the settings in xmlspawner scripts themselves.  This can simplify upgrading to new revisions since custom settings can now be specified outside of upgraded scripts and so will be maintained when those scripts are replaced.
If you do not wish to use this configuration feature, you do not have to add an xmlspawner.cfg file.  In that case, the standard system defaults will be used just as they have in the past.  This new feature is completely optional.

Below is an example of a configuration file illustrating the current support for some of the common xmlspawner and xmldialog settings.

Data/xmlspawner.cfg



# This is a sample xmlspawner configuration file
# comments can be added anywhere in the file using the # at the beginning of the line
# sections are specified with [section]
# individual setting assignments have the form 'name=value'. Spaces can be placed around the '='
# empty lines are ignored and can be placed anywhere

[XmlSpawner]

XmlSpawnDir=Spawns
DiskAccessLevel=Administrator
SmartSpawnAccessLevel=Administrator
defMinDelay=5
defMaxDelay=10
defHomeRange=5
defSpawnRange=5
defRelativeHome=true

[XmlDialog]

XmlQuestNPCDir=XmlQuestNPC
defProximityRange=3
defResetTime=60
defSpeechPace=10