CitiesSkylinesMods / TMPE

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

Idea: Taxis and police cars that spotted something suspicious should pull over to the side of the road #1020

Open BuiIdTheBuilder opened 4 years ago

BuiIdTheBuilder commented 4 years ago

At the moment, taxis stop in the middle of the road, holding up traffic, aswell as police cars that spotted something suspicious. It would be better and much more realistic for them to move into the parking lane or shoulder, or into the rightmost lane if none are available. I'm sure you can reuse the bus stopping animation for this.

krzychu124 commented 4 years ago

Unfortunately it's not that simple as get the animation and reuse. First of all it's not animation but simulated behaviour, applicable only for busses and trolleybuses. I think that bigger benefit would be after we fix tourists waiting in the middle of the road for taxi by forcing the to stop and wait on pavement/side of a road.

I'm going to investigate if bus stop behaviour can be improved by forcing vehicle to take all available space for a bus stop so maybe I'll find simple way to extend it to other vehicles.

originalfoo commented 2 years ago

I suspect the issue here might be related to building spawn point positions, especially if they are manually plopped buildings, or if the building asset has strage spawn/unspawn positions.

When you see taxi/police etc stopping in road, could you check the spawn points of nearby buildings to see if any are in the road? Use Building Spawn Points mod - it allows the points to be moved also, eg, to get vehicles to pull up towards the pavement.

originalfoo commented 2 years ago

I'm going to investigate if bus stop behaviour can be improved by forcing vehicle to take all available space for a bus stop so maybe I'll find simple way to extend it to other vehicles.

@krzychu124 Does the bus stop mesh on a road include some sort of 'bus' (de)spawn point or is it a transport vehicle lane at side of road?