Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

15rd Sporter 22 Mag

Detachable box magazine for Sporter 22 rifle. Holds up to 15 rounds of .22 LR.

Classname Mag_Ruger1022_15Rnd
Section
Magazines
Weight
80 g
Inventory size
1×2 2 slots
Durability
100
Rounds
15
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Repaired with

Ammunition damage

Bullet Health Blood Shock Speed
Bullet_22 20 100 20 370 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. Also spawns on or inside other items: Sporter 22.

ChernarusLivoniaSakhal
Nominal 35 17 25
Minimum 20 10 18
Lifetime 8 h 8 h 8 h
Restock 0 0 0
Quantity 10–100% 10–100% 10–100%
Loot category Weapons Weapons Weapons
Places Town Village Town Village Town Village
Tiers Tier 1 Tier 2 Tier 1 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_Ruger1022_15Rnd">
    <nominal>35</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>20</min>
    <quantmin>10</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_Ruger1022_15Rnd">
    <nominal>17</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>10</min>
    <quantmin>10</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"/>
</type>
types.xml · Sakhal
<type name="Mag_Ruger1022_15Rnd">
    <nominal>25</nominal>
    <lifetime>28800</lifetime>
    <restock>0</restock>
    <min>18</min>
    <quantmin>10</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>

Config

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