Ludeon Forums

RimWorld => Bugs => Topic started by: BoogieMan on June 22, 2017, 07:20:53 PM

Title: Colonist taking much slower paths for no known reason.
Post by: BoogieMan on June 22, 2017, 07:20:53 PM
I've been having issues getting my colonists to stop wasting valuable time choosing nonsensical pathways to destinations. I go out of my way to make more obvious paths for them to take, it's like they want it to be difficult.

I attached a screenshot, the red line is the path they are taking (even trudging through thick tree growth!) which cannot possibly be desirable for any logical reason. There is a nice 100% walk speed pathway laid out for them. Something odd going on here, because even without the constructed path the route they are taking has to be at least 3 times longer due to the trees.

[attachment deleted by admin due to age]
Title: Re: Colonist taking much slower paths for no known reason.
Post by: zyklame on June 23, 2017, 07:35:26 AM
I have seen the same with my colonists.
Somehow the always prefer to go through trees.
Title: Re: Colonist taking much slower paths for no known reason.
Post by: skullywag on June 23, 2017, 08:32:22 AM
normally i would say that the ai pathing is purposefully not accurate due to that being also quite heavy on processing. However the above is just plain silly....
Title: Re: Colonist taking much slower paths for no known reason.
Post by: Thraxon on June 23, 2017, 01:39:36 PM
Try to clean the dirt on the road
Title: Re: Colonist taking much slower paths for no known reason.
Post by: wwWraith on June 24, 2017, 01:29:10 PM
I made some tests, too. It happens even without mods and with terrain cleared by dev tools, more often on long distances but sometimes even on short ones. And it looks like the pawns tend to "remember" these go-rounds while they have to make a similar (but not identical) path. I mean, it's not a random thing: if the pawn have to go from point A to point B and does it by go-round, (s)he (and any other pawn) will make the same go-round when pathing from some vicinity of A to some vicinity of B.
Title: Re: Colonist taking much slower paths for no known reason.
Post by: Tenshi~Akari on June 28, 2017, 10:13:57 AM
I've been noticing this a lot, too. Even after the fixes with the Path Avoid mod and having marked off areas to not path through, my pawns have been ultra stubborn with deciding to path through trees and water (deep river water included w/ the Bridgello mod enabled) instead of avoiding those tiles & going through less cost-heavy/flat areas I had built up for the sake of sanity. It's almost getting to the point I'm literally painting preferred/strong paths all across my game maps because of how silly the vanilla pathing gets at times...
Title: Re: Colonist taking much slower paths for no known reason.
Post by: khearn on June 28, 2017, 12:49:27 PM
I often see my pawns path through a tree when there is open space on either side that they could easily take. But I also see them sometimes do a jog around a tree, so it's not like they never avoid them. It's odd and seems fairly random.
Title: Re: Colonist taking much slower paths for no known reason.
Post by: erdrik on June 29, 2017, 01:36:02 AM
What is that thing on the left side of the pic, below the left most colonist? (Verna?)

Is it from a mod?
Title: Re: Colonist taking much slower paths for no known reason.
Post by: Xav on June 29, 2017, 06:04:56 PM
Perhaps they don't want to walk by all those ugly pieces of debris next to and on the road?
Title: Re: Colonist taking much slower paths for no known reason.
Post by: wwWraith on June 29, 2017, 06:31:30 PM
A couple of examples with the terrain cleared from plants (the red lines are paths that are obviously better than chosen by pawns)

[attachment deleted by admin due to age]
Title: Re: Colonist taking much slower paths for no known reason.
Post by: skullywag on July 03, 2017, 09:35:42 AM
According to Tynan:

"It's broken in A17 due to some optimizations, we've improved it for next alpha."

From a reddit thread of the same irk.
Title: Re: Colonist taking much slower paths for no known reason.
Post by: BoogieMan on July 21, 2017, 06:44:35 PM
Quote from: erdrik on June 29, 2017, 01:36:02 AM
What is that thing on the left side of the pic, below the left most colonist? (Verna?)

Is it from a mod?

Yes, that's a cleaning bot sorta like a roomba. If you're interested, search the Steam workshop for "robot" and you'll find stuff.
Title: bad pathfinding?
Post by: shentino on July 27, 2017, 03:25:37 AM
I built a sandstone tile road (walk speed 100) through a long stretch of wilderness from my home base to a large growing zone.  The trees and soil alone probably lowered the walk speed to 87 plus whatever the trees did.

I've observed this behavior both with vanilla and with the pathavoid mod, and in both cases the colonists COMPLETELY ignore the road and insist on walking through the mud.

The road was about 100 or so tiles long.
Title: Re: Colonist taking much slower paths for no known reason.
Post by: NeverPire on July 31, 2017, 10:04:10 AM
I would like just to link this topic with this one because both speak of the same issue :
https://ludeon.com/forums/index.php?topic=32939.msg337164#msg337164
Title: Re: Colonist taking much slower paths for no known reason.
Post by: Calahan on July 31, 2017, 03:02:24 PM
Thanks for the cross-link NeverPire.

Although my guess is that all pathfinding bug reports are likely on hold for A17 as Tynan posted on reddit a while back confirming (what many suspected) that pathfinding in A17 is pretty much borked. So in regards pathfinding, my assumption is that it'll be a case of waiting for A18 to be released (whenever that may be), and then starting anew with pathfinding bug reports. Since anything before A18 is either going to be based on a version with known pathfinding issues (A17) or too old to be relevant (<A16).

So to all pathfinding bug reporters. Many thanks for the reports for A17, and hopefully the devs won't see your reports again in A18+  ;D Although if it turns out that pathfinding isn't super awesome mega perfect in A18+ :( then please do report any obvious pathing derps you encounter in A18+.
Title: Re: Colonist taking much slower paths for no known reason.
Post by: SpaceDorf on July 31, 2017, 03:16:25 PM
I think you are searching in the wrong direction ...

Did you produce any beer or drugs in your colony ?
How is your drug policy in general ?

Maybe the pawns were just looking for the liquor store ..
Title: Re: Colonist taking much slower paths for no known reason.
Post by: khearn on July 31, 2017, 10:48:42 PM
Based on the paths they're taking, I think they already found the liquor store. :-P
Title: Re: Colonist taking much slower paths for no known reason.
Post by: SpaceDorf on August 01, 2017, 04:37:27 AM
That could also be the answer ...

and now they are looking for White Castle.
Title: Re: Colonist taking much slower paths for no known reason.
Post by: ison on September 06, 2017, 12:13:24 PM
bump
Title: Re: Colonist taking much slower paths for no known reason.
Post by: ison on September 19, 2017, 11:54:59 AM
We've improved the pathfinding in A18 a little. If you notice something clearly wrong in A18, then please report it. Minor suboptimalities are fine. Thanks.