Page 1 of 1

Question about NPC's and locations...

Posted: Wed Dec 16, 2009 1:28 pm
by Gracie
I think this is the correct forum, I am trying to figure out the relationship between XML, HTML, and scripts in regards to the actual location of NPC's.

I have searched but "npc" is too short a term to use on this site. Where is the actual location of a say in-town npc determined. Is it a script, the table for npc's in the DB doesn't have any location data, and I am not sure where else to look...

What I am wondering is how does one actually place an existing or custom NPC in the world grid?

Can someone give me some clues please?

Thanks in advance.
gracie

Re: Question about NPC's and locations...

Posted: Wed Dec 16, 2009 1:34 pm
by Probe
"regular" npc+monsters spawns are defined by spawnlist.sql

npcs spawned by scripts are handled inside the scripts

htmls are shown according to the npc's class (if you look at html folder, you'll see default(L2Npc class), merchant (L2Merchant), teleporter (L2Teleporter) etc...) and named after the npc's Id

and quest-related htmls are located inside the quest folder, again named after the npcId showing it.

Re: Question about NPC's and locations...

Posted: Wed Dec 16, 2009 2:11 pm
by Gracie
Thanks very much for the info.

gracie