You are viewing a potentially older version of this package.
View all versions.
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!
| Date uploaded | 4 months ago |
| Version | 1.0.0 |
| Download link | Omniscye-ExplodingCart-1.0.0.zip |
| Downloads | 1197 |
| Dependency string | Omniscye-ExplodingCart-1.0.0 |
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.2100README
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.ObjectsInCartmethod - 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
boomcartAssetBundle - 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