RimWorld

RimWorld

Battery Overhaul
 This topic has been pinned, so it's probably important
Basil 23 Jun, 2021 @ 12:07am
Mod Compatibility
There are other mods using the powernet code, and this thread is to make sure there are no weird interactions with other mods.

Vanilla batteries and the Vanilla Expanded series of batteries are sure to work, and both are patched to include the new mechanics as well. All modded batteries and mods with battery storage I have tested have worked, but may not have the new mechanics.

Huge thanks to manh354 for continually updating their great overhaul.

Bad Mod Interactions

Power Logic - Capacitor sensor does not work. I'm positive I am not using it right...

Good Mods

Rimatomics - PPC Banks and weapon systems dependent on them work correctly during normal usage and raids.

Pocket Dimension - Works correctly transferring large amounts of power using the modded batteries both ways but has strange stats in the description. May be my UI mods there.

SoS2 - Ship capacitors work as expected, could not test if turrets that use energy from storage also work, all else good.

Vanilla Extended batteries - Works as expected using mechanics from the overhaul.

Shield Generators by Frontier Developments - Works as expected and as expected during damage.

Terran's Security Buildings - Works as expected.

Backup Power - Works as expected.

ED-Shields - Works as expected.

Power++ - WPN's work as expected.

Astra Militarum Imperial Guard - Works as expected without new mechanics.

Alpha Animals - Works as expected without new mechanics.

Project Rimfactory - Works as expected without new mechanics.

Rocketman: No odd behavior or log errors.

Rimthreaded: No odd behavior or log errors.

7/03/21
Last edited by Basil; 6 Jul, 2021 @ 8:36pm
< >
Showing 1-15 of 18 comments
manh354  [developer] 23 Jun, 2021 @ 7:28am 
I think Backup Power should work now. Correct me if I'm wrong...
Rimatomics would require a rewrite of the spaghetti code I have right now. I'm currently working on it.
Last edited by manh354; 23 Jun, 2021 @ 7:30am
Basil 24 Jun, 2021 @ 8:44pm 
Looks like Backup Power works like a charm. Added Rimthreaded after their big update, no log errors or wrong behavior from what I'm seeing with arrays of different batteries and consumers. (alongside double checking behavior with other mods)

Saw that there's more compatibility with other batteries, is that patched on your end for the individual mods or part of a more broad rework? Regardless it's looking awesome so far!
Last edited by Basil; 24 Jun, 2021 @ 8:46pm
manh354  [developer] 25 Jun, 2021 @ 7:41am 
Thanks for your dedication <3
Unfortunately, in the most recent update, every other mods' compatibility is all patches. But the next update will certainly solve all issues without the need for patching. (except maybe for Rimatomics).
Currently, Pocket Dimension and Backup Power are totally fine without any patches needed on my new codes.
PPC banks still pretty much screw all my codes up though. Adding a PPC bank now makes the entire power grid disabled.
Last edited by manh354; 25 Jun, 2021 @ 7:51am
manh354  [developer] 26 Jun, 2021 @ 1:54am 
The compatibility should be much better now. Most other mods wouldn't need any patches anymore. Rimatomics is still another story.
Every batteries should be working.
Last edited by manh354; 26 Jun, 2021 @ 3:05am
Basil 26 Jun, 2021 @ 9:25pm 
Empty modded batteries cause flickering lights at zero power. This is a weird bug. Did not test Rimatomics; I don't envy having to work with that code.

Looks like the mods you patched are working as intended

Pocket Dimensions has some weird stuff happening in the description but it seems to act in accordance alright
Last edited by Basil; 26 Jun, 2021 @ 9:33pm
Basil 26 Jun, 2021 @ 9:36pm 
can you confirm non patched batteries don't have new mechanics of this mod? Don't get me wrong, it will help me test this stuff if I know the more granular details.

I'll update when i have my pc free to run multiple rimworlds lol

PS: please note i did all of this testing on my main save in god mode with Rimthreaded over several ingame days.
Last edited by Basil; 26 Jun, 2021 @ 9:45pm
manh354  [developer] 26 Jun, 2021 @ 11:38pm 
Yes, non-patched batteries don't have new mechanics.

Modded batteries have 2 new comp classes on top of the old battery comp, one is for temperature, and one is for new power interaction.

Batteries from outside this mod will need patches to have new mechanics. But they can still be charged or discharged.
Anyway thanks for your support!!
Last edited by manh354; 26 Jun, 2021 @ 11:40pm
Emilie Sackenball 27 Jun, 2021 @ 5:16pm 
So if PPC banks do not discharge, it means I can't use the Rimatomics weapons at all?
manh354  [developer] 27 Jun, 2021 @ 6:27pm 
Originally posted by Etherdreamer:
So if PPC banks do not discharge, it means I can't use the Rimatomics weapons at all?

Yeah, Rimatomics weapons spew out errors when built.
manh354  [developer] 27 Jun, 2021 @ 7:00pm 
Rimatomics will be compatible in the next patch by just 5 lines of code

I can't understand why I couldn't find such an easy solution....
Basil 27 Jun, 2021 @ 10:22pm 
haha nothings easy in rimworld mod compatibility, there's always crazy edge cases. I'm looking forward to testing and updating this in a day or two.
manh354  [developer] 28 Jun, 2021 @ 3:36am 
The new update is out. Now compatible with Rimatomics' PPC banks !!
Basil 3 Jul, 2021 @ 5:02am 
It does look like Rimatomics PPC's and weapon systems and lithium batteries and large vanilla extended batteries and (insert niche mod battery) batteries and frontier shields work with each-other during a raid with no strange calculations or log errors. That was one heck of a stress test. I also tested them individually before to be safe.

Sorry it took me a few days to update this, but wow it's so cool having this work so smoothly with everything!
manh354  [developer] 4 Jul, 2021 @ 6:12pm 
Originally posted by ZeroSev:
Sorry it took me a few days to update this, but wow it's so cool having this work so smoothly with everything!
Wow, many thanks for the update. Sorry for not releasing any new version for the past week. My schedule is currently very tight. I hope I can get some free time to continue on this mod.
Basil 6 Jul, 2021 @ 8:29pm 
haha with this 1.3 update on the horizon I'm backing up everything and not updating for a while.

I still don't have any issues now; It's working great with other mods on 1.2. Maybe this is the time i finally get a CE modlist together...

If anyone has something to add please do so. 1.3 is gonna be a headache, it looks like it breaks a lot of stuff.
< >
Showing 1-15 of 18 comments
Per page: 1530 50