-
Notifications
You must be signed in to change notification settings - Fork 6
ZenComboLocks
Source: https://github.com/ZenarchistCode/ZenComboLocks
NOTE: This mod is included in my modpack and can be enabled/disabled via ZenComboLocks in ZenModPackConfig.json

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.
Config file: profiles/Zenarchist/ZenComboLocksConfig.json
{
"ConfigVersion": "1.29.1",
"ServerConfig": {
"PrintLogs": 1, // Mostly ignored - you'll find anything important printed into the vanilla game logs
"UnlockOnOpen": 0, // If enabled, the lock will be "takeable" when the door is opened instead of locked onto the gate
"DigitMultiplier": 1, // How many digits to "pretend cycle" when opening a door (ie. 1 = 4 dial takes 4 spins to open, 2 = 8 spins etc - used to slow down opening doors slightly if you want a more vanilla feel. Only takes effect if InstantOpen is disabled)
"AdminSteamIDs": [
"www.steamidfinder.com"
]
},
"ClientSyncConfig": {
"AllowAdminOpen": 0, // Allows admins from the above admin list to open any door they want to without needing the code
"InteractAnywhere": 1, // Allows interacting with the combo lock through the fence itself without needing to look directly at the lock
"InstantOpen": 1, // If enabled then the gate will instantly open (like the Code Lock mod does)
"DismantleWithLock": 0, // Allows raiders to dismantle a gate from the inside with the combination lock still attached to the frame
"DisplayDigits": 2, // Display pin code: 0 = none, 1 = single current digit, 2 = entire code when opening a lock
"DialTime": 0.5, // How quickly the locks can be dialled (0.5 = vanilla 500ms per spin)
"OwnerCanRemoveLockWithoutCode": 0, // If enabled then anyone who knows the code can remove the lock without inputting the code first
"RaidConfig": {
"Enabled": 1, // Raiding enabled/disabled (requires spawning Zen_BoltCutter in types.xml to actually raid)
"LockConfig": [
{
"LockType": "CombinationLock", // Lock name
"TimeRequired": 30, // Time taken to cut the lock off
"DamageTool": 250 // Damage done to the bolt cutter (default pristine HP = 1000)
},
{
"LockType": "CombinationLock4",
"TimeRequired": 60,
"DamageTool": 500
},
{
"LockType": "Zen_CombinationLock5",
"TimeRequired": 90,
"DamageTool": 600
},
{
"LockType": "Zen_CombinationLock6",
"TimeRequired": 120,
"DamageTool": 700
},
{
"LockType": "Zen_CombinationLock7",
"TimeRequired": 150,
"DamageTool": 800
},
{
"LockType": "Zen_CombinationLock8",
"TimeRequired": 180,
"DamageTool": 900
},
{
"LockType": "Zen_CombinationLock9",
"TimeRequired": 210,
"DamageTool": 1000
}
]
}
}
}All my mods are open-source and published under the Mozilla Public License Version 2.0. Any mods based on my code must be open-source - no obfuscation!
You can modify/reupload/repack my mods if you like, but please credit any original authors/3D model/3rd-party asset creators, and keep in mind any future updates I make will not be automatically applied to repacked mods so make sure to check back from time to time for bugfixes and improvements.
If you find my mods useful, please consider buying me a coffee - it's not expected but very much appreciated: https://buymeacoffee.com/zenarchist
- General Setup Guide
- Core Mod Setup Guide
- ZenModPack Master Config
- Various Info
- Known Bugs & Issues
- Report Bug
My utility style mods for debugging etc.
Mods which affect game mechanics:
- ZenAlcohol
- ZenAllowMapBagSlot
- ZenAntiCombatLogout
- ZenAutoConvertStash
- ZenAutoStackItems
- ZenAutoWinterDetect
- ZenAutoRun
- ZenBasebuildingConfig
- ZenBatteryPASPersistence
- ZenBetterChatFont
- ZenBrokenGlasses
- ZenBuildingDescription
- ZenCarAttachments
- ZenCarBatteryIcon
- ZenCarCompass
- ZenCarGlovebox
- ZenCarsCutDownTrees
- ZenCanteenTablets
- ZenCatchRain
- ZenCauseOfDeath
- ZenChickenCoops
- ZenCraftingSounds
- ZenCraftRagHands
- ZenComboLocks
- ZenCombineJSON
- ZenDropRuinedClothing
- ZenDynamicZoneLoot
- ZenEarPlugs
- ZenFireFuel
- ZenFireWood
- ZenFireplaceStick
- ZenFishingConfig
- ZenFixCarAttachmentGUI
- ZenGraves
- ZenGroundCleaning
- ZenHideGearInCars
- ZenHints
- ZenHologram
- ZenHologramControls
- ZenImmersiveChatHUD
- ZenImmersiveLogin
- ZenInformWeaponStateBug
- ZenInventoryAnimation
- ZenKnifeGardens
- ZenLeftovers
- ZenLogPiles
- ZenMagObfuscation
- ZenMap
- ZenMicCheck
- ZenNotifications
- ZenOpenCansRock
- ZenPainting
- ZenPimpMyRide
- ZenRadioPlugin
- ZenRebuildableWells
- ZenRepairJSON
- ZenRepairPumps
- ZenRepairWells
- ZenServerGUI
- ZenShove
- ZenSplitUI
- ZenSleep
- ZenStaminaSlope
- ZenTerritories
- ZenWeaponEngrave
- ZenWoodHealth
- ZenZombieDoors
Mods which add gear to the game:
- ZenArtillery
- ZenBackwardsCaps
- ZenBookshelf
- ZenBunnyMasks
- ZenCamoCamp
- ZenCarWorkbench
- ZenChess
- ZenChristmasTreeCraft
- ZenConcussionGrenade
- ZenDoubleArmbands
- ZenFlask
- ZenFlint
- ZenGhillie
- ZenJameson
- ZenLadders
- ZenMusic
- ZenNotes
- ZenRaidAlarm
- ZenRaybans
- ZenRunes
- ZenStaticObjects
- ZenSwissKnife
- ZenTimeBomb
- ZenTireRack
- ZenTreasure
- ZenTreehouse
- ZenVikingAxe
- ZenZippoLighter
Mods which run purely server-side:
- ZenBloodDrips
- ZenCampSites
- ZenDynamicZoneLoot
- ZenLootCyclingDetection
- ZenNightConfig
- ZenPersistentTrees
- ZenShelterCargo
- ZenTreesplosions
- ZenZombieController
- ZenZombieConfig
- ZenJameson
My standalone mods