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
Closed-Loop Linear Hydraulic ControlElectric Hydraulics ControllerHydraulics Combustion Engine ControlHydraulic Trailer FeetOrbitrol (Orbital) Steering

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 Referencevecontrollerhydraulics

Closed-Loop Linear Hydraulic Control

PID-based closed-loop controller for hydraulic linear actuators. Maintains target positions by continuously adjusting hydraulic flow based on position feedback, providing precise cylinder control.

PID-based closed-loop controller for hydraulic linear actuators. Maintains target positions by continuously adjusting hydraulic flow based on position feedback, providing precise cylinder control.


Public API

FunctionDescription
setCylinderTargetExtendPercent(extendPercent)Updates the desired extension setpoint for the PID loop.

Hooks

HookDescription
init(jbeamData)Identifies target hydraulic consumers and initializes the parallel PID controller.
updateFixedStep(dt)Calculates the average extension of all supervised cylinders and applies a corrective valve signal to the electrics bus.
module.reset(jbeamData)Resets the controller to its initial state.

See Also

  • Electric Hydraulics — Electrically-driven hydraulic pump
  • Hydraulic Suspension — Ride height control

Tire Data Gauge Module

Custom gauge module that provides tire telemetry to instrument cluster displays — tire pressure, temperature, wear level, and slip data for each wheel.

Electric Hydraulics Controller

Controls electrically-driven hydraulic pump systems. Manages pump motor speed, pressure regulation, and flow distribution to hydraulic actuators. Used on vehicles with electric-over-hydraulic systems.

On this page

Public APIHooksSee Also