Page 1 of 1

Pathfinding Bug

Posted: Wed May 15, 2013 6:58 pm
by Sleeter
Hello.

I've had a lot of problems with the pathfinding code. For example, I've put a hemp farm next to a small building with the waver in it. However every time the weaver goes to get hemp he gets stuck on the ramp out of the building. He can walk right through the point he's stuck on if I directly tell him to move, but finds it impossible if he has to work it out on his own. He resumes his journey after a few seconds (quite a number of minutes from his frame of reference) thinking about metaphysical dilemmas and the ethical vagaries of post apocalyptic living.

Re: Pathfinding Bug

Posted: Wed May 15, 2013 10:32 pm
by Freddy-Z
I always try to have the door of buildings facing the ressource my slave.. err.. little guy needs.
Also, I don't build structures too close to each other. Not miles apart but the guys have to run a bit.. :D

...
Fred

Re: Pathfinding Bug

Posted: Thu May 16, 2013 7:20 am
by Sleeter
Yeah, my base is laid out along a grid-street pattern. The pathfinding bug happens when trying to go from one house to another on the other side of the road but the opposite end of the street too. They act like they're trying to remember if they left the gas on and locked the door - they run back up the ramp to the door only to run back down and stop again before running to their destination. Like I said they get their act together and just do it when I tell them to. Probably trust me to have turned off the gas.

Re: Pathfinding Bug

Posted: Thu May 16, 2013 9:06 pm
by Clawdius Talonious
Awww, the little guy just wants to have a smoke in peace, can't you let him be?

On a more serious note, I expect we'll see some pathfinding improvements when the walls are reintroduced, since the AI is being revamped to better function with player made walls and gates.