SpawnCycleFixes

版本 v1.2.3·更新於 2026-09-13

Fixes various bugs with the spawn cycle, making enemy spawns more consistent and fair.

模組介紹 作者原文

Spawn Cycle Fixes

Fixes various bugs with the spawn cycle, making enemy spawns more consistent and fair.

Now supports Vent Spawn Fix's "indoor enemies can spawn in groups of 2+" feature.

This has no relation to Lost Enemy Fix or NestFix and should work with both.

List of Changes

All changes can be toggled on/off, though most are enabled by default.

Fixed double spawns occurring at the start of new days

  • In vanilla, the day starts at about 7:39 AM, and the monster spawning cycle begins immediately by assigning enemies to vents.
  • However, the second spawn wave, the first which actually includes outside/daytime enemies, does not occur until after all the vents are empty.
  • When the first spawn wave assigns nothing to the vents, the second spawn wave occurs immediately on the next frame (at 7:40 AM)
  • Otherwise (such as during infestations, or just plain bad RNG), outside/daytime enemies get delayed until all enemies spawn from the vents - this can occur as late as 8:00 AM, and causes a noticeable delay in eclipse surface spawns.
  • This mod standardizes the first spawn wave to follow the format of other spawn waves; all 3 classes of monster spawn, and the next wave occurs after 2 in-game hours.

Fixed time-of-day inconsistencies for spawn waves

  • Spawn waves ("batches" internally) are intended to occur once every 2 hours
  • The first occurs at 7:39 AM. Then there's another at 9:00 AM, 11:00 AM, 1:00 PM, etc. until 11:00 PM, when spawns are "complete".
  • However, spawn waves are unable to occur when there are still enemies inside of vents waiting to pop out.
  • Zeekerss wrote some code to limit vent timers to occur before the next spawn wave.
  • For example, a spawn wave at 9:00 AM should only assign indoor spawn times between 9:10 AM and 10:59 AM, ensuring the vents will be empty by 11:00 AM.
  • However, due to a logic error, the spawn timers are off by one hour.
  • In the example given above, a 9:00 AM wave actually assigns vent times between 10:10 AM and 11:59 AM.
  • When monsters are still in the vents past 11:00 AM, the 11:00 AM spawn wave gets postponed until the last monster exits the vents.
  • The next spawn wave will still be attemped at 1:00 PM, but since the 11:00 AM wave can set timers as late as 1:59 PM, that wave can get delayed too.
  • The odds of waves getting delayed is actually worse than a coin flip - effectively, there are 50 results that would be "on time" and 59 that are "late"
  • This mod just corrects this off-by-one error, meaning spawn waves always occur exactly on-the-dot each day.
  • This bug also caused spawn curves to be sampled from the wrong time of day; for example, a 9 AM spawn wave would use the spawn counts from 10 AM.
  • This interaction is also fixed by this mod.

Old Birds no longer spawn once all dormant ones have awoken

  • There is an unused flag in the game that seems intended to prevent Old Birds from spawning in future waves once all the ones present on the map have woken up.
  • However that flag isn't actually used, allowing Old Birds to continue spawning at random for the entire day.
  • When such an Old Bird spawns, it will immediately be despawned (as no nest exists for it to occupy) but this still means 1 less actual enemy will spawn during that wave.
  • This is actually desirable for "natural spawns" (before power level from killed enemies is taken into account), to ensure these all spawn in the same order and time-of-day based on the seed.
  • However, once these deterministic spawns are complete, Old Birds will still continue wasting slots for "bonus enemies" that spawn with the refunded power level, which makes later waves inconsistent.
  • This mod now blocks Old Birds from being selected in place of other enemies, only after all of the seed-determined enemies are spawned, which should provide "the best of both worlds"

Old Birds spawned from apparatus now impact maximum spawns

  • Currently, when the apparatus is unplugged, all Old Birds on the map immediately wake up.
  • However,

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
SpawnCycleFixes-1.2.3.zip
檔案大小
69.4 KiB