Project Zomboid

Project Zomboid

True Lockable Interior [UPDATED - New sandbox option]
236 条留言
BoogieMan 10 月 19 日 下午 1:20 
Any way to make NPCs from mods like Week One respect the fact that a door is locked instead of just opening them like it's nothing?
XD™ 9 月 12 日 下午 2:15 
B42LESS??? NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

Monsieur, s'il vous plaît! I can't live without this mod!! The bandit NPCs! They're going through the doors!! *sobbing* EVERY SINGLE ONE MY DOORS!! *WAILING*
Alpha Gamer 7 月 4 日 上午 7:37 
does this stop the week one ai from just walking in your house?
loud 1 月 19 日 上午 11:03 
when you update to b42 you should add the ability to add locks to gates!
Hud 1 月 2 日 上午 12: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  [作者] 2024 年 12 月 19 日 下午 3: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 2024 年 12 月 18 日 上午 7:12 
@AuD unfortunately no
AuD  [作者] 2024 年 12 月 18 日 上午 12:56 
need test, need work, update it's for very later ...... but with the b42 maybe the interior doors is lockable no ?? lol
UnrealVenn 2024 年 12 月 17 日 下午 4:36 
just going through my subscribed list because of the b42. when update for b42? tats all
ExXanAbuser 2024 年 12 月 1 日 上午 5:34 
I just want to be able to lock any interior door whether it’s the inside or outside
AuD  [作者] 2024 年 12 月 1 日 上午 4:36 
look the sandbox
UnrealVenn 2024 年 12 月 1 日 上午 4:34 
mods not working for me
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 11 月 29 日 上午 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  [作者] 2024 年 11 月 29 日 上午 12: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...
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 11 月 28 日 下午 4:15 
https://psteamcommunity.yuanyoumao.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 2024 年 11 月 28 日 上午 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  [作者] 2024 年 11 月 27 日 下午 11:55 
ou alors, j'ai besoin d'avantage d'explication afin que je puisse représenter ce bug en interne.
AuD  [作者] 2024 年 11 月 27 日 下午 11: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  [作者] 2024 年 11 月 27 日 下午 11:37 
quel bug de la clé ? j'ai jamais trouvé de bug pour l'instant
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 11 月 27 日 下午 6:23 
ça résout pas le bug de la clé en fait
AuD  [作者] 2024 年 11 月 27 日 上午 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
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 11 月 27 日 上午 1:22 
thanks
AuD  [作者] 2024 年 11 月 26 日 上午 11:01 
i will update tomorrow, with a new sandbox option (automatic force lock or not the inside doors)
AuD  [作者] 2024 年 11 月 20 日 上午 9:21 
@ᛗᚨᚾᛞᚨᛚᛟᚱᛖ sorry i dont know
@yes i can, but later, you can select locked doors sometime in vanilla sandbox
Walter 2024 年 11 月 20 日 上午 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.
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 11 月 10 日 上午 9:16 
Help ?
TheOvVa 2024 年 11 月 8 日 上午 7:00 
Im searching this mod for a while... ty very much!:boop:
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 10 月 28 日 上午 9:07 
well I think no because I automaticaly get the house key by entering the window
AuD  [作者] 2024 年 10 月 28 日 上午 3:04 
it's ok for you ?
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 10 月 27 日 上午 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
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 10 月 26 日 上午 9:33 
The second door in the same building didn't gave me a key and was still lock ( from inside )
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 10 月 26 日 上午 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 ?
ᛗᚨᚾᛞᚨᛚᛟᚱᛖ 2024 年 10 月 26 日 上午 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  [作者] 2024 年 10 月 8 日 上午 6:08 
in sp use change sandbox mod
Teddybear1848 2024 年 10 月 7 日 下午 6: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 2024 年 8 月 10 日 下午 12:22 
spiffo:spiffo:
EmmE 2024 年 7 月 18 日 上午 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  [作者] 2024 年 7 月 16 日 上午 3:29 
Yes its the mod ^^ do you use the "more lock " mod ?
EmmE 2024 年 7 月 15 日 下午 1: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  [作者] 2024 年 6 月 17 日 上午 11:22 
;)
ArdentGrim 2024 年 6 月 17 日 上午 9:32 
The update works great, I started multiple runs to check it out and the house key spawned every time. :steamthumbsup:
ArdentGrim 2024 年 6 月 17 日 上午 9:22 
Sweet! I'll try that out on a new run.
AuD  [作者] 2024 年 6 月 17 日 上午 12:38 
UPDATE: An sandbox option is added for get house key when you fresh spawn (new life character)
AuD  [作者] 2024 年 6 月 16 日 上午 11:19 
the modding is not a luck, but ty man ;)
ArdentGrim 2024 年 6 月 16 日 上午 11:18 
I wish you the best of luck on your modding!
AuD  [作者] 2024 年 6 月 16 日 上午 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 2024 年 6 月 16 日 上午 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 2024 年 6 月 16 日 上午 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  [作者] 2024 年 6 月 16 日 上午 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 2024 年 6 月 16 日 上午 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.