Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Flag

Oblong piece of cloth. It's attached by one edge to a pole/rope and used as the symbol or emblem of a faction or institution.

Classname Flag_Chedaki
Section
Equipment
Weight
1 kg
Inventory size
2×2 4 slots
Durability
100
Spawns on
Chernarus
34 variants

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: Office, School.

ChernarusLivoniaSakhal
Nominal 2 0 0
Minimum 1 0 0
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools Tools
Places Office School · ·
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="Flag_Chedaki">
    <nominal>2</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>1</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
    <category name="tools"/>
    <usage name="Office"/>
    <usage name="School"/>
</type>
types.xml · Livonia, Sakhal
<type name="Flag_Chedaki">
    <nominal>0</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>0</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"/>
</type>

Crafting

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

Variants

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

Config

Classname
Flag_Chedaki
Config class
CfgVehicles
Inherits from
Flag_Base › Inventory_Base › Static › All
Model
\dz\gear\camping\DZ_Flag.p3d
Defined in
Addons/gear_camping.pbo::config.bin
Inventory slots
Material_FPole_Flag