Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

2018 Calendar Contest Winners - posted on 10th Jan 2018 at 4:38 PM
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Featured upload! Door Locks for TS4 - Version 3c

by scumbumbo Posted 7th Apr 2015 at 9:55 AM - Updated 20th Jan 2016 at 6:31 AM by scumbumbo : Updated for Dec 4, 2015 game patch
1110 Comments / replies (Who?) - 20 Feedback Posts, 3 Thanks Posts
This is a featured upload! It showcases the best talent and creativity available on MTS and in the community.
Updated to Version 3c - This is a required update for the Door Locks mod to work with the December 4, 2015 game patch or later. This fixes the broken sim picker dialog box which began to occur due to changes in the game's internals. No other changes were made to the mod, so there may be other unknown bugs that have yet to surface - but everything I've tested is working well again.

Be sure to remove the old version of the script and package from your mods folder if you upgrade the mod!

Remember you must have Script Mods enabled in your game options, even with the new script file format!

  • Version 3 Update (05/10/15)
    • Door can be set to always allow a list of up to 8 sims to use them.
      • Selecting individual sims can be done with the "Never Lock For..." menu selection
      • Never Lock For will not automatically set or change any other lock settings - to use the most most commonly desired feature, see the Allow Only Chosen Sims option in Quick Locks below
      • The sim picker dialog will be sorted with currently selected sims first, then the current household, followed by all sims. The list is then sorted by last name and first name.
    • A "Quick Locks" menu has been added which can be used to quickly set a specific lock style, options include:
      • Allow Only Current Sim - Turns on Lock For All and adds the current sim on the Always Allowed list
      • Allow Only Chosen Sims - Turns on Lock For All and allows up to 8 sims to be chosen for the Always Allowed list
      • Allow Children Only - Turns on Lock for Young Adults, Adults, and Elders
      • Allow Young Adults and Older - Turns on Lock for Children and Teens
    • A copy/paste feature is also available in the Quick Locks to quickly duplicate a lock style, including any chosen sims
    • Locks can be turned on and back off without clearing any settings
    • The mod will now re-evaluate an age lock automatically whenever a sim ages up
    • The mod will no longer attempt to lock doors for ghosts or Grim
  • A bug has been reported concerning visitor doors and switching control back and forth between sims on different lots locking out the wrong household. The glitch is only temporary and clears up after a reload, full details in this post
  • Princemajik has uploaded a mod review on YouTube which discusses how to properly install the mod.
  • Version 2a contains a bugfix for the age filters which were not working for young adults and older sims. Also several translations have been added (details in credits below).
  • Version 2 Update (04/11/15):
    • This is pretty well tested, but a LOT of changes were made under the hood so there may be new bugs. There shouldn't be any game breaking bugs, but the old version v1b will continue to be available for a while just in case.
    • Gave the menus a complete overhaul due to all the new options.
    • The internal lock states have changed completely, so any doors you have locked on a lot will be reset to unlocked.
    • If you downloaded the bathroom doors add-on, any of those doors will automatically translate to the default gender locks for that door. You do not need to download a new version of the bathroom doors.
    • Locks can now be locked to all sims, or filtered
    • Filters are available for all ages, genders and retail roles (employees and customers)
    • Filters can be combined in any combination, so some pretty creative (and many very useful) door locks can now be made! For instance:
      • Lock out employees and customers (but not regular visitors)
      • Lock out just children, teens and elders (allowing only young adults or adults)
      • Lock out customers or visitors, but not employees (the employee break room)
    • Added a convenient menu option to reset all filters, which will leave the lock "on" but will effectively make it unlocked until you add new filters
    • Unfortunately, the menu changes made all existing translations obsolete, so I'll need new ones.
  • Version 1b Update (04/09/15):
    • Includes the new Spanish translation, the full list of translations is below in the Additional Credits.
    • Removes the lot ownership requirement so that you can set locks on doors at venues or at any visited lot.
    • An add-on is also available which includes recolors of the Featureless Fiberglass Door to provide bathroom doors which are locked by default for the appropriate gender. Custom Content designers can reference the same object tuning instances used by these doors to produce their own doors.
  • To lock a door or gate, just click on it and Enable Lock. To lock an arch, you must target the arch itself, not the blank space in between.
  • New locks will default to locking the door for all sims. To change the lock style, click on a locked door and select a new lock type.
  • Once a lock type is set, disabling and re-enabling the lock will preserve the lock type you set previously.
  • Doors can be set to lock out...
    • All sims (the default)
    • Visitors only
    • Male sims only
    • Female sims only
    • Children only
  • The lock state for each door is saved with the lot, so when reloading the lot the locks will be set the way you left them.
  • Locks generated by sim roles (maids, ungreeted visitors, etc.) are not affected by the mod. Maids are considered visitors, so a lock can effectively prevent them from snooping around where you don't want them.
  • Sims will try their best to route around locked doors. Eventually they will give up and shrug.
  • If a sim has already decided on their route to a location, locking a door on their chosen path will be ignored until the next time they try to find a route somewhere.
  • As with any mod, there may be bugs! I ran the mod through some pretty rigourous testing, the final version was tested for at least two hours of locking doors, changing locks, switching lots, saving/reloading, etc. without exiting or restarting the game, so it seems quite stable. At least as stable as the game itself.
    • If you run into serious problems, you can simply remove the mod and the door locks will be silently eliminated from your game when you reload the game.
  • Menu translations are graciously accepted and you will be given credit below. Just send me a string table with the proper translation(s).

