Project Zomboid

Project Zomboid

[B41/42] Doors Have A Chance
60 条留言
infernal 8 月 12 日 上午 9:37 
please make it so that garage doors dont open from damage
Retox 6 月 7 日 上午 8:29 
how to make the door not break at all but open?
:cherrypie::spiffo:
freck 5 月 13 日 上午 2:20 
Hi @UnCheat. I'm really looking forward to working this mod into my playthroughs.

Like Daimyo mentioned in a comment previously, I'm hoping to adjust the settings so sometimes doors just break.

I tried zeroing both guaranteedUnlockedDoorHP and guaranteedLockedDoorHP but this did not produce the desired in fact. To the contrary, this made it so certain doors were invulnerable.

I would really love to trouble shoot this as I feel this could be a very immersive mod if tinkered correctly.

Thanks
UnCheat  [作者] 4 月 6 日 下午 12:52 
add / remove any time
Lost-One 4 月 6 日 上午 9:51 
can i add this mod in a save game or do i need to start fresh?
UnCheat  [作者] 4 月 6 日 上午 7:38 
@Wesch Well it depends on settings by default:
Unlocked doors below 25% hp open on damage
Locked doors below 25% hp have 20% chance to open ondamage

So there is a 80% chance that door could resist couple of hits(depends on doors HP) is if you lock it.
Wesch 4 月 6 日 上午 6:57 
@UnCheat, im talking about how doors that have already been broken open which were unlocked still have a lock that can be used, but the lock doesn't add any extra delay for the door being broken open as if it was still unlocked
UnCheat  [作者] 4 月 6 日 上午 6:41 
@Wesch Is there any point in adding a new lock to a door that is broken and bends from the slightest touch? :P
UnCheat  [作者] 4 月 6 日 上午 6:39 
It's very simple doors HP based. There are no change of any door HP so you can combine it with any other mods to change doors HP behavior like "Can Repair Doors"
Wesch 4 月 6 日 上午 6:26 
Is the door being broken open even with a lock intended? shouldn't the lock add another defense even if the door has been broken open before
Mikołaj 1 月 30 日 下午 5:11 
@hades-84
la creatura
hades-84 ordum mundus glorimus 1 月 6 日 上午 6:14 
UNA IDEA QUE E TENIDO QUE QUIZA ALGUIEN CRE UN MOD SOBRE ESTO CON SU EXPERENCIA AQUI DEJO LA IDEA EL DIBUJO DE EL MODELO Y EL LINK CON UNA DESCRIPCION EN LA PAGINA YA QUE ESTEAM NO ME DEJA PONER TANTO TEXTO Y PARA QUE SE ENTIENDA HAY QUE VER QUE ESCRITO LINK AQUI https://ibb.co/jHgHvZH

SI BAJAS CON LA RUEDA DE EL RATON PODRAS VER LAS DESCRIPCION EN LA PAGINA QUE PUSE
hades-84 ordum mundus glorimus 1 月 6 日 上午 6:14 
POR QUE EN EL JUEGO LA LAMINA DE METAL QUE SE PONE EN LA VENTANA QUEDA MEJOR CON LA IDEA QUE E TENIDO NO SOLO QUEDA MEJOR SI NO QUE SE PODRA VER TRAS DE ELLA Y TAMBIEN CERRAR LA MINI PUERTA DE EL VISOR ADEMAS DE SER BLINDADA CONTRA HORDAS DE ZOMBIES Y LOS MODS DE SAQUEADORES QUE HAY EN ESTEMA NPCS CON TANTA INTELIGENCIA NO SOY CREADOR DE MODS SOLO TENGO EXPERENCIA EN VIDA REAL EN CIERTAS COSAS Y COMO PROJECT ZOMBOID ES UN JUEGO DE SIMULACION DE SUPERVIVENCIA ESO QUE YO SE ES VALIDO PARA SOBREVIVIR EN EL JUEGO A SI QUE SI HAY ALGUIEN CON EXPERIENCIA QUE SEPA CREAR UN MODELO DE ESTA VENTANA CON LAS PRESTACIONES QUE DIJE SERIA GENIAL COMO UN MOD LO COMPARTIRE CON VARIOS DESARROLLADORES QUE ESTAN EN RELACION CON EL SISTEMA DE VENTANAS Y BARRICADAS Y DEMAS PERSONAS QUE QUIZA LE INTERESE ESPERO QUE OS GUSTE Y SI NO ES RESPETABLE
UnCheat  [作者] 2024 年 12 月 29 日 上午 3:19 
Yea the best way is to resub to guarantee get an update
austiinos 2024 年 12 月 29 日 上午 3:11 
Ignore my comment. You did fix it sorry. I restarted steam is another way for steam to auto check updated mods for zomboid. Thats what I did. Thanks.
austiinos 2024 年 12 月 29 日 上午 2:41 
I tested for errors. Like others reporting on window hit. I right click break window for an error with a melee weapon. I also get errors by meleeing any window with a gun out or a melee weapon out. Shooting the window and also unarmed pushing the window also causes the error to pop up. Lastly breaking it unarmed also triggers it.

Love the mod! It's very fun when zombies can break in doors sooner than I think!
UnCheat  [作者] 2024 年 12 月 28 日 下午 8:53 
Pushed mod version but resub if you did not get an update
UnCheat  [作者] 2024 年 12 月 28 日 下午 8:51 
Fixed )
UnCheat  [作者] 2024 年 12 月 28 日 下午 8:46 
thx for a report
Jaxx - pshoooo 2024 年 12 月 28 日 下午 4:08 
can confirm also getting an error throw on breaking basically any window, thrown from this mod
Nerezza 2024 年 12 月 28 日 下午 1:25 
I killed a zombie bonking an un-openable window and either broke the window with my weapon at the same time, or killed the zombie just as the window broke, and got the following stack trace from a null value error at the exact same moment.

