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
Pneumatic ActuatorsPneumatic Air BrakesAuto-Level Air SuspensionCross-Flow Valve ControllerPneumatic Lift Axle ControlLow Air Pressure Warning

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 Referencevecontrollerpneumatics

Auto-Level Air Suspension

Self-leveling pneumatic suspension controller that maintains target ride height regardless of load. Monitors height sensors and adjusts air spring pressure to compensate for cargo weight and weight transfer.

Self-leveling pneumatic suspension controller that maintains target ride height regardless of load. Monitors height sensors and adjusts air spring pressure to compensate for cargo weight and weight transfer.


Public API

FunctionDescription
setTargetLength(groupNames, targetLength, immediate)Updates the target ride height for the specified suspension groups.
setAdjustmentRate(groupNames, rate)Allows manual override of the ride height (e.g., for user-controlled lifting/lowering).
setTemporarilyDisabled(groupNames, disabled)Pauses automatic leveling for specific groups.
module.setMomentaryIncrease(groupNames, increase)Sets the momentary increase.
module.setMomentaryDecrease(groupNames, decrease)Sets the momentary decrease.
module.getTargetLength(groupName)Returns the target length.
module.getCurrentLength(groupName)Returns the current length.
module.getAverageFlowRate(groupName)Returns the average flow rate.
module.isMoving(groupName)Checks if moving.
module.isCalibrating(groupName)Checks if calibrating.

Hooks

HookDescription
init(jbeamData)Identifies control beams and maps them to pneumatic groups. Initializes leveling distances and delays.
updateFixedStep(dt)Primary leveling loop. Monitors beam lengths and automatically adjusts pneumatic valve states to restore the vehicle to its target height.
module.initSecondStage(jbeamData)Second-stage initialization after all controllers are loaded.
module.reset()Resets the controller to its initial state.

See Also

  • Pneumatics — Parent pneumatic system
  • Hydraulic Suspension — Hydraulic ride height alternative
  • Lift Axle Control — Pneumatic axle lifting

Pneumatic Air Brakes

Controls air brake systems used on heavy trucks and trailers. Manages brake chamber pressure, relay valves, and the fail-safe spring brake mechanism that applies brakes when air pressure is lost.

Cross-Flow Valve Controller

Controls pneumatic cross-flow valves that connect air springs on opposite sides or axles. Allows pressure equalization between air bags for improved ride quality or load sharing.

On this page

Public APIHooksSee Also