TF2Minigun UpdatedFix
Updated TF2 Minigun mod fix for R.E.P.O. v0.3.2+. Fixes shooting and battery bars after game update.
About this mod Author’s original text
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 from void to bool, causing a MissingMethodException
- 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.dll against 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 Mod Manager (recommended). This mod replaces the DLL in CZ71-TF2Minigun_Mod.
Manual installation
- Copy TF2Minigun.dll to your BepInEx/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
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPackCZ71-TF2Minigun_ModOmniscye-TF2Minigun_Fix