inbox-TF2Minigun_UpdatedFix icon

TF2Minigun UpdatedFix

Updated TF2 Minigun mod fix for R.E.P.O. v0.3.2+. Fixes shooting and battery bars after game update.

By inbox
Last updated 14 hours ago
Total downloads 425
Total rating 0 
Categories Mods Weapons
Dependency string inbox-TF2Minigun_UpdatedFix-1.0.4
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
CZ71-TF2Minigun_Mod-1.0.3 icon
CZ71-TF2Minigun_Mod

This mod adds a Heavy's minigun from Team Fortress 2.

Preferred version: 1.0.3
Omniscye-TF2Minigun_Fix-1.0.0 icon
Omniscye-TF2Minigun_Fix

Compatibility fix that updates TF2 Minigun for current REPOLib and REPO, including ammo and battery behavior fixes.

Preferred version: 1.0.0

README

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 via Thunderstore Mod Manager (recommended). This mod replaces the DLL in CZ71-TF2Minigun_Mod.

Manual installation

  1. Copy TF2Minigun.dll to your BepInEx/plugins/CZ71-TF2Minigun_Mod/ folder, replacing the old one.

Requirements

Credits

  • CZ71 - Original TF2 Minigun mod
  • Omniscye - Original TF2Minigun_Fix (battery compat patch)
  • Recompiled and fixed for v0.3.2 compatibility