TF2Minigun UpdatedFix
Updated TF2 Minigun mod fix for R.E.P.O. v0.3.2+. Fixes shooting and battery bars after game update.TF2 Minigun Updated Fix
Updated fix for CZ71's TF2 Minigun Mod after R.E.P.O. v0.3.2 update.
What was broken
After the R.E.P.O. game update, the TF2 Minigun mod stopped working:
- Minigun wouldn't shoot -
ItemGun.Shoot()return type changed fromvoidtobool, causing aMissingMethodException - Only 5 battery bars - New battery system (
batteryDrainFullBar) treated the minigun like a normal gun instead of a continuous-fire weapon StartTriggerAnimation()became private - Empty shoot animation broke
What this fix does
- Recompiled
TF2Minigun.dllagainst the new game API - Forces continuous (smooth) battery drain instead of per-bar drain
- Sets battery bars to 20 (like tranquilizer and other continuous-fire weapons)
- Uses reflection for
StartTriggerAnimation()to handle the visibility change
Installation
Install via Thunderstore Mod Manager (recommended). This mod replaces the DLL in CZ71-TF2Minigun_Mod.
Manual installation
- Copy
TF2Minigun.dllto yourBepInEx/plugins/CZ71-TF2Minigun_Mod/folder, replacing the old one.
Requirements
- BepInEx
- CZ71 - TF2Minigun_Mod
- Omniscye - TF2Minigun_Fix (handles battery visual logic)
Credits
- CZ71 - Original TF2 Minigun mod
- Omniscye - Original TF2Minigun_Fix (battery compat patch)
- Recompiled and fixed for v0.3.2 compatibility
