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

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.

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.


Public API

FunctionDescription
module.setParameters(parameters)Sets the parameters.

Hooks

HookDescription
initSecondStage(jbeamData)Initializes the HTML texture for the odometer and sets the update frequency based on decimal precision and units.
reset()Resets the last known trip value to force a visual update.
updateGFX(dt)Periodic check that sends current odometer and trip data to the HTML texture whenever the distance has changed significantly.

See Also

  • Generic Gauges — Universal gauge controller

STM Yaw Estimate Provider

Single-Track Model (STM) based yaw rate reference provider. Calculates the expected yaw rate for the current speed and steering angle using a bicycle model, providing the target reference that the yaw control supervisor compares against actual yaw rate.

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.

On this page

Public APIHooksSee Also