Vehicle Restrictions - CitiesSkylinesMods/TMPE GitHub Wiki
Verified: December 2021 - TM:PE 11.5.2
Overview
Use this tool to separate vehicle categories in to different lanes on your roads and train tracks.
Usage
Choose Vehicle Restrictions on the Toolbar:
Button missing? Enable Vehicle Restrictions in Maintenance settings.
Applicators
Click a road or rail segment to edit the vehicle restrictions for each lane:
If the icons don't appear, try moving/zooming the camera closer to selected segment.
Clicking the icons toggle between allowed vs. discouraged states, for example:
Allowed Car | Discouraged Car |
---|---|
Icons
Roads:
Icon | Vehicles |
---|---|
Cars - passenger cars and motorbikes | |
Buses - passenger, sightseeing and evacuation buses | |
Taxis | |
Trucks - all types of industry trucks and vans | |
Services - all services including emergency services | |
Emergencies - Vehicles responding to emergencies (active sirens) |
Trains:
Icon | Vehicles |
---|---|
Passenger Trains - both local and regional | |
Cargo Trains - both local and regional |
Vehicle Routing
Vehicles calculate their route before starting their journey. As a result, when you change restrictions, only vehicles spawned after that point will be aware of your changes.
To force existing vehicles to calculate new routes when you make changes, enable Apply AI changes right away in General settings.
Shortcuts
The following shortcuts are applicable when the Vehicle Restrictions tool is active...
Selection:
Click a segment of road/rail
- choose segment to customise- Any previously selected segment will be deselected
Right-click anywhere
- deselect current segment- If no segment selected: Exit the Vehicle Restrictions tool as if you pressed
Esc
- If no segment selected: Exit the Vehicle Restrictions tool as if you pressed
Esc
- exit Vehicle Restrictions tool- Returns focus to the Toolbar and enables its Adjust Roads mode.
Basic applicators:
These are applied to the currently selected segment.
Click a vehicle icon
- toggle the restriction on/offShift
+Click a vehicle icon
- toggle restriction on/off and apply that change along the route
Camera / Overlays:
Mouse wheel
- zoom in or out- If you zoom out too far, icons may disappear
PageDown
- underground view- This activates a simplified version of the Traffic Info View
PageUp
- overground view
Overlays
While the tool is active, icons summarise vehicle restrictions on nearby roads/tracks:
To see icons for distant roads/tracks, move the camera towards them. Overlay transparency can be set in General settings.
When the tool is deactivated overlays will be removed. A persistent overlay, which summarises vehicle restrictions whenever the Toolbar is visible, can be enabled in Overlays settings.
Notes
This tool is designed to provide fine tuning of traffic restrictions, for example:
- Prevent trucks driving through residential areas
- Make passenger trains choose a different rail track
- Stop trucks cargo using inner lane of highways
- Prevent cars and trucks from using bus lanes
It's better to use Bus Lane Restrictions to achieve this
Remember to provide alternate routes for vehicles, otherwise they might not be able to reach their destination.
- Reckless Drivers ignore vehicle restrictions
- Emergency vehicles, when responding to an emergency (red/blue lights flashing), also ingore vehicle restrictions
How it works
- Restriction = pathfinding penalty
- Vehicle Restriction Aggression sets penalty magnitude
- Penalties are cumulative for a route
- Pathfinder tries to avoid incurring penalties
- If penalty is too high, and no alternative routes, the route is cancelled
- This prevents vehicle spawning (or, if already spawned, the vehicle will despawn)
Service Coverage
Note: Some of these mods might be out of date; use Compatibility Report to check.
If you want to limit coverage of service buildings, use these mods instead:
- Service Radius Adjuster or Customize It: Extended!:
- Control the travel distance a building will service
- Real Time:
- Lets you control where cims shop (eg. local to where they live/work), etc.
FAQ
Does it affect framerate or cause lag?
Yes, a little; it adds extra work for the pathfinder especially if you use the feature extensively. If that's a problem, you can disable the feature in Maintenance settings.
Some traffic is unexpectedly avoiding my roads
- Check Lane Arrows, Lane Connectors, Traffic Lights, Speed Limits, and Settings, all of which affect vehicle route pathfinding.
- Fires and disasters will block roads to most traffic (emergency services can still get through).
- City and District Policies can impose additional restrictions
Which city/district policies cause vehicle restrictions?
Pedestrian and cycle paths don't show icons
Currently, this tool only supports road and train networks.
Can I block specific vehicle assets?
Not with TM:PE, but other mods can control which vehicles will be spawned:
Cyclists?
- No, but it's being considered, see: Issue #18
- You can use City and District Policies: Encourage biking and/or Bike ban on sidewalks
Regional vs. local traffic?
- No, but it's being considered, for trains, see: Issue #158
- You can use Optimised Outside Connections and/or Advanced Outside Connection mods to reduce outside traffic
- You can use the vanilla Allow intercity trains option on Passenger Station info panels
- You can use Intercity Bus Control to control whether normal bus stations can accept intercity buses.
Restrict annoyingly large camper vans and caravans?
No, the game treats them as normal cars. 😞
Differentiate between van, truck, trailer?
No, but it's being considered, see: Issue #141. You can gain some control via No Big Truck which controls what sort of buildings a big truck can visit (read description of that mod carefully).
Split out different industries?
No, it would cause massive issues for industry supply chains.
See also
- General - should changes take effect immediately?
- Policies - should bus lanes automatically restrict cars & trucks?
- Overlays - toggle persistent overlay