Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Pistol Flashlight

A flashlight attachable to any pistol with an available rail mount. Provides tactical advantage.

Classname TLRLight
Weight
118 g
Inventory size
1×1 1 slots
Durability
70
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, Police. Also spawns on or inside other items: CR-75, FX-45, Mlock-91.

ChernarusLivoniaSakhal
Nominal 40 20 13
Minimum 30 10 8
Lifetime 4 h 4 h 4 h
Restock 0 1 min 1 min
Quantity · · ·
Loot category Weapons Weapons Weapons
Places Military Police Military Police Military Police
Tiers Tier 2 Tier 3 Tier 4 Tier 2 Tier 3 Tier 2 Tier 3

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="TLRLight">
    <nominal>40</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>30</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"/>
    <tag name="shelves"/>
    <usage name="Military"/>
    <usage name="Police"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
    <value name="Tier4"/>
</type>
types.xml · Livonia
<type name="TLRLight">
    <nominal>20</nominal>
    <lifetime>14400</lifetime>
    <restock>60</restock>
    <min>10</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"/>
    <tag name="shelves"/>
    <usage name="Military"/>
    <usage name="Police"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
</type>
types.xml · Sakhal
<type name="TLRLight">
    <nominal>13</nominal>
    <lifetime>14400</lifetime>
    <restock>60</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"/>
    <tag name="shelves"/>
    <usage name="Military"/>
    <usage name="Police"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
</type>

Config

Classname
TLRLight
Config class
CfgVehicles
Inherits from
Switchable_Base › Powered_Base › Inventory_Base › Static › All
Model
\DZ\weapons\attachments\light\weaponlight_TLR.p3d
Defined in
Addons/weapon_lights.pbo::config.bin
Inventory slots
pistolFlashlight