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
Dynamic Decals - BrowserDynamic Decals - BrushesDynamic Decals - CameraDynamic Decals - Color HistoryDynamic Decals - Color PresetsDynamic Decals - Debug SectionDynamic Decals - Debug TexturesDynamic Decals - Documentation SystemDynamic Decals - ExportDynamic Decals - FontsDynamic Decals - GizmoDynamic Decals - HelperDynamic Decals HistoryDynamic Decals InspectorDynamic Decals Layer StackDynamic Decals Load/SaveDynamic Decals MeshesDynamic Decals NewsDynamic Decals NotificationDynamic Decals SelectionDynamic Decals SettingsDynamic Decals TexturesDynamic Decals Vehicle Color PaletteDynamic Decals Widgets

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 ExtensionseditordynamicDecals

Dynamic Decals - Documentation System

In-tool documentation system for the dynamic decals tool. Provides a two-column window with a filterable table of contents (left) and content panel (right). Other modules register documentation sectio

In-tool documentation system for the dynamic decals tool. Provides a two-column window with a filterable table of contents (left) and content panel (right). Other modules register documentation sections with GUI callbacks. Includes built-in Introduction, Getting Started, and Controls sections.


Public API

FunctionSignatureDescription
M.register(data)Registers a docs section: {section={"Parent","Child"}, guiFn=fn, order=num}
M.selectSection(section, doNotOpenWindow)Navigates to section by string name or {"Parent","Child"} path
M.showWindow()Shows docs window, re-sorts sections
M.hideWindow()Hides docs window
M.isWindowVisible() → boolReturns visibility state
M.image(path, width, title, subtitle)Renders image with optional tooltip and subtitle
M.verticalSpacing()Adds configurable vertical spacing
M.introductionGui(docsSection)Built-in Introduction page content
M.registerEditorPreferences(prefsRegistry)Registers indentSpacing (8) and verticalSpacing (16)
M.editorPreferenceValueChanged(path, value)Preference change callback (stub)
M.setup(tool_in)Registers window (640×640), built-in sections, input action bindings

Section Registration

-- Modules register docs during setup:
docs.register({
  section = {"Layer Types", "Decal Layer"},
  guiFn = function(docsSection)
    im.TextUnformatted("Documentation content here...")
  end,
  order = 100  -- optional, lower = higher in TOC
})

-- Nested sections auto-create parent entries:
docs.register({ section = {"Getting Started", "First Steps"}, guiFn = myGuiFn, order = 11 })

Built-in Sections

SectionOrderContent
Introduction0Welcome text, tool version, feature overview, forum link
Getting Started10Getting started guide
Controls20Input action table (keyboard/mouse bindings for dynamicDecals action map)

TOC Features

  • Text filter: Filters sections recursively (removes empty parents)
  • Color coding: Ordered sections highlighted in light blue
  • Selection indicator: Orange bar next to selected section
  • Auto-scroll: Scrolls to programmatically selected section

Preferences

KeyTypeDefaultDescription
docs.indentSpacingint8TOC indent spacing (0–64)
docs.verticalSpacingint16Vertical spacing in content (0–64)

Dependencies

ModulePurpose
editor_dynamicDecals_helpertextUnformattedCentered(), capitalizeWords()
core_input_bindingsInput binding data for controls table
core_input_actionsAction definitions for controls table

See Also

  • Dynamic Decals - Browser - Related reference
  • Dynamic Decals - Brushes - Related reference
  • Dynamic Decals - Camera - Related reference
  • World Editor Guide - Guide

Dynamic Decals - Debug Textures

Debug texture viewer for the dynamic decals tool. Displays collapsible sections for all internal texture buffers: combined, dynamic, baked, highlight, decal input (brush), and mask textures.

Dynamic Decals - Export

Export system for the dynamic decals tool. Two export modes: **Export Skin** (generates skin files ready for in-game use) and **Export Textures** (exports raw color, metallic, roughness, and color pal

On this page

Public APISection RegistrationBuilt-in SectionsTOC FeaturesPreferencesDependenciesSee Also