Jump to content

Avoiding peeps crowds on more tile stairs


Recommended Posts

Posted

Sry for the creepy title. I didn't know how to descripe the problem in short words. 

 

Hi, 

Currntly I am building park ways which have a width of 3 way tiles. But sometimes there are point where peeps get stuck and build crowds. Mostly this happens on stairs. At the attached image you can see a "stair" consisting 5 ways up (I made them invisible, but this makes no difference). Now there a many peeps running in circles and never get out. A few guys do nevertheless. So I can really say that the way tiles are connected correctly. I had a look at the tile inspector which shows the connections. But I tried to rebuild it. But there is always the same problem. This does not happens at all stairs. It happens only at some point. Sometimes at simple places without stairs. 

Is thisna bug at the routing engine? Is there a fault of mine? Can I avoid this behaviour? 

 

Greets S-Man

188661522331054592.jpg

Posted

I think I see what the problem is. 

Most of the peeps on those stairs are trying to leave the park or trying to get to another destination (a ride or shop).

In the peep pathfinding algorithm peeps will look ahead a certain amount of junctions to find their route.

The game calculates which paths are wide paths and makes peeps ignore them, to reduce the amount of junctions peeps encounter. It does not do this for stairs however, because technically all stairs are single tile wide paths, which are not connected to their neighbours on the side.  In the picture below i marked some of the places where the game finds junctions. 

image.png.c2a3f34a553a4851ddeec770391f529d.png

Because of the high amount of junctions near the stairs the peeps are not able to find their way and will walk around in circles. 

How to solve this? You need to reduce the number of junctions, to make pathfinding easier.

Something like this would already help a lot:

image.png.b3b78b1629529ba0cecef0d7fc2705b0.png

You could hide the places where it's disconnected by using full-tile paths. (those are custom paths that fill the entire tile, no matter which edges are connected)

Posted

Thanks a lot for your analysis :)

So theres no way that peeps use the whole wide stairs? I loved the idea of a public viewing arena like an antique theatre :D

Posted

Something like this should be reported to Github anyway. It might not be fixed anytime soon, but it gives someone something to do when they get back to fixing/upgrading the peep AI.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...