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
Interact AIInteract BeamstateInteract Cargo ContainersInteract ControllerInteract ElectricsInteract Energy StorageInteract FireInteract MiscInteract Part ConditionInteract PowertrainInteract RecoveryInteract Vehicle Performance Data

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 ReferenceveextensionsgameplayInterfaceModules

Interact AI

Gameplay interface module for controlling vehicle AI behavior. Provides actions and lookups for AI mode, speed, waypoints, and pathfinding from the Game Engine layer.

Gameplay interface module for controlling vehicle AI behavior. Provides actions and lookups for AI mode, speed, waypoints, and pathfinding, allowing the Game Engine layer to command the vehicle's AI system.


Public API

VariableTypeDescription
moduleActionstableMap of action names to handler functions (e.g., setAiMode, setAiSpeed, setAiTarget).
moduleLookupstableMap of lookup names to getter functions for querying current AI state.

Usage Example

-- Called internally by gameplayInterface when GE sends an AI action:
-- obj:queueGameEngineLua("extensions.gameplayInterface.action('setAiMode', {mode = 'span'})")

See Also

  • Gameplay Interface — Parent bridge module
  • TechCore — Also supports AI control via external API

Advanced External Debug

Tools for external visualization and deep system debugging. Streams internal vehicle data to external debug viewers for detailed inspection.

Interact Beamstate

Gameplay interface module for querying and modifying the vehicle's structural state. Provides actions for damage application, part breakage, and beam integrity checks.

On this page

Public APIUsage ExampleSee Also