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
Adaptive Brake LightsBraked Differential SteeringCompression Brake (Jake Brake)Hydraulic Pump BrakePost-Crash BrakeTransbrake

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 Referencevecontrollerbraking

Compression Brake (Jake Brake)

Controls engine compression braking (Jake Brake) systems on diesel trucks. Opens exhaust valves during the compression stroke to convert the engine into an air compressor, providing significant retarding force on downhill grades.

Controls engine compression braking (Jake Brake) systems on diesel trucks. Opens exhaust valves during the compression stroke to convert the engine into an air compressor, providing significant retarding force on downhill grades.


Public API

FunctionDescription
setCompressionBrakeCoef(coef)Manually sets the active compression braking level.
setCompressionBrakeLevel(level)Selects a pre-defined braking intensity.
changeCompressionBrakeLevel(indexChange)Cycles through available braking intensities.
toggleCompressionBrakeState()Toggles between 0% and the last selected braking level.

Hooks

HookDescription
init(jbeamData)Links to the target engine and initializes the available braking levels (intensities).
updateGFX(dt)Monitors throttle and clutch state to apply the requested compression braking torque multiplier to the engine. Manages aggression overrides.
module.reset(jbeamData)compressionBrakeCoef = 0

Usage Example

-- Toggle compression brake
controller.getController("compressionBrake").toggle()

-- Set brake level (multi-stage)
controller.getController("compressionBrake").setLevel(2)

See Also

  • Vehicle Controller — Main powertrain control
  • Combustion Engine Governor — Engine speed limiting

Braked Differential Steering

Implements steering via selective braking of individual tracks or wheels on opposite sides. Used on tracked vehicles, skid-steer loaders, and zero-turn mowers where steering is achieved by slowing one side relative to the other.

Hydraulic Pump Brake

Controls braking via hydraulic pump resistance. Used on vehicles where a hydraulic pump provides retarding force, such as hydrostatic-drive machines.

On this page

Public APIHooksUsage ExampleSee Also