Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Barbed Wire

A roll of barbed wire. Can be used for various trap crafting, you can even use it to tie somebody down. Not that you'd want to!

Classname BarbedWire
Weight
400 g
Inventory size
2×4 8 slots
Durability
300
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Compatibility

Attaches to

Matched by config slots and lists. Game scripts block a few combinations on top of this.

Where it spawns

Spawns as loot on Chernarus, Livonia, Sakhal: Industrial, Farm.

ChernarusLivoniaSakhal
Nominal 60 60 35
Minimum 50 50 30
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools Tools
Places Industrial Farm Industrial Farm Industrial Farm
Tiers · · ·

Nominal is how many the economy keeps on the map, minimum is where restocking starts. Lifetime is how long an untouched item lies before cleanup.

types.xml

Vanilla entries from the mission files of each map. Paste one into db/types.xml of your mission to bring back the default.

types.xml · Chernarus, Livonia
<type name="BarbedWire">
    <nominal>60</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>50</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="Industrial"/>
    <usage name="Farm"/>
</type>
types.xml · Sakhal
<type name="BarbedWire">
    <nominal>35</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>30</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="Industrial"/>
    <usage name="Farm"/>
</type>

Crafting

Craft barbed baseball bat partial

Craft metal wire partial

Recipes are read from the game scripts. Some have extra conditions in code, those are marked partial.

Config

Classname
BarbedWire
Config class
CfgVehicles
Inherits from
Inventory_Base › Static › All
Model
\dz\gear\camping\Barbed_wire.p3d
Defined in
Addons/gear_camping.pbo::config.bin
Inventory slots
Wall_Barbedwire_1, Wall_Barbedwire_2, Level_1_Wall_1_Barbedwire_1, Level_1_Wall_1_Barbedwire_2, Level_1_Wall_2_Barbedwire_1, Level_1_Wall_2_Barbedwire_2, Level_1_Wall_3_Barbedwire_1, Level_1_Wall_3_Barbedwire_2

Data from the DayZ 1.29.0.163709 game files, Steam build 24689949.