JATO (Jet Assisted Take-Off)
Controls rocket-powered JATO boosters that apply massive thrust to the vehicle. Manages fuel consumption, thruster node forces, and particle/sound effects. Includes a hidden cheat sequence for infinite fuel mode.
Controls rocket-powered JATO boosters that apply massive thrust to the vehicle. Manages fuel consumption, thruster node forces, and particle/sound effects. Includes a hidden cheat sequence for infinite fuel mode.
State Fields
| Field | Type | Description |
|---|---|---|
fuelCoef | number | Multiplier for fuel consumption rate (can be toggled via cheat sequence). |
Public API
| Function | Description |
|---|---|
inputStringCallback(string) | Callback for the input analyzer, toggling infinite fuel. |
updateSimpleControlButtons() | Refreshes the radial menu button with current JATO fuel levels. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Sets up rocket fuel levels, thruster node pairs, and registers the "When in doubt, JATO" cheat sequence. |
updateGFX(dt) | Main logic loop. Applies thrust based on user input, consumes fuel, and manages particle/sound effects. |
module.reset() | Resets the controller to its initial state. |
Usage Example
-- JATO is typically activated via input action (bound to a key)
-- The controller manages fuel and thrust automatically
-- Check remaining fuel via the radial menu buttonSee Also
- Nitrous Oxide Injection — Another thrust augmentation system
- Pyrotechnic Charge — Explosive force application
Input/Output Demo Controller
A demonstration controller that showcases how to read vehicle inputs and write to electrics outputs. Useful as a learning reference for controller development — shows the input/output pipeline without complex logic.
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.