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

Particle Editor

Visual editor for ParticleEmitterData and ParticleData datablocks with live preview.

Visual editor for ParticleEmitterData and ParticleData datablocks with live preview.


Overview

Provides an edit mode for creating, editing, saving, and deleting particle emitters and their particle data. Spawns a live ParticleEmitterNode in the scene for real-time preview. Supports undo/redo for all CRUD operations on datablocks.


Public Functions

FunctionSignatureDescription
M.onEditorInitialized()Registers particleEditMode and custom field inspectors
M.onExtensionLoaded()Logs initialization
M.onExtensionUnloaded()Cleans up the editable emitter node
M.onEditorInspectorHeaderGui()Renders emitter/particle tabs with combo selectors and action buttons
M.onEditorInspectorFieldChanged(selectedIds, fieldName, fieldValue, arrayIndex)Marks datablocks as dirty and reloads them

Key Internal Functions

FunctionDescription
updateDatablockList()Scans all datablocks for ParticleEmitterData and ParticleData
selectEmitter(emitter)Sets the current emitter on the preview node
newEmitter() / deleteEmitter(emitter)Create/delete emitter datablocks with undo/redo
newParticle() / deleteParticle(particle)Create/delete particle datablocks with undo/redo
saveEmitter(emitter)Saves emitter and all its particles to their files
saveEmitterToLevel(emitter)Saves emitter+particles to the current level's default path
loopParticles(emitter, fct)Iterates over all ParticleData referenced by an emitter
customParticlesFieldEditor(...)Custom inspector UI for the particles field (up to 4 slots)
customTextureFieldEditor(...)Custom inspector UI for particle texture file selection

Usage Example

-- Activate the Particle Editor edit mode from the editor toolbar
-- Select an emitter from the dropdown
-- Modify emitter/particle properties in the Inspector
-- Use Save button to persist changes to files

Notes

  • Maximum 4 particles per emitter (tab-separated in the particles field).
  • The preview emitter node (editableEmitterNode) is placed 7 units in front of the camera.
  • Unsaved changes are indicated by UnsavedDocument tab flags.
  • Prompts user to save when switching between dirty emitters/particles.

See Also

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

Object To Spline Editor

Places copies of a selected object along a DecalRoad or MeshRoad spline with configurable spacing, offsets, and randomization.

Performance Profiler / Camera Recorder

Records FPS and system metrics along camera paths for performance comparison across hardware/settings.

On this page

OverviewPublic FunctionsKey Internal FunctionsUsage ExampleNotesSee Also