RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionseditor

Road Editor (Decal Road)

Editor extension for creating and editing DecalRoad objects: node manipulation, road selection, duplication, templates, and material filtering.

Editor extension for creating and editing DecalRoad objects: node manipulation, road selection, duplication, templates, and material filtering.


Overview

Full-featured DecalRoad editor (~1800 lines) with multi-road selection, node dragging, rectangle selection, road duplication, width adjustment, template support, and copy/paste of road properties.


Public API

FunctionSignatureDescription
M.onEditorInitializedM.onEditorInitialized()Registers roadEditMode with shortcuts, custom material filter, and modal window.
M.onPreRenderM.onPreRender()Per-frame rendering and update.
M.onExtensionLoadedM.onExtensionLoaded()Extension load handler.
M.onEditorInspectorHeaderGui-Custom inspector header for roads.
M.onEditorRegisterPreferences-Registers road editor preferences.
M.onEditorObjectSelectionChanged-Handles multi-road selection via scene tree.
M.cycleHoveredRoadsAM-Action map: cycle through overlapping hovered roads.

Edit Mode Shortcuts

ShortcutAction
Alt + LMBCreate road / Add node
Ctrl + LMBSelect multiple roads
Ctrl + Shift + LMB DragRectangle select nodes
Ctrl+C / Ctrl+VCopy/Paste road properties
Ctrl+DDuplicate road

Key Features

  • Multi-road selection with Ctrl+click
  • Node manipulation: drag, width adjustment, rectangle selection
  • Road duplication with undo/redo
  • Template system for reusable road configurations
  • Material filtering by RoadAndPath tag
  • AI-only road mode display text
  • Fuse option for connecting roads

Usage

Accessible via the Decal Road Editor icon in the editor toolbar, or by selecting a DecalRoad object in the scene.

-- Select road edit mode programmatically
editor.selectEditMode(editor.editModes.roadEditMode)

See Also

  • Editor AI Tests - Related reference
  • Editor AI Visualization - Related reference
  • Editor – Assembly Spline Tool - Related reference
  • World Editor Guide - Guide

Road Decorations

Utility module for placing repeating props (TSStatic objects) along DecalRoad edges at configurable intervals.

Road Network Exporter

Editor tool for exporting the level's road network to OpenDrive (.xodr), OpenStreetMap (.osm), and SUMO (.xml) formats. Requires Tech license.

On this page

OverviewPublic APIEdit Mode ShortcutsKey FeaturesUsageSee Also