Transbrake
Controls a transmission-based launch device that locks the output shaft by simultaneously engaging forward and reverse gears. Used in drag racing to hold the vehicle stationary against full engine power, enabling maximum-effort launches when released.
Controls a transmission-based launch device that locks the output shaft by simultaneously engaging forward and reverse gears. Used in drag racing to hold the vehicle stationary against full engine power, enabling maximum-effort launches when released.
Public API
| Function | Description |
|---|---|
setTransbrake(value) | Directly engages or releases the gearbox lock. |
toggleTransbrake() | Toggles the current transbrake state. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Links to the gearbox device and adds a 'Transbrake' entry to the radial menu. |
updateGFX(dt) | Updates the transbrake status in the vehicle's electrics. |
onGameplayEvent(event, eventData) | Handles remote transbrake requests from scenarios or external inputs. |
Usage Example
-- Engage transbrake
controller.getController("transbrake").engage()
-- Release for launch
controller.getController("transbrake").release()See Also
- Two Step Launch — Launch control RPM limiter
- Line Lock — Brake line locking
- Drag Timer — Drag racing timing
Post-Crash Brake
Automatically applies brakes after a collision is detected to prevent the vehicle from rolling into traffic. Monitors accelerometer data for crash signatures and engages brakes to bring the vehicle to a safe stop.
Fifth Wheel Coupling
Controls the fifth wheel coupling mechanism on tractor units. Manages the locking jaw that secures the trailer kingpin, detecting connection state and providing lock/unlock functionality.