Difference between revisions of "Lane connector"
Latest revision as of 00:16, 31 July 2017
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).
To activate the lane connector tool,
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.
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.
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.
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.
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.
In this image you can see that I clicked on my secondary mouse button. The tool changed back to source lane selection mode.
In the last image you can see that I clicked on my secondary mouse button again. The tool changed back to node selection mode.
"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.
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.
Share your opinion