PEAKMODDERFIREMAPLEJUMPER-RandomDynamite icon

RandomDynamite

Drops 1-10 vanilla dynamite above the players at a random height, scattered wide and raining down over a few seconds. F8 toggles, F9 drops a burst now. Its own dynamite skip the heavy explosion VFX to save framerate. Client-side.

Last updated a day ago
Total downloads 27
Total rating 0 
Categories Mods Gameplay
Dependency string PEAKMODDERFIREMAPLEJUMPER-RandomDynamite-1.7.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

Random Dynamite

A client-side PEAK troll mod. It drops vanilla dynamite above the players.

Key Action
F8 Toggle the auto-spawner on/off (rebindable)
F9 Drop one burst right now, whether or not the spawner is on (rebindable)

Every toggle and manual burst shows an on-screen message ("Random Dynamite: ON / OFF / dropping N dynamite"). You also get a "Random Dynamite ready" message when you join a room.

Only you need the mod installed. The dynamite is a normal vanilla item spawned through Photon, so everyone in the lobby sees it and gets blown up as usual.

How it behaves

  • While enabled, a burst spawns every 25-70 seconds (random).
  • Each burst contains 1-10 dynamite.
  • Each piece spawns above a randomly chosen player, at a random height of 6-16 m, with a horizontal scatter of up to 14 m, so a burst covers a wide area rather than landing in one clump.
  • A burst is not dropped in a single frame - its dynamite rain down over 3 seconds, so it arrives as a rolling shower instead of everything appearing and exploding at once.
  • The dynamite is dropped as a physics object and its fuse is lit, so it falls onto the player and explodes.
  • Dynamite spawned by this mod has its smoke, sparks and explosion visuals turned off on your client only, so a burst of 10 doesn't tank your framerate. It still falls, lights, explodes, and hurts exactly like real dynamite. Dynamite from the game itself is untouched.
  • Each dynamite gets a slightly different fuse, so a burst goes off as a rolling barrage instead of everything detonating on the same frame.
  • Toggling it on drops a burst immediately.
  • Works anywhere you are in a session - the airport/start area and all the way up the mountain - not just one area. It does nothing in the main menu (not in a room yet).
  • Works whether or not you are the lobby host.

Config

The config file is created at BepInEx/config/liam.RandomDynamite.cfg and can also be edited live from the in-game BepInEx configuration manager.

Setting Default Description
General / Toggle Key F8 Toggles the auto-spawner.
General / Manual Burst Key F9 Drops one burst on demand.
General / Enabled On Start false Start already enabled.
Spawn / Interval Min-Max (s) 25 - 70 Time between bursts.
Spawn / Count Min-Max 1 - 10 Dynamite per burst.
Spawn / Height Min-Max 6 - 16 Spawn height above a player.
Spawn / Spread Radius 14 Horizontal scatter in metres.
Spawn / Burst Spread Time (s) 3 How long a burst takes to drop all of its dynamite. 0 drops everything at once.
Spawn / Burst Immediately On Enable true Drop a burst as soon as it turns on.
Spawn / Include Local Player true Also drop dynamite above yourself.
Spawn / Only Above Alive Players true Skip knocked-out players.
Spawn / Light Fuses true Light the fuse as soon as it spawns.
Messages / Show Messages true Show the on/off and burst notices.
Messages / Use Game Notifications true Prefer PEAK's own popup, else a small overlay.
Messages / Message Duration (s) 3 Overlay message lifetime.
Messages / Persistent Indicator false Keep "Random Dynamite: ON" in the corner while enabled.
Effects / Suppress Smoke On Mod Dynamite true No smoke trail on the dynamite this mod spawned.
Effects / Suppress Sparks On Mod Dynamite true No burning spark particles on the dynamite this mod spawned.
Effects / Explosion Detail Minimal Minimal = explosion sound, damage and knockback only, no visual objects. Particles = keeps the fireball and smoke, drops the 13 animated orbs. Full = untouched, same as vanilla.
Effects / Fuse Jitter Min-Max (x) 0.8 - 1.6 Fuse multiplier range used when Randomise Fuse is on.
Effects / Max Live Mod Dynamite 20 Skip a burst if this many of ours are still un-exploded.
Debug / Verbose Logging true Log each spawn, fuse jitter and burst result.

Install (R2ModMan)

  1. In R2ModMan, select the Random dynamite profile.
  2. Install BepInExPack_PEAK if it isn't already installed.
  3. Go to Settings → Import local mod (or the profile's "Install from file") and pick Liam-RandomDynamite-1.7.0.zip.
  4. Launch PEAK, join a lobby and press F8.

If it doesn't seem to work

Press F8 (not another key) while in a lobby. You should see "Random Dynamite: ON". If nothing appears, check BepInEx/LogOutput.log - this version logs the resolved prefab name, room state and burst results, which makes it easy to see what is happening.

Warning

This spawns explosives on top of your friends. Use it on people who are okay with being trolled, and expect to get kicked from lobbies that don't appreciate it.