Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

1-M8 Smoke Grenade

Smoke grenade used by western forces. Comes in many different colors, it can provide cover or mark positions.

Classname M18SmokeGrenade_White
Section
Explosives
Weight
500 g
Inventory size
1×2 2 slots
Durability
20
Spawns on
Chernarus, Livonia, Sakhal
6 variants

Compatibility

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 10 10 10
Minimum 5 5 5
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Explosives Explosives Explosives
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.

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, Livonia, Sakhal
<type name="M18SmokeGrenade_White">
    <nominal>10</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>5</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</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="explosives"/>
    <usage name="Military"/>
</type>

Variants

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

Config

Classname
M18SmokeGrenade_White
Config class
CfgVehicles
Inherits from
M18SmokeGrenade_ColorBase › Grenade_Base › ExplosivesBase › Inventory_Base › Static › All
Model
\dz\weapons\explosives\smokegrenade.p3d
Defined in
Addons/weapons_explosives.pbo::config.bin
Inventory slots
IEDExplosiveA, IEDExplosiveB, VestGrenadeA, VestGrenadeB, VestGrenadeC, VestGrenadeD, tripWireAttachment