Impact Dynamics / Features
Engine guard
Some cars - especially add-on vehicles with a high fEngineDamageMult in their handling - lose their whole engine in one crash with GTA's own damage. The engine guard stops a crash from killing the engine outright:
- One impact takes at most a set amount of engine health, by tier (60 light / 180 moderate / 380 heavy / 650 severe).
- The engine is never left below 150 by a crash (it smokes under 300, as GTA does).
- With
KeepFloor(default), after each crash the engine is held for the rest of the drive at its health before that hit minus the tier's amount (never under 150). Scrapes, follow-up bumps and a car lying on its roof cannot take it lower - only the next detected crash can. - Only the car a player is driving is guarded. A car that is already below 150 when you get in is held where it is.
What still kills an engine:
- Gunfire, explosions and fire (damage GTA reports as bullets, explosives or fire).
- A rollover that wrecks the car.
- Your fuel script ruining the engine (e.g. wrong fuel), if it sets a state bag - see
Config.Fuel.EngineKilledStateBagin Fuel.
Repairs are never touched.
Configure it in Impact detection.
Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.