Full Version : XML Spwaner question
xmlspawner >>XMLSpawner - Discussion >>XML Spwaner question
<< Prev | Next >>
StarRyder- 11-24-2007
First when u import spwan from lets say Distro that ezy
2 Nd i want to save each facet alone not a global save of all that imported how i do that properly plz
3 The path where they will save em selves like i would want the to save like
c:\RunUO-2.0-RC1\XML Saves
so in the ud have xmlsave fel,xmltra, ect
how would i proced to doing that atm i cant well they dont save in the folder i wish em to save in
and after that when i do this manually [xmlloasd dont find the directory there in
get detailed info please Arty thx for all ur hale and shard going slow but surly
and VERY IMPORTANT with distro u can populate the doors sign ect with the Primium Spawner System is there a way to do the same with this has i asked for xml save ??
i mean what if i clear a facet and i want to repopulate the facet doors and all i only want to populate fel not whole world like with this swapner does cause the XML system dont take these in its saves is there a unpopulate method with the diatro ? thx many thx what i mean is there a way to unpopulate the world gump facet per cafet and repopulate it ??
StarRyder- 11-26-2007

QUOTE (StarRyder @ November 24, 2007 10:29 am)
First when u import spwan from lets say Distro that ezy 2 Nd i want to save each facet alone not a global save of all that imported how i do that properly plz 3 The path where they will save em selves like i would want the to save like c:\RunUO-2.0-RC1\XML Saves
so in the ud have xmlsave fel,xmltra, ect
how would i proced to doing that atm i cant well they dont save in the folder i wish em to save in
and after that when i do this manually [xmlloasd dont find the directory there in
get detailed info please Arty thx for all ur hale and shard going slow but surly
and VERY IMPORTANT with distro u can populate the doors sign ect with the Primium Spawner System is there a way to do the same with this has i asked for xml save ??
i mean what if i clear a facet and i want to repopulate the facet doors and all i only want to populate fel not whole world like with this swapner does cause the XML system dont take these in its saves is there a unpopulate method with the diatro ? thx many thx what i mean is there a way to unpopulate the world gump facet per cafet and repopulate it ??

Any one have any ideal about this ?????
ArteGordon- 11-28-2007
doors, signs, etc. are not spawned. They are placed via the RunUO [decoration command and use the Data/Decoration configuration files. I believe that Nerun's system simply executes this command for you.
To remove these items on a single facet, use the [clearfacet command.
The default directory for saves is specified in xmlspawner2.cs

CODE
public static string XmlSpawnDir = "Spawns"; // default directory for saving/loading .xml files with [xmlload [xmlsave

You could change the value there, but I would recommend setting this using the xmlspawner.cfg file system. That way you dont have to modify any of the xmlspawner2 scripts.

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

QUOTE
# 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

ArteGordon- 11-28-2007
[xmlsave does facet-wide saves
[xmlsaveall does world-wide saves
http://xmlspawner.15.forumer.com/index.php?showtopic=29