Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

40mm Smoke Grenade

Ammunition for grenade launchers. Releases a dense colored smoke on impact.

Classname Ammo_40mm_Smoke_Green
Section
Ammunition
Weight
230 g
Inventory size
2×1 2 slots
Durability
50
Rounds in a stack
1
Spawns on
Chernarus, Livonia, Sakhal
4 variants

Characteristics

Ammunition damage

Bullet Health Blood Shock Speed
Bullet_40mm_Smoke_Green 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.

Compatibility

Used by

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. Also spawns on or inside other items: Ammo Box.

ChernarusLivoniaSakhal
Nominal 15 10 10
Minimum 8 6 6
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity 100–100% 100–100% 100–100%
Loot category Weapons Weapons Weapons
Places Military Military Military
Tiers · · ·

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="Ammo_40mm_Smoke_Green">
    <nominal>15</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>8</min>
    <quantmin>100</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"/>
</type>
types.xml · Livonia, Sakhal
<type name="Ammo_40mm_Smoke_Green">
    <nominal>10</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>6</min>
    <quantmin>100</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"/>
</type>

Variants

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

Config

Classname
Ammo_40mm_Smoke_Green
Config class
CfgMagazines
Inherits from
Ammo_40mm_Smoke_ColorBase › Ammo_40mm_Base › Ammunition_Base › Magazine_Base › DefaultMagazine
Model
\dz\weapons\ammunition\40mm_grenade_smoke_g.p3d
Defined in
Addons/weapons_ammunition.pbo::config.bin
Inventory slots
IEDExplosiveA, IEDExplosiveB, VestGrenadeA, VestGrenadeB, VestGrenadeC, VestGrenadeD