Installation Instructions and Compatibility

Starting with version 3b of the mod, the new ts4script file format is used for the script. Installation using the Mod Manager will no longer work until it or one of the other mod management programs is updated. Manual installation is a breeze, just drop the package and ts4script files found in the zip file you download into your mods folder.

Script mods must be enabled in your game options for this mod to work properly.

The current version of this mod, version 3c, was written and tested on Windows for The Sims 4 version (January 7, 2016) - the mod should work with the December 4 patch as well.

There may be older versions of the mod still available, but these are not supported and may be removed at any time.

This modfies the XML tuning for doors, gates and arches and can conflict with any other mods that modify these resources. Custom content doors, gates and arches should work properly with this mod as long as they don't modify the XML, which unless they're doing something unusual should be the case.

The mod modifies several of the games scripts in ways that may not be compatible with other mods.

Manual Installation

The zip file you downloaded should contain a package file and a zip file ending in _Script. Unzip both files into your Mods folder, but do not unzip the zip file ending in _Script -- that should end up in the Mods folder still zipped.

The package file can be placed into a subfolder, however the script file must be placed directly in the Mods folder.

Princemajik also discusses how to install the mod in his mod review on YouTube.

Additional Credits
  • Kuree and all the others at Sims4Group who have put together the S4PE tool
  • Menaceman44 for providing me with a save game file that helped me track down a major bug
  • Deaderpool for assistance solving some coding errors
  • Thanks to those who have been kind enough to provide translations:
    • Version 3 Translators:
      • French translation submitted by JakeC0001
      • Spanish translation submitted by JakeC0001
      • Some corrections to the Spanish translation submitted by Tracas
      • Brazilian Portuguese submitted by An_dz
      • Chinese translation submitted by egureh
      • German translation submitted by Blackberryzh
      • Some correctionst to the German translation submitted by Michelle.Greenday
      • Italian translation submitted by Zer0_
      • Dutch translation by Jelle Geerts
      • Russian translation by KuriXarya added in version 3b
      • Polish translation by hubi98 added in version 3b
    • Bathroom Door Translators (Updated 05/10/15):
      • French translation submitted by JakeC0001
      • Spanish translation submitted by JakeC0001
      • Chinese translation submitted by egureh
      • Italian translation submitted by Zer0_
      • Polish translation submitted by GlossyGem
      • Dutch translation submitted by WhenToBen

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 4

This is a multi-part download:

