
ExplodingCart
Makes carts explode spectacularly when overloaded beyond 10,000 credits. Features intense camera shake, player tumbling, item launching, custom explosion sounds, and physics destruction!
Last updated | 2 months ago |
Total downloads | 759 |
Total rating | 2 |
Categories | Mods Items Client-side Server-side |
Dependency string | Omniscye-ExplodingCart-1.0.0 |
Dependants | 1 other package depends on this package |
This mod requires the following mods to function

BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100
README
ExplodingCart
ExplodingCart is a chaotic mod for R.E.P.O. that makes carts explode spectacularly when overloaded. Turn your routine cargo hauling into high-stakes explosive gameplay where greed can literally blow up in your face.
What It Does
- Carts explode when their haul value exceeds 10,000 credits
- Creates massive camera shake and screen impact effects
- Tumbles nearby players with intense force and damage
- Launches all cart items in random directions with physics
- Plays custom OmniBoom explosion sound from included asset bundle
- Destroys the cart after explosion effects finish
- Triggers enemy investigation at explosion site
- Works in both singleplayer and multiplayer (master client handles logic)
- All clients need it for the best experience
Explosion Effects
- Instant death zone: Chnace to die instantly
- Heavy damage zone: 8 unit radius around cart
- Camera shake: 5x strength for 0.5 seconds
- Player tumble: 20x force multiplier with 4 second duration
- Item launch: 8-15 force with random trajectories
- Cart physics: Explosive force and torque applied to cart itself
- Audio: Multiple layered sound playback methods for maximum impact
How It Works
- Uses HarmonyLib to patch the
PhysGrabCart.ObjectsInCart
method - Monitors cart haul value in real-time via postfix injection
- Tracks exploded carts by instance ID to prevent multiple explosions
- Loads custom explosion sound from
boomcart
AssetBundle - Only master client processes explosion logic in multiplayer
- Automatically resets explosion tracking on level generation
Technical Features
- Explosion threshold: 10,000 credit haul value
- Multi-method audio: Temporary GameObject, PlayClipAtPoint, and camera audio
- Physics interactions: AddForce and AddTorque for realistic explosion dynamics
- Particle effects: Reuses existing cart particle systems
- Memory management: Periodic cleanup of invalid cart references
- Network compatibility: Master client authority prevents desync issues
Compatibility
- All clients need it for the best experience
- Works in singleplayer and multiplayer modes
- Compatible with other physics and audio mods
- Does not modify core game assets or save data
Credits
Created by Omniscye