help about npc

07/19/2010 17:50 kessen123#1
hi i just wonder if anyone know how to make npcs that can clear pkp.
my command /clear pkp won't work.
also how do i move npcs to different place? ty
07/20/2010 13:02 Adziunia#2
its easy to make npc just add this GC.MyChar.PKPoints = 0 to set player pk pts to 0 and to move/change coords of npc go to npc.txt find ID (case in npcdialog.cs) then change last 2 values it looks like this ID mesh face flag mapID cord-x cord-y also next time search :P
07/21/2010 00:26 .Beatz#3
@Adziunia Sorry had to post this I had to read through twice to see what you were saying properly lol.
Not a flame just a bit clearer that's all. Don't mean to offend :D

for /clear pkp to work
GC.MyChar.PKPoints = 0 < Add this into your code and it will work.

To move and NPC to a different location.
Go to NPC.txt find the NPC from the ID that you can find in NPCDialogue.cs.

Should come up like this in NPC.txt
ID mesh face flag mapID coord-x coord-y
354 689 2 6 1002 321 321

just change coord-x and coord-y to the new coords and it will be moved :)