Use only ONE of the mod versions available. The Bathroom Doors are an ADD-ON and requires one of the main Door Lock mods installed.
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
DoorLocks_BathroomDoors.zip | Description: Add-On for Pre-Locked Bathroom Doors - Requires at Least Version 1b 1.08 MB 48,489 11th May 2015
DoorLocks_v3b.zip | Description: **OLD VERSION** for game patch (July 9, 2015) or later 104.2 KB 27,432 11th Jul 2015
DoorLocks_v3c.zip | Description: Door Locks mod for game patch (December 4, 2015) or later 104.2 KB 49,460 20th Jan 2016
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
No Extraction Required (Script Mods):
1. Cut and paste the .zip file(s) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\
Script mods need to be placed directly in \Mods or one level below that (e.g. \Mods\Scripts) – sub-folders nested any deeper won’t work.
Extraction Required (Everything Else):
1. Use WinRAR (Windows) to extract the .package file(s) from the .rar or .zip file(s).
2. Cut and paste the .package file(s) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\

Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
  • Mod still not working? Make sure you have script mods enabled
Page 42 of 45
1110 Comments / Replies (Who?) - 546 Feedback Posts, 516 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Test Subject
#1026 Old 25th Apr 2016 at 4:04 PM
Originally Posted by DitteNoname
If you look at the "Manual Installation" section, it says not to unzip the file ending in in _Script, so I assume that's where you went wrong?

i didn't unzip it... they have 2 files... the extension for both files are .package and .ts4script...

but the game don't recognise the file with .ts4script extension... what do i do then..?
#1027 Old 28th Apr 2016 at 6:02 PM
Originally Posted by relian2209
i didn't unzip it... they have 2 files... the extension for both files are .package and .ts4script...

but the game don't recognise the file with .ts4script extension... what do i do then..?

Enable scripts in settings.
Test Subject
#1028 Old 1st May 2016 at 6:08 AM
Originally Posted by relian2209
i didn't unzip it... they have 2 files... the extension for both files are .package and .ts4script...

but the game don't recognise the file with .ts4script extension... what do i do then..?

Hi, are you using older version of TS4?
So yeah i guess older versions can't read .ts4script extension, so just rename that file into .zip extension (don't change the actual name, only remove the .ts4script and change into .zip) --> there will be a pop up saying that the file may become unusable, just click ok, then try opening sims 4 again
Also don't forget to check "Script Mods" in the option --> other
Hope this helps you!
Test Subject
#1029 Old 4th May 2016 at 4:28 PM
Help! I'm having a problem making this mod work. I have installed the latest version and enabled script mods. At first, it was perfectly fine. I have enabled retail locks and locked out customers. But when I opened the store, customers still kept entering the doors as if there were no locks. What do you think did I miss? No one ever buys my products because they're busy roaming around the kitchen and other rooms
Test Subject
#1030 Old 6th May 2016 at 12:04 AM
Thanks a lot
Test Subject
#1031 Old 6th May 2016 at 11:51 AM
New problem i met.. First it was fine, but if i have a locked door inside a lot, save, go out, then load the lot, it won't finish loading. So like, I left my laptop for 20 minutes and it was still loading. If i hit `123 or home-page up-page down-end i still can hear the sound effect, but basically i can't do anything :/
(happened also when after i added a lock in my store then went to design uniform in cas)
Field Researcher
#1032 Old 15th May 2016 at 9:59 PM
I think this mod needs updates.

I tried with latest version and it shows up in the mod list, but when I actually play game, the door option not shows up.

Also mind that some other mods from you (scumbumbo) still works fine.
Test Subject
#1033 Old 7th Jun 2016 at 10:59 PM
Thanks for this great mod! Heads-up though with dine-out it breaks the chef. I don't know why, but I took out all of my mods one by one to see what the culprit was. When this mod is installed the "Chef" doesn't work and is not listed as chef he just hangs around in the kitchen playing on his phone. When this mod is removed he gets his job title back and resumes burning food and cooking, and food is served to your sims appropriately.
Test Subject
#1034 Old 7th Jun 2016 at 11:10 PM
This mod is incompatible with the Dine Out. When we use it, the Chefs do not make customers' food.
Lab Assistant
#1035 Old 8th Jun 2016 at 1:31 AM
"This mod is incompatible with the Dine Out. When we use it, the Chefs do not make customers' food."

