Spawn System Overhaul
Adds full customizability to the spawning of enemies via spawn weights and fixed enemy scaling.
About this mod Author’s original text
Spawn System Overhaul
Updated for version 0.3.0 of REPO!
This mod completely changes how the spawn system in R.E.P.O works, allowing for an easy customization
of spawn weights for all enemies.
Generating the Config
First, load a lobby up to allow the spawn system to register all enemies, including modded ones.
The mod will generate a config for you. You might have to close R.E.P.O for it to show up.
Basic Enemy Scaling
We can configure the basic enemy spawn rate scaling here
Follow the simple linear formula for enemy spawns to get the results you want:
Total Enemy Spawns = BaseEnemySpawns + LevelsCompleted * LevelsCompletedMultiplier
Customizing Individual Enemy Spawns
In this case we can try to configure the head enemy's spawning
spawn weight
The chance for the monster to be picked as a spawn target. A higher weight mean this monster will
appear more often than the others.
min level
minimum level for the monster to spawn at all
max level
max level the monster may spawn in
spawn weight curve:
A custom level curve. Each comma separated number represents a multiplier to the enemy spawn weight. So 1.0,5.0,2.0 would mean 1x spawnrate for level one, 5x for level 2, and 2x for level 3 respectively. The multipliers will 'loop around' to the first value if the end is reached.
spawn amount level curve:
A custom level curve. Each comma separated number represents a fixed amount of spawns for the enemy (int). So 1,3,0 would force the enemy to spawn once on level 1, 3 times on level 2, and 0 times on level 3. The multipliers will 'loop around' to the first value if the end is reached.
Note that both level curves don't account for min and max level ranges. The first number will always be for level 1, then level 2, etc.
Currently Planned Features:
- Adding weights for enemies according to the map being played.
- Exponential scaling / easing settings for general enemy scaling.
- Hard cap on spawns for general enemy scaling.
Changelog
1.0.0
- Mod release.
1.0.1
- Changed the mod dependencies so the mod always runs properly
- Updated for Version 0.3.0
- (The mod was missing AutoHookGenPatcher as a requirement)
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: