SpawnWeightOverrides

v2.0.0·Updated 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)

About this mod Author’s original text

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

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
SpawnWeightOverrides-2.0.0.zip
File size
51.3 KiB