CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
571 stars 85 forks source link

Inner bus lanes not being used? #30

Open originalfoo opened 5 years ago

originalfoo commented 5 years ago

M.S.Referee 28 Jan @ 1:13pm

And bus lane paths problem I forgot to say, if your road with bus lane, and the bus lane is not outside lane (for example the bus lane inside), the bus don't go first with it and even if never go with bus lane.

Not tested this yet. Just gathering some roads to test with:

Also, I note the Busses may ignore lane arrows setting on Policies tab in mod options. IMO this option should be enabled by default as it solves this major issue: https://tmpe.viathinksoft.com/wiki/index.php?title=Busses_may_ignore_lane_arrows (which could be related to https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/10#issuecomment-459995320 ?)

krzychu124 commented 5 years ago

Yup, I think it's good idea to enable it by default.

BTW you can make checklist with markdown :wink:

originalfoo commented 5 years ago

I've subscribed the bus roads and will try and test them over next couple of days.

originalfoo commented 5 years ago

This could possibly be related to #34 (bugged road asset) but I'm not sure. Either way, bus route should never cut through a median like this.

EDIT: This problem is caused by wrong value for NetInfo.m_CanCrossLane in the road asset itself. I have added it to the list of broken road assets.

bus3

originalfoo commented 5 years ago

After much testing of the specific issue in OP (busses not using inner bus lanes) I have found the following:

inner bus lane

Note that this road doesn't suffer from the "drive through median" issue like the road in the previous comment. This is due to NetInfo.m_CanCrossLane settings.

originalfoo commented 5 years ago

Note that the size of the incoming road doesn't affect the path finding; here a 3 lane road connects to the bus road:

inner bus lane 2

I also tried using lane connector to ensure that the outer lane of incoming road could was connected to the bus road, and it made no difference.

The Busses may ignore lane arrows setting in Policies and Restrictions did not make a difference in this case; it wasn't that the bus couldn't reach the inner bus lane, it was that it preferred the outer lane so as not to cut across too much traffic.

originalfoo commented 5 years ago

Thoughts...

When bus routing, at a junction: