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

Pneumatic Actuators

Controls individual pneumatic actuators that convert air pressure into mechanical movement. Manages valve timing, pressure regulation, and position control for pneumatic cylinders and bladders.

Controls individual pneumatic actuators that convert air pressure into mechanical movement. Manages valve timing, pressure regulation, and position control for pneumatic cylinders and bladders.


State Fields

FieldTypeDescription
averagePressurenumberThe average pressure across all managed pneumatic beams in Pascals.

Public API

FunctionDescription
setBeamGroupValveState(groupName, valveState)Directly controls the air valve for a specific group of actuators.
setBeamGroupMaximumSupplyPressure(groupName, maxSupplyPressure)Configures a pressure regulator for the specified group.
setBeamGroupCrossFlowTag(groupName, crossFlowTag)Reassigns a beam group to a different virtual air buffer.
getAveragePressure(groupName)Returns the mean pressure of all beams in the specified group.
module.initSounds(jbeamData)Initializes sound resources.
module.resetSounds()Resets sound state.
module.setBeamGroupsValveState(groupNames, valveState)Sets the beam groups valve state.
module.toggleBeamGroupValveState(groupName)Toggles beam group valve state.
module.toggleBeamGroupsValveState(groupNames)Toggles beam groups valve state.
module.setBeamGroupsMaximumSupplyPressure(groupNames, maxSupplyPressure)Sets the beam groups maximum supply pressure.
module.getValveState(groupName)Returns the valve state.
module.getAverageFlowRate(groupName)Returns the average flow rate.
module.getBeamGroupsAverageFlowRate(groupNames)Returns the beam groups average flow rate.

Hooks

HookDescription
init(jbeamData)Connects to the main air tank, defines beam groups, and initializes virtual buffers for cross-flow simulation.
updateFixedStep(dt)Primary flow loop. Simulates air mass transfer between the tank, virtual buffers, and individual actuators based on valve states and pressure differentials.
updateGFX(dt)Manages pneumatic sound loops (inflation/deflation) and updates average pressure telemetry.
module.reset()Resets the controller to its initial state.

See Also

  • Pneumatics — Parent pneumatic system
  • Air Brakes — Pneumatic braking

Linear Actuator Trailer Feet

Controls electrically-driven linear actuator trailer landing gear. Extends and retracts support legs using linear actuators instead of hydraulics.

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.

On this page

State FieldsPublic APIHooksSee Also