Road Editor

The Road Editor is used to create decal-based roads on your terrain. A decal-based road follows every contour of the terrain, unlike a Mesh Road which is a solid 3D object. To create more complicated roads that rise above the terrain, span hills, or contain bridges use the Mesh Road Editor. The Road Editor is a built-in WYSIWYG (What-You-See-Is-What-You-Get) editing tool which provides near real-time feedback so that you can see the changes and additions as you make them.

To access the Road Editor, activate it from the main menu of the World Editor by selecting Tools > Road Tool.

../_images/roadEditorStart.jpg

Create Mode

Create mode can be activated by holding Alt. Create mode is used for adding new roads or adding nodes to existing roads.

Adding Roads

By clicking on a point on the terrain with no road while holding alt, the first node of a new road is created and the road is selected. By clicking on additional points on the terrain while holding alt, more nodes can be added to the road (see “Adding Nodes to Roads”).

Selecting Roads

Roads that the cursor is hovering over are shown with a blue outline. Leftclick selects a hovered road. When multiple roads are on top of each other at the position of the cursor, one road is outlined with a deep blue, while the others are outlined with a lighter blue (see screenshot). This shows which road will be selected on a left click. The hovered roads can be cycled through by turning the mouse wheel.

../_images/roadHighlight.jpg

Once a road is selected, its outlines turn green and the nodes of the road are shown as red spheres. Also all the parameters of the road can be viewed and edited in the Inspector window of the editor, just like any other object.

Nodes

Nodes are the spline points of a road and contain a position and a width.

Adding Nodes to Roads

Holding Alt while hovering on top of the selected road and then clicking inserts a new node in the road at this position. Clicking outside of a selected road while holding Alt creates a new node on that position that gets added to the end of the road. A node can be added before the first node by selecting the node at the beginning and then adding a node. Holding left click instead of clicking normally allows you to change the width of a created node by moving the cursor horizontally and releasing at the desired width.

Removing Nodes

A node is removed by selecting it and then pressing Delete.

Node Properties

With a node selected, you can change the position and width of it in the inspector window.

Other features

Width Override

With a road selected, you can select “Width Override” in the inspector window to set the width of all nodes in this road to a certain value.

Splitting road

With a node selected, there is a button in the inspector window “Split Road” with which the road is split into two roads at the position of the selected node.

Shortcuts

Shortcut Function
Alt + LMB Create road / Add node
Delete Delete selected road or node
Ctrl + C Copy fields of road
Ctrl + V Paste fields to road
Mousewheel Cycle through hovered roads

Settings

Setting Description
Default Width The default width a newly created road starts with.