Performance7 files4.5K+ subscribers
Automatic Car Cover
Converts idle vehicles into camo-net objects to cut server entity and persistence load.
- Enforce Script
- Tick scheduler
- State preservation
In game
What it does
Abandoned vehicles pile up and hurt server performance. This automatically converts idle, unoccupied vehicles into camo-net cover objects — reducing live entity count while faithfully preserving the vehicle's fluids, damage, lock, and inventory.
Engineering
How it's built
- A singleton AutoCarCover_Manager runs a CallLater tick loop tracking vehicles in a map<CarScript,int>, checking engine/crew state and idle time.
- Faithfully mirrors the CarCover mod's storage workflow (StoreFluids / StoreCarDamage / StoreCarLock) plus a LEVELORDER inventory transfer with a ruined-item health workaround.
- Registers with SyntactixCore and suppresses the refunded camo net via a modded ActionRemoveCarCover.