Full Version : How do I - Load Spawner files?
xmlspawner >>XMLSpawner - How do I? >>How do I - Load Spawner files?


<< Prev | Next >>

godfood- 12-26-2005
---------------------------------------------------------------------------------------------------------
Answer by: ArteGordon on the RunUO Forums.
---------------------------------------------------------------------------------------------------------

To load the examples, you must first place the .xml files either in the top level directory of the RunUO installation (kind of messy), or in a folder named "Spawns" that has been placed in the top level RunUO directory (less messy). These are the two default search locations for .xml spawn files.

Once they are there, you can load them with

[xmlload filename

or

[xmlloadhere filename

[xmlload restores the spawns to their original locations, [xmlloadhere preserves the relative positions of multiple spawners within the file, but centers them on your current location, instead of the original location.

Note that most of the examples were created in Green Acres by default, so if you just do an [xmlload, that is where they will appear.

If you wanted to put them in a folder within the Spawns folder, then just give the path

[xmlload Examples/filename

would search for the the file as Examples/filename, and Spawns/Examples/filename within the RunUO installation directory.

Mage-Solitaire- 01-01-2006
Pour pouvoir charger en jeu les fichiers.xml, il vous faut d'abord placer ces derniers , soit dans le dossier principal (tres bordélique), soit dans un dossier appellé "spawns" placé dans le dossier run UO (plus propre). Ce sont les 2 endroits de recherche par défaut des fichiers .xml


Une fois qu'ils sont là, vous pouvez les charger via la commande

[xmlload filename
ou
[xmlloadhere filename

[xmlload reconstitue le spawn à son poitn d'origine, tandis que [xmlloadhere filename préserve les positions relatives des spawners, mais en les centrant sur votre emplacement actuel.

Notez que la plupart des exemples du dosssier "spawns" sont situés à green acres, donc, si vous veniez a les charger via [xmlload , vous les retrouverez la-bas.

Vous pouvez toutefois les mettres dans un autre dossier que le dossier "spaws", il faudra alors spécifié l'adresse comme suit:

[xmlload Examples/filename

qui ferait chercher le .xml dans un dossier nommé Examples