DayZ
65 ratings
BuildingDoorKeys
2
5
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
238.150 KB
9 Jun, 2023 @ 6:49am
20 Jul, 2023 @ 11:20am
30 Change Notes ( view )

Subscribe to download
BuildingDoorKeys

Description
Building Door Keys

Update 7-20-2023
  • Added Fishy IndustrialPack building classes to Settings.json
  • Fixed several bugs, see release notes for details.

Keys that can be paired to buildings, enabling all doors of that building to be locked and unlocked.
Each key is assigned a specific building type when spawned.
Vanilla and Modded buildings are supported.

  • Includes Admin keys that can be spawned with an admin tool, enabling any door to be unlocked and any building to be unpaired from a key.

  • DayZ vanilla Lockpicks do NOT work on a door locked by these keys or any door of a building that has been paired to a key.

  • Door health can be set to increase the amount of damage required to break a door lock or disabled to prevent raiding .

  • DayZ vanilla Territory Flag Pole can be enabled to create a refresh area at a paired building. When the DayZ Central Economy System or a Player lowers the flag and its lifetime expires, the building will be unpaired from its key, all doors unlocked and the flag pole deleted.

  • Key types are set in "YourServerProfile//BuildingDoorKeys//Settings.json" file. Vanilla and Modded building class names can be referenced to support keys, and if enabled, the Territory Flag Pole position and rotation can be set relative to the building.

  • Each key can be set to the type that spawns it. There are 4 types with unique usage, tier and nominal settings.

  • Paired buildings are stored across server restarts allowing individual or all paired buildings to be wiped separate from DayZ storage. "ServerProfile//BuildingDoorKeys//Persistence//" is the storage folder.

Do not repack, Do not re-upload.

Installation On Server
  • Copy 'GazKey.bikey' file from '@BuildingDoorKeys/Keys' folder to server root 'keys' folder.
  • Copy 'BuildingKeys_ce' folder from '@BuildingDoorKeys/Types' folder to server 'mpmissions/dayzOffline.YourMap' folder.
  • Copy xml code that is in comments from 'Types/cfgeconomycore.xml' file and paste into 'mpmissions/dayzOffline.YourMap/cfgeconomycore.xml' file.
  • Server will create 'ServerProfile//BuildingDoorKeys//Settings.json' file.
  • Mod was uploaded with very high nominal values in new 'BuildingKeys_ce//Key_types.xml' file. Adjust accordingly.


Settings.json
* Add vanilla and modded building class names for key support in this file.
* Default file has 11 vanilla buildings and 8 Fishy Industrial Pack buildings predefined.


Version
Integer
Do not change, used for automatic conversion of old settings.

UpdateFrequecy
Float
Default is 10
Building manager light weight update frequency in seconds.

LogBuildingTypesLoad
LogAction
LogActionConditions
Bool
Used to toggle output to log file.

EnableTerritoryFlag
Bool
* 0 = Disable automatic creation of territory flag when key paired with building.
* 1 = Enable automatic creation of territory flag when key paired with building.

InitialFlagHeight
Float
Initial height of flag if territory flag pole enabled. Valid range is 0 thru 5. 0 is not recommended because DayZ central economy could Immediately run and trigger flag pole to be deleted and building unpaired from key.

DefaultFlagType
String
Default = "Flag_DayZ" .Class of flag to be attached to flag pole.

DefaultFlagTexture
String
Default = "dz\\gear\\camping\\Data\\Flag_DAYZ_co.paa". Texture to use for flag.

TerritoryFlagLifeAccel
Float
* 0 = Flag will not lower.
* 1 = Flag will lower at default Central Economy rate.
* 40000 = Flag will lower in 2 minutes.

MaxDoorHealth
Float
* 0 = Door damage disabled. Locks cant to broken.
* 100000 = Default, door will unlock after 330 5.56 rounds. Door damage is hooked into vanilla damage system and will respect damage applied by any method.

