RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

server/commands - Camera & Input Commandsge_utils - Game Engine Utility Functionsmain.lua - GE Lua Entry Point & Game Loopmap.lua - Navigation Graph (AI Road Map)screenshot.lua - Screenshot Systemserver/server - Level Loading & Game ServerserverConnection - Client-Server Connection Manager`setSpawnpoint` - Default Spawn Point Persistence`simTimeAuthority` - Simulation Time & Bullet Time Control`spawn` - Vehicle Spawning & Safe Placement`suspensionFrequencyTester` - Suspension Natural Frequency Analysis
Career BranchesCareer System CoreCareer Save System
Career Computer MenuCareer Fuel SystemInspect VehicleVehicle InventoryLinear TutorialLoaner VehiclesCareer LogLogbookMarketplaceMission WrapperCareer Painting ModuleCareer Part Inventory ModuleCareer Part Shopping ModuleCareer Payment ModuleCareer Permissions ModuleCareer Playbook Writer ModuleCareer Player Abstract ModuleCareer Player Attributes ModuleCareer Player Driving ModuleCareer Quick Travel ModuleCareer Rentals ModuleCareer Reputation ModuleCareer Spawn Points ModuleCareer Speed Traps ModuleCareer Test Drive ModuleCareer Tether ModuleCareer Tuning ModuleCareer UI Utils ModuleCareer Unlock Flags ModuleCareer Value Calculator ModuleVehicle Class GroupingVehicle Deletion ServiceVehicle PerformanceVehicle Shopping

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 ReferenceGE Extensionscareermodules

Vehicle Performance

Runs the vehicle performance certification test (drag strip + skidpad). Records acceleration, braking, and lateral G data. Manages cinematic camera sequences during testing.

Runs the vehicle performance certification test (drag strip + skidpad). Records acceleration, braking, and lateral G data. Manages cinematic camera sequences during testing.


Public API

FunctionSignatureReturnsDescription
M.startDragTest(inventoryId)nilStarts the full certification sequence (drag + skidpad)
M.invalidateCertification(inventoryId)nilClears current certification, archives to history
M.isTestInProgress()booleanWhether a performance test is currently running
M.cancelTest(delay)nilCancels the active test with optional delay (seconds)
M.getAggregateScoresFromVehId(inventoryId)table/nilAggregate performance scores from certification data
M.getVehicleClass(inventoryId)table/nilVehicle class derived from certification data
M.addScoresToPerformanceData(performanceData)nilAdds aggregate scores and class to a data table in-place
M.openMenu(options)nilOpens the performance index UI

Hooks (Events)

HookPurpose
M.onDragCountdownStartedSwitches to launch camera during countdown
M.onBeamNGTriggerPlays camera paths at drag strip trigger points
M.onUpdateUpdates camera zoom during test
M.onComputerAddFunctionsAdds "Performance Index" to garage computer menu
M.onVehicleDamagedCancels test if engine is catastrophically damaged

Test Sequence

  1. Fade to black → spawn/enter vehicle → refuel
  2. Drag test: Teleport to Alder Strip, run quarter-mile with cinematic camera paths
  3. Record: 0-60, 1/8 mile, 1/4 mile times, braking G, top speeds
  4. Skidpad test: Teleport to skidpad, AI drives 10 laps recording lateral acceleration
  5. Cleanup: Remove vehicle, re-enable traffic, teleport player back

Measured Timers

time_60, time_330, time_1_8, time_1000, time_1_4, velAt_1_4, velAt_1_8, time_0_60, brakingG


Usage Examples

-- Start certification for inventory vehicle
career_modules_vehiclePerformance.startDragTest(inventoryId)

-- Check if test is running
if career_modules_vehiclePerformance.isTestInProgress() then
  career_modules_vehiclePerformance.cancelTest(3) -- cancel after 3s delay
end

-- Get class after certification
local class = career_modules_vehiclePerformance.getVehicleClass(inventoryId)
-- class = { name = "B", ... }

Notes

  • Performance history is capped at 10 entries per vehicle
  • Engine damage (catastrophic over-torque or lockup) auto-cancels the test
  • Blocked actions during test: radial menu, big map, walking mode, reset physics, etc.

Vehicle Deletion Service

M.dependencies = {'career_career'}

Vehicle Shopping

M.dependencies = {'career_career', 'util_configListGenerator'}

On this page

Public APIHooks (Events)Test SequenceMeasured TimersUsage ExamplesNotes