Kenshi
Onvoldoende beoordelingen
Dimencia's Pathfinding Fix
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
Bijgewerkt op
126.544 KB
2 mrt om 13:57
2 mrt om 18:45
2 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Dimencia's Pathfinding Fix

In 1 verzameling van D.Mentia
Dimencia's Mods
6 items
Omschrijving
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


IMPORTANT
After installing the mod, you need to press Ctrl+Shift+F11 to reload 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)


Why:
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

What:
Variable
Default
SCAR
Dimencia
Effect
Pathfind Acceleration
20
24
30
Less backtracking
Footprint Radius
3-4
3-4
2.5
Get stuck less, by being able to go through smaller paths
Water Avoidance
4
9
30
Avoid water/acid
Higher Acceleration seems to need higher water avoidance
Road Preference
0.3
?
0.36
Stick to roads when they go the right direction
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

When:
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


Extra notes:
  • 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
4 opmerkingen
SCARaw 20 aug om 3:03 
Hey, awesome to see more people taking a war against kenshi pathfinding tyranny
keep up the good fight :)
Wirlocke 29 jul om 19:42 
*sigh* it went back into the automated content check system.
It'll be up eventually I swear.
Wirlocke 29 jul om 19:40 
With the permission of Anrhaa, creator of the MEGA Pathfinding Collection Pack, I have uploaded a modified version meant for this mod. Should apply the same pathfinding changes to all modded races covered by the Mega patch, which is pretty much all of them.
gtm.steamproxy.vip/sharedfiles/filedetails/?id=3537574585
Dad Milker 26 mrt om 8:32 
I was having issues even with the more popular mod this is based on, but they went away when I switched to this. Thanks!