I'm French! Je confirme le mod est incompatible ! Les chefs ne travaillent pas ! Please update your mod please
Perfecting the Pedagogy
staff: retired moderator
#1036 Old 8th Jun 2016 at 12:08 PM
I can also confirm that this mod breaks the chef interactions, specifically it breaks the Chef Station. The chef will go to set up his station and then walk away leaving the station stuck in the "in use" state. Deleting the chef station and placing another one temporarily fixes the chef, however once the chef goes back to the station, the problem starts all over again.

"Holy Shift! Check out the asymptotes on that mother function!"
Test Subject
#1037 Old 12th Jun 2016 at 12:24 AM
The chef doesn´t cook with this mod
Test Subject
19th Jun 2016 at 8:14 AM
This message has been deleted by DivaQuinzel.
Test Subject
#1038 Old 19th Jun 2016 at 1:15 PM
Thanks You!
Test Subject
#1039 Old 10th Jul 2016 at 3:41 PM
This mod was causing my Dine Out game to freeze when menus come up and my Chefs won't cook. Can you fix this so I can use the mod in my game again?
Lab Assistant
#1040 Old 15th Jul 2016 at 2:24 AM
I also noticed my sims using doors that had the "Lock Out All Sims" options like there was no lock at all. I'm not sure what update breaks it tho, I have the latest patch (from today) and all packs. I really hope that this mod can be updated because it's really awesome. This is how the sims should have made their door locks!!
Test Subject
#1041 Old 17th Jul 2016 at 3:43 PM
i cant get this mod works but im pretty sure i installed it correctly? can someone help me please?
Test Subject
#1042 Old 19th Jul 2016 at 2:43 PM
It's not compatible with the restaurant pack. I had an issue whit my cooks not doing their job and doing whatever other stuff in the restaurant like sitting at the bar. The customers where waiting forever and never had their meals. However the mod was doing its job with the door locks. I removed this mod and it fixed the issue with the restaurants.
Test Subject
#1043 Old 26th Jul 2016 at 9:57 PM
To put it simply, this mod needs a new update. Thank you!
Lab Assistant
#1044 Old 3rd Aug 2016 at 4:39 PM
PLEASE UPDATE! This mod is so necessary and wonderful!
Test Subject
#1045 Old 8th Aug 2016 at 4:21 AM
No longer works and I do NOT have Dine Out... Back to Sims 3 where you don't even NEED a mod for locks.
Test Subject
#1046 Old 17th Aug 2016 at 8:15 AM
Add me to the list of people having problems with Dine Out due to this mod. Trial and error proved that it somehow prevents my chefs from cooking, but no other mods I have made conflicts. Great mod anyway, thank you, but please update!
#1047 Old 19th Aug 2016 at 11:56 PM Last edited by Morphar : 20th Aug 2016 at 3:23 PM.
Originally Posted by Lyra74
No longer works and I do NOT have Dine Out... Back to Sims 3 where you don't even NEED a mod for locks.

I don't have Dine Out either but Get Together and Get To Work. This mod works OK for me.
What exactly is not working for you?
Where did you put it?
Test Subject
22nd Aug 2016 at 7:50 PM
This message has been deleted by kuinaswordmaster.
#1048 Old 27th Aug 2016 at 6:11 AM Last edited by Morphar : 30th Aug 2016 at 10:15 AM.
I found a small drawback of this mod. Some downloaded houses have not defined the correct default entrance door. Visitors walks in from the backside. Normally you click the front door and select it as the default entrance. With the mod in you can't change that setting.

The above is not always the case.
Page 42 of 45