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
Active Center DifferentialAnti-Lag SystemCombustion Engine GovernorRim Pull Control

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 ReferencevecontrollerpowertrainControl

Combustion Engine Governor

Electronic engine speed governor that limits maximum RPM or maintains a target idle/operating speed. Used on diesel engines in trucks and heavy equipment to prevent over-revving and maintain stable operating speeds under varying loads.

Electronic engine speed governor that limits maximum RPM or maintains a target idle/operating speed. Used on diesel engines in trucks and heavy equipment to prevent over-revving and maintain stable operating speeds under varying loads.


Hooks

HookDescription
init(jbeamData)Connects to the engine and initializes the RPM PID controller.
updateFixedStep(dt)Calculates the required throttle command to maintain the target RPM (interpolated between target0 and target1 based on input) and outputs it to the specified electrics key.
module.reset(jbeamData)Resets the controller to its initial state.

See Also

  • Vehicle Controller — Main powertrain control
  • Compression Brake — Engine braking

Anti-Lag System

Controls turbocharger anti-lag systems that maintain boost pressure during throttle lift-off. Injects fuel and retards ignition timing to keep exhaust gases flowing through the turbine, eliminating turbo lag on throttle reapplication.

Rim Pull Control

Controls maximum tractive effort (rim pull) on heavy equipment. Limits wheel torque to prevent tire spin in low-traction conditions, commonly used on wheel loaders and construction equipment.

On this page

HooksSee Also