CitiesSkylinesMods / TMPE

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

Pedestrian don't increase the "waiting" number #1532

Open EpiccraftTV opened 2 years ago

EpiccraftTV commented 2 years ago

When I put down a traffic light, like for a pedestrian only crossing, the Time Traffic Light doesn't seem to count the waiting pedestrians in the "waiting" number, thus it stays at 0 and won't trigger the light.

The pedestrians in the red box are waiting to cross, but as the light won't trigger from just pedestrians, they can't unless a vehicle comes up to trigger it. Screenshot_2

In this one, I wanted to set up a dedicated pedestrian crossing signal, but, as said before, the pedestrians can't trigger the light, so they will have to wait until the time runs out which would take to long as I want it to be green for vehicles unless there's a pedestrian waiting to cross. Screenshot_3

Elesbaan70 commented 2 years ago

@krzychu124 Didn't you say something about pedestrians being handled separately in a way that the code handling regular traffic flow can't see them? Or maybe I misunderstood....

simmichj commented 2 years ago

Bikes have the same problem. Given that the 'waiting' number depends on vehicle length, and pedestrians don't really have a length (as evidenced by how you can stack 1000s of them at a bus stop), I don't see how you'd count them without fundamentally changing how waiting traffic is counted.

Elesbaan70 commented 2 years ago

Maybe pedestrians and bicyclists waiting at a light should cause a flag to be set that makes the traffic light want to advance through its steps until they are cleared.

EDIT: This would end up looking as if they were pressing the button for the pedestrian light--which is not a placebo irl contrary to popular belief, except at certain intersections that always expect high pedestrian traffic.

krzychu124 commented 2 years ago

@krzychu124 Didn't you say something about pedestrians being handled separately in a way that the code handling regular traffic flow can't see them? Or maybe I misunderstood....

Pedestrians and bikes are not counted at all because it is not that easy as counting cars (that is not perfect either...). I don't have any plans for this, fixing this would require pedestrian behavior overhaul and I don't have time for that (too many other things already queued or in-progress).