SpawnWeightOverrides

版本 v2.0.0·更新於 2025-02-21

Adjust scrap weights per-mod with a percentage value, and enemy spawn weights globally per-enemy (+optionally force enemy spawns on all moons)

模組介紹 作者原文

SpawnWeightOverrides

Overview

Sometimes a mod spawns stuff too aggressively or not enough, sometimes it's just a pain to go through every config, sometimes tweaking its config doesn't even work, sometimes the mod doesn't have a config...

This mod brute forces past their configs and allows you to easily set custom spawn rates in one config file!

Config options

  • Global enemy spawn weight overrides can be set per-enemy, overriding every moon and moon type's rarity values for that enemy
  • A per-mod scrap spawn percentage adjustment can be applied to all scrap of that mod (no individual scrap weight options), adjusting every moon and moon type's rarity values by that percentage for that mod

Additional features

Optionally set custom properties for an enemy:

  • power level
  • group spawn size
  • max spawn count
  • force an enemy to spawn on all moons

Instructions

You must join or host a lobby after installing the mod for the initial config to generate, and then you can tweak it and restart the game (just spawn into the ship and exit)

Compatibility

This mod affects LethalLib and LethalLevelLoader enemies/scrap only. It doesn't affect vanilla enemies/scrap, LethalExpansion/(core) assets, or any other asset-loading API. If you would like more functionality such as this, leave a suggestion! I may or may not get to it:>

Other Considerations

This mod currently does not affect dungeon interior spawn rates, but I highly suggest LethalQuantities for that, though its interface can be a bit overwhelming. That mod also allows for tweaking individual scrap/enemy weights globally and per-moon, but it cannot apply a single global percentage adjustment to an entire mod's scrap list, and it cannot override a specific enemy's spawn weight without overriding the spawn pool for EVERY enemy in whatever scope you set it in

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
SpawnWeightOverrides-2.0.0.zip
檔案大小
51.3 KiB