Lane connector

From Traffic Manager: President Edition
Revision as of 23:16, 30 July 2017 by Victor (talk | contribs)$7

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

The lane connector helps you in situations where you need more control over lane transitions. Unlike the lane arrow changer which only allows you to direct traffic into coarse directions (left, forward and right) at junctions only, with the lane connector you are able to force vehicles into following a specific lane changing pattern at (almost) arbitary points within your road network.

The tool lets you connect individual lanes with each other: One source lane is allowed to be connected with one or many target lanes. Vehicles approaching at a source lane may only switch to one of its connected target lanes. Lanes that do not have outgoing connections are still being managed by TM:PE's lane selection algorithm (see Vehicle routing, Junction & transition routing).

Setup

To activate the lane connector tool,

  1. click on the Tm-mainbutton.png button and
  2. click on the Lane-connector-whitebg.png button.

The tool knows 3 operational modes:

  • In node selection mode (which is enabled as soon as you activate the lane connector) you may select one junction/node by clicking on it with your primary mouse button (usually the left one). The source lane selection mode is then activated.
  • In source lane selection mode you may select one source lane by clicking on its respective marker with your primary mouse button. The target lane selection mode is then activated.
  • In target lane selection mode you may select one or more target lanes by clicking on their markers with your primary mouse button. The lane connector stays in this mode.

With your secondary mouse button (usually the right one) you can switch backwards among tool modes:

  • While in target lane selection mode click anywhere with your secondary mouse button to switch back to source lane selection mode.
  • While in source lane selection mode click anywhere with your secondary mouse button to switch back to node selection mode.
  • In node selection mode the secondary mouse button does not have any certain function.

Example

Take a look at the first image. I clicked on the Lane connector menu entry: The tool changed to node selection mode. I hovered the mouse over the junction. You see a blue circle indicating that the junction may be selected.

Lane-connector-1.png

The second picture was captured after I clicked on the junction. The tool changed to source lane selection mode. You can see that for every lane where traffic may originate from a colored marker is displayed.

Lane-connector-2.png

The third picture shows the state after I clicked on the yellow source lane marker of the upper road. The tool changed to target lane selection mode. You can see that for every lane where traffic may go to a colored marker is displayed.

Lane-connector-3.png

The next image shows the state after I clicked on three different target lane markers. After every click the tool stayed in target lane selection mode, thus I could easily connect the source lane to all target lanes in no time.

Lane-connector-4.png

In this image you can see that I clicked on my secondary mouse button. The tool changed back to source lane selection mode.

Lane-connector-5.png

In the last image you can see that I clicked on my secondary mouse button again. The tool changed back to node selection mode.

Lane-connector-6.png

"Stay on lane" feature

After clicking on a node that connects only two road segments (in other words the node does not represent a junction) press Shift + S to automatically connect all consecutive lanes with each other. Vehicles are then forced to stay on their lane while passing the node. If the road consists of lanes for each direction, press Shift + S again in order to cycle through all single-directional "Stay on lane" patterns.

Full "stay on lane" activates after pressing Shift + S
Pressing Shift + S a second time enables "Stay on lane" for one direction only.
ressing Shift + S a third time enables "Stay on lane" for the other direction.

Hints & remarks

  • While in source lane selection mode you can use the Delete or Backspace key to remove all lane connections from the selected junction.
  • Modifications to lane connections only affect newly spawned vehicles unless the appropriate option is activated (see section Options & advanced features for further information). This means it may take some minutes before all vehicles correctly obey the changes in the connection pattern.
  • Be aware (only applies if you activated the highway rule system): If lane connections are set up at a highway junction, highway rules will be automatically deactivated at that junction. Instead, the city road lane selection algorithm will take over for all remaining unconnected lanes. At those junctions I recommend you to define a fully-connected set of source-to-target lane connections. In other words: Do not leave any markers unconnected at highway junctions if highway rules are activated.
  • Emergency vehicles on duty may ignore lane connections.
  • Reckless drivers may not ignore lane connections.

See also



Share your opinion