Page 1 of 1

Access to the global electric network on a space platform

Posted: Fri Nov 29, 2024 7:02 am
by hgschmie
I have a mod that connects to electric networks (usually by connecting a copper wire to a pole). On a space platform, there is the global electric network so I want the entity to connect to that automatically if it is built on a space platform.

I can determine whether there *is* a global electric network and I can create and/or delete it. But I have not found a way to *find* the network id or connect an entity (in this case it is a power switch so I want to "connect" one end of the switch to the global network).

Is there a way to find the id of the global network for a surface?

Re: Access to the global electric network on a space platform

Posted: Thu Apr 30, 2026 4:28 pm
by Rseding91
Power switches can't connect to nothing. They only support connecting to electric poles. Functionally: they do not apply or interact with "global electric network"s.

Re: Access to the global electric network on a space platform

Posted: Thu Apr 30, 2026 7:39 pm
by protocol_1903
IIRC building a powerpole connects it to the global network, so you should be able to connect it to that