DayZ
421 ratings
Zens Zombie Door Bangers
4
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
23.274 KB
13 Feb, 2023 @ 12:33am
31 Mar, 2023 @ 8:00pm
3 Change Notes ( view )

Subscribe to download
Zens Zombie Door Bangers

Description
What Is This?

This mod adds the ability for zombies/infected to bash open doors.

It's inspired by Liven's PvZ Mod (shout-out to his excellent mods!), but mine uses a slightly different method for detecting door locations based on their open/close sound position.

Unlike the amazing PvZ mod which changes many core vanilla zombie features, this mod does not touch anything else to do with zombies.

It just makes aggro'd zombies hit any doors they are standing near until they open. I initially developed it for my Namalsk server where I did not want to run PvZ but still wanted zeds to knock open doors.

There is a JSON config with the mod that allows you to tweak how many hits it takes to open a door, whether or not locked doors can be opened, and you can also adjust how many door hits are required to open a door based on the zombie type (eg. you could make soldiers able to bash open locked doors, but no other zeds can).

Only doors that have been closed or locked with a Lockpick by players are detectable by zombies with this mod. In my experience this is usually fine, as most players are only hunted by zombies into a building when they've shut a door behind them anyway.

Each door has a unique hit counter associated with it, so if you get swarmed by zeds they can bash open the door pretty quickly. They will only open vanilla building doors so don't worry base campers, you're still safe!

Known Issues:

Also, sometimes the zeds will wander off before the door opens, but I think this is a good thing as it adds an element of randomness to them. Sometimes they will bust open your house, sometimes they will lose interest and wander off. To decrease the chances of this happening just set the door hit count to a lower number than the default.

Finally, some vanilla buildings in DayZ have incorrect door open/close sound position placement which means zeds will not interact with those doors properly. With my limited knowledge of 3d modelling in DayZ, I think this is because when the building models were created the sound positions were placed incorrectly.

I've only noticed it on a single door in a couple of buildings so it's no big deal. This building has one such door: DayZ Factory[static.wikia.nocookie.net]. I think the Arma barracks has one door like this too.

There may be other bugs, but after running this on my servers for several months I haven't noticed any. I've done my best to make it as performance-friendly as possible, so there shouldn't be any significant effect on server FPS. I haven't noticed any FPS issues on my servers.

Installation Instructions:

Install this mod like any other mod - copy it into your server folder and add it to your mods list. It must be run on both server and client. Make sure to copy the .bikey into your server keys if you're not using a server management tool like OmegaManager which does that automatically.

When you run the mod for the first time a default JSON config will be created in your server profile: %server_root%/profiles/Zenarchist/ZenZombieDoors.json

This is where you can tweak the zombie door banger config values such as how many hits a door takes to open. If you add any zombie configs to the JSON then note that the mod uses a Contains() check on the zombie type, so "ZmbM_Soldier" config will apply to any zombie that contains that type name and will affect several different zeds.

Repack & Source Code:

Unfortunately due to lack of time I can't maintain all of my mods all of the time. I do my best, but these mods are offered as-is. If there's a problem, you have the source code and my permission to fix it yourself and upload a fixed version to the workshop without any credit necessary. It's all free.

You can repack this mod if you like, and do anything else you want with it for that matter. The source code is on my GitHub at www.zenarchist.io

Side Note: This door hit animation is a vanilla feature that isn't used in the main game, so hopefully someday the devs will add this feature at least for certain high threat zeds like soldiers etc as it makes zombies a much bigger threat and lockpicks more valuable outside of PVP if you disable bashing open locked doors in the JSON config. Shout-out to the epic open-source Syberia Project mod, that's where I discovered these door hitting animations.

Buy Me A Coffee:

All my mods are free and open source, but it takes an enormous amount of time to put some of these mods together. If I've helped you out, please consider helping me buy my next coffee! I don't expect it, but I very much appreciate it.

https://buymeacoffee.com/zenarchist

Enjoy!
Popular Discussions View All (1)
0
24 Jun, 2024 @ 5:10pm
Servers using this mod:
MadEagle
85 Comments
its Craazzzyyy 1 Jul @ 4:12pm 
It works fine, but the server often crashes out of nowhere.
crazykeril 7 Mar @ 5:53am 
Проверяли на тесте, работает, двери закрытые на отмычку вскрыть не могут.
IntensoGlobal 3 Mar @ 6:16am 
У кого стоит мод? Пишет крашлоги? работает он вообще?
Demmonik 16 Feb @ 4:55am 
Походу все. Перестал работать.
Mahipta 6 Feb @ 6:16pm 
Thank you for the mod and the content that you make. Plus keep up the good work. I have thumbed-up, favortied and subscribed to your content for permission to repack. I have also followed any other guidelines you have or have not specified. Please let me know should you revoke this permission to repack at any time and I will make the appropriate changes.
lorenzo.badia 25 Jan @ 3:06am 
The mod is awesome, it works perfectly and the zombies are really cool.. the only problem is that it conflicts with the zombie sound mod.. with both mods active I can no longer hear the zombie sounds.. where am I going wrong?
GoldenAlex 1 Jan @ 12:05pm 
Is there any way to fix it?
GoldenAlex 1 Jan @ 11:45am 
Class: 'ZmbM_VillagerOld_LT_Base'
Entity id:3005598

Function: 'FightLogic'
Stack trace:
ZenZombieDoors/scripts/4_world/entities\creatures\infected\zombiebase.c:166
scripts/4_World/entities\creatures\infected\zombiebase.c:265
Mr.JMods 28 Nov, 2024 @ 4:45pm 
How can we know if the zombie will knock open a door that is placed in dayz editor? and is there a way to make it so they will ignore knocking open certain doors?
Draga 20 Oct, 2024 @ 8:24am 
top mod Спасибо !!!