RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

server/commands - Camera & Input Commandsge_utils - Game Engine Utility Functionsmain.lua - GE Lua Entry Point & Game Loopmap.lua - Navigation Graph (AI Road Map)screenshot.lua - Screenshot Systemserver/server - Level Loading & Game ServerserverConnection - Client-Server Connection Manager`setSpawnpoint` - Default Spawn Point Persistence`simTimeAuthority` - Simulation Time & Bullet Time Control`spawn` - Vehicle Spawning & Safe Placement`suspensionFrequencyTester` - Suspension Natural Frequency Analysis
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

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 Extensionscore

Devices (RGB Peripherals)

Manages RGB lighting on supported peripherals (e.g. keyboards, mice). Sets the BeamNG orange brand color when switching to non-drivable entities (unicycle, props, no vehicle) and resets to vehicle-dri

Manages RGB lighting on supported peripherals (e.g. keyboards, mice). Sets the BeamNG orange brand color when switching to non-drivable entities (unicycle, props, no vehicle) and resets to vehicle-driven colors otherwise.


Public API

FunctionSignatureDescription
M.onVehicleSwitched(oldId, newId, player)Hook: resets RGB state via Device.resetRGB(0), then applies BeamNG orange if the new vehicle is a unicycle, prop, or nothing (-1).

Constants

NameValueDescription
beamOrangevec3(255, 102, 0)The standard BeamNG brand color used for RGB peripherals.

Behavior

  • Requires the global Device binding to exist (early-returns if nil).
  • Calls Device.setRGB(0, r, g, b) to push color to the first RGB zone.
  • Checks core_vehicles.getModel(jbeam).model.Type to identify props.

Usage Example

-- Automatically called on vehicle switch; no manual invocation needed.
-- The hook fires whenever the player enters/exits a vehicle.

Coupler Camera Modifier

Adjusts orbit camera distance and target when two vehicles are coupled (e.g. truck + trailer), centering the view between them. Automatically restores original camera settings on detach or when vehicl

Dynamic Props

Replaces static forest items with interactive vehicle-based props at runtime using a pooling system. Props are spawned near the player and swapped back to forest items when out of range-enabling destr

On this page

Public APIConstantsBehaviorUsage Example