Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

20rd Mag-C Mag

Detachable aftermarket box magazine for compliant assault rifles used by alliance forces. Holds up to 20 rounds of 5.56x45mm.

Classname Mag_CMAG_20Rnd
Section
Magazines
Weight
60 g
Inventory size
1×2 2 slots
Durability
100
Rounds
20
Spawns on
Chernarus, Livonia, Sakhal
3 variants

Characteristics

Repaired with

Ammunition damage

Bullet Health Blood Shock Speed
Bullet_556x45 110 100 110 850 m/s

Damage of the bullet class from the config, before armor and hit zone multipliers. Muzzle velocity already counts this barrel.

Compatibility

Fits these weapons

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: Military, Special. Also spawns on or inside other items: M16-A2, M4-A1.

ChernarusLivoniaSakhal
Nominal 8 10 12
Minimum 5 7 9
Lifetime 8 h 8 h 8 h
Restock 0 0 30 min
Quantity 5–50% 5–50% 5–50%
Loot category Weapons Weapons Weapons
Places Military Military Special
Tiers Tier 3 Tier 4 Tier 2 Tier 3 ·

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.

Spawns on or inside

From cfgspawnabletypes.xml of the vanilla maps: the item can spawn attached to these items or in their cargo, with the chance set there.

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="Mag_CMAG_20Rnd">
    <nominal>8</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>5</min>
    <quantmin>5</quantmin>
    <quantmax>50</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="weapons"/>
    <usage name="Military"/>
    <value name="Tier3"/>
    <value name="Tier4"/>
</type>
types.xml · Livonia
<type name="Mag_CMAG_20Rnd">
    <nominal>10</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>7</min>
    <quantmin>5</quantmin>
    <quantmax>50</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="weapons"/>
    <usage name="Military"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
</type>
types.xml · Sakhal
<type name="Mag_CMAG_20Rnd">
    <nominal>12</nominal>
    <lifetime>28800</lifetime>
    <restock>1800</restock>
    <min>9</min>
    <quantmin>5</quantmin>
    <quantmax>50</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="1"/>
    <category name="weapons"/>
    <usage name="Special"/>
</type>

Variants

20rd Mag-C Mag Mag_CMAG_20Rnd Chernarus 8Livonia 10Sakhal 12 This page
20rd Mag-C Mag Mag_CMAG_20Rnd_Black 20rd Mag-C Mag Mag_CMAG_20Rnd_Green

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

Config

Classname
Mag_CMAG_20Rnd
Config class
CfgMagazines
Inherits from
Magazine_Base › DefaultMagazine
Model
\DZ\weapons\attachments\magazine\magazine_pmag_20.p3d
Defined in
Addons/weapon_magazines.pbo::config.bin
Inventory slots
magazine, magazine2, magazine3