Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

M79

Break action grenade launcher. Might look antiquated, but still effective. Uses 40mm grenades.

Classname M79
Section
Weapons
Weight
2.7 kg
Inventory size
6×3 18 slots
Worn or carried in
Shoulder, Melee slot
Durability
200
Fire modes
Single shot
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Repaired with

Fire modes

Single shot
60 rounds/min

Rate of fire is 60 seconds divided by the delay between shots in the config.

Ammunition damage

Bullet Health Blood Shock Muzzle velocity
Bullet_40mm_ChemGas 110 100 110 76 m/s
Bullet_40mm_Explosive 110 100 110 76 m/s
Bullet_40mm_Smoke_Black 110 100 110 76 m/s
Bullet_40mm_Smoke_Green 110 100 110 76 m/s
Bullet_40mm_Smoke_Red 110 100 110 76 m/s
Bullet_40mm_Smoke_White 110 100 110 76 m/s

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

Melee

Attack Health Shock Blood Reach
Light attack 10 15 100 1.2 m

Compatibility

Attachment slots

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.

ChernarusLivoniaSakhal
Nominal 3 3 4
Minimum 1 1 2
Lifetime 4 h 4 h 4 h
Restock 0 0 2 h
Quantity 30–80% 30–80% 30–80%
Loot category Weapons Weapons Weapons
Places Military Military Military
Tiers Unique Unique Tier 4

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="M79">
    <nominal>3</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>1</min>
    <quantmin>30</quantmin>
    <quantmax>80</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="Military"/>
    <value name="Unique"/>
</type>
types.xml · Livonia
<type name="M79">
    <nominal>3</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>1</min>
    <quantmin>30</quantmin>
    <quantmax>80</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="Unique"/>
</type>
types.xml · Sakhal
<type name="M79">
    <nominal>4</nominal>
    <lifetime>14400</lifetime>
    <restock>7200</restock>
    <min>2</min>
    <quantmin>30</quantmin>
    <quantmax>80</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="Tier4"/>
</type>

Config

Classname
M79
Config class
CfgWeapons
Inherits from
M79_Base › Rifle_Base › RifleCore › DefaultWeapon › Weapon_Base
Model
\dz\weapons\launchers\m79\m79.p3d
Defined in
Addons/weapons_launchers.pbo::m79/config.bin
Inventory slots
Shoulder, Melee