Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

8rd P1 Mag

Detachable box magazine for the P1 pistol. Holds up to 8 rounds of 9x19mm.

Classname Mag_P1_8Rnd
Section
Magazines
Weight
227 g
Inventory size
1×2 2 slots
Durability
100
Rounds
8
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Repaired with

Ammunition damage

Bullet Health Blood Shock Speed
Bullet_9x19 40 100 40 350 m/s

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

Compatibility

Ammunition

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: Town, Village, Military. Also spawns on or inside other items: P1.

ChernarusLivoniaSakhal
Nominal 42 65 22
Minimum 38 50 18
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity 25–100% 25–100% 25–100%
Loot category Weapons Weapons Weapons
Places Town Village Military Village Military Village
Tiers Tier 1 Tier 2 · 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.

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_P1_8Rnd">
    <nominal>42</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>38</min>
    <quantmin>25</quantmin>
    <quantmax>100</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="Town"/>
    <usage name="Village"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
</type>
types.xml · Livonia
<type name="Mag_P1_8Rnd">
    <nominal>65</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>50</min>
    <quantmin>25</quantmin>
    <quantmax>100</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"/>
    <usage name="Village"/>
</type>
types.xml · Sakhal
<type name="Mag_P1_8Rnd">
    <nominal>22</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>18</min>
    <quantmin>25</quantmin>
    <quantmax>100</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"/>
    <usage name="Village"/>
    <value name="Tier1"/>
    <value name="Tier2"/>
</type>

Config

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