From 280bc946aea894d65b6750876a734b5cd68b05fd Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Wed, 6 Mar 2019 17:04:37 -0500 Subject: [PATCH] Updated Adding New Factions (markdown) --- Adding-New-Factions.md | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/Adding-New-Factions.md b/Adding-New-Factions.md index a9ed692..b1f7dfb 100644 --- a/Adding-New-Factions.md +++ b/Adding-New-Factions.md @@ -2,26 +2,28 @@ To add a new faction on your server: 1. Add the new faction to the faction_list table. Assign a value to base_value that indicates, aside from class/race/deity adjustments, how your new faction will regard everyone. +2. Add an entry to faction_base_data if you want the limits on earned faction to differ from -2000 to 2000. + |Faction Value|Faction CON| |-------------------|-----------| -|1101 -> ABOVE |ALLY| -|701 -> 1100 |WARMLY| -|401 -> 700 |KINDLY| -|101 -> 400 |AMIABLE| -|0 -> 100 |INDIFFERENT| +|1100 -> ABOVE |ALLY| +|750 -> 1099 |WARMLY| +|500 -> 749 |KINDLY| +|100 -> 400 |AMIABLE| +|0 -> 99 |INDIFFERENT| |-100 -> -1 |APPREHENSIVE| -|-700 -> -101 |DUBIOUS| -|-999 -> -701 |THREATENLY| -|-1000 -> BELOW |SCOWLS| +|-500 -> -101 |DUBIOUS| +|-750 -> -501 |THREATENLY| +|BELOW -> -751 |SCOWLS| -2. Decide if you want your faction to favor or dislike characters more of less based on their class, race or deity. If so, add entries to faction_list_mod for your newly created faction. +3. Decide if you want your faction to favor or dislike characters more of less based on their class, race or deity. If so, add entries to faction_list_mod for your newly created faction. -3. Every NPC that you want to be on your new faction, will have to be on a new npc_faction that has a primary_faction set to your new faction from faction_list. But unless all the NPCS that you want will all have the same faction hits when killed, you'll need a separate npc_faction for each tier of hits. I hope we can factor this part out in a future work product. +4. Every NPC that you want to be on your new faction, will have to be on a new npc_faction that has a primary_faction set to your new faction from faction_list. But unless all the NPCS that you want will all have the same faction hits when killed, you'll need a separate npc_faction for each tier of hits. I hope we can factor this part out in a future work product. -4. If you want to assign faction hits or gains for killing any npc on your newly created npc_faction, add these entries to npc_faction_entries using your new npc_faction_id. +5. If you want to assign faction hits or gains for killing any npc on your newly created npc_faction, add these entries to npc_faction_entries using your new npc_faction_id. -5. If you want your newly created faction members to attack or assist certain other factions, add these entries to npc_faction_entries using your new npc_faction_id. +6. If you want your newly created faction members to attack or assist certain other factions, add these entries to npc_faction_entries using your new npc_faction_id. -6. Assign the NPCs you want to your new npc_faction. +7. Assign the NPCs you want to your new npc_faction. -7. Restart the server for this to take effect. We'll work on a live reloading mechanism. \ No newline at end of file +8. Restart the server for this to take effect. We'll work on a live reloading mechanism. \ No newline at end of file