DisplayGunStats
A BepInEx mod for Mycopunk that shows live gun stats both while editing weapons in the Gear Details menu and as an in-game HUD overlay.
Features
Gear Details Stats Window
- Displays weapon stats while viewing gear details, including:
- Damage type and damage
- Fire rate, burst size, and burst interval
- Ammo capacity and reload/charge duration
- Range, recoil, and spread
- Fire mode
- Bullet speed, force, damage, range, gravity, and status effects
- Live updates as you equip or change upgrades on the weapon grid
- Toggle button to show or hide the stats window
- Draggable IMGUI window
In-Game HUD Overlay
- Shows current equipped gun stats on the HUD
- Tracks actual bullet damage from fired shots
- Configurable screen anchor position
- Updates live while playing
Getting Started
Dependencies
- Mycopunk (base game)
- BepInEx - Version 5.4.2403 or compatible
Installing
Via Thunderstore (Recommended):
- Download and install via Thunderstore Mod Manager
- The mod will be automatically installed to the correct directory
Manual Installation:
- Place
DisplayGunStats.dll in your <Mycopunk Directory>/BepInEx/plugins/ folder
Building
dotnet build --configuration Release
Configuration
Access mod settings through the BepInEx configuration file at:
<Mycopunk Directory>/BepInEx/config/sparroh.displaygunstats.cfg
| Option |
Default |
Description |
| Display Gun Stats |
true |
Show the gun stats window when editing weapons in Gear Details |
| EnableGunStatsHUD |
true |
Show the gun stats HUD overlay while playing |
| ShowLastShotDamage |
true |
On the HUD, show last-shot bullet damage next to effective (predicted) damage |
| GunDisplayAnchorX |
0.11 |
X anchor position for the HUD (0-1) |
| GunDisplayAnchorY |
1 |
Y anchor position for the HUD (0-1) |
Config changes are hot-reloaded while the game is running.
Usage
Gear Details
- Open a weapon in the Gear Details menu
- The gun stats preview window appears automatically (if enabled)
- Use the Show Gun Stats / Hide Gun Stats button to toggle visibility
- Drag the window by its title bar to reposition it
HUD
- Equip a gun in-game
- Stats appear on the HUD at the configured anchor (if enabled)
- Adjust position via the HUD Positioning config options
Authors
License
This project is licensed under the MIT License - see the LICENSE file for details