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

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 Referenceveextensions

Perfect Launch

Assists the player or AI in achieving optimal standing starts by managing clutch engagement and throttle application timing.

Assists the player or AI in achieving optimal standing starts by managing clutch engagement and throttle application timing. Tracks whether the launch was successful or failed based on wheel spin and acceleration targets.


State Fields

M.launchFailed  -- boolean: true if the launch attempt exceeded slip thresholds

Hooks

HookDescription
onInitResets launch state and prepares monitoring systems.

Usage Example

-- Load the extension for a drag scenario
extensions.load("perfectLaunch")

-- Check launch result
if extensions.perfectLaunch.launchFailed then
  log("W", "launch", "Too much wheelspin!")
end

See Also

  • Drag AI — Automated drag racing
  • Straight Line — Heading maintenance

OutSim

Implements the OutSim UDP protocol for streaming extended vehicle physics data (acceleration, angular velocity, orientation) to external applications.

Performance Logger

Profiling utility for measuring execution time of Lua functions within the vehicle environment. Helps identify performance bottlenecks during development.

On this page

State FieldsHooksUsage ExampleSee Also