About this mod
Optimization for KingmakerAi by Holic92 to improve target choices. Reduces low AC target weight and improves distance target weight. Helps mitigate enemies being killed by AoO and such while chasing squishies.
- Requirements
- Permissions and credits
Based on Github KingmakerAi Settings.json file.
Old values: - not present in NEXUS version of KingmakerAi but found on Github
"ai_chance_to_hit_weight": 0.5, "ai_distance_to_target_weight": 0.5, "ai_engaged_by_target_weight": 0.25"
New values: - tested slightly, seems to fix the issue - other values tested were not as good as this one
"ai_chance_to_hit_weight": 0.4, "ai_distance_to_target_weight": 0.6, "ai_engaged_by_target_weight": 0.25"
Code explanation so far what I understood from Github : enemies assign targets
1. based on distance
2. AC - weighted with wisdom and int
3. engagement state with
4. some randomization tossed in somewhere
This mod hopefully assign targets better and avoid chasing squishies too much.
INSTALLATION: download KingmakerAi and replace settings.json , use Unity mod Manager to reload Uninstall Install KingmakerAi
Additional content - read only:
Recommended houserules:
No 5-foot step in Turn based - its almost cheat use acrobatics instead. Ai not using it aswell.
Dying characters are not resurrected and instead are replaced by new ones via Bag of Tricks Respec simulating mercenary party.
Recommended mods: - compatible and tested
ATouchOfMagic, Autoheal, BagofTricks, BetterVendors, CalloftheWild, CL29, Cleaner, CowWithHatsCustomSpellsMod, CraftMagicItems, EldritchArcana,
FastTravel, FumisCodex, GameOver, InventoryTweaks, KingmakerAI, NoFilmGrain, NoHistory, PathfinderAutoBuff, pfk-custom-map-markers-1.20a,
ProperFlanking2, QuickUse, RemoveAreaEffects, Respec, ScaleXP, TurnbasedCombatFix
Recommended mods maybe:
CoupFix - makes sleep builds too powerful