RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Activity ManagerAudio Bank ManagerAudio Ribbon SystemBus Route ManagerCamera SystemCore Chat (IRC)Core CheckpointsCore Command HandlerCoupler Camera ModifierDevices (RGB Peripherals)Dynamic PropsEnvironmentFlowgraph ManagerForestFun StuffGame ContextGame StateGround Marker ArrowsGround MarkersHardware InfoHighscoresHotlappingInventoryJob SystemLap TimesLevelsLoad Map CommandMetricsMod ManagerMultiseatMultiseat CameraMulti SpawnOnlinePaths (Camera Paths)Quick Access (Radial Menu)Recovery PromptRemote ControllerReplayRepositoryRope Visual TestScheme Command ServerCore SnapshotCore SoundsCore TerrainTraffic SignalsTrailer RespawnVehicle Active PoolingVehicle Bridge (GE ↔ VLua Communication)Vehicle MirrorsVehicle PaintsCore VehiclesVehicle TriggersVersion UpdateWeather SystemWindows Console
Vehicle ColorsVehicle In-Place EditVehicle ManagerVehicle MirrorVehicle Part Management

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 Extensionscorevehicle

Vehicle In-Place Edit

In-game vehicle part editor with keyboard-driven navigation and live part swapping.

In-game vehicle part editor with keyboard-driven navigation and live part swapping.


Overview

Extension: core_vehicle_inplaceEdit - A debug/development tool for editing vehicle parts in real-time. Uses keyboard navigation (up/down/left/right) to browse the part tree, select slots, and swap parts with instant respawn. Highlights parts with mesh alpha manipulation.


Public Functions

FunctionDescription
M.onUpdate(dtReal, dtSim, dtRaw)Main update loop: renders debug UI overlay and handles animations
M.setShowWindow(val)Opens/closes the editor
M.toggleShowWindow()Toggles editor and vehicle edit mode
M.onInput(type, value)Handles input: up, down, left, right, select, back

Input Controls

KeyAction
Up/DownNavigate slots or available parts
RightEnter child part
LeftGo back to parent part
E (select)Open slot selection / confirm part choice
R (back)Cancel selection
G (exit)Close editor

How It Works

  1. Reads vehicle data via core_vehicle_manager.getPlayerVehicleData()
  2. Gets available parts from jbeam/io.getAvailableParts()
  3. Navigates the part tree using slots definitions
  4. Swaps parts by modifying config.parts[slotType] and calling vehicle:respawn()
  5. Highlights current part hierarchy with mesh alpha (0 = hidden, 0.4 = dimmed, 1 = visible)

Usage Examples

-- Toggle the in-place editor
core_vehicle_inplaceEdit.toggleShowWindow()

-- Open the editor
core_vehicle_inplaceEdit.setShowWindow(true)

Notes

  • This is primarily a developer/debug tool
  • Uses pushActionMapHighestPriority("vehicleEdit") for input capture
  • Hides the CEF UI while active for an unobstructed view
  • Part changes are applied immediately via vehicle respawn

See Also

  • Vehicle Manager - Vehicle data and spawning

Vehicle Colors

Manages vehicle paint colors: setting, converting, and syncing paint data.

Vehicle Manager

Central vehicle lifecycle manager: spawning, loading, physics, colors, and data access.

On this page

OverviewPublic FunctionsInput ControlsHow It WorksUsage ExamplesNotesSee Also