Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Baseball Cap

Soft cap with a curved bill and rounded crown. It is effective at shielding the eyes from the sun.

Classname BaseballCap_Red
Section
Headwear
Weight
110 g
Inventory size
3×2 6 slots
Worn or carried in
Head
Durability
100
Spawns on
Chernarus, Livonia, Sakhal
9 variants

Characteristics

Insulation
0.2
Repaired with

Compared with similar

Headwear with insulation close to this one.

Item WeightInsulation
Burlap Sack 510 g 0.3
Camouflage Helmet 1 kg 0.3
Flight Helmet 1.45 kg 0.3
Great Helm 2 kg 0.3
Tactical Helmet 1.2 kg 0.25
Baseball Cap 110 g 0.2
Beret 230 g 0.2
Combat Helmet 1.5 kg 0.2
Festive Headband 300 g 0.2
Military Cap  110 g 0.2
Officer Cap 340 g 0.2

Where it spawns

Spawns as loot on Chernarus, Livonia, Sakhal: Town, Village.

ChernarusLivoniaSakhal
Nominal 30 20 10
Minimum 15 16 5
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Clothes Clothes Clothes
Places Town Village Village
Tiers · · Tier 1 Tier 2

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="BaseballCap_Red">
    <nominal>30</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="clothes"/>
    <tag name="shelves"/>
    <usage name="Town"/>
</type>
types.xml · Livonia
<type name="BaseballCap_Red">
    <nominal>20</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>16</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="Village"/>
</type>
types.xml · Sakhal
<type name="BaseballCap_Red">
    <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="Village"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
</type>

Variants

The same item in other colors or versions. Each one has its own classname and loot settings.

Config

Classname
BaseballCap_Red
Config class
CfgVehicles
Inherits from
BaseballCap_ColorBase › Clothing › Clothing_Base › Inventory_Base › Static › All
Model
\DZ\characters\headgear\BaseballCap_ground.p3d
Defined in
Addons/characters_headgear.pbo::config.bin
Inventory slots
Headgear