The Forge is currently under heavy construction. Expect nothing to work. Data is reset every hour.

Mod Details

BatterySystem

BatterySystem 1.5.0

Created by Jiro

3.4K Downloads

SPT 3.8.3 Compatible

Electronics now require drainable batteries. Such realism, much wow

Read Installing and Configuring tab!

  • Overhauls all NVDs, Headsets, Tactical devices, Thermal/NV and Holographic sights to function on batteries and now have a slot reserved for them. A battery in the slot is drained when the item is equipped and in use.
  • Replaces D Size Batteries with CR2032 Batteries and Rechargable Batteries with CR123 Batteries. Sight description now lists what batteries it uses.
  • Without batteries NVGs lose their night-vision property and collimators lose their reticle, but you can still see through them!
  • Batteries last an hour on NVGs, but is affected by the type of them; bigger field of vision means increased battery drain. Batteries in collimators last up to 2.5 hours.
  • Added four new crafts in the hideout for crafting and recharging batteries.
  • Bots can spawn with drained batteries which makes finding batteries easier.

BatterySystem conflicts with any mod that modifies D Size Battery or Rechargable Battery.

Batteries might not spawn on bots when using mods that alter bot equipment presets. Any mod that alters hearing (such as a deafening effect) won't probably work well with unpowered headsets. I recommend disabling BatterySystem for headsets in the F12-menu.

Adding compatibility for custom electronics such as collimators:

  1. Open up order.json in your SPT-AKI/user/mods/order.json
  2. Add the folder names of your mods that add electronics. Add Jiro-BatterySystem after them:

{ "order": [ "CustomSightModFolderName", "AnotherCustomSightFolderName", "Jiro-BatterySystem" ] } Custom electronics default to using CR2032 batteries.

  1. Drop the extracted user/ and BepInEx/ folders into your SPT-AKI installation folder.
  2. After starting the Server, in Launcher click Settings > Clean Temp files. This updates battery icons to the new ones.
  3. If you are using mods to add custom electronics such as sights, read Compatibility tab.

All Configurable options can be found in the BepInEx menu, which is accessed in-game with F12.

Here you can disable/enable headset batteries or logging and change the drain rate multiplier.

Planned Features:

  • Lower the accuracy when a collimator doesn't have a battery.
  • Play a sound when battery runs out, is added or is removed.
  • Flicker when battery is running out - idea by Jehree
  • Flip up iron sights when a battery runs out

Known Bugs:

  • You can see through T-7 thermal goggles when they don't have batteries installed.
  • Some wonky behavior when using Torrey Pines Logic Thermal sight as a canted sight. This happens in Live, so blame BSG.
  • Headset batteries spawn with 100% durability.

This mod would have taken an eternity if not for these people and their help and ideas:

DrakiaXYZ: Thank you for answering my newbie questions and helping me figure out errors + hideout craft ideas!

SamSWAT: Thanks for the help with cameras and patching!

Fontaine: Helped with spawning the batteries, client methods, compatibility with Realism and more!

and Nexus: Showed me how to implement drainable batteries, credit to them!

Props: Thanks for the help and ideas!

Jehree: Great ideas (that I will implement soon :kappa:)

Hazelify: Credit for ideas with night vision devices, such as variable drain rates!

Battery bundles were created with EFT-SDK

Version 1.5.0

1.1K Downloads

Created Apr 2nd, 2024 Updated Jan 6th, 7:42 AM

WORKS ONLY ON SPT-AKI 3.8.0 AND UP

  • Removed hardcoded types and unused classes. In practise this means that the mod should work for multiple SPT-AKI versions!
  • Fixed batteries not spawning on bots
  • Other small code refactoring
Version 1.4.1

656 Downloads

Created Aug 31st, 2023 Updated 23 hours ago

Only works on SPT-AKI 3.6.0 and up!


Remove user/mods/Jiro-BatterySystem before updating!

Reupload because something broke, bad

Quick bugfix:

  • Batteries in tactical devices now only drain when turned on.
  • Tactical devices now use more realistic batteries.
  • You can now see through a HHS-1 (tan) magnififier when the sight has no battery installed.
  • Sights that don't use batteries no longer turn off with no battery installed.

Thank you Matinez for the battery list for tactical devices and JowM for finding the HHS-1 bug!

Version 1.4.0

229 Downloads

Created Aug 23rd, 2023 Updated Dec 30th, 6:52 PM

Only works on SPT-AKI 3.6.0 and up!

New stuff:

  • Added tactical devices! Now they require CR2032 batteries, a single battery lasts for ~2.5hrs.
  • Added a config option in F12-menu to disable BatterySystem for headsets. Use this if headsets sound bad with other mods.
  • High level PMCs now spawn batteries with higher durability.
  • Added a new barter on Prapor: 3x CR2032 (of any durability) => 1x CR2032 (100% durability)

Fixed:

  • Thermal/NV Sights on weapons should now work properly.
  • Batteries don't leak in the Hideout anymore :kappa:
  • Small drain logic fixes.
Version 1.3.0

411 Downloads

Created Aug 2nd, 2023 Updated Jan 3rd, 5:15 AM

Only works on SPT-AKI 3.6.0 and up!

New stuff:

  • Added support for all headsets! Headsets use AA Batteries and a fully charged battery lasts ~2.5 hrs.

Fixed:

  • Modding Screen and Weapon preview window no longer break when equipping a sight, thanks Fontaine for the idea!
  • Slightly increased the spawn rate of batteries on bots.
  • Cleaned up logging.
Version 1.2.1

316 Downloads

Created Jul 21st, 2023 Updated Jan 3rd, 5:15 AM

REMOVE/SELL ALL AAA BATTERIES FROM YOUR INVENTORY BEFORE UPDATING!

New stuff:

  • Bots can spawn with batteries installed in their sights. The durability of these batteries can be adjusted in the F12 game menu
  • All Collimators now use either CR123 or CR2032 batteries that have replaced Rechargeable Battery and D Size Battery, respectively.
  • Reap-ir now requires a CR123 battery to use.

Removed:

  • AAA Batteries have been removed for having no use.

Fixed:

  • A typo that caused reticles to still show with no battery installed
  • Batteries are now only drained on equipped weapon
  • Probably something else I forgot

Thank you Fontaine, Drakia, Traveler, Slum_K1ng and Jehree with all the help with this version!

Version 1.1.0

352 Downloads

Created Jul 6th, 2023 Updated Jan 3rd, 5:15 AM

Remove/Sell all existing AAA batteries from your inventory if you are updating from v1.0.0.

Collimators now require batteries! These use the same AAA Batteries, but drain them half as fast (>2.5h battery life).

T-7 Thermal goggles now function on batteries aswell, draining them three times faster than a PNV-10T.

Currently there is no way to turn off the collimator sights on slotted weapons. So if you want to save your batteries, you better keep them in your pocket. :kappa:

Version 1.0.0

374 Downloads

Created Jun 28th, 2023 Updated Jan 3rd, 5:15 AM

Not quite yet...