Page 1 of 1

Slopes & valleys

Posted: Mon May 13, 2013 4:57 pm
by Spazm
So I built my town near the edge of a valley. So that I wouldn't have to worry about being attacked from atleast 2 sides. Seeing as the valley behind me extends around my plateau. See image:
kenshi slopesnvalley.png
kenshi slopesnvalley.png (731.7 KiB) Viewed 840 times
So I noticed a few things while my workers were doing their business. The bandits kept on pilling up on the other side of the valley. The funny thing of this valley is that it is inaccessible. There seem to be a few paths that look like they lead into the valley, but there is no possible way of getting in there - I tried all paths.
So after some time my workers started acting weird, they kept on going into self preservation and protecting allies. Which isn't possible, because there were no enemies inside the town. So when I looked where they kept on walking towards, it was the edge towards the valley. And the valley had quite a few bandits in it. Look at the red circles. Its where AI are located. The first is a caravan trader unable to attack his enemies. The second are the bandits locked inside the valley. Thirdly, there are bandits above the caravan trader, but they too are unable to get anywhere.
kenshi slopes.png
kenshi slopes.png (1.05 MiB) Viewed 840 times
If a valley is inaccessible, how can AI suddenly be in it? Worst of all, my workers shouldn't be trying to attack them if they are unreachable. Lastly for the first part, if AI does fall from an edge into a valley - they should be dead. :P
So thats part 1 of the bug. Part 2 is that AI uses slopes that are too steep to even walk on or walk onto. What happens when they get stuck or walk somewhere that should be inaccessible is one of the following:
1) They get stuck and are unable to move anywhere. (a known issue)
2) They fall down into areas that should be unreachable.
3) They disappear. See image:
kenshi slopes1.png
kenshi slopes1.png (681.63 KiB) Viewed 840 times
Instead the slopes should be unpassable and block AI from moving.
Ofcourse walking away from my town with all the workers and being away for a while makes the bandits go away, but it doesn't help if you want your town to produce 24/7 (figure of speech).

Re: Slopes & valleys

Posted: Wed May 15, 2013 12:19 pm
by Freddy-Z
'
If a valley is inaccessible, how can AI suddenly be in it?'
Spawn.. Bandits just spawned in that valley.. Npcs like to spawn on top of mountains/hills/plateaux too..

As for part 2.. well.. wait for arbalests to kill 'em all.. muahaha.. err.. :mrgreen:

I'm currently setting a small base near Catan. I built some 'big ramps' to avoid having groups of npcs stuck ( I added big ramp to the Wall mini-mod available on here).

Another answer to avoid having lot of enemies near your base may be to raise relation with them..

My 2 cents..
Fred

Re: Slopes & valleys

Posted: Tue May 21, 2013 4:36 am
by mafiabaas0
Yeah it's a pathfinding bug which is obviously an alpha problem. It will be fixed but I think there's other priorities now

Re: Slopes & valleys

Posted: Sat May 25, 2013 1:27 pm
by Spazm
Ye its all good with me, but I think NPCs shouldnt be able to spawn inside an area that is inaccessible.

Just wanted to report my findings.

Any admin want me to mark this topic?