Useable Dynamite
Hold, pocket, and light dynamite like a real item. Mesa hazard sticks still auto-light. Full fuse, blast, and VFX configs that can help improve performance!
模組介紹 作者原文
🧨 Useable Dynamite
Version 2.0.0 — dynamite is a real item now. Hold it, pocket it, throw it unlit, and light it when you want.
Vanilla sticks light themselves the second they are near a player. This mod stops that for loot and held sticks. Primary finish-cast lights the fuse. Naturally spawned mesa hazard sticks still auto-light when someone walks too close.
Use ModConfig if you want to tweak fuse / blast / VFX live!
Find the mod in the Peak Modding Discord under #mod-releases for issues, reports, or thanks.
💡 How it works
- ✋ Held / inventory dynamite stays unlit until you finish a primary cast (default hold 0.4s, or instant if you set that to 0)
- 🎒 Pockets and backpacks work like a normal item. Pocketing a lit stick snuffs it (configurable)
- 🌵 Mesa hazard sticks still auto-light in their wick radius. Config radius is in meters
- 💣 A lit stick in your hand will still cook you and explode if you hang onto it
- 🧹 Default orb reduction and optional smoke fade help FPS; huge range / visual scale does the opposite
The old fuse-suppress loop is gone. No more fighting the wick every frame.
👥 Who needs the mod
The host must have it or everyone plays vanilla dynamite (self-lights when held).
- Host sends a handshake + gameplay config (Photon 167)
- Clients with the mod use the host's fuse / blast / pocket / throw rules
- VFX and audio stay local (orbs, smoke fade, sparks, mute, volume, visual scale)
- If the host does not have the mod, clients keep vanilla item rules but can still use their own performance VFX
- Guests without the mod cannot pocket or primary-light even if the host has it — they should install it too
🎮 Using it
- Pick up dynamite (loot, luggage mods, whatever)
- Carry it around. It will not light just because you are holding it
- Hold primary to light the fuse, then throw it or run
- Pocket it to snuff a lit stick (default). Config chooses whether the wick resets to full or keeps what was left
Walk up to a mesa stick in the world and it still lights itself. That is the hazard, not your loot.
⚙️ Configuration
Created on first run:
BepInEx/config/tony4twentys.Useable_Dynamite.cfg
Gameplay values are host-synced. VFX / audio stay client-side.
General
| Setting | Default | Description |
|---------|---------|-------------|
| Enabled | true | Held / inventory sticks only light on primary finish-cast |
| LightCastTime | 0.4 | Primary hold seconds before the fuse lights. 0 = same press |
| AllowPocket | true | Unlit dynamite can go in pockets and backpacks |
| AllowPocketWhileLit | true | If false, a lit stick cannot be pocketed (swap drops it) |
Fuse
| Setting | Default | Description |
|---------|---------|-------------|
| FuseTime | 0 | Fuse length in seconds when a stick lights. 0 = vanilla prefab length |
| HazardAutoLight | true | Mesa world sticks auto-light when a player enters wick range |
| HazardLightRadius | 0 | Override auto-light radius in meters. 0 = vanilla. Larger lights more sticks at once |
| LightOnThrow | false | Light a player stick when thrown |
| LightOnThrowMinCharge | 0.1 | Min throw charge (0–1) for LightOnThrow. Vanilla throw threshold is 0.1 |
Explosion
| Setting | Default | Description |
|---------|---------|-------------|
| InHandInjury | 0.25 | Injury if it blows in your hand. Vanilla is 0.25 |
| DamageMultiplier | 1 | Blast status damage |
| RangeMultiplier | 1 | Blast damage radius and visual spread. Higher = more targets and a heavier boom. Lower helps FPS |
| KnockbackMultiplier | 1 | Blast knockback |
| VerticalKnockbackMultiplier | 1 | Upward knockback only |
| FallTimeMultiplier | 1 | How long victims stay ragdolled |
| VisualScale | 1 | Explosion VFX size only (no damage). Higher is heavier on GPU. Lower helps FPS |
| CooksItems | true | Blast can cook nearby items |
| LaunchItems | true | Blast can yeet nearby ground items. More flying items costs a bit more CPU |
| ItemKnockbackMultiplier | 1 | How hard launched items fly |
| RequireLineOfSight | false | Terrain b
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: