Fairer Fire Exits
Adjust fire exit spawns to make them more likely to spawn deep in the dungeon
About this mod Author’s original text
Fairer Fire Exits
This mod is a sub-section of code from another mod that I felt deserved it's own mod
Don't you hate when you just got in main, look to the side and see your fellow team mates who just got in fire? You can fix that now!
This mod solves that by making sure fire exits will spawn in the tile furthest from every other exit, this also ensures that if there are available tiles, it will always spawn, so no more blocked exits!
Note
This mod changes Dungeon Generation and thus is required by everyone in the lobby to avoid desync.
Credits
Thanks to AdiBTW for helping me find and understand the Fire Exit spawning code.
Thanks to mattymatty for the empty prefab code used prior to the implementation of Network code.
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: