[minimod][1.0] SoM's Exit Protection (April 2, 2024)

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
Post Reply
User avatar
stainedofmind
Posts: 227
Joined: Sun Sep 01, 2019 10:59 am

[minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by stainedofmind »

SoM's Exit Protection Version 1.0
---------------------------------
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:
Last edited by stainedofmind on Thu Mar 06, 2025 10:35 am, edited 1 time in total.
Exibius
Posts: 61
Joined: Wed Jul 08, 2020 10:22 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: United States

Re: [minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by Exibius »

Love seeing all these little QoL minimods popping up over the past couple days. Might specifically use this one to help satisfy the "completionist" in me. Nice work, by the way.
User avatar
stainedofmind
Posts: 227
Joined: Sun Sep 01, 2019 10:59 am

Re: [minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by stainedofmind »

Exibius wrote: Tue Apr 02, 2024 10:25 pm Love seeing all these little QoL minimods popping up over the past couple days. Might specifically use this one to help satisfy the "completionist" in me. Nice work, by the way.
Thank you! I have a whole pile of mods I wrote for myself, and I figured there's no sense in keeping them horded on my hard drive, especially since a lot of them I made because I wasn't able to find already existing one! There's more to come. I've been starting with the easier ones, as I'm trying to go through them all, clean them up and standardize them, as well as add in final touches I've been too lazy to add for myself. It's a little slow going though, as life has a habit of getting in the way!
User avatar
mamaluigisbagel
Posts: 526
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by mamaluigisbagel »

I always try to go for 100% Kills and Secrets, and also always find myself by instinct exiting as soon as I find it before I achieve that 100%, so this is very appreciated lol

Could also be unique in giving the secret levels a requirement in order to access them, which is interesting....now, the secret level being worth it is likely not the case, but I suppose it depends on the WAD :P
User avatar
AliciaPendragon
Posts: 208
Joined: Wed Jun 07, 2023 8:46 am
Preferred Pronouns: She/Her
Operating System Version (Optional): Windows 10
Location: Gensokyo
Contact:

Re: [minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by AliciaPendragon »

Holy fuck you are on a roll with the minimods.

Do you think you'll make a thread or something for easy and quick access to all of the minimods you made?
User avatar
stainedofmind
Posts: 227
Joined: Sun Sep 01, 2019 10:59 am

Re: [minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by stainedofmind »

AliciaPendragon wrote: Thu Apr 04, 2024 7:32 pm Holy fuck you are on a roll with the minimods.

Do you think you'll make a thread or something for easy and quick access to all of the minimods you made?
I have more coming. I just need to find the time to polish them up! Plus I'm going to start getting into the more complicated ones soon and those will take longer to go through. I've thought about making a master thread, but I wasn't sure if that was frowned upon or not.
Ba1r0g--
Posts: 2
Joined: Mon Mar 24, 2025 5:47 pm

Re: [minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by Ba1r0g-- »

U are the best of best sir. Master thread when ''sarcastic laugh'' ?
Thank you so much for ur contribution over the years. I have like 90% of ur mods, at least ur mods that can be found online. Just when i thought to give up searching for this particular Mod, i see it has been sitting here for over one year. Please master, consider Master Thread. Cheeers
User avatar
stainedofmind
Posts: 227
Joined: Sun Sep 01, 2019 10:59 am

Re: [minimod][1.0] SoM's Exit Protection (April 2, 2024)

Post by stainedofmind »

Ba1r0g-- wrote: Wed Sep 24, 2025 4:43 am U are the best of best sir. Master thread when ''sarcastic laugh'' ?
Thank you so much for ur contribution over the years. I have like 90% of ur mods, at least ur mods that can be found online. Just when i thought to give up searching for this particular Mod, i see it has been sitting here for over one year. Please master, consider Master Thread. Cheeers
You're welcome! I've recently been giving serious consideration to creating a "master thread", as you call it, if only for my own sanity trying to find a specific thread if I need to update it!
Post Reply

Return to “Gameplay Mods”