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
Question about NPC's and locations...
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Question about NPC's and locations...
"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.
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.
-
- Posts: 11
- Joined: Wed Dec 02, 2009 11:28 pm
Re: Question about NPC's and locations...
Thanks very much for the info.
gracie
gracie