Ignius said:
ok ive been messing with xml spawner2 for about a hour now and i dont know just what i have to do to make it spawn the dialognpc and load the dialog i want to use
Im no expert at this, but I will try help ya...
This is what i did to get it installed and running...
I extracted all the files from "DialogNPC" Folder into the "Scripts folder"... these are the 10 files including the "sample folder".. (its abit messy.. but it works), so what you have is .. dialog.cs... outfit.cs.. etc all them files extracted normally at the bottom of the main folders in scripts....
In the same "Scripts" folder i created a new folder called "Dialog"...
in there I extracted the "DialogEditor" folder (so i know were it is for modding the templates)... also this is where I place my .xml templates... (which at the moment you most likely won`t have yet)
Last step is to Edit the "DialogNPC.cs" file to change the path of where the .xml are stored.. in this/my case they are stored in the "Dialog" folder we created above...
The line that you are looking for at the top in "DialogNPC.cs" is:
private static string m_XmlFolder = @"TheBox\Dialog";
Which in this case you will need to change to say:
private static string m_XmlFolder = @"Scripts\Dialog";
Once you have changed it.. save it... and reboot your server if you have it started...
then use the normal command of [add dialognpc to make your "npc" appear.. hopefully he should appear and be walking around...
If he is great!... then all you need to do is make an npc in your dialogeditor, and place the .xml file when he/she is created in your "Dialog" folder...
Go back into game.. kill the exsisting "dude" and [add dialognpc again, and
upon double left clicking your "dude" in game your gump will appear with whatever the new npc is called, just "install" that into your "dude" and he`ll become whatever you have made...
I hope thats easy enough to follow.. *Cringe* I have tried to put it as easy as I can honestly...
Lastly Ayra, can you post a reply to my question pwease... I am really stuck on that bit.. thanx...