[HELP] How to change NPC locations and names

04/17/2011 06:19 otinito#1

Hello Guyz, OTINITO here again.
sorry for many questions, but i really wanted to know really about C# programming.
for now i know more than the last time i go here. Thanks to {Angelius}.

for now, i will ask about how to change NPC locations and names. i was hoping that there's any1 could help me about it..

THANK YOU!
04/17/2011 08:21 { Angelius }#2
i dont think that changing the names npc's is a good idea but if you really wanted to do that than the path is

TQ clinte folder/ini/npc.ini

look for the npc name (the one that you wanna change hes name) and simply change the name to whatever you want ,

hit Ctrl + S to save the the changes or file/save and than open the game TADAM the npc name has changed

as for the location its depending on what source you are using if its the lotf one than you need to look in the npc.txt file in the oldcodb search for the npc id (case number you can find it in the NPCdialog)

and than change the X/Y to wherever you want him to be
its gonna look like this (185 1086 16 0 1036 230 173)
the red numbers are the X/Y

if not and you are using an sql database than you need to do the same thing in the npc's table


Good Luck.
04/17/2011 09:01 otinito#3
men...

i have to say thanks again!!

hahahah :))
04/17/2011 18:52 pro4never#4
Alternatively you can code your spawn packet to have a string in it for the npc name and then you can control the npc names from the server w/o ever needing to modify the client files.