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

Hydraulic Suspension Controller

Controls hydraulic ride height adjustment systems. Manages pump pressure, valve states, and target heights for each corner of the vehicle. Used on lowriders, air-ride equipped vehicles, and utility vehicles with load-leveling.

Controls hydraulic ride height adjustment systems. Manages pump pressure, valve states, and target heights for each corner of the vehicle. Used on lowriders, air-ride equipped vehicles, and utility vehicles with load-leveling.


Public API

FunctionDescription
setGroupsPosition(groupNames, position, speedCoef)Moves the specified suspension groups to a new target height.
setGroupsBleed(groupNames, bleedCoef)Simulates opening bypass valves to soften the suspension.
setGroupsMomentaryIncrease(groupNames, enabled, speedCoef)Used for high-speed suspension movement (e.g., jumping/bouncing).
module.initSounds(jbeamData)Initializes sound resources.
module.resetSounds()Resets sound state.

Hooks

HookDescription
init(jbeamData)Identifies relevant beams and initializes group metadata and pump speeds.
reset()Restores all hydraulic beams to their original lengths and damping states.
updateGFX(dt)Manages pump and fluid release sound effects based on active flow rates.
updateFixedStep(dt)High-frequency loop that moves beam lengths towards targets at the configured pump speed.

Usage Example

-- Raise the vehicle
controller.getController("hydraulicSuspension").raise()

-- Lower the vehicle
controller.getController("hydraulicSuspension").lower()

See Also

  • Pneumatics - Auto Level — Pneumatic self-leveling
  • Adaptive Dampers — Electronic damper control
  • Axle Lift — Axle raise/lower control

Vehicle Controllers Overview

This directory contains modular logic controllers that manage specific vehicle systems, safety electronics, and integrations.

Input/Output Demo Controller

A demonstration controller that showcases how to read vehicle inputs and write to electrics outputs. Useful as a learning reference for controller development — shows the input/output pipeline without complex logic.

On this page

Public APIHooksUsage ExampleSee Also