slyh / Cities2-TrafficLightsEnhancement

Advanced traffic lights for Cities: Skylines II
206 stars 20 forks source link

No restrictions on vehicle intersections - no prudent restrictions #69

Open HarryBotter2333 opened 8 months ago

HarryBotter2333 commented 8 months ago

Discussed in https://github.com/slyh/Cities2-TrafficLightsEnhancement/discussions/68

Originally posted by **HarryBotter2333** January 19, 2024 When you create a complex intersection, vehicles will pass through the intersection very cautiously, resulting in an extremely low traffic rate. I can only wait for the first car to pass the intersection before letting the second car pass at the previous intersection, and I found that the module does not seem to be able to use the third and fourth traffic light signal functions in the case of multi-node intersections. Vanilla and can be used in stages. The problem is not that the vehicles are collision-free, but that the intersection traffic rules are unrestricted :) ![屏幕截图 2024-01-18 204532](https://github.com/slyh/Cities2-TrafficLightsEnhancement/assets/43106121/0534a0be-2012-4a6e-bb35-a86c521bd101)
slyh commented 8 months ago

I'm not able to replicate this issue (maybe my junctions are not complicated enough) but I have heard others encountered the same issue. I'm not sure whether this is a bug in the base game or the mod, and the trigger behind it.

HarryBotter2333 commented 8 months ago

I think the root cause is still that the intersection nodes are too short. If you deliberately split a right-turn lane at an intersection, there will be one more node, so the vehicle will judge whether it has passed or failed based on the length of the node.

This is the problem: Vehicles ignore node length.