DayZ
505 ratings
Code Lock
 
Rate  
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
9.525 MB
Feb 5 @ 1:23pm
Jul 29 @ 10:20pm
36 Change Notes ( view )

Subscribe to download
Code Lock

Subscribed
Unsubscribe
In 1 collection by Room Service
GangstaDayZ Server Mods
22 items
Description
READ:
If you cannot re-attach the lock after removing it, completely remove the fence and build a new one!
Server Owners: If you want to enable the ability to add locks to tents, add <"m_CanAttachtoTent": 1> ( remove the carrots ) to your CodeLockConfig.json! This feature is disabled by default.
Example[pastebin.com]

Don't advertise your server on my mod. There's places where it's appropriate, and my mod page isn't it.
Consider joining my DayZ server! Information posted below.

[Introduction]
This is a completely re-vamped, UI-based, Combination Lock.
When placing the lock onto a fence, a UI will appear allowing you to set a code for that fence, same goes for unlocking, removing the hassle of dialing digits over and over again.
Enjoy the Arma 3 days of UI based locks.

Note: if you drag the lock onto a gate, the UI will not immediately appear. You must then choose "Set Pin" on the gate.

Questions? join my discord to ask questions, share feedback, or report bugs! Everyone is welcome. ( Invite posted below )

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

Installation Instruction:

- Copy the mod to your server directory
- Copy key from mod folder to Keys folder
- Copy snippet from types.xml to your current types.xml

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

Contributions:
Thanks to WarDog for the new UI! : https://steamcommunity.com/id/officialwardog/
Thanks to OP for implementing the custom model!: https://steamcommunity.com/profiles/76561198379941795/
Model used for Lock: https://sketchfab.com/3d-models/keypad-b9968a00bc9249df927ff1969acf2f7e

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

Configuration Instruction:

- Locate the mod config file in your servers profile folder ( Name is CodeLockConfig.json )
If this file does not exist, run the server, it'll generate itself.
- Change the m_CanCutLock boolean to either a 0 or a 1.
- Change the m_CanAttachtoTent boolean to either a 0 or a 1.
1 - true, enables the ability to cut off the lock.
0 - false, disables the ability to cut off the lock.
Anything other than a 1 or 0 will break the config file and potentially break the mod and the locks in the server!

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

Donation Link:
Not asking anyone to donate, but here's the link if you're interested.
[paypal.me]

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

My Server:

- Server Name: GangstaDayZ
- Discord: https://discord.gg/a6tFSTG
( Join using DZSALauncher to ensure you have all the mods )

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

Notes

- Code can be any string, including letters and symbols.
- You must have RPCFramework installed on your server for this mod to work.
- This will not break the current combination lock in the game, nor wipe the locks.

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

Future Intentions:
- Add compatibility for BaseBuilding+ Doors through another mod.
- Admin privileges to Open/Change combination.
- Have codelocks work on all tents.

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

Current Issues:
- CodeLocks don't like being reattached to fences randomly. Rebuild the fence. Still looking into the isuse
- Animation state doesn't update until a pin is set on the codelock

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

[[ I do not authorize this mod to be re-packed, re-uploaded, or modified in any way ]]
( Changing variables while still using my code is considered re-packing. )
Popular Discussions View All (4)
8
Aug 14 @ 9:09am
PINNED: New UI - Feeback
Wardog
0
Aug 13 @ 2:56pm
Codelook on Normal Doors?
Raccoon
0
Aug 12 @ 6:15am
Codelock and Raid timers
nєxT. NęcrøŁÿdêTV
< >
1,007 Comments
Robbhimself Aug 19 @ 6:44am 
would it be possible to add a setting to ruin the codelock when it's cut?
DSA-L du 63_FR Aug 18 @ 3:37am 
Comment on fait pour supprimer le codelock sur la tente ?
Mr.Sprinkles Aug 17 @ 9:19am 
Dex, it only works on vanilla tents.
Dex Aug 17 @ 6:55am 
I have applied the lock to my tent and set the password, but when I leave the tent it offers others without the key the to option to just open the flap
LEGENDA №2 Aug 17 @ 4:26am 
are you going to update the mod for the current exp patch ? And that will happen as last time when the update was released to stable branch and your mod was not updated, causing many servers had to do a wipe...
苟不理苞子 Aug 15 @ 2:29am 
the MOD In my server,some people click the F key and no response,but OP can normal use :steamsad:
棋鬼.棋自来 Aug 14 @ 9:20pm 
why I use locks on some servers, click the F key, and there's no response. it doesn't pop up the dialog box to enter the password.
Room Service  [author] Aug 13 @ 7:23pm 
The hacksaw. If it's disabled on the server, you can't cut locks off tents.
Shiweid Aug 13 @ 7:10pm 
is there any modification that adds items that allows you to destroy the code-lock on the tent?
Room Service  [author] Aug 13 @ 5:37pm 
Depends on the server you're playing on.