---------------------------------
Download: https://drive.google.com/file/d/1meMiYr ... sp=sharing
Prevents exits from being triggered until the user configurable conditions have
been met. I made this, as I was doing a Doom 1 playthrough, of which I'm not
as familiar with the levels, especially the later ones, and I accidentally
triggered a secret exit, as it wasn't obviously marked as such, and I wasn't
done everything I wanted to do in the map. The mod will prevent the player
from exiting a level via either normal or secret exits (togglable and
configurable seperately!) unless they have been "unlocked". Unlocking can be
achieved via a combination of killing all monsters, finding all secrets, and
collecting all items. Additionally, you can lock/unlock either exit type at
any time using the hotkeys!
My usual settings are to have both exit types protected, then have normal exits
auto-unlocked by killing all monsters and finding all secrets. Secret exits
I don't have any auto-unlock features enabled, and will manually unlock them
if I want to use them.
Changelog
---------
Version 1.0:
-Initial release
Usage and Configuration
-----------------------
Add the mod to your load order and configure the settings as you'd like! While
the mod itself is enabled by default, neither exit types are protected by
default. Configurable options are as follows:
Enable: Globally toggle the entire system.
Normal and Secret eExits have the following options:
Enable: Toggle protection of the selected exit type.
Auto-Unlock - Secrets: Toggle "Find All Secrets" condition to auto-unlock the
selected exit type.
Auto-Unlock - Monsters: Toggle "Kill All Monsters" condition to auto-unlock the
selected exit type.
Auto-Unlock - Items: Toggle "Collect All Items" condition to auto-unlock the
selected exit type.
Note: *ALL* enabled conditions per exit type need to be met to trigger
auto-unlocking!
Display options should be pretty self-explainitory.
Hotkeys
-------
Toggle Normal Exits: Lock/unlock "Normal" exit protection. No default bind.
Toggle Secret Exits: Lock/unlock "Secret" exit protection. No default bind.
Todo
----
-Feature complete at the moment
Compatibility
-------------
-Haven't tested this with multiplayer, and I don't know if it will work
-Should be universally compatible
-Only prevents exits triggered by the player via line specials, so any kind of
code/scripting that directly changes the map, or special triggers defined in
MAPINFO blocks will still trigger
License
-------
You are free to use the code for whatever you like, for any reason.
Credit is appreciated, but not needed.
Screenshots
Spoiler: