Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Marksman Scope

A standardized, rail-mounted scope with 3.5x-10x variable magnification and a MilDot reticle. This reliable long-range scope was made to be compatible with Western designated marksman rifles.

Classname MK4Optic_Black
Weight
600 g
Inventory size
4×1 4 slots
Durability
100
Spawns on
Chernarus, Livonia, Sakhal
3 variants

Characteristics

Compatibility

Attachment slots

Battery D

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: Police, Special. Also spawns on or inside other items: Pioneer.

ChernarusLivoniaSakhal
Nominal 2 2 1
Minimum 1 1 0
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Weapons Weapons Weapons
Places Police Police Special
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, Livonia
<type name="MK4Optic_Black">
    <nominal>2</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>1</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="1"/>
    <category name="weapons"/>
    <usage name="Police"/>
</type>
types.xml · Sakhal
<type name="MK4Optic_Black">
    <nominal>1</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="1"/>
    <category name="weapons"/>
    <usage name="Special"/>
</type>

Variants

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

Config

Classname
MK4Optic_Black
Config class
CfgVehicles
Inherits from
MK4Optic_ColorBase › ItemOptics_Base › ItemOptics › Inventory_Base › Static › All
Model
\DZ\weapons\attachments\optics\optic_mark4.p3d
Defined in
Addons/weapon_optics.pbo::config.bin
Inventory slots
WeaponOptics