CitiesSkylinesMods / TMPE

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

Some Vehicle Restrictions are ignored even with `Strict` Vehicle Aggression setting #1663

Closed krzychu124 closed 1 year ago

krzychu124 commented 1 year ago

Improved ExtVehicleType detection for vehicle restrictions and unsupported AIs

Depends on network configuration (how long the path will be) Pathfinding could test CargoTruck and include CargoVehicle in restriction calculations and since vehicle category mapper was including RailVehicle into default restrictions allowed (which was a bug), it could allow using lane restricted for CargoTruck (RailVehicle is not CargoTruck but still in CargoVehicle group)

I've also added improved ExtVehicleType in case other mod add new AI so will be detected correctly by AI VehicleCategory.

Build ZIP