factions??
ok i read the wiki but i don't understand how to do what i want to do still..
this is what i want to do i want 2 npc factions each hate the other and will kill on site the other i want them to hate all players. then though a quest i want to make one like the npc and the other still hate and what one gets changed depends on what there doing.. i think i know how to do the quest part but the actual making of the factions i cant figure out. sql statements would be nice and maybe something telling me what your doing so i can learn from it also. |
Code:
INSERT INTO faction_list |
ok all i got i working for anyone that would like to know
make 2 new factions that hate all player (change to +1000 to make them like players) or change factions normally to make them like some and not others anyways Code:
INSERT INTO faction_list next make some factions for the npcs themselves Code:
INSERT INTO npc_faction (`id`, `name`, `primaryfaction`, `ignore_primary_assist`) VALUES (20000, 'Katta Keppers', 500, 0); these are the factions you will put on the npcs the we do the teaming of the factions.. basically put the factions on each npcs hate list so they both need a faction where they like the other and a faction they hate the other. also in here is where you would call if you kill this npc -50 to his faction and so on.. im not ready to get into all that this is just basic as im learning Code:
INSERT INTO `npc_faction_entries` VALUES ('20000', '500', '-30', '0'); also not you have to make the npc in the npc_types table be able to attack npcs. |
Nice. Good job answering your own question. 8)
It looks like you are customizing something fun. |
well i could not have posted it but i figure there are others out there trying to get this working also and seance no one posted im guessing no one knew off had so i figured i would help others out while im at it.
and im still interested in learning more so if anyone can see something wrong with this or more to add please post.. maybe once its all flushed out and its all known it can get posted on the wiki with the faction stuff there to help others. |
All times are GMT -4. The time now is 06:29 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.