DayZ
145 ratings
Zens Combination Locks
6
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Equipment, Mechanics
File Size
Posted
Updated
3.631 MB
18 Sep, 2022 @ 4:27pm
2 Jun @ 10:24pm
17 Change Notes ( view )

Subscribe to download
Zens Combination Locks

Description
What Is This?

This mod overhauls how combination locks work in DayZ. It's designed to enhance the vanilla experience and is best suited for lightly modded servers, although it works with most popular basebuilding mods.

Combination locks will now remember the players who enter the code - much like the Code Lock mod. You only need to enter the code once, then the door will open for you without needing to enter the code again.

There are two lock-opening options the server can choose from: instant open, and a slow open.

Instant open works like the Code Lock mod - press F and the door/gate will open instantly.

The slow option simulates entering the code - so you need to cycle through a few "pretend" combination dial actions before the door will open (for a more authentic hardcore DayZ experience). Servers can adjust how many cycles are required, by default it's set to 1 cycle per digit on the lock.

This mod also includes a few other optional features, such as displaying the code on the screen while dialing, interacting with locks & gates from anywhere on the object, it adds several new combination locks (with up to 9 digits), and a new raiding option using a Bolt Cutter tool to break the locks. These features can be turned on or off based on the server config.

Here is a video explaining the core features of the mod as at the time of release:

https://youtu.be/fhJb1UWMCeI

I also included a stringtable so translations should work for all languages (although some translations might be inaccurate as I used an automatic translation tool).

Please report any bugs or mistranslations and I'll fix them ASAP - or feel free to fix them yourself and repack, it's open source (more info below).

Note: This mod may conflict with other mods that either modify combination lock behaviour or fence behaviour (especially base-building mods). I can make no guarantees for compatibility with other mods and don't have time to make it work with them all.

Known Compatibility (Last Updated September 2024):
- CodeLock: Seems fully compatible.
- BuildingFortifications: Seems fully compatible.
- EvenMoreDoors: Seems fully compatible.
- BaseBuildingPlus: Seems fully compatible.
- RaG Basebuilding: Seems fully compatible.

Known Incompatibility/Issues:
- Expansion: Will likely have issues - haven't done any testing on it. Given the complexity of that mod I probably won't try unless it's a popular request, as most servers run code locks with Exp anyway.

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.

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.com

Learn Modding

Want to learn how to make your own mods? Check out my guides on YouTube: https://www.youtube.com/@Zenarchist

Buy Me A Coffee / Contact Me:

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.

To contact me you can send me a message there too - I get an insane amount of messages so it's the best way for me to filter out the noise and focus on people who are willing to support my work with a coffee first:

https://buymeacoffee.com/zenarchist

Enjoy!
Popular Discussions View All (1)
0
25 Sep @ 7:41pm
Building Fortifications double door fix.
BuffaGunz
83 Comments
Aggro 1 Oct @ 9:12pm 
Update: fixed the issue by overwriting the config folder location, I have updated them as follows:

\\zenachist\\ComboLocks\\
\\zenachist\Sleep\\

and now they are both spawning in their own folders.
Aggro 30 Sep @ 10:12pm 
@Zenachist

any ideas why the config.json for this mod does not generate in the profile folder? nor does the mod load when I repack it in my mod, I have your other mods working fine (proxy, sleep) and few my own mods.

I even manually moved the json file but it wont load the mod.
samboo898 12 Sep @ 4:09pm 
Zen m8 your a legend.
BuffaGunz 6 Sep @ 8:41pm 
Lusty that's the whole point of the mod so it stays on the gate/door when opened and locks again when closed. If you want to take it off scroll to the manage lock section and put in the correct code this will allow you to take it. FireUp Building fortification works well with this mod.
Proximity77 10 Aug @ 9:18am 
Hello, wondering if I can just use the UI for the default code dials? Can you make a separate mod for it? Or is there an easy configuration for this one?

Side note; love the work you have been doing. Using a few mods currently on my server.
GoFireUp 9 Aug @ 11:06am 
Hi! Any one can suggest mods? doors to work with this mod? We really love the mod and the way locks look like, but we can't find any doors that we can build to make a base inside houses on the map that would use these locks. Thank you in advance!
Lusty Norsemen 21 Jul @ 12:45pm 
With the slow roll is it possible for the lock to not be stuck to the gate?

I.E. I hold F to roll it x times to unlock it, and the lock goes to the ground so it has to be picked up and put back on to relock it instead of it staying locked on the gate.
DDay987 18 May @ 5:16pm 
Hey Zenarchist,
Just wanted to let you know that your website linked in the description appears to be down or returning some empty html
Also, is this your github (https://github.com/ZenarchistCode/ZenComboLocks)?
Zenarchist  [author] 17 May @ 7:06pm 
Perfect glad to hear it man. Also, just pushed another update to finally fix compatibility with BBP and RaG and most other basebuilding mods which don't deviate too radically from vanilla's combination lock code. *Should* work on BBP and RaG now fully.
BOOM__95 5 May @ 11:53pm 
Hi @Zenarchist The new version has fixed the bug, thank you.