Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Battery Charger

Used to charge truck or car batteries when plugged into running electric grid.

Classname BatteryCharger
Section
Equipment
Weight
5 kg
Inventory size
3×3 9 slots
Durability
90
Spawns on
Chernarus, Livonia, Sakhal

Characteristics

Compatibility

Attachment slots

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: Industrial.

ChernarusLivoniaSakhal
Nominal 30 20 13
Minimum 20 10 18
Lifetime 7 days 7 days 7 days
Restock 6 min 6 min 6 min
Quantity · · ·
Loot category Tools Tools Tools
Places Industrial Industrial Industrial
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="BatteryCharger">
    <nominal>30</nominal>
    <lifetime>604800</lifetime>
    <restock>360</restock>
    <min>20</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"/>
    <usage name="Industrial"/>
</type>
types.xml · Livonia
<type name="BatteryCharger">
    <nominal>20</nominal>
    <lifetime>604800</lifetime>
    <restock>360</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="tools"/>
    <usage name="Industrial"/>
</type>
types.xml · Sakhal
<type name="BatteryCharger">
    <nominal>13</nominal>
    <lifetime>604800</lifetime>
    <restock>360</restock>
    <min>18</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"/>
    <usage name="Industrial"/>
</type>

Config

Classname
BatteryCharger
Config class
CfgVehicles
Inherits from
Inventory_Base › Static › All
Model
\dz\gear\camping\battery_charger.p3d
Defined in
Addons/gear_camping.pbo::config.bin