KeyTypes
Array
List all valid key settings with their paired building class names.
{
  • KeyClass
    String
    Name of spawnable type to use for this key. Valid entries:
    "DoorKeyType1", "DoorKeyType2", "DoorKeyType3", "DoorKeyType4"
    (These names link the key to a spawnable type in Key_types.xml)
  • KeyName
    String
    Displayable name of the key.
  • BuildingClass
    String
    Literal class name of the building this key can pair to (string has to exactly match the class name of the building to be paired with).
  • BuildingName
    String
    Displayable name of the building.
  • BuildingDescription
    String
    Displayable description of the building.
  • FlagOffset
    Vector
    Relative offset from building pivot point to flag position.
  • FlagOreintation
    Vector
    Relative rotation of flag to building.
}

Valid Flag Class Names


Flag_Chernarus
Flag_Chedaki
Flag_NAPA
Flag_CDF
Flag_Livonia
Flag_Altis
Flag_SSahrani
Flag_NSahrani
Flag_DayZ
Flag_LivoniaArmy
Flag_White
Flag_Bohemia
Flag_APA
Flag_UEC
Flag_Pirates
Flag_Cannibals
Flag_Bear
Flag_Wolf
Flag_BabyDeer
Flag_Rooster
Flag_LivoniaPolice
Flag_CMC
Flag_TEC
Flag_CHEL
Flag_Zenit
Flag_HunterZ
Flag_BrainZ
Flag_Rex
Flag_Zagorky
Flag_Crook

Valid Flag Textures
Flag texture entry has to be preceded by "dz\\gear\\camping\\Data\\"


flag_alti_co.paa
flag_apa_co.paa
flag_bear_co.paa
flag_bi_co.paa
flag_brain_co.paa
flag_cdf_co.paa
flag_ched_co.paa
flag_chel_co.paa
flag_chern_co.paa
flag_cmc_co.paa
flag_cock_co.paa
flag_crook_1_co.paa
flag_crook_co.paa
flag_dayz_co.paa
flag_dros_co.paa
flag_fawn_co.paa
flag_jolly_c_co.paa
flag_jolly_co.paa
flag_kos_co.paa
flag_idf_co.paa
flag_livo_co.paa
flag_napa_co.paa
flag_police_co.paa
flag_refuge_co.paa
flag_rex_co.paa
flag_rsta_co.paa
flag_snake_co.paa
flag_tec_co.paa
flag_uec_co.paa
flag_white_co.paa
flag_windmask_co.paa
flag_wolf_co.paa
flag_zagorky_co.paa
flag_zenit_co.paa
flag_zhunters_co.paa


DayZ-Expansion and Other Traders Support In Developement
Popular Discussions View All (6)
5
20 Jun, 2024 @ 9:22pm
PINNED: Suggestions
Gaz
2
21 Jan, 2024 @ 10:00am
PINNED: Crashes or Bugs
Gaz
1
21 Jan, 2024 @ 9:57am
PINNED: Servers Using This Mod
Gaz
93 Comments
Old Man Vape 23 Jul @ 3:30pm 
read post before yours and take a guess
Gobbles 22 Jul @ 2:54pm 
is this mod dead? love to use this mod if it worked
Shaggoth (Ищезаяц) 28 Jun @ 12:09am 
see the last update date and make a wild guess
OGkush 27 Jun @ 6:07pm 
When is support with Expansion mod is coming?
Mr.JMods 16 Mar @ 1:00pm 
Is this server and client side or client only or server only?
LiveBait 20 Jun, 2024 @ 10:02pm 
If there is no flag how long will it last?
Oracle 16 May, 2024 @ 6:41am 
grenade open, closed doors, who to disable it
Gobbles 21 Jan, 2024 @ 10:01am 
has the owner stopped update or is the mod basically done?
Gobbles 15 Jan, 2024 @ 7:56pm 
Question. When i use the admin key, i see a types file but i don't see a file that allows me to adjust the damage the door can take before it breaks open. The description say if i set the damage at 100000 that it will take 330 5.56 ammo shots to break it open... but 20 punches break it open. Is there a way to adjust the damage setting of the doors that admin keys lock?
WhoBeDat420 6 Jan, 2024 @ 10:50pm 
Is this working correctly for anyone using expansion? if so please pm me