Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2004, 06:18 AM
jimbox114
Hill Giant
 
Join Date: Jun 2004
Posts: 231
Default 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.
Reply With Quote
  #2  
Old 07-26-2004, 07:12 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:48 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3