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 Load/Save

Editor module providing Save and Load functionality for Dynamic Decals projects. Exports/imports the layer stack as `.dyndecals.json` files with overwrite or append loading modes.

Editor module providing Save and Load functionality for Dynamic Decals projects. Exports/imports the layer stack as .dyndecals.json files with overwrite or append loading modes.


Module Info

KeyValue
Fileextensions/editor/dynamicDecals/loadSave.lua
logTageditor_dynamicDecals_loadSave
Dependencieseditor_api_dynamicDecals, editor_dynamicDecals_notification, editor_dynamicDecals_docs

Public API

FunctionSignatureDescription
M.getCurrentPorjectFilePath() → stringReturns the last used project file path (note: typo in original)
M.loadFileDialog()Opens file dialog to load a .dyndecals.json project
M.saveAsFileDialog()Opens file dialog to save project as a new file
M.onSerialize() → tableSerializes lastProjectFilePath for session persistence
M.onDeserialized(data)Restores last project file path from serialized data
M.registerEditorPreferences(prefsRegistry)Stub
M.editorPreferenceValueChanged(path, value)Stub
M.setup(tool_in)Registers "Load/Save" section (priority 20) with docs link

Loading Modes

ModeKeyDescription
Overwrite0Wipes existing layer stack, replaces with loaded layers
Append1Adds loaded layers to the existing stack

Modes are populated from api.loadingModes.


GUI Features

  • Save as... - Opens save file dialog
  • Save - Overwrites the last opened project file (disabled if no file loaded)
  • Load from file - Opens load dialog with loading mode combo

Usage Example

local loadSave = extensions.editor_dynamicDecals_loadSave

-- Open load dialog
loadSave.loadFileDialog()

-- Open save-as dialog
loadSave.saveAsFileDialog()

-- Check current file
local path = loadSave.getCurrentPorjectFilePath()

See Also

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

Dynamic Decals Layer Stack

Editor module providing the Layer Stack panel for the Dynamic Decals tool. Renders the full layer hierarchy with drag-and-drop reordering, visibility toggling, layer masks, duplication, mirroring, and

Dynamic Decals Meshes

Editor module for managing the vehicle shape/mesh path in the Dynamic Decals tool. Provides a section GUI (currently commented out) for selecting a DAE shape file. Marked as experimental.

On this page

Module InfoPublic APILoading ModesGUI FeaturesUsage ExampleSee Also