TF2Minigun UpdatedFix

版本 v1.0.4·更新於 2026-05-11

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 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

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackCZ71-TF2Minigun_ModOmniscye-TF2Minigun_Fix

檔案與校驗

檔案名稱
TF2Minigun_UpdatedFix-1.0.4.zip
檔案大小
103.6 KiB