LCSpawnOnPlayerFix

v1.0.0·Updated 2024-03-19

Ever got an Eyeless Dog or Forest Giant spawn directly on top of you? Yeah... This mod fixes that.

Screenshots 1 screenshots

About this mod Author’s original text

LCSpawnOnPlayerFix

Ever got an Eyeless Dog or Forest Giant spawn directly on top of you? Yeah... This mod fixes that.

NB: It only works on outside monsters, stay clear of vents if you want to avoid inside monsters spawning on you

Details

Click to expand/collapse

The RoundManager.SpawnRandomOutsideEnemy() function take a list of spawn points that are already pre-placed on each moon, and unlike inside the factory where those points are represented by vents, outside those points are invisible and arbitrarily scattered around.

So the player can either use some debug tool and learn all the spawn points to dodge them, but there are easily over 40 of them per moon, or they can accept their fate whenever a monster spawn on top of them and kills a perfectly legit run.

What this mod does is filter out any spawn points too close to players that are still alive and not in the ship (so monsters can still spawn on dead bodies and near the ship).

It also allows more upward safety to account for the Jetpack as a player can't look directly below their feet and probably wouldn't do it when landing anyway, which should also work when dropping from pipes for instance.

Here is some debug example in action (red line means a monster can spawn, green means it's safe):

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
LCSpawnOnPlayerFix-1.0.0.zip
File size
111.7 KiB