Forum Discussion

AxleDorse's avatar
AxleDorse
Seasoned Newcomer
4 days ago

NPCs cannot bypass gender-restricted doors if they are the opposite gender

While working on a mod, I've encountered an issue with the gender-restricted doors. It's not possible for NPCs to bypass the gender restriction if they are the opposite gender under any circumstances. This can cause issues if a service NPC needs to get through for any reason (and is complicating my mod where I need them to be able to do so if necessary).

For example, if a fire breaks out in the room behind the door and the firefighters are all the opposite gender to the door, then they will just stand around and be unable to put out the fire. Or if an NPC needs to get into the room to clean or repair something, this will simply fail because they can't route to it. Even the burglar is stopped in their tracks by the power of these doors.

Looking at the tuning, there's a way to specify certain buffs that allow Sims that have them to override the lock setting. This is set for the Burglar and Firefighter situations, but this function can only override a PLAYER_LOCK. The code is actually completely useless for these specific doors since the player cannot modify lock settings on them, and the gender restriction is implemented as a SYSTEM_LOCK. I tried playing around with the buff functionality, but could not get it to override a SYSTEM_LOCK.

Affected doors:

  • Dressed Up Facilities Door (Base Game)
  • Suited Up Facilities Door (Base Game)
  • They Said He Door (Spa Day)
  • They Said She Door (Spa Day)

2 Replies

  • Could you please provide the following information (while I believe it's not mod related, I still need you to add the info).

    -  Are you using mods/cc in your game ? Please remove them and test without them if you do.
    -  What platform are you playing ?

About The Sims 4 Feedback

Share your feedback around The Sims 4 with the community.3,501 PostsLatest Activity: 22 hours ago