About this mod
This mod is an improvement of Protective Guards. Now the guards don't systematically protect the player; it depends of the guard/attacker/defensor faction, and possibly of attacker/defensor rank, and possibly if attacker/defensor is a guard or not. Furthermore, guards can protect NPCs too (example: if a NPC attacks another NPC), with the same rules
- Requirements
- Permissions and credits
- Changelogs
No more guard fighting his colleague to protect a thief PC from a rival faction... And NPCs have rights to protection too!...
These are the cases where guard is not going to protect the defensor:
- guard, attacker & defensor are in the same "faction family"(*), and (attacker rank > defensor rank, or attacker rank = defensor rank and attacker is guard and defensor isn't guard) => guard will attack defensor
- guard, attacker & defensor are in the same "faction family", and attacker rank = defensor rank and attacker is guard and defensor is guard => guard won't attack
- guard & attacker are in the same "faction family", not the defensor => guard will attack defensor
- guard is in a "faction family" different than attacker & defensor, and attacker is guard and defensor isn't guard => guard will attack defensor
- guard is in a "faction family" different than attacker & defensor, and attacker is guard and defensor is guard => guard won't attack
- guard has no faction, and attacker is guard and defensor isn't guard => guard will attack defensor
- guard has no faction, and attacker is guard and defensor is guard => guard won't attack
(*) A faction family is a group of factions that are considered as the same faction (from the guards point of view, in this mod). By default there is for me 2 factions families: the Imperial (imperial legion, census and excise, imperial knights, royal guard, east empire company) and the Temple (temple, redoran). If you want to change or suppress that, follow my instructions in my player.lua file.
The "faction family" of a faction who isn't a part of such a group, is simply this faction.
To install this mod, make sure that Protective Guards is installed. Then copy the 3 files of my mod in place of these 3 original Protective Guards files (backup them if you want). That's all.
Recommended mods:
- No More Indifferent Actors To Combats
- NPC Faction Affiliation Corrector
Note: the future release of Protective Guards (so a version > 0.18) won't be compatible with this mod. At this time i will release a new version that will be compatible with the future Protective Guards.
Credit to kuyondo for Protective Guards, for his generosity to accept a Protective Guards addition, for his code skills and for his help.