CitiesSkylinesMods / TMPE

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

Use large car parks as "park and ride" facilities #196

Open VictorPhilipp opened 5 years ago

VictorPhilipp commented 5 years ago

I've noticed often that cims will drive past large car parks (on same side of road as the car) on the way to a destination, only to reach the destination and realise there isn't parking, then they'll drive all over the place looking for parking - often ignoring the large car park they previously drove past because it's now on other side of road as they're travelling away from destination.

I don't know if it's possible, but it would be nice if the cim would "see" the car park near the destination and try and park in it then go the remainder of the journey on foot or via PT.

I'd define a large car park as "any building with 6+ parking spaces"; as far as I can tell, none of the vanilla buildings - with exception of stations - have any more than 5 spaces.

Upon reaching the car park, if the cim finds that it's full, they could search for available parking in other car parks in a small radius (15 zoning tiles?) and use one of those instead. If still no parking is found, continue to their destination and do what they'd normally do in that situation.

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

VictorPhilipp commented 5 years ago

We have to distinguish what Parking AI does near the (1) final destination and (2) park & ride facilities, and how (1) tourists and (2) residents behave.

I don't know if it's possible, but it would be nice if the cim would "see" the car park near the destination and try and park in it then go the remainder of the journey on foot or via PT. That's what actually happens for residents near their final destination. Tourists however have no prior knowledge about possible parking locations (since it is assumed that they do not know the city). I could implement a (configurable) option to allow tourists to search for available parking spaces beforehand like residents already do. Searching for parking spaces in the vicinity of the final destination is computational-wise pretty affordable since cims only need to search for parking spaces once before starting their journey. After reaching their designated parking space they check if it is still available. If not, they search for alternative parking.

Park & ride is a different topic and cims do not search for parking spaces in the vicinity of PT stations at the moment but that is something already on my to-do list.

originalfoo commented 5 years ago

Some ideas for this are discussed in #47