Mod Details

BatterySystem

BatterySystem 1.5.0

Created by Jiro

4.0K Downloads

SPT 3.8.3 Compatible

Electronics now require drainable batteries. Such realism, much wow

Latest Version 1.5.0
SPT 3.8.3

Updated Apr 2, 2024 at 8:28 AM

Version Notes

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
This download is externally hosted.
Always scan for viruses.

Read Installing and Configuring tab!

Features
  • 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.
Compatibility

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.

Installing and Configuring
  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 and Known Bugs
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.
Credits and Thanks

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 )

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

Battery bundles were created with EFT-SDK

Version 1.5.0
Download Mod Version
SPT 3.8.3
Latest Compatible SPT Version

1.3K Downloads

Created Apr 2, 2024 at 8:28 AM

Updated Apr 2, 2024 at 8:28 AM

Virus Total Results

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
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

740 Downloads

Created Aug 31, 2023 at 6:13 PM

Updated Aug 31, 2023 at 6:13 PM

Virus Total Results

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
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

302 Downloads

Created Aug 23, 2023 at 2:56 PM

Updated Aug 23, 2023 at 2:56 PM

Virus Total Results

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
  • Small drain logic fixes.
Version 1.3.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

487 Downloads

Created Aug 2, 2023 at 8:23 PM

Updated Aug 2, 2023 at 8:23 PM

Virus Total Results

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
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

383 Downloads

Created Jul 21, 2023 at 12:12 AM

Updated Jul 21, 2023 at 12:12 AM

Virus Total Results

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
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

422 Downloads

Created Jul 6, 2023 at 6:00 PM

Updated Jul 6, 2023 at 6:00 PM

Virus Total Results

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.

defty17

update?

0 Likes
black_rose

I doubt this is possible but what if you made the flashlight get dimmer when really low battery?

0 Likes
Galm276

This mod is goated, IF BOTs had batteries in the electronics they used. That is really the only thing that makes this mod not really worth it.

0 Likes
BraveStarTG

I have two request.

1) A way to add batteries through the Preset menu so you can have the batteries on the weapons when put together. That way we don’t forget to put the batteries in before using. Which leads to #2.

2) A way to know when a part that needs battery doesn’t have one before entering a raid or if the battery is below , say, 15% or maybe 10%. Like a warning the same way you get one before entering raid and your character is till wounded or like when a gun turns red because the wrong ammo is in the magazine.

Otherwise this is a great mod.

1 Like
Ahtu

Does anyone know of a fix or workaround for batteries not spawning on AI gear?

I see a fix was included in the last patch, but there is also a mention of incompatibility with mods that alter bot equipment presets.

I’m experiencing conflicts with SPT-Realism Bot Loadouts and wondering what the solution is.
Does anyone know how I could fix this?
Any help is appreciated

edit: Solution: use Algorithmic Level Progression and disable Realism bot changes.
This mod seems to work with fine ALP bot loadouts, but has conflicts with Realism.

I hope this can help someone

I’ve added some missing devices:

CR2032

- Burris FullField TAC30

- Leupold Mark 4 HAMR

- Monstrum Prism 2x - EOTECH Vudu

- Nightforce ATACR

CR123

- Hensoldt FF 4-16x56 34mm riflescope

- NcSTAR ADO P4 Sniper 3-9x42 riflescope

- SwampFox Trihawk Prism Scope 3x30

- Vortex Razor HD Gen.2

Other Mod Devices From:

ATLAS Custom Weapons & Equipment

Artem Trader

BlackCore/GreenCore/RedCore/SandCore/WhiteCore

FALmonsta’s Multicam Bundle

Module-TanGear

Raid Overhaul

Tactical Gear Component

Follow this link, click Download All in the top right.

Then copy and paste user folder into your SPT-AKI Installation Folder.

vKRw58b.gif

*This example is from SAIN. BepInEx not included in this download

Updated Battery List

- VirusTotal

If anyone finds any other missing devices, please let me know and I can add them

0 Likes
Rocketman001

My game input stops working whenever I hop on a mounted gun with this mod enabled forcing me to alt f4. If this mod is disabled, the guns work fine again

0 Likes
NeroSaint1995

This mod is amazing the transition of old boring and hardly ever used assets into something so highly diverse and utilizable/essential for every raid even adding a greater incentive for the use of iron sights due to battery dependency of digital optics and compacts

0 Likes
mujardosyarte

I really like the mod however I see a couple problems. If an Ai has an electronic in raid that requires a battery, you should be able to loot the electronic, and it should already have a battery inside of it. That’s assuming that you want the Ai to actually be utilizing the electronic such as a red dot, flashlight etc. IF NOT, then the Ai needs to have either have iron sights also on their gun, or you need to greatly reduce the accuracy of Ai using a red dot with no battery and no back up iron sights because at that point they’re just aiming down the tube of their optic lol. It might also be nice to add the ability to at least buy AA batteries from a trader on fresh wipes. I would like to power my headset if possible. Also, I think there are some corrections for the amount of batteries required in some electronics. I think most ring mounted large rifle lights have 2x cr123 batteries, some red dots/holos run off a one or two AA batteries ex. holosunHS401/ eotech 553, and most headsets run off of 2 AAA batteries. But thats just me refering my irl setups, streamlight tlr rm2 and razor electronic headphones, so I could be mistaken. Other than that I love the 3d modeling of the CR batteries, would like to see a AAA model for those headsets. Thank you and keep up the great work!

0 Likes
TheGoldenaxe001

I’ve encountered an odd issue I think may be a battery leak. As I played with the mod for a few hours I got random frame drops and over a few hours, the drops just became more frequent until it my game was a consistent single digit frame rate. I’m like 90% sure it’s some memory leak. Great mod and a must need more realism profiles

0 Likes
c0verfire

Hi Jiro, Thanks for the work on the mod - As some folks have called out the Monstrum Tactical Compact does not have a battery slot. I looked in the config file, and added the item id to the CR2032 section, but it still does not add the battery. not sure if there is something else I am missing?

0 Likes

Details