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!
BarbedWire
- Section
- Building materials
- Weight
- 400 g
- Inventory size
- 2×4 8 slots
- Durability
- 300
- Spawns on
- Chernarus, Livonia, Sakhal
Characteristics
- Repaired with
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.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| 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.
<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>
<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

