EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=625)
-   -   Couple of questions about adding npc's (https://www.eqemulator.org/forums/showthread.php?t=15014)

jimbox114 07-26-2004 06:18 AM

Couple of questions about adding npc's
 
I have finnally gotten npc's to stay in the zone after reboot, death, etc. However there is a couple of problems I am having.

1. When I attack a npc and then run away, they do not chase me. The mobs that was allready put together in the database chase you just fine, just the ones I make do not.

2. How do you face them a different direction, all of them face the same way.

3. How do you get a added npc to use a loot table? I have edited a loot table for a certain set of mobs to use useing eqemu admin. However when I try to set the npc's to use it, they won't accept it. I can change the npc's that was allready in the database, but not the ones I created.

All of the mobs I created I did by useing the #spawn and then #npcspawn create commands.

sotonin 07-26-2004 07:12 AM

Quote:

1. When I attack a npc and then run away, they do not chase me. The mobs that was allready put together in the database chase you just fine, just the ones I make do not.
You have to set their runspeed and walkspeed to something. 0 means they are perma-rooted.

Quote:

2. How do you face them a different direction, all of them face the same way.
Find the spawn2 entry for the npc and theres a field called 'heading' that determines which direction they face

Quote:

3. How do you get a added npc to use a loot table? I have edited a loot table for a certain set of mobs to use useing eqemu admin. However when I try to set the npc's to use it, they won't accept it. I can change the npc's that was allready in the database, but not the ones I created.
In the npc_types table there's a field called 'loottable_id' change this for that particular npc.


All times are GMT -4. The time now is 05:07 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.