EnemyKillBonus

版本 v4.0.0·更新於 2026-05-11

【Host Only MOD】Adds savings rewards based on enemy difficulty and kill combos.倒した敵の強さと連続キルに応じて貯金へ報酬を追加します

模組介紹 作者原文

COMPATIBLE WITH COSMETICS UPDATE V0.4.0.

EnemyKillBonus

This mod is a host-only mod that adds savings rewards when enemies are defeated, with extra rewards for kill combos.

Overview

EnemyKillBonus rewards the run savings when the host or singleplayer session detects an enemy death.

The base reward is decided by the defeated enemy difficulty.

Difficulty1, Difficulty2, and Difficulty3 enemies each have separate minimum and maximum reward settings.

When multiple enemies are killed within the configured combo window, the combo count continues.

From the second kill onward, an additional combo bonus can be added to the reward.

For mod-installed clients, the combo display appears at the bottom center of the screen.

The text shows the combo count and reward amount, and the progress bar shows the remaining combo window time.

For players without the mod, the custom combo HUD cannot be displayed because this is a host-only mod.

However, vanilla TruckScreenText reward messages can still be sent to all players.

Installation

  • Install BepInEx 5 for R.E.P.O.
  • Place the compiled EnemyKillBonus DLL into the BepInEx/plugins folder.
  • Start the game once to generate the config file.
  • Edit the config file if needed.

Host Only Behavior

Only the host or singleplayer session applies the reward to run savings.

Participants do not need to install the mod for the savings reward itself to work.

The local combo HUD is only visible on clients that have the mod installed.

The vanilla TruckScreenText notification is used as the fallback message for all players.

Reward Rules

The reward is calculated as:

TotalRewardK = BaseRewardK + ComboBonusK

BaseRewardK is randomly selected from the configured range for the defeated enemy difficulty.

ComboBonusK is applied from the second kill onward when combo bonus is enabled.

If UseComboCountMinusOneBonus is enabled, the combo bonus is:

ComboBonusK = ComboCount - 1

If UseComboCountMinusOneBonus is disabled, the combo bonus is:

ComboBonusK = FixedComboBonusK

Config Settings

General

| Setting | Description | Default | Minimum | Maximum |

|---|---|---:|---:|---:|

| EnableMod | Enables this mod. | true | false | true |

| ApplyInArena | Applies rewards in arena levels. | false | false | true |

| ShowDebugLog | Enables debug logs. | false | false | true |

Reward

| Setting | Description | Default | Minimum | Maximum |

|---|---|---:|---:|---:|

| Tier1MinK | Minimum reward for Difficulty1 enemies in k$. | 0 | 0 | 9999 |

| Tier1MaxK | Maximum reward for Difficulty1 enemies in k$. | 2 | 0 | 9999 |

| Tier2MinK | Minimum reward for Difficulty2 enemies in k$. | 2 | 0 | 9999 |

| Tier2MaxK | Maximum reward for Difficulty2 enemies in k$. | 5 | 0 | 9999 |

| Tier3MinK | Minimum reward for Difficulty3 enemies in k$. | 5 | 0 | 9999 |

| Tier3MaxK | Maximum reward for Difficulty3 enemies in k$. | 10 | 0 | 9999 |

If a maximum value is lower than the matching minimum value, it is corrected to the minimum value.

Combo

| Setting | Description | Default | Minimum | Maximum |

|---|---|---:|---:|---:|

| EnableComboBonus | Adds combo bonus from the second kill. | true | false | true |

| ComboWindowSeconds | Seconds allowed from the previous kill to continue the combo. | 10 | 0.1 | 300 |

| UseComboCountMinusOneBonus | Uses combo count minus one as the bonus k$. | true | false | true |

| FixedComboBonusK | Fixed combo bonus in k$ when UseComboCountMinusOneBonus is false. | 1 | 0 | 9999 |

Display

| Setting | Description | Default | Minimum | Maximum |

|---|---|---:|---:|---:|

| ShowComboHud | Shows local bottom-center combo text and progress bar on mod-installed clients. | true | false | true |

| SendTruckScreenMessage | Sends vanilla TruckScreenText reward messages to all players. | true | false | true |

Notes

  • The reward is added to run savings, not dropped as physical money.
  • Duplicate rewards for the same enemy death are prevented.
  • Runtime state is reset after level generation.
  • Menu, lobby, and non-run timing are i

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
EnemyKillBonus-4.0.0.zip
檔案大小
72.9 KiB