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:

Vehicle Restrictions tool

Button missing? Enable Vehicle Restrictions in Maintenance settings.

Applicators

Click a road or rail segment to edit the vehicle restrictions for each lane:

Vehicle Restrictions

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
Allowed Discouraged

Icons

Roads:

Icon Vehicles
Car Cars - passenger cars and motorbikes
Bus Buses - passenger, sightseeing and evacuation buses
Taxi Taxis
Truck Trucks - all types of industry trucks and vans
Service Services - all services including emergency services
Emergency Emergencies - Vehicles responding to emergencies (active sirens)

Trains:

Icon Vehicles
Passenger Passenger Trains - both local and regional
Cargo 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
  • Esc - exit Vehicle Restrictions tool

Basic applicators:

These are applied to the currently selected segment.

  • Click a vehicle icon - toggle the restriction on/off
  • Shift+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
  • PageUp - overground view

Overlays

While the tool is active, icons summarise vehicle restrictions on nearby roads/tracks:

Summary Icons

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:

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

Which city/district policies cause vehicle restrictions?

See: City and District Policies

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?

Regional vs. local traffic?

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

Toolbar:

Settings:

  • General - should changes take effect immediately?
  • Policies - should bus lanes automatically restrict cars & trucks?
  • Overlays - toggle persistent overlay

Issue Tracker: