Dimencia’s Pathfinding Fix
Tries to…
- Reduce backtracking
- Avoid jumping into pools of water or acid
- Avoid getting stuck and going Aimless
- Avoid splitting up the party when moving them together
- Stick to roads slightly more
Tweaked to work best with fast units, such as people with scout legs. I haven’t tested it thoroughly with slower units yet, but it may still help in at least some of those respects
If this doesn’t work well for you, you can always try SCAR’s Pathfinding Fix
Also, huge thanks to SCAR for providing that mod, which taught me what we can tweak about the pathfinding
If you don’t do this, it won’t help
It also might be a good idea to Shift+F12 and Fix Stuff (do not click ‘Save Mod’, though)
SCAR’s pathfinding fix is extremely refined and well tested, but for some reason, when I use it or the vanilla pathfinding, my party still tends to get stuck and go Aimless, or backtrack constantly, or dive into pools of acid. This is especially an issue when I have scout legs on people
Using SCAR’s mod as a baseline, I’ve tweaked some variables that, from my testing, seem to improve these issues for me
Higher Acceleration seems to need higher water avoidance
Carefully tuned to avoid sticking to roads when they don’t
As for splitting the party, that only occurs because many races (like Garru) have their own unique pathfinding values. All of these same values have been applied to all relevant races, so the party should no longer split
Applies to all races that don’t specifically have a preference for going into water (except it does apply to Crabs, because they’re commonly used) – so mostly, everything except Raptors, Fishmen, Turtles, and Leviathans
Does not apply to any modded races. If you want make it work for a mod you’ve created that adds new races, just set them with the pathfinding values listed below – or contact me and I can make a patch, so you don’t have to worry about what happens if I adjust these values
- Don’t forget to Ctrl+Shift+F11
- Bonus/Side Effect: All animals affected by the mod should now be able to enter buildings
- The defaults provided above are defaults for a Scorchlander
- Import is not required