边缘世界 RimWorld

边缘世界 RimWorld

RT Power Switch
125 条留言
0。0 4 月 1 日 上午 3:31 
ResearchTabDef need two Tags
<generalTitle></generalTitle>
<generalDescription></generalDescription>
zecorezecron 2 月 7 日 上午 12:47 
There's a mod called power logic that should allow something like that. You can limit how far along the wires it will scan for batteries.
Darian Stephens 2 月 5 日 下午 8:37 
@青丘白狐殿下
Did you ever find a mod which can do that?
I want to do the exact same thing, but haven't found any mods which can.
青丘白狐殿下 2024 年 11 月 5 日 上午 10:34 
Unless the batteries are centralized and placed in one place, then split into multiple wires (and connected to switches), and each wire is individually set to open/close when the remaining percentage of battery storage is different, this mod can be used normally
Otherwise, this mod will fail due to connecting the entire power grid. I originally intended to create a separate network for a special battery in the nuclear power plant mod to take special care of it, but unfortunately, this mod cannot achieve this
(Translation machine)
Tagaris 2024 年 7 月 10 日 下午 12:35 
Thanks for the response. I believe I'm now understanding what's going on. I had presumed that the probing direction would split the network and only consider one side. But it's simply probing the full network of that side (including everything on the opposite site), hence the flickering.

I'm trying to build a setup "if the main battery is empty, don't power up the secondary network". This doesn't seems to work if the secondary network also contains batteries, because when the switch is on they are part of the whole network, regardless of the probing direction.
Ratysz  [作者] 2024 年 7 月 10 日 上午 10:48 
@Tagaris: Seems to me that is exactly what's going on, and it's not "not intended" - it's how RimWorld power networks always worked. I'm not doing anything special there.
Tagaris 2024 年 7 月 10 日 上午 9:04 
I used this a long time ago, but now I don't grasp the system anymore.

I have a power switch between two networks. Both networks contain batteries. I have it set to observe the western network, turn on at 70% and shut off at 50%.

It turns on at 70%, but then flickers between off and on because it connected to empty batteries in the eastern network. It seems like the batteries on the eastern network do count towards the western network if the switch is on, which is probably not intended.

This flickers:
https://imgur.com/a/ol6PeCL
wolf.of.the.7.seas 2024 年 5 月 8 日 上午 6:47 
This is a cool mod only wished I could find something similar for other pipes such as chem fuel and helixien gas
The Bard of Hearts 2024 年 4 月 20 日 下午 1:00 
thanks for the mod work!
2024 年 4 月 20 日 上午 11:49 
thank kind sir
Ratysz  [作者] 2024 年 4 月 20 日 上午 11:19 
Updated to 1.5; as always: let me know if anything breaks.
Seta 2024 年 4 月 11 日 下午 6:54 
Thank you for your work. it's impossible to have batteries without this mod, can't wait for it to work on 1.5
Ratysz  [作者] 2024 年 2 月 8 日 上午 9:02 
@Bard: Nope, unless it's the only battery in the network.
Bard 2024 年 2 月 7 日 下午 1:38 
would this allow swwitching based on the power content of a SPECIFIC battery?
Reithan 2023 年 9 月 13 日 上午 12:41 
I would love an option to trigger the switch on/off based on available grid power rather than available battery storage. It looks like that number is already being calculated in the HUD, so perhaps just another toggle?

Also, what is the use case for when you set the first number lower than the second?
I understand HOW it works, but I can't think of WHAT to use it for?
mman 2023 年 7 月 4 日 下午 3:29 
fuses and this amazing please keep updated moving forward fuses should be in vanilla by now
TacocaT 2023 年 6 月 2 日 下午 8:57 
Thanks for this and fuses/breakers, such infuriating gaps in vanilla electricity but you got us covered <3
HAZRAD 2023 年 4 月 19 日 下午 12:29 
Nice nice nice!
hottt3 2023 年 2 月 26 日 上午 10:11 
Thanks!
Ratysz  [作者] 2023 年 2 月 26 日 上午 10:01 
@hottt3: Using this mod you can, for example, have a non-critical power-hungry device automatically disconnect itself when batteries are running low, or set up a backup battery bank that automatically kicks in when it's needed and keeps itself topped up when it's not.
hottt3 2023 年 2 月 25 日 下午 10:46 
Thanks for the mod! Please, somebody explain to a newbie, why should I want to use it? What if I don't use it?
Darkhymn 2022 年 11 月 7 日 下午 9:24 
That you're still doing this brings me joy, these mods are essential qol improvements that I've been using for a very long time.
Onyx 2022 年 11 月 6 日 上午 10:33 
Thanks for the update! I've been a long time user of other RT mods but I just stumbled across this one and it looks pretty useful.
Ratysz  [作者] 2022 年 10 月 21 日 下午 5:58 
Updated for 1.4, let me know if there are any issues.
Izin Mystra 2022 年 10 月 17 日 上午 9:39 
Just a thought... Timer for the power options?

