Impact Dynamics / Configuration

Fuel

Config.Fuel - see Leaking fuel tank. Works with any fuel script.

Setting Default Description
Enabled true
System 'auto' 'auto' = whichever supported fuel script is running; a resource name to force one; 'game' = GTA's own fuel level.
EngineKilledStateBag false Optional: a vehicle state bag your fuel script sets to true when it ruined the engine (e.g. wrong fuel). The engine guard then lets the engine die.
LeakBelow 700.0 Tank health under which it leaks.
LeakPerSecond 0.35 Fuel % lost per second with the tank at 0 ...
MinLeak 0.02 ... and just under LeakBelow (a drip). In between it scales.
CrashDamage heavy 90-220, severe 220-480 Tank health a crash takes (random in the range) ...
Side rear 1.0, under 0.8, left 0.4, right 0.4, front 0.1, top 0.0 ... x this for the side that was hit.
MinTankHealth 350.0 Crashes never take it lower (GTA's own tank fire is left to gunfire).
Notify true The "Fuel leak" note to the driver.

System

Value What happens
'auto' Uses the first running of: lc_fuel, ox_fuel, LegacyFuel, cdn-fuel, ps-fuel, lj-fuel, okokGasStation, qs-fuelstations. None running = GTA's own level.
'my-fuel' Forces that resource. A script the bridge does not know is used through its GetFuel / SetFuel exports.
'game' Always GTA's own fuel level.

To add a fuel script to 'auto' or one with different exports, see Fuel scripts.

Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.