Wiki menu
Officer Cap
An officer cap with a crown, a band, and a peak. Its original purpose is mostly for showing rank.
Classname
OfficerHat
- Section
- Headwear
- Weight
- 340 g
- Inventory size
- 3×2 6 slots
- Worn or carried in
- Head
- Durability
- 35
- Spawns on
- Chernarus, Livonia, Sakhal
Characteristics
- Insulation
- 0.2
- Repaired with
Compared with similar
Headwear with insulation close to this one.
| Item | Weight | Insulation |
|---|---|---|
| 110 g | 0.2 | |
| 230 g | 0.2 | |
| 1.5 kg | 0.2 | |
| 300 g | 0.2 | |
| 110 g | 0.2 | |
| 340 g | 0.2 | |
| 140 g | 0.2 | |
| 320 g | 0.2 | |
| 200 g | 0.15 | |
| 470 g | 0.1 | |
| 610 g | 0.1 |
Where it spawns
Spawns as loot on Chernarus, Livonia, Sakhal: Military.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 10 | 10 | 14 |
| Minimum | 5 | 5 | 10 |
| Lifetime | 4 h | 4 h | 4 h |
| Restock | 0 | 0 | 0 |
| Quantity | · | · | · |
| Loot category | Clothes | Clothes | Clothes |
| Places | Military | Military | Military |
| 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="OfficerHat">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>5</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="clothes"/>
<tag name="shelves"/>
<usage name="Military"/>
</type>
types.xml · Sakhal
<type name="OfficerHat">
<nominal>14</nominal>
<lifetime>14400</lifetime>
<restock>0</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="clothes"/>
<tag name="shelves"/>
<usage name="Military"/>
</type>
Config
- Classname
OfficerHat- Config class
CfgVehicles- Inherits from
Clothing›Clothing_Base›Inventory_Base›Static›All- Model
\DZ\characters\headgear\Officerhat_g.p3d- Defined in
Addons/characters_headgear.pbo::config.bin- Inventory slots
Headgear

