Wiki menu
4-Dial Combination Lock
4-dial combination lock, with a chain long enough for the wooden logs of constructed gates.
Classname
CombinationLock4
- Section
- Equipment
- Weight
- 350 g
- Inventory size
- 3×3 9 slots
- Durability
- 1 500
- Spawns on
- Chernarus, Livonia, Sakhal
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 | 40 | 35 | 20 |
| Minimum | 20 | 20 | 15 |
| 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
<type name="CombinationLock4">
<nominal>40</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>20</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 · Livonia
<type name="CombinationLock4">
<nominal>35</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>20</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="CombinationLock4">
<nominal>20</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>15</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>
Config
- Classname
CombinationLock4- Config class
CfgVehicles- Inherits from
CombinationLock›Inventory_Base›Static›All- Model
\DZ\gear\camping\combination_lock4.p3d- Defined in
Addons/gear_camping.pbo::config.bin- Inventory slots
Att_CombinationLock, Att_CombinationLock1_Wood, Att_CombinationLock1_Metal, Att_CombinationLock2_Wood, Att_CombinationLock2_Metal, Att_CombinationLock3_Wood, Att_CombinationLock3_Metal, Att_CombinationLock4_Wood, Att_CombinationLock4_Metal, Att_CombinationLock5_Wood, Att_CombinationLock5_Metal

