Give faction status
I have several turn-in functions in which faction is granted for the turn-in. What I really need for one of them is to grant full ally status. I know ally = 1 in the 1-9 faction system. But I have not been able to figure out how to grant a "1" to a player. The quest::faction() function grants a faction amount, but does not grant ally status. I want to make it so that a player with a completely opposing faction can gain full "citizenship" into another "kingdom" (another faction) when he chooses to turn in a certain item to the king of that realm. The problem I have had is, if a player has a negative faction due with a realm due to killing the npcs of that realm, no amount of faction granting will be enough to make ally with that faction. Is there a way to grant ally status outside of granting faction?
|
Full faction chart:
Quote:
|
Here are some oddities:
1. The "faction values" table indicates my char is actually -10769 (negative 10769) to that faction (shouldn't that be KOS?). Yet I con "kindly" to the npcs of that faction 2. I just now did several turn-ins in a row, each granting 4k faction 3. I am now over 5k faction and npcs still con "kindly" What explains this? |
Another anomaly. There are at least two factions that I created and that I am dubious to when I con, but that do not even show up in the "faction values" table.
|
Quote:
|
I just now gave myself 37k faction (the upper limit is just above that), and I still con kindly to this faction. Is there something else beside the faction values table that determines this?
|
Grrr . . . My bad,
I had forgotten that the faction_values table uses the faction_id from the faction_list table and not the ID from the npc_faction table. I'm amazed any of my quests actually work. One more question: Is the value in the npc_faction_id of the npc_types table supposed to correspond to the value in the primaryfaction column of the npc_faction table or to the value in the id column of the npc_faction table? |
npc_faction_id in npc_types corresponds to the actual id column of npc_faction. I strongly reccommend and editor such as projecteq's editor for faction;p It'll make this much easier on ya! They don't have a function to create a few faction. However, you can add a faction to the faction_list tables and then just edit everything about it on their editor.
|
All times are GMT -4. The time now is 03:16 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.