Wiki menu
SG5-K Compensator
A muzzle device for SG5-K submachine gun. Used to counter recoil during firing.
MP5_Compensator
- Section
- Attachments
- Weight
- 80 g
- Inventory size
- 1×1 1 slots
- Durability
- 40
- Spawns on
- Chernarus, Livonia
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: Military. Also spawns on or inside other items: SG5-K.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 6 | 8 | 0 |
| Minimum | 3 | 3 | 0 |
| Lifetime | 4 h | 4 h | 4 h |
| Restock | 0 | 0 | 0 |
| Quantity | · | · | · |
| 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.
<type name="MP5_Compensator">
<nominal>6</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="Military"/>
</type>
<type name="MP5_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="Military"/>
</type>
<type name="MP5_Compensator">
<nominal>0</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>0</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="Military"/>
</type>
Config
- Classname
MP5_Compensator- Config class
CfgVehicles- Inherits from
ItemSuppressor›Inventory_Base›Static›All- Model
\dz\weapons\attachments\muzzle\MP5k_compensator.p3d- Defined in
Addons/weapon_muzzles.pbo::config.bin- Inventory slots
weaponMuzzleMP5

