Line Lock
Controls brake line locking valves that hold front brakes while releasing rears (or vice versa). Primarily used for drag racing burnouts — lock the front brakes to hold the car stationary while spinning the rear tires to heat them up.
Controls brake line locking valves that hold front brakes while releasing rears (or vice versa). Primarily used for drag racing burnouts — lock the front brakes to hold the car stationary while spinning the rear tires to heat them up.
Public API
| Function | Description |
|---|---|
setLineLock(value) | Directly enables or disables the line lock and captures the current brake pressure for the locked lines. |
toggleLineLock() | Toggles the active state of the line lock. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Identifies which brake lines to intercept and registers the 'Line Lock' toggle in the radial menu. |
updateGFX(dt) | Updates the vehicle's electrics with the current line lock status. |
updateWheelsIntermediate(dt) | Overrides the braking torque for selected wheels when the line lock is active, holding them at the pressure they had when the system was engaged. |
Usage Example
-- Engage line lock (hold front brakes, free rears)
controller.getController("lineLock").engage()
-- Release
controller.getController("lineLock").disengage()See Also
- Two Step Launch — Launch control RPM limiter
- Transbrake — Transmission-based launch brake
- Drag Timer — Drag racing timing
Lightbar Controller
Manages animated emergency lighting patterns for police, fire, and ambulance vehicles. Controls pattern sequencing, flash timing, and synchronizes multiple light groups. Supports configurable pattern tables defined in JBeam.
Logger Template
A template controller for data logging and telemetry recording. Demonstrates how to capture vehicle state data at regular intervals and output it for analysis. Copy this as a starting point for custom data loggers.