Project Zomboid

Project Zomboid

True Lockable Interior [UPDATED - New sandbox option]
234 kommentarer
Alpha Gamer 4. juli kl. 7:37 
does this stop the week one ai from just walking in your house?
loud 19. jan. kl. 11:03 
when you update to b42 you should add the ability to add locks to gates!
Hud 2. jan. kl. 0:21 
Hello Dev, thank you for your work on this! I'm just wondering if locking the doors has any mechanical benefits such as increasing door integrity/health when locked? To give a lite simulation of locking points on external doors or internal frames. Thank you again mate!
AuD  [ophavsmand] 19. dec. 2024 kl. 15:03 
all my mods will be updated for B42 when the MP is released ... wait and to be patient, it's only the beta...
Walter 18. dec. 2024 kl. 7:12 
@AuD unfortunately no
AuD  [ophavsmand] 18. dec. 2024 kl. 0:56 
need test, need work, update it's for very later ...... but with the b42 maybe the interior doors is lockable no ?? lol
UnrealVenn 17. dec. 2024 kl. 16:36 
just going through my subscribed list because of the b42. when update for b42? tats all
ExXanAbuser 1. dec. 2024 kl. 5:34 
I just want to be able to lock any interior door whether it’s the inside or outside
AuD  [ophavsmand] 1. dec. 2024 kl. 4:36 
look the sandbox
UnrealVenn 1. dec. 2024 kl. 4:34 
mods not working for me
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 29. nov. 2024 kl. 1:06 
J'ai deja mis mes parametres dans les commentaires precedents. Je vais pas expliquer 50 fois le soucis. Si vous voulez pas regler le probleme c'est plus rapide de le dire que de faire esperer. Bye
AuD  [ophavsmand] 29. nov. 2024 kl. 0:23 
@ᛗᚨᚾᛞᚨᛚᛟᚱᛖ il y a des options de bac à sable appropriées qui fait qu'on obtient la clé de notre room au spawn. (fresh spawn), if square:getBuilding() then you get key end.

par contre, ca donne une clé tout de suite à votre spawn, donc vous devez avoir cette clé tout de suite à votre apparition et pas quelque secondes plus tard.


@ExXanAbuser sorry but the vanilla code does not allow to do this, the doors have different opening directions, it is impossible to detect if the side of the door is inside a room, or a corridor or other...
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 28. nov. 2024 kl. 16:15 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2789257975

D'accord, c'est sur cette carte au spawn on apparait a l'exterieur de la petite baraque blanche a droite de la map sur les images ( la petite avece les barrieres). Il n'y a pas de clé au spawn mais si vous essayez de rentrer dans le batiment par la fenetre, ça donne une clé pour une porte. Jene sais pas si c'est seulement sur cette carte ou parce que je spawn a l'exterieur d'un batiment
ExXanAbuser 28. nov. 2024 kl. 10:42 
Wish there was an option to always be able to lock interior doors without key, playing with zombies able to open doors and want more security
AuD  [ophavsmand] 27. nov. 2024 kl. 23:55 
ou alors, j'ai besoin d'avantage d'explication afin que je puisse représenter ce bug en interne.
AuD  [ophavsmand] 27. nov. 2024 kl. 23:38 
il n'y a aucun code ressemblant a ce que vous dite dans mon code, vous passez une fenêtre et vous obtenez la clé, cela me parait étrange, le seul moment ou le joueur est susceptible de recevoir une clé, c'est au fresh spawn
AuD  [ophavsmand] 27. nov. 2024 kl. 23:37 
quel bug de la clé ? j'ai jamais trouvé de bug pour l'instant
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 27. nov. 2024 kl. 18:23 
ça résout pas le bug de la clé en fait
AuD  [ophavsmand] 27. nov. 2024 kl. 2:05 
** UPDATE

Patch Note:

-------------------------------

A new sandbox option is available, you can now enable or disable doors inside buildings being randomly locked.

IF YOU USE THIS MOD BEFORE UPDATE, IF YOU WANT THE DOORS TO BE LOCKED RANDOMLY AS USUAL, YOU MUST SET THE APPROPRIATE SANBOX OPTION TO TRUE


-------------------------------


Une nouvelle option sandbox est disponible, vous pouvez désormais activer ou désactiver le fait que les portes à l'intérieur des bâtiments soient verrouillées aléatoirement.

