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

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-18-2006, 10:26 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

First, let me nitpick a little and tell you to call your last entry "scowling" as it should be. Threatening is also KOS, and you imply that it isn't when you do it the way you did.

The "npc_value" field now determines how an npc will act when near another npc of a certain faction. "value" only indicates the amount of faction the player will gain or lose after killing the npc. value used to dictate npc-to-npc behavior as well, but there are too many situations where npc reactions to certain factions differ from faction hits, so we add the npc_value field.

If the npc_value field is:
positive (>0): the npc will assist other npc's of this faction when they are attacked
0: Neutral
negative (<0): The npc will attack other npc's of this faction

Note that the npc_aggro should also be set to non-zero in the npc's entry in the npc_types table for npc-to-npc aggro to work. (NPC assisting will still work even if npc_aggro = 0) However, I don't recommend blindly turning on npc_aggro across the board -- do it only on npc's you really want to aggro other npc's, else you will experience big-time performance issues.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
 


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 11:30 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3