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

Multi Spawn Manager (Vehicle Groups)

Editor extension for creating, editing, saving, loading, and spawning **vehicle groups**. Supports both hand-picked ("custom") and auto-generated ("generator") groups.

Editor extension for creating, editing, saving, loading, and spawning vehicle groups. Supports both hand-picked ("custom") and auto-generated ("generator") groups.


Overview

Provides a full GUI for managing vehicle groups used by traffic, races, and other gameplay systems. Groups can be custom (per-slot vehicle selection with model/config/paint) or generator-based (population-weighted random selection). Integrates with core_multiSpawn for spawning.


Module Interface (M)

FunctionDescription
M.onEditorInitialized()Registers windows and menu items under "Gameplay".
M.onEditorGui(dt)Main draw loop: group list, edit panel, spawn controls.
M.onWindowMenuItem()Shows the manager window.
M.loadGroup(filePath)Loads a .vehGroup.json file into the editor.
M.saveGroup(file, filePath)Saves the current group to file.
M.onVehicleGroupSpawned()Callback: resets spawn state after vehicles appear.

File Paths

Default auto-load directories:

M.filePaths = { "vehicleGroups/", "settings/editor/vehicleGroups/" }

Group Types

Custom Group

Per-slot vehicle definitions with:

  • Model / Config / Paint selection via vehicleSelectUtil
  • 3 paint layers with custom colour picker (base colour + PBR)
  • Custom config file support

Generator Group

ParameterTypeDescription
amountintNumber of vehicles to generate
allModsboolInclude modded vehicles
allConfigsboolInclude all configs
maxYearintLatest model year (0 = any)
countrystringBias toward domestic vehicles
minPopintMinimum population threshold
modelPopPowerfloatPopulation exponent for models
configPopPowerfloatPopulation exponent for configs
popDecreaseFactorfloatMultiplier after insertion (prevents repeats)

Spawn Modes

ModeKey
Roadroad
Traffictraffic
Line (Ahead/Behind/Left/Right/Above)lineAhead, etc.
Race GridraceGrid
Race Grid (Alt)raceGridAlt

Additional spawn options: amount, spacing, shuffle toggle.


Menu Actions

File Menu

ActionDescription
NewCreate empty group
Load...Open .vehGroup.json
Save / Save as...Write to file

Tools Menu

ActionDescription
Shuffle GroupRandomise vehicle order
Duplicate GroupCopy with "- Copy" suffix
Set Scene Vehicles to GroupImport spawned vehicles

Modal Windows

  • Generator Tester - generate and preview a vehicle list, optionally copy to custom group
  • Custom Paint - colour picker with PBR properties
  • Overwrite Group - confirmation dialog for scene-to-group import

Usage Example

-- Load and spawn a traffic group
editor_multiSpawnManager.loadGroup("vehicleGroups/traffic.vehGroup.json")

-- Show the editor window
editor_multiSpawnManager.onWindowMenuItem()

See Also

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

Mission Start Position Editor

Editor extension providing a **3D edit mode** for visually repositioning mission start trigger positions in the viewport.

Navigation Mesh Editor

Editor extension providing a **Navigation Mesh** editor window and edit mode. Currently a minimal scaffold with a "Hello world" placeholder.

On this page

OverviewModule Interface (M)File PathsGroup TypesCustom GroupGenerator GroupSpawn ModesMenu ActionsFile MenuTools MenuModal WindowsUsage ExampleSee Also