SI VOUS UTILISEZ CE MOD AVANT LA MISE À JOUR, SI VOUS VOULEZ QUE LES PORTES SOIENT VERROUILLÉES DE MANIÈRE ALÉATOIRE COMME D'HABITUDE, VOUS DEVEZ RÉGLER L'OPTION SANBOX APPROPRIÉE SUR TRUE
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 27. nov. 2024 kl. 1:22 
thanks
AuD  [ophavsmand] 26. nov. 2024 kl. 11:01 
i will update tomorrow, with a new sandbox option (automatic force lock or not the inside doors)
AuD  [ophavsmand] 20. nov. 2024 kl. 9:21 
@ᛗᚨᚾᛞᚨᛚᛟᚱᛖ sorry i dont know
@yes i can, but later, you can select locked doors sometime in vanilla sandbox
Walter 20. nov. 2024 kl. 9:18 
Can you make it so that there is a sandbox option to disable interior doors in existing buildings to not be locked? I love the idea that you can lock player-built doors (single and double) inside existing buildings, but it makes loot run hard since you must spend your time disassembling doors or fighting zombies inside so you get the key to unlock the door, which can get pretty dangerous if the room you are fighting them small. I tried to find the lock door parameter that you wrote in the description but I cannot find it. Anyways, thanks for the amazing mod. Not sure why the devs can't make it so you can lock player-built doors inside existing buildings.
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 10. nov. 2024 kl. 9:16 
Help ?
TheOvVa 8. nov. 2024 kl. 7:00 
Im searching this mod for a while... ty very much!:boop:
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 28. okt. 2024 kl. 9:07 
well I think no because I automaticaly get the house key by entering the window
AuD  [ophavsmand] 28. okt. 2024 kl. 3:04 
it's ok for you ?
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 27. okt. 2024 kl. 8:55 
Ok I see the problem

I entered a a building with closed doors by the window and it gave me a key of the building
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 26. okt. 2024 kl. 9:33 
The second door in the same building didn't gave me a key and was still lock ( from inside )
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 26. okt. 2024 kl. 9:33 
Can some doors have a key on it from inside ? or it's a bug because it was the first building I entered ?
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 26. okt. 2024 kl. 9:32 
interiorLock.KeepMainDoorLockableWithoutKey=false
interiorLock.RandomKeyIdToInsideDoors=true
interiorLock.UnlockRoomDoorsWhenFirstPlayerSpawn=false
interiorLock.GiveRoomKeysWhenFirstPlayerSpawn=true
interiorLock.GiveHouseKeysWhenFirstPlayerSpawn=true


I have those settings and I still can unlock doors from inside a locked buildings ( I spawned outside )

And it's give me a key
AuD  [ophavsmand] 8. okt. 2024 kl. 6:08 
in sp use change sandbox mod
Teddybear1848 7. okt. 2024 kl. 18:24 
( TIPS: prefer "sometimes" locked doors parameter ) Could there ever be a no locked door parameter? I also can not find the sometimes locked parameter anywhere.
Star_Child31 10. aug. 2024 kl. 12:22 
spiffo:spiffo:
EmmE 18. juli 2024 kl. 8:58 
Yes also more lock, how should I do so that most of the doors do not remain closed? I can't find mod options
AuD  [ophavsmand] 16. juli 2024 kl. 3:29 
Yes its the mod ^^ do you use the "more lock " mod ?
EmmE 15. juli 2024 kl. 13:18 
I have a question and placed your mod on an MP server and now many doors appear automatically locked in houses. Is this normal?
AuD  [ophavsmand] 17. juni 2024 kl. 11:22 
;)
ArdentGrim 17. juni 2024 kl. 9:32 
The update works great, I started multiple runs to check it out and the house key spawned every time. :steamthumbsup:
ArdentGrim 17. juni 2024 kl. 9:22 
Sweet! I'll try that out on a new run.
AuD  [ophavsmand] 17. juni 2024 kl. 0:38 
UPDATE: An sandbox option is added for get house key when you fresh spawn (new life character)
AuD  [ophavsmand] 16. juni 2024 kl. 11:19 
the modding is not a luck, but ty man ;)
ArdentGrim 16. juni 2024 kl. 11:18 
I wish you the best of luck on your modding!
AuD  [ophavsmand] 16. juni 2024 kl. 11:12 
Yes the mod is not obvious, but it remains logical I think, on the other hand, be carfull to the necessary skills (concerning the moreLock mod)!

It's a bit of a headache, but once you get the hang of it, you'll get there.

I'm taking your suggestion for the house key into consideration, just basically I thought vanilla game should automatically spawn the house key.... added to the road map
ArdentGrim 16. juni 2024 kl. 11:07 
Otherwise, the rest of the mod is pretty great! I am having fun trying to figure out how to configure keys to cars that don't have any keys to begin with. But, I am not fairing too well on that end lol.
I have been trying to follow the videos you posted to see what I did wrong and so far I followed the same actions to a Tee and nothing seems to be working yet.

Still trying to figure out my problem.
ArdentGrim 16. juni 2024 kl. 11:05 
@AuD Well if you would like my opinion, I think it would be thematic for a person that spawns in a house to think "Hey, this is the house I lived in before the apocalypse therefore, it would make sense for me to have a house key." So if you could make it so, I think it would give your mod some extra fluff.
AuD  [ophavsmand] 16. juni 2024 kl. 11:04 
sandbox definition : TRUE = When your character first appears in the world (new life), if you spawn in a house or any room with doors with locks, your character will have the keys in their inventory (only the doors in your room)
ArdentGrim 16. juni 2024 kl. 11:03 
True, in vanilla the Keys don't spawn 100% of the time. I just assumed that the settings of the mod allowed for the keys to spawn 100% of the time and misunderstood the term "Room" thinking it would take the rest of the house into consideration.
AuD  [ophavsmand] 16. juni 2024 kl. 11:02 
(house key)
AuD  [ophavsmand] 16. juni 2024 kl. 11:01 
in fact, do you suggest I add it to the mod? add get a key systematically? I thought there was a problem, but it's just a suggestion ^^