RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

AI Module ReferenceBackwards Compatibility Module ReferenceBdebug Module ReferenceBdebugImpl Module ReferenceBeamstate Module ReferenceBullettime Module ReferenceController Module ReferenceDamageTracker Module ReferenceDrivetrain Module ReferenceElectrics Module ReferenceElectrics Custom Value ParserEnergyStorage Module ReferenceExtensions Module ReferenceFire Module ReferenceVehicle Engine True GlobalsGuihooks Module ReferenceGUI Streams Module ReferenceHTML Texture Module ReferenceHydros Module ReferenceInput Module ReferenceJBeam-Lua Integration GuideMapmgr Module ReferenceMaterial Module ReferenceBeamNG Math & Unit Conversions Referenceobj (Vehicle C++ Object)PartCondition Module ReferenceParticlefilter Module ReferenceParticles Module ReferencePowertrain Module ReferenceVehicle Property & Module TreeProps Module ReferenceProtocols Module ReferenceRecovery Module ReferenceScriptAI Module ReferenceSensors Module ReferenceSounds Module ReferenceStreams Module ReferenceThrusters Module Reference`v` (Vehicle Data & JBeam)Wheels Module Reference
4WD / Transfer Case ControllerAdvanced Coupler ControlAirplane Control SurfacesAxle Lift ControllerBeacon Spin ControllerBeam NavigatorBypass Dampers ControllerController TemplateControl ModesDrag TimerDrive ModesDummy ControllerElectronic Stability Control (ESC)ETK Gauges ControllerVehicle Controllers OverviewHydraulic Suspension ControllerInput/Output Demo ControllerJATO (Jet Assisted Take-Off)Lightbar ControllerLine LockLogger TemplateNitrous Oxide InjectionPlayer ControllerPneumatics System ControllerPower Steering ControllerPyrotechnic Charge ControllerSBR Gauges ControllerShift Lights ControllerTire Pressure ControlTrailer Landing Feet ControllerTwo-Step Launch ControlVivace Gauges ControllerWendover Gauges Controller

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 Referencevecontroller

Lightbar Controller

Manages animated emergency lighting patterns for police, fire, and ambulance vehicles. Controls pattern sequencing, flash timing, and synchronizes multiple light groups. Supports configurable pattern tables defined in JBeam.

Manages animated emergency lighting patterns for police, fire, and ambulance vehicles. Controls pattern sequencing, flash timing, and synchronizes multiple light groups. Supports configurable pattern tables defined in JBeam.


Public API

FunctionDescription
setModeIndex(index)Switches the active lighting pattern and updates static electrical signals.
toggleMode()Cycles to the next available lighting pattern.

Hooks

HookDescription
init(jbeamData)Parses complex lighting patterns and initializes the radial menu for mode selection.
updateGFX(dt)Iterates through active lighting patterns, advancing timers and updating electrics.values.

Usage Example

-- Cycle lightbar mode
controller.getController("lightbar").toggleMode()

See Also

  • Beacon Spin — Rotating beacon light animation

JATO (Jet Assisted Take-Off)

Controls rocket-powered JATO boosters that apply massive thrust to the vehicle. Manages fuel consumption, thruster node forces, and particle/sound effects. Includes a hidden cheat sequence for infinite fuel mode.

Line Lock

Controls brake line locking valves that hold front brakes while releasing rears (or vice versa). Primarily used for drag racing burnouts — lock the front brakes to hold the car stationary while spinning the rear tires to heat them up.

On this page

Public APIHooksUsage ExampleSee Also