EnemiesStayDead

版本 v1.0.0·更新於 2026-07-24

Killed enemies stay killed. No respawn timer, no second wave of the same monster.

模組介紹 作者原文

EnemiesStayDead

Kill an enemy in R.E.P.O. and it stays dead for the rest of the level.

Built and compiled against game build v0.4.4 (Cosmetics Update line).

Why this exists

In vanilla, "death" isn't destruction. The enemy despawns and EnemyParent

starts a DespawnedTimer; when it expires the same monster calls Spawn()

again and walks back into the level. Killing something buys you a breather,

not a removal.

This mod records the death and refuses the respawn.

Note this is different to UnkillableEnemyFixer, which force-despawns enemies

that bug out and refuse to die. That fixes a monster not dying; this stops a

properly dead one from coming back. They solve different problems and can be

run together — set ForceDespawnOnDeath = false here if you use both.

Host only

Enemy spawning is authoritative on the master client. If the host never calls

Spawn(), the spawn RPC never goes out and clients stay in sync without

needing the mod installed. Patching the RPC receiver on clients would risk

desync, so it deliberately doesn't.

Only the host needs this.

Config

BepInEx/config/benjamin.enemiesstaydead.cfg

| Key | Default | Notes |

|---|---|---|

| Enabled | true | Master switch |

| Lives | 1 | Deaths before an enemy stops returning. Bump it to give monsters extra lives |

| BlockAllRespawns | false | Also blocks the routine despawn/respawn that happens when players wander far away. Makes levels much emptier |

| ForceDespawnOnDeath | false | Also calls Despawn() on death, for enemies that bug out and stay alive |

| Verbose | false | Logs every death and blocked respawn |

Balance warning

Enemy count scales with level and moon phase, so on early levels this makes

runs noticeably easier — clear a floor and it stays clear. It bites harder

later, where the spawn pool is deep enough that you'll still be outnumbered

but now every kill actually counts. Lives = 2 or 3 is a reasonable middle

ground if 1 feels too generous.

Records are wiped on level change; every level generates fresh enemy objects

so nothing carries between floors.

Building

Requires.NET SDK 8.0+. Add the NuGet feeds in nuget.config, then:

dotnet build -c Release

Output lands in bin/Release/netstandard2.1/EnemiesStayDead.dll. Drop it in

BepInEx/plugins.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
EnemiesStayDead-1.0.0.zip
檔案大小
30.0 KiB