Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

40rd Mag-C Mag

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

Classname Mag_CMAG_40Rnd
Section
Magazines
Weight
100 g
Inventory size
1×4 4 slots
Durability
100
Rounds
40
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: Contaminated zone, Military, Special. Also spawns on or inside other items: M16-A2, M4-A1.

ChernarusLivoniaSakhal
Nominal 4 4 5
Minimum 2 2 3
Lifetime 2 h 1.5 h 1.5 h
Restock 1 h 30 min 1 h
Quantity 5–50% 5–50% 5–50%
Loot category Weapons Weapons Weapons
Places Contaminated zone Military Special
Tiers · 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_40Rnd">
    <nominal>4</nominal>
    <lifetime>7200</lifetime>
    <restock>3600</restock>
    <min>2</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="ContaminatedArea"/>
</type>
types.xml · Livonia
<type name="Mag_CMAG_40Rnd">
    <nominal>4</nominal>
    <lifetime>5400</lifetime>
    <restock>1800</restock>
    <min>2</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"/>
</type>
types.xml · Sakhal
<type name="Mag_CMAG_40Rnd">
    <nominal>5</nominal>
    <lifetime>5400</lifetime>
    <restock>3600</restock>
    <min>3</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

40rd Mag-C Mag Mag_CMAG_40Rnd Chernarus 4Livonia 4Sakhal 5 This page
40rd Mag-C Mag Mag_CMAG_40Rnd_Black 40rd Mag-C Mag Mag_CMAG_40Rnd_Green

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

Config

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