CitiesSkylinesMods / TMPE

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

pedestrian zone roads have lower priority. #1653

Closed kianzarrin closed 1 year ago

kianzarrin commented 2 years ago

image in the image above setting high priority road on the junction makes the pedestrian zone road high priority. it should be the other way around.

kianzarrin commented 2 years ago

I didn't find the old cold all that useful. I think the new code is much better. there are 5 class levels which tells the road which tab to go under (technically its determined by UICategory but it is in line with class level). image

I am open to suggestions though.

krzychu124 commented 2 years ago

Honestly I don't know how to reliably detect "level" of road e.g.: to figure out which should have higher priority etc. Such thing could help with auto ttl, auto priority rules and probably a lot more things. There was a suggestion about either auto priorities or auto traffic lights but I can't find (maybe I just have no luck in search keyword 😄 )

kianzarrin commented 1 year ago

@krzychu124 Such thing could help with auto ttl, auto priority rules and probably a lot more things. There was a suggestion about either auto priorities or auto traffic lights but I can't find (maybe I just have no luck in search keyword 😄 )

Just look at my code. I use class level. its just an enum from level0 to level5