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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 04-17-2004, 05:23 PM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

RangerDown answered this question for me in irc chat. For anyone else who is wondering, like me, this is how you give "invisible" faction to mobs that don't return faction hits, like lions, spiders, hill giants etc...

1. Create a record in faction_list and note the "id" field.

2. Note the npc_faction_id field from the npc_types table.

3. Create a record in the npc_faction table. Set the "id" field in this table = npc_types.npc_faction_id and "primaryfaction" = faction_list.id. Set "name" to whatever you'd like to name this faction. Name only matters for admin purposes, but best to enter in something that will still make sense to you months later.

4. Set the base faction for your mob in the faction_list table under the "base" field.

Later on, I might document the relationships between the 4 tables in the DB that affect faction and post it so we all have something for easy future reference.
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 01:18 PM.


 

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