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
Advanced Wheel DebugAero DebugVehicle APIChassis DataCouplingsCruise ControlDrag AIDynamic Vehicle DataDyno ClientESC CalibrationESC MeasurementVehicle Extensions OverviewGameplay InterfaceGameplay StatisticInput AnalyzerMQTT Grafana DemoOdometerOutGaugeOutSimPerfect LaunchPerformance LoggerSimple Trip AppSkeletonStraight LineTelemetry LoggerUT RecorderVehicle Performance DataVehicle Stats Logger
Adaptive Cruise Control (ACC)ADAS InputADAS UltrasonicAdvanced IMUDump Player InputGPS SensorIdeal RADAR SensorMesh SensorOBD EmulatorPlatooningPowertrain SensorRoads SensorTechCore Module ReferenceTrail SimTyre BarrierVehicle Points of InterestVehicle SearcherVehicle Systems CouplingWheel Forces
CAN Button BoxCAN Bus (PCAN)Project Bavaria ControllerProject Bavaria KombiProject Bavaria ShifterRacing Display

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 ReferenceveextensionstechCANBus

Project Bavaria Controller

CAN bus integration for a BMW E39 body controller. Reads and writes CAN frames to control real BMW hardware (windows, locks, mirrors) from BeamNG.

CAN bus integration for a BMW E39 body controller. Reads and writes CAN frames to control real BMW hardware (windows, locks, mirrors) from BeamNG as part of the Project Bavaria hardware-in-the-loop demonstrator.


State Fields

M.dependencies  -- table: required extensions (CANBusPeak)

Hooks

HookDescription
onExtensionLoadedRegisters CAN frame handlers for BMW body controller message IDs.

See Also

  • CAN Bus (PCAN) — Parent CAN bus interface
  • Project Bavaria Kombi — BMW instrument cluster
  • Project Bavaria Shifter — BMW gear shifter

CAN Bus (PCAN)

Interface to PEAK-System PCAN hardware for real CAN bus communication. Enables BeamNG to send and receive CAN frames through physical CAN adapters for hardware-in-the-loop testing.

Project Bavaria Kombi

CAN bus integration for a BMW E39 instrument cluster (Kombiinstrument). Drives real speedometer, tachometer, fuel gauge, and warning indicators from BeamNG vehicle data.

On this page

State FieldsHooksSee Also