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
Analog OdometerGeneric 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 Referencevecontrollergauges

Generic Gauges Controller

Universal instrument cluster backend that drives gauge displays for any vehicle. Processes vehicle telemetry (speed, RPM, temperatures, fuel, etc.) into normalized gauge values. Supports custom gauge modules for extensibility.

Universal instrument cluster backend that drives gauge displays for any vehicle. Processes vehicle telemetry (speed, RPM, temperatures, fuel, etc.) into normalized gauge values. Supports custom gauge modules for extensibility.


Public API

FunctionDescription
setUIMode(parameters)Pushes a UI mode change (e.g., Sport vs Eco theme) to the HTML cluster.
module.setParameters(parameters)Sets the parameters.

Hooks

HookDescription
initSecondStage(jbeamData)Parses the display configuration and initializes the HTML texture. Dynamically identifies which electrics, powertrain devices, and custom gauge modules need to be polled.
updateGFX(dt)Main polling loop. Aggregates data from all configured sources and streams a JSON packet to the HTML UI at the configured FPS.
module.reset()Resets the controller to its initial state.

See Also

  • ETK Gauges — ETK-specific gauge controller
  • SBR Gauges — SBR-specific gauge controller
  • Custom Modules — Gauge data modules

Analog Odometer

Controls a mechanical-style analog odometer display that accumulates distance traveled. Animates digit wheels with realistic rollover behavior and persists the total distance across vehicle resets.

Acceleration Data Gauge Module

Custom gauge module that provides G-force and acceleration data to instrument cluster displays. Calculates longitudinal and lateral G-forces for performance gauges.

On this page

Public APIHooksSee Also