|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Dec 2005
Posts: 5
|
Hi Guys,
First off, id like to say thanx to Arte for creating such a vast area of knowledge. The programs on the site and the forums have helped me press through a lot of the new scripting that im doing ( my first shard ) and i would be undoubtedly stuck at a BSOD had it not been for the forums.To my point now tho, I have been using XMLSpawner ( latest Version ) to create quest NPC's, and when i save them, they save into my RunUO/XMLQuestNPC folder. My problem lies that when i try to lad the npc file that i created onto a spawner, it give me an error about format. ( oh nd this last one as a side note if anyone knows, how do i link a timed switch to a door? ) Thanks for the help guys, Love the site |
|
|
|
|
|
#2 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
to load a .npc file onto a spawned npc, just add a spawn entry like this
xmlquestnpc/configfile/yournpcfilename/loadconfig/true to link a timed switch to a door, just set the Target0Item to point to the door and the Target0Property to /open/true you can also set the Target1Item to the door and the Target1Property to /open/false depending on what you want the door to do in the two switch states (0 and 1) (edit) I should point out that you can add XmlDialog attachments (the thing that the .npc specification is loaded into) to any object, not just xmlquestnpcs. The xmlquestnpc just gives you a few extra features, like a context menu interaction option. So if you wanted to spawn a dog that would implement your .npc specification you could spawn it as dog/ATTACH/xmldialog,yournpcfilename or even objects (they dont have to be mobiles) metalchest/ATTACH/xmldialog,yournpcfilename You can also just add them manually using the [addatt command, like [addatt xmldialog yournpcfilename and then target something
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum Last edited by ArteGordon; 12-07-2005 at 10:02 AM. |
|
|
|
|
|
#3 (permalink) |
|
Join Date: Dec 2005
Posts: 5
|
Thanks Arte, I been trying to get that switch workin for days, this will help me a lot. Thnks for taking the time to host such a fantastic site and help ppl with simple questions ( even if they arent that hard
) but hopefully ill be able to find something more challenging for you in the future. |
|
|
|
|
|
#4 (permalink) | ||
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
here is some additional info taken from xmlspawner2.txt on those switches
Quote:
Quote:
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
||
|
|
|
|
|
#5 (permalink) |
|
Guys... This is massive
. Totally killed me with one single shot through the brain... This is like... Switching from POL to RunUO is not like changing cars... it's more like changing a bike to a plane. A very fast one too. Sorry for a post, that changes nothing in the discussion, but I just couldn't stop myselft after reading the quotes above...Best wishes Sid |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|