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

Latest Site News

Guidelines/Rubrics Changes - posted on 16th Jun 2017 at 6:09 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 8:55 AM - Updated 20th Jan 2016 at 5:31 AM by scumbumbo : Updated for Dec 4, 2015 game patch
1086 Comments / replies (Who?) - 13 Feedback Posts, 12 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!

Description
  • 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 1.14.49.1020 (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 43,950 10th May 2015
DoorLocks_v3b.zip | Description: **OLD VERSION** for game patch 1.9.80.1020 (July 9, 2015) or later 104.2 KB 25,679 11th Jul 2015
DoorLocks_v3c.zip | Description: Door Locks mod for game patch 1.13.104.1010 (December 4, 2015) or later 104.2 KB 37,252 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 18 of 44
1086 Comments / Replies (Who?) - 530 Feedback Posts, 513 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Test Subject
#426 Old 17th Apr 2015 at 8:43 PM
This is awesome and something I know many players have been waiting for. Would it be possible to do the same type of settings for an entire lot? Or by profession and or trait?
Test Subject
#427 Old 17th Apr 2015 at 10:05 PM
Quote:
Originally Posted by janyses
@bleakraven and @smurfbunkern did you enable script mods in the Options menu? Enable script mods in the "Other" options (restart the game) and you should have these two files in your mods folder: "MTS_Scumbumbo_DoorLocks_v2a.package" and "MTS_Scumbumbo_DoorLocks_v2a_Script.zip."

Also, make sure the files are not buried in sub-folders or the game will not see them (unless you've edited the config file accordingly.)

Hope this helps. This mod is too awesome not to have :-)


Well, here's how it looks for me:
And more pics here: Scripts, Ingame1, Ingame2, Ingame3

Any ideas?
Test Subject
THANKS POST
#428 Old 17th Apr 2015 at 10:48 PM
How do you download this?
Test Subject
THANKS POST
#429 Old 18th Apr 2015 at 2:35 AM
Amazing, thanks!
Top Secret Researcher
Original Poster
#430 Old 18th Apr 2015 at 5:13 AM
Quote:
Originally Posted by bleakraven
Well, here's how it looks for me:
And more pics here: Scripts, Ingame1, Ingame2, Ingame3

Any ideas?

OK, the screenshot of the mod install made it clear, you've got version 1b of the mod. The customer/employee locks were not added until version 2. Uninstall that version of the mod and get the newer v2a download.
Test Subject
THANKS POST
#431 Old 18th Apr 2015 at 5:27 AM
Thanks for this....
I would like the door to have a list that only who listed can get through it..
example.. even the household sims can't enter my room

also i got a bug today.. i use 1 of my sim to go travel then change to the one at the house without send home the traveling sim,, then all the door that i set "Lock for All Visitors"(Don't know about other) also lock all my household,, (turn out all my household become visitors) ..tried disable and enable back the lock still same

well it settle when i restart the game
Test Subject
THANKS POST
#432 Old 18th Apr 2015 at 5:52 AM
I installed this but it didn't work - is it only for certain types of doors?
Top Secret Researcher
Original Poster
#433 Old 18th Apr 2015 at 6:05 AM Last edited by scumbumbo : 18th Apr 2015 at 6:30 AM.
Quote:
Originally Posted by s3lipar_jipun
also i got a bug today.. i use 1 of my sim to go travel then change to the one at the house without send home the traveling sim,, then all the door that i set "Lock for All Visitors"(Don't know about other) also lock all my household,, (turn out all my household become visitors) ..tried disable and enable back the lock still same

well it settle when i restart the game

I'm not 100% sure I'm following the bug report, but if I understand the situation you're describing it doesn't sound like this should be happening -- but the mod logic may indeed be flawed for this case. I'll try and reproduce the bug and if I need clarification I'll let you know.

ETA - Yuck, I did exactly what you suggested and got the same results. Not sure exactly what is causing this, it only happened the first time I switched back. You don't need to restart the game, it straightened back out for me after saving and switching to manage worlds and restarting that household. So for those who aren't following this, here's exactly what I did:
  • Loaded up lot "1", owned by sims "A" and "B"
  • Set a visitor lock on a door in lot 1, worked fine
  • Had sim "A" travel to lot "2", owned by sims "C" and "D"
  • Set a visitor lock on a door on lot 2, worked fine, kept sim "A" out
  • Switched control to sim "B", and she was now locked out of the visitor doors on lot 1, even though she was a lot owner
  • Saved game, exited to manage world and restarted that household choosing sim "B"
  • She could now go through the visitor doors on lot 1 normally
  • Switched to sim "A" and he was still locked out of visitor doors on lot 2
  • Switched back to sim "B" and she could still use the doors properly on lot 1

So it just happened on that first time, when the sim actually travelled to another lot, after that it was fine. Still a bug and I'll try and figure out what's going wrong.
Test Subject
THANKS POST
#434 Old 18th Apr 2015 at 6:17 AM
Thank you. This will work great with my coffee shop.
Test Subject
THANKS POST
#435 Old 18th Apr 2015 at 7:35 AM
thdf
Top Secret Researcher
Original Poster
#436 Old 18th Apr 2015 at 8:07 AM
Quote:
Originally Posted by MagicFluk0076
thdf

? Transformer Harmonic Derating Factor ? - I had to look that one up, never seen that acronym before!
Test Subject
#437 Old 18th Apr 2015 at 8:26 AM
This mod is amazing! Works perfectly around my home to stop people going into others bedrooms, However I'm still having an issue at the bakery / retail lot whereas customers still enter the employee's area? Is there anyway to fix this?
Test Subject
#438 Old 18th Apr 2015 at 12:46 PM
Quote:
Originally Posted by scumbumbo
OK, the screenshot of the mod install made it clear, you've got version 1b of the mod. The customer/employee locks were not added until version 2. Uninstall that version of the mod and get the newer v2a download.

Oh I am a dumb bear! Thank you so much, and sorry for the hassle I'm gonna install the version 2 now. Even with version 1b, it already made my sims experience much much better, so thanks again!
Test Subject
THANKS POST
#439 Old 18th Apr 2015 at 10:32 PM
you are the master!
Test Subject
THANKS POST
#440 Old 18th Apr 2015 at 10:57 PM
Thank you so much! Going to try the new version 2a now!
Lab Assistant
#441 Old 19th Apr 2015 at 4:36 AM
Is anyone experiencing setting it to filter out say teens/child or even YA's from entering say the parent's bedroom that they can still walk right on in? I've been trying to lock out anyone who isn't adult and elder and for some reason it doesn't work. I haven't tested this with anything else, but I noticed they can still walk in as if the filter wasn't on. I was wondering if that was a bug or if it just happens that I'm the lucky one that gets to experience that! lol
Top Secret Researcher
Original Poster
#442 Old 19th Apr 2015 at 7:31 AM
Regarding the bug mentioned above (post #433), I'm having trouble getting this to happen while debugging the mod. It is remotely possible that a bug in my "Wakeup Early" mod was causing the problem as the bug in that mod was related to the first sim on the sim picker not being on the current lot when the early wakeup time notification would appear. At least, I can't get the bug to happen any more after trying ten, fifteen, maybe twenty times in a row. It's either a rare problem (most likely case), or it knows I'm watching now and refuses to happen (most paranoid case), or it was fixed by the Wakeup Early fix (possible, dunno).

In any event, the update to the Wakeup Early mod definitely should be downloaded if you are using that.
Test Subject
#443 Old 19th Apr 2015 at 12:25 PM
Great mod! But can you please make it so that I can keep out specific sims? Keeping out BOTH my sim's psycho aunt and loving mom is just not right. (Is this too much to ask?) :3
Test Subject
THANKS POST
#444 Old 19th Apr 2015 at 12:36 PM
Tell me bank account and Ill send you money! You are World savior! :-P
Test Subject
#445 Old 19th Apr 2015 at 12:55 PM
retail filters
retail filters are cool and would be awesome if they worked
Test Subject
#446 Old 19th Apr 2015 at 3:50 PM
THANK YOU SO MUCH sweetie !! <3 ;w;
i got everything down and i am so ready to put it in the mode file ... but uhh- the problem is ... i don't know where IS the mode file ^ ^'' , i know this may sound stupid but its my first time T^T ~ .. so please if anyone would help me with this i will be grateful ! <3 ^^
Lab Assistant
#447 Old 19th Apr 2015 at 4:57 PM
Quote:
Originally Posted by JakeC0001
In attachment there is Fiber Door for male and female with French and Spanish translations. Cheers.


Thank you ! Merci
As the mesh crumbles....
staff: moderator THANKS POST
#448 Old 19th Apr 2015 at 5:50 PM
Privacy at last! :) Keep those pesky sims out of places they don't belong. :)

Thank you!
Test Subject
THANKS POST
#449 Old 19th Apr 2015 at 6:10 PM
I have been waiting for something like this ever since sims 4 came out. Do you think you could look into adding a feature similar to what was in sims 3 where you can lock everyone out except yourself? That would really come in handy for townhomes that people build. Thank you again for this amazing mod!!
Test Subject
THANKS POST
#450 Old 19th Apr 2015 at 6:13 PM
Thanks
Page 18 of 44