CitiesSkylinesMods / TMPE

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

Multiple instances of car ignoring traffic light #772

Open Xphine opened 4 years ago

Xphine commented 4 years ago

https://youtu.be/QOJy0Km3I4c?t=32 Has allowed turn right at red traffic light on

Issue Car going straight may sometime ignore a traffic light on both regular and timed, most prominently observed on this extra-wide road. Set simulation accuracy to very high did not solve the issue. I reverted back to 10 yesterday and confirmed that everything works fine as should. From what I notice, it happens on roads with high speed limit.

Another particular issue of car ignoring a traffic light Wonky on 11 https://youtu.be/QOJy0Km3I4c?t=243 Work fine on 10 stable https://youtu.be/Dhia0snAlIk?t=2843

Full TM:PE setting & mods list https://youtu.be/QOJy0Km3I4c?t=440

Save file https://steamcommunity.com/sharedfiles/filedetails/?id=2012305400

originalfoo commented 4 years ago

How long are the road segments that are attached to that junciton? Sometimes short segments don't give the AIs enough time to stop the car and it just drives in to the junction. Reducing speed limit on short segments at junctions can be used as a workaround.

krzychu124 commented 4 years ago

I watched attached videos and for me it looks like vehicles are moving way faster on v11 than on 10.20. Like @aubergine10 said speed and segment length is a key to correct detection of changed traffic lights [edit] I think something is broken here: image

Xphine commented 4 years ago

@aubergine10 Apart from the diverging diamond intersection everything else should be at least 10 units long, I showed multiple intersections in the video, you should be able to gauge if it's enough. Speed limit on the avenue was set to 80km/h higher than vanilla.

s2500111 commented 4 years ago

This is a known Issue. The cars seem to only check the traffic light at the end of a segment when they enter the segment. As you're using highway roads, the speed limit should be 100kph as standard, which is way to fast to stop in that short segment, Try to lower it to something like 50 in the whole DDI and 30 in front of the traffic lights.

It's not a real solution, but a good workaround.

In the long run, it might be better if TM:PE could automatically lower speed limits in front of red traffic lights (is there a way to check the length of a segment before a traffic light?) to 10kph and increase it again when the red phase ends.

originalfoo commented 2 years ago

Tagging https://github.com/CitiesSkylinesMods/TMPE/issues/1229#issuecomment-995324724