The window was one of the interior windows at the library in Riverside's school.

STACK TRACE
-----------------------------------------
function: shouldTheDoorOpen -- file: doorsHaveAChance.lua line # 23 | MOD: Doors Have A Chance
function: handleOnZombieThumpsADoor -- file: doorsHaveAChance.lua line # 63 | MOD: Doors Have A Chance
function: onWeaponHitThumpable -- file: doorsHaveAChance.lua line # 114 | MOD: Doors Have A Chance.
Vorshim 2024 年 12 月 28 日 上午 9:26 
Thanksss!!!! <3
UnCheat  [作者] 2024 年 12 月 28 日 上午 9:21 
@Daimyo Update: Allowed zero for all minimums in sandbox settings
UnCheat  [作者] 2024 年 12 月 28 日 上午 8:11 
Removed debug message on b41
UnCheat  [作者] 2024 年 12 月 28 日 上午 8:07 
Sure
Vorshim 2024 年 12 月 28 日 上午 8:02 
helloooo! Thanks for the update. can you remove print from doorsHaveAChance.lua?
line 95
debuglog server is full of "player" XD thanks!
UnCheat  [作者] 2024 年 12 月 28 日 上午 7:22 
The most expected feature update: players damage now has a chance to open doors too!
R o c k y J e t 2024 年 12 月 22 日 下午 3:32 
Thank you!
okayeg 2024 年 12 月 22 日 上午 1:10 
Thanks for updating :steamthumbsup:
UnCheat  [作者] 2024 年 12 月 21 日 下午 5:08 
Done
=FAKE= 2024 年 12 月 18 日 下午 2:43 
Update to b42?
Daimyo 2024 年 11 月 12 日 下午 10:33 
Can you make it so that the guaranteedUnlockedDoorHP and guaranteedLockedDoorHP accept a value of 0 to disable the guarantee? It would be nice if some doors open and some just break.
LRuego 2024 年 9 月 23 日 上午 9:24 
just tested it again and it works, idk what i was on maybe i missed a sandbox setting. thanks for the mod!
UnCheat  [作者] 2024 年 9 月 23 日 上午 3:18 
Why not? It uses the same event to detect door damage by zombies but it is compatible
LRuego 2024 年 9 月 22 日 下午 8:59 
i don't think it works with https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2913137598 , any chance we can have a compatibility patch?
SharleBu 2024 年 9 月 20 日 下午 6:49 
I like the idea, but unfortunately how the mod is made doesn't make the doors “have a chance”, it makes them always open sooner or later. I would like it better if everything was with probability of opening without ever reaching 100% chance, independent of the HP of the door.
UnCheat  [作者] 2024 年 8 月 8 日 上午 8:48 
ty
Mesrszmit 2024 年 8 月 8 日 上午 8:24 
I love mods like this, MAKES SENSE!
pwnd 2024 年 6 月 21 日 上午 2:19 
@Jasdan there is a mod that lets you check the hp of any structure. cant remember what its called but should not be too hard to find. "check building status" or something like that
Coldsteel 2024 年 5 月 9 日 下午 8:52 
Can you add "high security" sandbox setting? I.e. locked doors cannot be opened by attacking them, they can only be destroyed entirely.
Jasdan 2024 年 1 月 3 日 下午 5:37 
Wait, but can we tell the door's current HP?
Could it be possible to make the door open if it's HP goes below a certain % the next time it's HP goes down?
Regardless of what caused the HP to drop.
Jasdan 2024 年 1 月 3 日 下午 5:35 
Woah... that's a lot
UnCheat  [作者] 2024 年 1 月 3 日 上午 3:14 
It should be, but the way the game works is that we can't tell if the player is attacking the door or not...
Same as zombies! But zombies have thumpstate and thumptarget in the zombie object, so we can check if any door was attacked and if so, which one. And you won’t believe it, but there is no attack event! That's why I detect an event by sound!! And check who did it, then check thumpstate, thumptarget, is there a door next to the zombie and that door is thumptarget ^_^
Jasdan 2024 年 1 月 2 日 下午 6:55 
As for options in the menu, when a player has a key to a locked door, they can just open it instantly, could you make it so we need to first Unlock the door?
Jasdan 2024 年 1 月 2 日 下午 6:53 
I think that just as the zeds have a chance to open the door as they attack it, so should the player, under a (configurable) amount of health, Pushing the door would have a chance to open it (configurable so that any attack may open them as well).
UnCheat  [作者] 2023 年 12 月 5 日 下午 12:56 
Do you mean menu option? When that's doable ) I'll look inti it when I'll be active in zomboid again
Data 2023 年 11 月 18 日 上午 2:26 
Looks very good!
Please add this
players can open %15 hp locked Door.
And
When a locked Door opened from zombie this Door cant be locked anymore.
Ortus 2023 年 10 月 3 日 上午 12:30 
Cool mod, thank you!
UnCheat  [作者] 2023 年 10 月 3 日 上午 12:14 
Try edit servers sandbox settings file and restart your server
Tehtrc 2023 年 9 月 30 日 下午 2:54 
I cant customise my server mods any help they aint popping up so im stuck with horrible mod settings