CitiesSkylinesMods / TMPE

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

Button to mark a road segment as blocked #166

Open VictorPhilipp opened 5 years ago

VictorPhilipp commented 5 years ago

Useful for disaster planning. Ability to mark segments (and nodes?) as blocked to see what effect it has on traffic so I can adapt my road network accordingly.

The button would also allow me to unblock roads that the game created (eg. due to fire or https://github.com/VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition/issues/132).

https://github.com/VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition/issues/133

VictorPhilipp commented 5 years ago

Win extra internets if it adds traffic barrier or some other prop(s) —eg. traffic cones or something— to the segment whilst blocked.

RenaKunisaki commented 5 years ago

+1, surprised this isn't a vanilla feature. It can be "faked" by banning all vehicles (but I fear that will break bus routes) or turning speed limit to minimum (but it doesn't actually close the road), but those require remembering to set it back when done.

Seems like not too difficult since you're already altering the pathfinding penalty for things like speed limit. Maybe closing just overrides the speed limit to 1km/h?