Jump to content

Photo

"Sharing" power between multiple settlements possible?

settlements settlements power just another crazy idea

  • Please log in to reply
6 replies to this topic

#1
YouDoNotKnowMyName

YouDoNotKnowMyName

    Overseer of Vault 114

  • Members
  • PipPipPip
  • 666 posts

Good evening everybody!

 

This is a mod that I wanted to create for a long time, but I don't know if it is even possible:

 

Is it possible for multiple settlements to "share" power between them?

 

 

Like if all of the generators and power-consuming-devices (lights, water purifiers, ...) were connected to the "same" electrical line.

 

73722383-1595363831.png

 

This is just a quick sketch I made to explain what I want to do.

(The circle with the G stands for a generator)

The numbers are just an example ...

 

 

With only one of those "inter-settlement-power-lines", the implementation would be simple, just a global variable that determines how much "unused" power every settlement "provides into the system".

 

 

But I want multiple of those things, dynamically "connectable":

What I mean by that is that when building stuff in the settlements, you will be able to build a "inter-settlement-power-distribution-module" that you can connect to the power system of that settlement.

That power-distribution-module can that be "configured" (by a terminal maybe?) to "connect" to every other built power-distribution-module.in any settlement.

(Maybe keywords could be used to determine with what other settlements the module is connected, ...?)

 

So that there isn't a "pre-wired power grid" that connects the settlements in a specified way, but that the player can decide what settlements get connected.

 

For example:

Have SanctuaryHills and the RedRocketStation "connected", but at a later point "add" AbernathyFarm to that "grid". And maybe at a later point add CountyCrossing to the "grid".

And have a completely seperate connection between Graygarden, OberlandStation and Hangman'sAlley.

 

 

 

I hope this makes sense, if you have any idea if something like this is possible, let me know here.

If I didn't explain properly what I want to do, also let me know ...

 

 

 

[I almost didn't post this, because I am sure that this will not be possible and I don't like wasting time / effort on impossible stuff, because knowing that you will never get anything out of something is not healthy ...]



#2
pra

pra

    Faithful poster

  • Premium Member
  • 2,470 posts
​I have been thinking about that as well, so did other people.
I think the only way would be effectively build "drains" in settlements which provide power, and "outlets" in others. Effectively, the "drains" are just objects which require power.
And I think you could only have them require fixed amount of power. Like, the "drain" requires 10 power. If it's powered, it adds +10 to the global energy pool.

Then the "outlets" are effectively just generators. If there is not enough left in the global pool, they turn themselves off.

#3
YouDoNotKnowMyName

YouDoNotKnowMyName

    Overseer of Vault 114

  • Members
  • PipPipPip
  • 666 posts

Yeah, I was thinking that something like that would be the solution ...

 

So the "power requirement" / "power generated" values can't be changed by a script?

Aren't they just like "actor values"?

And actor values can be changed by scipts, if I remember correctly ...



#4
Zorkaz

Zorkaz

    Resident poster

  • Premium Member
  • 2,556 posts

The real difficulty is that the stats of the other settlements get updated in real-time, not after their cell got loaded.

 

 

Back then I tried making a fridge that runs out food. Depending on the food availability it gave food value to the settlement or not. But you could only make it via using a looping background script and a bunch of aliases.

 

But sure, scriptwise you can check and change the power output.



#5
pra

pra

    Faithful poster

  • Premium Member
  • 2,470 posts

Yeah, I was thinking that something like that would be the solution ...
 
So the "power requirement" / "power generated" values can't be changed by a script?
Aren't they just like "actor values"?
And actor values can be changed by scipts, if I remember correctly ...

âYou can, but I don't think you can dynamically figure out how much unused power is available in each settlement. Or rather, in each grid which has a "drain" connected to it.
Especially not off-screen.

Therefore I think, for the amount of energy in total, you should save all your "drains" in a central management quest or so, then iterate them and if powered, add their value onto the "having" variable.
Then you could iterate all "outlets", check if their value is smaller than "having", if yes, turn them on and subtract it, if no, turn them off.

If you want to change these values, keep in mind that the power grid won't update unless something "switches". The mesh of the object you try to change power AVs on should have a mesh similar to the workshop switch, which you can call setOpen on. And it must be an Activator. Doesn't work on terminals, for example, I tried that.

#6
pepperman35

pepperman35

    Enthusiast

  • Members
  • PipPip
  • 201 posts

Humm...perhaps one settlement could be setup as a power plant (source), and other settlements could each have there own substation/distribution station (sinks).  



#7
adammcbane

adammcbane

    Faithful poster

  • Members
  • PipPipPipPip
  • 1,895 posts

It's not only possible but it exists you can find info on it here on the Nexus as transformers by Niston https://www.nexusmod.../images/170550/ just not released. Another feature related to this I'm hoping for is fuel consumption which mods did for New Vegas like for Underground Hideout which has best usable reactor ive seen in these games which was in a room with water and gave off radiation when you went in to add the fuel. Wish someone could copy that for a player home or outright settlement object. I believe at least one other mod did it possibly Underwater Hideout ( similar mod). 


Edited by adammcbane, 10 August 2020 - 12:05 AM.






Also tagged with one or more of these keywords: settlements, settlements power, just another crazy idea

Page loaded in: 1.186 seconds