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 thresholdsHooks
| Hook | Description |
|---|---|
onInit | Resets 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!")
endSee 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.