|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Support::Windows Servers Support forum for Windows EQEMu users. |
01-01-2012, 08:54 PM
|
Sarnak
|
|
Join Date: Jun 2005
Posts: 57
|
|
How can you make bixies KOS to guards?
I've been messing around with faction tables to make those annoying bixies KOS to the guards like some of the other animals, but it doesn't seem to work. Bixies are on a Primary Faction of Stone Hive Bixies.
What I've tried doing is adding Stone Hive Bixies as Aggressive to the guards faction list at 0 points (like KOS animal, etc. already are). No luck.
|
01-02-2012, 01:24 AM
|
|
Demi-God
|
|
Join Date: May 2007
Location: b
Posts: 1,450
|
|
Quote:
Originally Posted by EQstarr
I've been messing around with faction tables to make those annoying bixies KOS to the guards like some of the other animals, but it doesn't seem to work. Bixies are on a Primary Faction of Stone Hive Bixies.
What I've tried doing is adding Stone Hive Bixies as Aggressive to the guards faction list at 0 points (like KOS animal, etc. already are). No luck.
|
0 Points is for player faction only. You want the npc_faction and npc_faction_entries table for what you are trying to do. You can read up on them on the wiki here:
http://www.eqemulator.net/wiki/wikka...DatabaseSchema
|
|
|
|
01-02-2012, 11:44 AM
|
Sarnak
|
|
Join Date: Jun 2005
Posts: 57
|
|
These are the tables I'm messing with actually. Here's what I have. Maybe I'm missing something?
Code:
INSERT INTO `npc_faction_entries` (`npc_faction_id`, `faction_id`, `value`, `npc_value`) VALUES (218, 313, 0, -1);
INSERT INTO `npc_faction` (`id`, `name`, `primaryfaction`, `ignore_primary_assist`) VALUES (218, 'Hamburglars', 133, 0);
INSERT INTO `faction_list` (`id`, `name`, `base`, `mod_c1`, `mod_c2`, `mod_c3`, `mod_c4`, `mod_c5`, `mod_c6`, `mod_c7`, `mod_c8`, `mod_c9`, `mod_c10`, `mod_c11`, `mod_c12`, `mod_c13`, `mod_c14`, `mod_c15`, `mod_c16`, `mod_r1`, `mod_r2`, `mod_r3`, `mod_r4`, `mod_r5`, `mod_r6`, `mod_r7`, `mod_r8`, `mod_r9`, `mod_r10`, `mod_r11`, `mod_r12`, `mod_r14`, `mod_r60`, `mod_r75`, `mod_r108`, `mod_r120`, `mod_r128`, `mod_r130`, `mod_r161`, `mod_r330`, `mod_d140`, `mod_d201`, `mod_d202`, `mod_d203`, `mod_d204`, `mod_d205`, `mod_d206`, `mod_d207`, `mod_d208`, `mod_d209`, `mod_d210`, `mod_d211`, `mod_d212`, `mod_d213`, `mod_d214`, `mod_d215`, `mod_d216`) VALUES (313, 'Stone Hive Bixies', -1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `npc_faction` (`id`, `name`, `primaryfaction`, `ignore_primary_assist`) VALUES (736, 'A_Bixie', 313, 0);
If I'm reading this correctly, the "Hamburglar" halfling guards see Primary Faction of 313 as -1 which is Ready to Attack. Stone Hive Bixies has a faction ID of 313. And 313 is set as the primary faction for "a_bixie". What did I miss?
|
|
|
|
01-02-2012, 12:23 PM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Quote:
Originally Posted by EQstarr
I've been messing around with faction tables to make those annoying bixies KOS to the guards like some of the other animals, but it doesn't seem to work. Bixies are on a Primary Faction of Stone Hive Bixies.
What I've tried doing is adding Stone Hive Bixies as Aggressive to the guards faction list at 0 points (like KOS animal, etc. already are). No luck.
|
You're correct, that's how it's done. 0 is used when you want an NPC to be KOS/Assist another, without having a faction hit when you kill that NPC.
But, which database are you using? (I assume PEQ since I created the Hamburglar faction.) Bixies already are KOS to the guards in the database. I just tried it out in-game and worked fine. Do any NPCs attack others on your setup?
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:54 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|