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
  #4  
Old 07-31-2007, 12:19 PM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

Quote:
Originally Posted by endra View Post
I did your search and read through the one five page result I got and nothing. Why didn't you just answer? Or don't you know yourself? I dont understand most of the fields in the faction tables, thats why i cant get npcs to hate each other. I need to know what fields I need to edit and to which values to get the npcs to hate each other.
You need to work with 3 tables:
faction_list
npc_faction
npc_faction_entries

faction_list you should be able to figure out. You just create a faction and set a starting players initial faction with them.
npc_faction you just create a faction id, name it and point it at the faction you made in faction_list.

npc_faction_entries can get tricky. Here you enter the faction you made in npc_faction. In the next column you enter the id from faction_list you want it to attack (tricky part, this means any factions from npc_faction that is assigned to this faction from faction_list will be attacked by the first column). Then you leave value at "0". And for npc_value you put -1, which tells it that the entry is aggresive, 1 would mean they will assist that faction.
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
 

Thread Tools
Display Modes

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 03:41 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