Dono about you, but i have a workshop that kinda doesn't need power overnight! LOL
Pjosip 2022 年 2 月 21 日 下午 11:37 
It would be nifty if there was an option to turn the switch on if it detects no power in probe direction, that way I could set up emergency power storage for my base :D
Ratysz  [作者] 2021 年 11 月 14 日 上午 7:42 
@TTV Darkeyv: Could be that you've changed your power networks' battery capacities in such a way that the settings you had on the switch previously now send it into an endless loop; RimWorld power networks fully combine into a single one when bridged by a switch, pooling their battery capacities. Or the network the switch is looking at has no batteries - not sure though, been a while since I playtested the mod, don't remember all the edge cases.
Domino 2021 年 11 月 14 日 上午 6:25 
Hmm, this mod was working perfectly for me just a week or two ago (I had a switch set up with an EMI shield from your other mod to turn on at a low power as a backup power source for it and then turn back off after it got back up to 15%), but now with the same exact setup, my switch just rapidly flicks on and off repeatedly after it automatically turns on. Could it be because of one of the battery mods I added? [SYR] Metallic Batteries, specifically. I can't imagine anything else I added would mess with it in such a weird way.
The Bard of Hearts 2021 年 10 月 18 日 上午 12:31 
I think there's a mod called Power Logic that plays nicely enough with this mod. Could try that.
Ratysz  [作者] 2021 年 10 月 17 日 下午 12:18 
@LODE: This mod is all about power storage, not power availability, because that's how I like it. I won't change this, so if you want that then you need a different mod. I don't have a recommendation.
LODE 2021 年 10 月 17 日 上午 11:29 
Is there no way this mod can allow batteries to be disconnected from the network and only turn them on when the network falls below a certain available (not STORED) power level? Why must i monitor "batteries" , when what i really want to do is keep batteries offline until they 1) detect the network's AVAILABLE (not STORED) power and 2) when there is available excess power and my batteries need to charge. I don't understand why the obfuscated storage networks are federated and the available/excess power is ignored
The Bard of Hearts 2021 年 10 月 8 日 上午 2:51 
Wait... Switches are vanilla aren't they.... >.> ... I've been using this mod since forever ago. My brain just assumed you MADE the switches. LMAO.
The Bard of Hearts 2021 年 10 月 8 日 上午 2:44 
It only happens on the power switches. So without your mod the issue wouldn't exist. lol. But thats cool.
Ratysz  [作者] 2021 年 10 月 8 日 上午 12:52 
@The Bard of Hearts: No, not a clue. And, again, my mod has nothing to do with this - I'm almost certain this, whatever it is, would continue happen in your game if you removed my mods from it.
The Bard of Hearts 2021 年 10 月 7 日 下午 10:55 
Any ideas as to what kind of mod could be making the presence of your switches draw in a conduit over them that doesn't exist?
Ratysz  [作者] 2021 年 10 月 5 日 上午 2:43 
@The Bard of Hearts: I have no idea what you're talking about. Sounds like something not caused by my mod in any way.
The Bard of Hearts 2021 年 10 月 4 日 下午 10:18 
For whatever reason, it seems that my switches are being drawn below an imaginary cord. I imagine this is part of how the switch lumps through the hoops to function with the game, but is suppose to be drawn below the conveniently shaped switch. Any way to fix this that you know of? :steamthumbsup:
man_of_belief 2021 年 8 月 28 日 上午 12:49 
Thanks for making this mode by the way
Ratysz  [作者] 2021 年 8 月 27 日 上午 1:24 
@Thundercraft: I remember playing with both just fine; the way my mod is implemented is very non-intrusive. There will be a behavior conflict if you enable settings from both on the same switch, though.
Thundercraft 2021 年 8 月 26 日 下午 9:48 
Q: Is there a potential for conflict with Haplo_X1's PowerSwitch mod? I ask because both mods seem to modify the vanilla Power Switch item (instead of adding a new, separate Switch item that can be built). And both seem to add a settings tab for the same device.
ShiftyLookingCow 2021 年 8 月 8 日 上午 10:42 
@Mandrid I think I used something like what you're describing in the past; it was called "Parallel Power Grid" or something along those lines (ha, lines).
Seta 2021 年 8 月 7 日 下午 4:48 
It was the wrong direction, sorry for this, and thank you!
Ratysz  [作者] 2021 年 8 月 7 日 下午 3:59 
@Seta: Did you correctly configure the probe direction?
Seta 2021 年 8 月 7 日 下午 2:43 
Hello, thank you so much for this mod, but sadly only the shutdown trigger is working, not the turn on, i put 70% to turn on, 98% to shut off. Btw im using 1.3
Ratysz  [作者] 2021 年 7 月 30 日 上午 12:34 
@Mandrid: I'm fairly sure I've seen something like that somewhere... At the very least, it should be doable. But, unfortunately, I indeed have neither the time nor the desire to work on that myself.
Mandrid 2021 年 7 月 29 日 下午 10:05 
Hey RT, I love your mods! Always making the game easier and more functional!

Could I make a mod request? I hope it is a simple one...

Is there a way to cross power lines without having them connect? Kind of a power junction, where a north wire can go south, and a west wire can go east, but they do not connect, letting you pass wires over each other without connecting the networks. I would love the poop out of a mod like that!

Wish I could do what you do. >< Thanks for being great, RT, even if you say no or don't have time. ;-) We love ya dude!
Proxyer 2021 年 7 月 19 日 上午 7:10 
Nice!! Thank you!
Ratysz  [作者] 2021 年 7 月 19 日 上午 5:31 
Updated, now compatible with RimWorld 1.3.

As always, let me know of any issues.
Damon_Vi 2021 年 2 月 21 日 上午 11:17 
yep, that's the one. love that one. should be added to the base game since it's such a simple yet functional add.
fredericktpjohnstone 2021 年 1 月 9 日 上午 8:22 
@Damon_Vi @afterthought.btw I think the mod you guys want/are thinking of is Backup Power https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2084493662