Under npc_types npc_aggro has to be set to 1 for a mob to aggro other mobs.
WARNING: DO NOT set npc_aggro for all mobs, it is heavily CPU intensive. Currently, only guard and special quest mobs use this on PEQ for that reason.
And actually, it is the value column of npc_faction_entries that specifies the faction hit or gain. The npc_value specifies whether a mob will ignore (0), assist (1), or be agressive towards (-1) a mob on that opposing faction. This column works separately of value in that you could set value to 0 (no faction loss) and npc_value to -1 to force the mob to be aggressive anyway. This is how guards work. All noob critters have a faction, but since the hit is 0 the player never knows about it. Likewise, npc_value could be used to make a hostile or ally mob (based on faction loss/gain) act neutral.
Last edited by cavedude; 03-11-2007 at 02:44 PM..
|