Skip to content
Kevin Hoddinott edited this page Sep 1, 2020 · 7 revisions

Welcome to the Dayz-HackingMod wiki!

How to Hack

Hacking like in real life is not going to be as easy as using brute force, so here its the same. To hack there are 3 steps

  • 1st - Find your self a tablet and the required batteries for the object you want to hack
  • 2nd - Start the hack by going up to the target and holding start hack this may take some time as you are setting up the hack
  • 3rd - you now need to keep the tablet in your hands to ensure that the hacking doesn't get interrupted, as well as ensure you don't go more than 10 meters from the target or your tablet will lose its connection
  • Last - The hack will complete and the door/tent will unlock and your tablet will gain some damage. Note: If you hacking get interrupted don't panic you can just go up and resume it, and it will start where you left off

Config File

Read here for details on how to configure the mod

ConfigVersion

This is the configs, version number used to help ensure smooth updates between mod versions

Notification

0 - Native Notification System 1 - Ingame Chat Notification 2 - Hacking Mod Notification

HackableItems

This is a list of Items/Objects that the hacking tablet will be able to hack you can add as many items as you wish, this list is checked from top to bottom so always list items from most specific to least specific.

Type

This is the Type Search Name, this searches the Items Type so for instance MediumTent, LargeTent and CarTent all contain "Tent" so you can use "tent" as your search term and match anything with tent in the name, or you can add each item separately to give different Hack Times/Conditions for each.

StartTime

This is the amount of time in seconds for you to start/initiate the hack (how long the player has to hold left click)

HackingTime

This is the amount of time in seconds that the hacking takes to complete after the competition of start time.

Batteries

This is the number of batteries required to be in the tablet in order to hack the object, this is also the number of batteries that will be destroyed on the completion of the hack, This can't be more than 5 as there are only 5 Battery Slots

TabletDamage

This is the amount of damage (out of 100 health) that will be done to the tablet upon completion of the hack

ChanceOfInterrupt

This is a random chance that the hacking will interrupt, this is calculated every 2 Seconds so keep this number low 0.01 is a 1% chance.

Default Config

{
    "ConfigVersion": "1",
    "Notification": 2,
    "HackableItems": [
        {
            "Type": "tent",
            "StartTime": 45,
            "HackingTime": 600,
            "Batteries": 1,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        },
        {
            "Type": "fence",
            "StartTime": 60,
            "HackingTime": 600,
            "Batteries": 2,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        },
        {
            "Type": "bbp_t1",
            "StartTime": 60,
            "HackingTime": 900,
            "Batteries": 2,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        },
        {
            "Type": "bbp_t2",
            "StartTime": 90,
            "HackingTime": 1200,
            "Batteries": 3,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        },
        {
            "Type": "bbp_t3",
            "StartTime": 120,
            "HackingTime": 1800,
            "Batteries": 5,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        }
    ],
    "ScriptLogging": 0
}

More Doors Objects

This is an example of how it can work with more doors with the last one matching to all remaining MoreDoors

       {
            "Type": "MoreDoorVault",
            "StartTime": 120,
            "HackingTime": 1800,
            "Batteries": 2,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        },
        {
            "Type": "MoreDoorSmallMetal",
            "StartTime": 90,
            "HackingTime": 1200,
            "Batteries": 3,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        },
        {
            "Type": "MoreDoor",
            "StartTime": 60,
            "HackingTime": 900,
            "Batteries": 5,
            "TabletDamage": 15,
            "ChanceOfInterrupt": 0.01
        }

Types.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
    <type name="DecoderTablet">
        <nominal>8</nominal>
        <lifetime>10800</lifetime>
        <restock>3600</restock>
        <min>3</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="tools"/>
        <usage name="Military"/>
        <usage name="Town"/>
        <usage name="Village"/>
        <usage name="Police"/>
    </type>
    <type name="TabletBattery">
        <nominal>25</nominal>
        <lifetime>10800</lifetime>
        <restock>3600</restock>
        <min>10</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="tools"/>
        <tag name="shelves"/>
        <usage name="Town"/>
        <usage name="Village"/>
        <usage name="Police"/>
    </type>
</types>