Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Night Vision Goggles

Battery-powered night vision goggles for intensifying images in low light environment. Includes mount system.

Classname NVGoggles
Weight
300 g
Inventory size
2×2 4 slots
Durability
100
Spawns on
Chernarus, Livonia, Sakhal

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: Military, Underground. Also spawns on or inside other items: Tactical Helmet.

ChernarusLivoniaSakhal
Nominal 5 5 2
Minimum 3 3 1
Lifetime 8 h 8 h 8 h
Restock 0 0 2 h
Quantity · · ·
Loot category Weapons Weapons Weapons
Places Military Military Underground
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 with

Spawns with 0% to 32% damage.

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="NVGoggles">
    <nominal>5</nominal>
    <lifetime>28800</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="1" crafted="0" deloot="1"/>
    <category name="weapons"/>
    <usage name="Military"/>
</type>
types.xml · Sakhal
<type name="NVGoggles">
    <nominal>2</nominal>
    <lifetime>28800</lifetime>
    <restock>7200</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="0"/>
    <category name="weapons"/>
    <usage name="Underground"/>
</type>
cfgspawnabletypes.xml · Chernarus, Livonia, Sakhal
<type name="NVGoggles">
    <damage min="0" max="0.32"/>
</type>

Config

Classname
NVGoggles
Config class
CfgVehicles
Inherits from
ItemOptics › Inventory_Base › Static › All
Model
\DZ\characters\glasses\NVG.p3d
Defined in
Addons/characters_glasses.pbo::config.bin
Inventory slots
NVG