
Lock doors so that bots can't come in!
Does what it says on the tin!**
Use this with Leave It There to set up your own little space in raid where you can store your things in peace without bots breathing down your neck!
Features:
- Doors will have a prompt to lock or unlock them.
- Locked doors cannot be opened by bots, and also have nav-mesh obstacles attached to them so bots will know the area is inaccessible and won’t try to enter in the first place.
- Doors that are locked will persist between raids.
- Doors must be closed and unlocked in order to be locked by you. If you unlock a door with a key such as marked room, then lock it again, it will work but will not persist in the next raid and will not count towards your locked limits in the next raid unless re-locked.
- run unlock_all_player_locked_doors command in ‘~’ console to unlock all player locked doors on the map you are currently on.
- Door Randomizer compatible.
- Any door that is randomly opened will lose it’s locked state and not count towards your locked limits unless re-locked.
- Fika compatible.
Balance:
- Number of doors you are allowed to lock per map limited.
- Both the number of doors per map, as well as the entire limit system itself can be tweaked in the F12 config menu.
699 Downloads
For SPT 3.11.X Only
Couple new features!
- Unlock All Doors At End Of Raid
- Old Lock Falloff
- Makes it so that if you are at your cap for locked doors, and you lock another door, it unlocks the oldest locked door. Lets you keep locking doors without needing to go back and unlock the old ones or run the console command.
Both features are off by default, turn them on in F12 menu.
This update required a bit of refactoring, so lmk if you run into bugs.
2.5K Downloads
For SPT 3.11.X Only
Fixed issue with keycard doors not being unlockable. They now are excluded from doors that you can lock.
If you previously locked one of these doors and need to force it unlocked, press ~ to open the console while in raid and run the unlock_all_player_locked_doors command.
509 Downloads
For SPT 3.11.X Only
3.11 update
1.5K Downloads
For SPT 3.10.X Only
Doors that normally start open will now be closed and locked if locked in a previous raid.
Thank you Drakia for making Door Randomizer! It held the clue I needed to add this feature.
890 Downloads
For SPT 3.10.X Only
- Fixed issue where locking Kiba outer door would cause the door to break (as well as potential other similar cases)
- Fixed issue where locking a door that requires a key would give 2 different “UNLOCK” options
- Added F12 config option to choose whether another use of the key is required to re-unlock BSG locked doors (disabled by default)
231 Downloads
For SPT 3.10.X Only
Fixed bots not being able to walk through doorways if the door is locked and then breached
Details
-
GUID
Not Available
-
License
-
Source Code
-
Latest Version VirusTotal Result
https://www.virustotal.com/gui/file/e08bd708e3552b940ea5ead0ab8b0d53a5457e49132dfc9421eae8d67a25b18d
Thanks for adding the auto unlock all at end of raid! Was the only feature I was wishing for but was just going to make due with the console command lol Glad I tracked this for updates xD Much appreciated
I love this mod, but I wish there was an option to auto unlock all doors after a match ends, I don’t want to leave any of them locked as it messes up the AI, they seem to endlessly run into the door.
Does this mod work with the UI Fixes mod?
Somehow scavs can go through locked doors (tried on Factory with hoard and 2nd to it amount of NPCs)
I love the idea of this. But I wonder if it would be possible to have it require a semi-expensive item to lock? Otherwise it seems a bit too abusable.
I would just like to report that there seems to be an issue with locking doors behind you that require a keycard. I have twice now locked a door on labs after using a keycard to get inside and the door will just no longer have the prompt to unlock/open the door at all. The door becomes completely unusable and tanks the entire raid.
Hey Jehree, you have been pumping absolutely amazing mods lately with Leave it there and now lockable doors. Thanks a million!
I am curious if you ever considered making a transit-only mode for SPT with stash access mid-raid or something like that… That would be awesome and would complement your mods immensely!
This combined with “leave it there” allows you to make small shelters and stashes, pretty cool for transit runs.
Cool idea, is it compatible with “Open Sesame” mod? Or is it basically a replacement with different functions? No sure which to pick at the moment. Thanks.