Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Mosin 91/30 Compensator

A muzzle device for Mosin 91/30 rifle. Used to counter recoil during firing.

Classname Mosin_Compensator
Weight
150 g
Inventory size
1×1 1 slots
Durability
40
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Repaired with

Compatibility

Attaches to

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: Hunting. Also spawns on or inside other items: Mosin 91/30.

ChernarusLivoniaSakhal
Nominal 15 22 8
Minimum 8 17 3
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Weapons Weapons Weapons
Places Hunting Hunting Hunting
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="Mosin_Compensator">
    <nominal>15</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>8</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="weapons"/>
    <usage name="Hunting"/>
</type>
types.xml · Livonia
<type name="Mosin_Compensator">
    <nominal>22</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>17</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="weapons"/>
    <usage name="Hunting"/>
</type>
types.xml · Sakhal
<type name="Mosin_Compensator">
    <nominal>8</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>3</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="weapons"/>
    <usage name="Hunting"/>
</type>

Config

Classname
Mosin_Compensator
Config class
CfgVehicles
Inherits from
ItemSuppressor › Inventory_Base › Static › All
Model
\dz\weapons\attachments\muzzle\mosin_compensator.p3d
Defined in
Addons/weapon_muzzles.pbo::config.bin
Inventory slots
weaponMuzzleMosin