Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Flashlight

A battery-powered flashlight. Functional enough to provide more than a narrow cone of light.

Classname Flashlight
Section
Tools
Weight
210 g
Inventory size
3×1 3 slots
Durability
70
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Melee

Attack Health Shock Blood Reach
Light attack 10 15 100 1 m
Heavy attack 12 17 100 1 m
Sprint attack 12 17 100 2.8 m

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.

ChernarusLivoniaSakhal
Nominal 90 50 30
Minimum 70 35 25
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools Tools
Places · · ·
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
<type name="Flashlight">
    <nominal>90</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>70</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="tools"/>
    <tag name="shelves"/>
</type>
types.xml · Livonia
<type name="Flashlight">
    <nominal>50</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>35</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="tools"/>
    <tag name="shelves"/>
</type>
types.xml · Sakhal
<type name="Flashlight">
    <nominal>30</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>25</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="tools"/>
    <tag name="shelves"/>
</type>

Config

Classname
Flashlight
Config class
CfgVehicles
Inherits from
Inventory_Base › Static › All
Model
\DZ\gear\tools\flashlight.p3d
Defined in
Addons/gear_tools.pbo::config.bin