Wiki menu
Car Battery
12V rechargeable car battery, usable in cars. It can be used to power other appliances, if connected properly.
CarBattery
- Section
- Vehicle parts
- Weight
- 10 kg
- Inventory size
- 3×3 9 slots
- Durability
- 200
- Spawns on
- Chernarus, Livonia, Sakhal
Characteristics
- Repaired with
Compatibility
Attaches to
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. Also spawns on or inside other items: Ada 4x4, Gunter 2, M1025 and 2 more.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 60 | 40 | 23 |
| Minimum | 40 | 20 | 18 |
| Lifetime | 8 h | 8 h | 8 h |
| Restock | 6 min | 6 min | 6 min |
| Quantity | 20–100% | 20–100% | 100–100% |
| 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.
Spawns with
Spawns with 0% to 35% 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.
<type name="CarBattery">
<nominal>60</nominal>
<lifetime>28800</lifetime>
<restock>360</restock>
<min>40</min>
<quantmin>20</quantmin>
<quantmax>100</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>
<type name="CarBattery">
<nominal>40</nominal>
<lifetime>28800</lifetime>
<restock>360</restock>
<min>20</min>
<quantmin>20</quantmin>
<quantmax>100</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>
<type name="CarBattery">
<nominal>23</nominal>
<lifetime>28800</lifetime>
<restock>360</restock>
<min>18</min>
<quantmin>100</quantmin>
<quantmax>100</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>
<type name="CarBattery">
<damage min="0" max="0.35"/>
</type>
Config
- Classname
CarBattery- Config class
CfgVehicles- Inherits from
Inventory_Base›Static›All- Model
\dz\vehicles\parts\battery_car.p3d- Defined in
Addons/vehicles_parts.pbo::config.bin- Inventory slots
CarBattery, LargeBattery

