Full Version : Spawning Elves?
xmlspawner >>XMLSpawner Quests >>Spawning Elves?
<< Prev | Next >>
Lord Hog Fred- 12-21-2006
Is there a property I can set on the spawner to make it spawn elven NPCs instead of human ones?
ArteGordon- 12-21-2006
you should just be able to set the bodyvalue to 605/606 which are the elven values
banker/bodyvalue/606
Lord Hog Fred- 12-22-2006
Aye, the problem with that is that their hair is the same as human hair instead of elven hair.
Elassar- 12-26-2006
Hi, i have the same problem... And if i doubleclick on my elven npc the gump dosn't appears... How to set it?
im using runuo 1.0 its maybe that the matter?
ArteGordon- 12-27-2006

QUOTE (Elassar @ December 26, 2006 11:31 pm)
Hi, i have the same problem... And if i doubleclick on my elven npc the gump dosn't appears... How to set it? im using runuo 1.0 its maybe that the matter?

that is probably the problem. 1.0 doesnt properly recognize the bodytype.
Lord Hog Fred- 12-27-2006
I realised the easiest way to get round this would be to make an elf model QuestNPC. So that's what I did
I don't know the correct hue list for elven hair or skin colours so if someone does let me know so I can put them in.
Anyway I've uploaded the npc here, just pop it into your scripts directory and add XmlQuestNPCElf
Elassar- 12-27-2006
Your XMLQuestNPCElf.cs give me the following error:

QUOTE
<line 11, column 7> A using namespace directive can only be applied to namespaces; 'Server.Commands' is a class not a namespace

ArteGordon- 12-27-2006

QUOTE (Lord Hog Fred @ December 27, 2006 10:05 am)
I realised the easiest way to get round this would be to make an elf model QuestNPC. So that's what I did I don't know the correct hue list for elven hair or skin colours so if someone does let me know so I can put them in. Anyway I've uploaded the npc here, just pop it into your scripts directory and add XmlQuestNPCElf

yeah, good idea.
The namespace error probably comes from trying to use the script under RunUO 1.0. It works fine under 2.0.
Elassar- 12-27-2006
Arte im affraid that thats the matter... Its time to update our runuo version...