Supercharger
Engine-driven forced induction compressor that provides boost pressure proportional to engine RPM. Delivers linear, predictable power gains without turbo lag.
Engine-driven forced induction compressor that provides boost pressure proportional to engine RPM. Delivers linear, predictable power gains without turbo lag. Typically a sub-module of the Combustion Engine, driven via belt or gear.
Public API
| Variable | Type | Description |
|---|---|---|
isExisting | boolean | Whether a supercharger is installed on this engine. |
Hooks
| Hook | Description |
|---|---|
init | Initializes the supercharger from JBeam data and links to the parent engine. |
updateGFX | Updates boost pressure calculations and UI feedback each frame. |
updateFixedStep | Physics-rate update for pressure and torque calculations. |
Usage Example
-- Access via the engine device
local engine = powertrain.getDevice("mainEngine")
if engine.supercharger and engine.supercharger.isExisting then
log("I", "sc", "Supercharger installed")
endSee Also
- Turbocharger — Exhaust-driven alternative
- Nitrous Oxide Injection — Chemical boost
- Combustion Engine — Parent engine device
- Compressor — Generic compressor device
Split Shaft
Powertrain device that splits rotational power into two output paths. Used for driving two systems from a single input, such as front and rear axles from a transfer case.
Torque Converter
Fluid coupling device that transmits and multiplies torque between the engine and automatic transmission. Allows the engine to idle while the vehicle is stationary.