No Man's Sky

No Man's Sky

View Stats:
Ѧrky Feb 22, 2020 @ 5:00pm
How to invert power on doors?
This is irritating really. i cant seem to figure out how the power inverter works because it does nothing when i use it.

Door closes when i near it, as opposed to opening. Help?
< >
Showing 1-14 of 14 comments
Gumsk Feb 22, 2020 @ 5:05pm 
Typically, you use the power inverter switch that has three ports, combined with a proximity sensor so that the door gets power when you are NOT there, but loses power when you get close.

I also made a mod that puts a proximity sensor in the door and automates everything for you:
https://www.nexusmods.com/nomanssky/mods/1444
Ѧrky Feb 22, 2020 @ 5:07pm 
ok
i will take a look now
Any door defaults open when there is NO power. This helps, because it prevents being stuck in a building unless a door is deliberately designed to lock a player in.

https://steamcommunity.com/sharedfiles/filedetails/?id=1881847767

A power inverter typically has a middle port and two side ports. Think of the middle port as being a signal switch. The side ports are an in and an out point for power. So when power is sent to the middle port, the side port out power is switched either on or off. Side port power in stays constantly 'on' making the inverter work. i.e Both an inverter and any choice of controlling switch must have a constant side port power in to function.

The middle signal port of an inverter is simply connected to a switch like the proximity sensor, to switch on or off power to the out side port. The inverter side port out is connected to the door, which will now open or shut when power is switched on or off. Because power always comes into the side in port, the door will always close when the middle signal power receives no power.

But importantly when the middle signal port receives power, the side out port power is 'inverted' and switched off, resulting in the door default, and opening. Effectively the middle port swaps the side port power out from on to off or off to on. If the middle port provides no power, the side port power in flows straight through to the side out and the door is powered closed.
Last edited by Johnny in the Clouds; Feb 22, 2020 @ 5:42pm
rdouglass1 Nov 21, 2020 @ 2:02pm 
Originally posted by Johnny in the Clouds:
Any door defaults open when there is NO power. This helps, because it prevents being stuck in a building unless a door is deliberately designed to lock a player in.

https://steamcommunity.com/sharedfiles/filedetails/?id=1881847767

A power inverter typically has a middle port and two side ports. Think of the middle port as being a signal switch. The side ports are an in and an out point for power. So when power is sent to the middle port, the side port out power is switched either on or off. Side port power in stays constantly 'on' making the inverter work. i.e Both an inverter and any choice of controlling switch must have a constant side port power in to function.

The middle signal port of an inverter is simply connected to a switch like the proximity sensor, to switch on or off power to the out side port. The inverter side port out is connected to the door, which will now open or shut when power is switched on or off. Because power always comes into the side in port, the door will always close when the middle signal power receives no power.

But importantly when the middle signal port receives power, the side out port power is 'inverted' and switched off, resulting in the door default, and opening. Effectively the middle port swaps the side port power out from on to off or off to on. If the middle port provides no power, the side port power in flows straight through to the side out and the door is powered closed.

I have hooked these switch Combos in every combination of Wiring I can do, and still can not get the Power Door to work.
I see the Screen Shot that the wire to the Door is RED, and that is the condition I get most of the time, but the door still does not Open on Approach.
I did get all wires Blue on one try to do this, but the door still would not open...
Any Ideas??
There is also a Video for doing this, it shows the same set up as your screen shot.
Maelstrom Nov 21, 2020 @ 2:25pm 
Like this:

P = base power
S = Switch
I = Inverter
D = Door

P--+---I---D | | S---+

If the wire to the door is red it should be open. Are you sure you don't have another wire hooked up to it? Remember they have a few attachment points.
Last edited by Maelstrom; Nov 21, 2020 @ 2:26pm
Try building what you see in the picture perhaps in the same mode or creative, separately from your main build. Just to see things function. Then perhaps examine your problem door again. Probably delete the door and object it is attached to and any connected wiring to start it afresh, copying your 'test' door opeing that you know works.

Sometimes deleting a door, connected objects and wires and putting it back can clean connections up. Its possible in trying to get it to work with several attempts you may have duplicated a connection you can not see, and it could be overiding the function of the door.

If a switch is placed very close to a hidden wire or possibly a light source, it could be close enough that it thinks it is connected. There is a small margin of error for this so it could be the inverter switch is receiving another unseen connection that is messing things up.

The actual door does have two connecting points In the image above it only needs one connection to work. You have the flexibility to make a second connection using a second switch to do something more complex.
Last edited by Johnny in the Clouds; Nov 22, 2020 @ 4:08pm
Maelstrom Nov 28, 2020 @ 5:22pm 
I think this game just needs some common door styles in addition to what we have now.

For example, this is the simplest push-button door I know how to make.

https://steamcommunity.com/sharedfiles/filedetails/?id=2302277230

It needs 2 buttons (one on each side of the door)
1 flip-flop (made of 1 inverter and 1 auto switch)
1 delay line (made of 3 auto switches)
1 inverter (to keep the door closed)

It doesn't help that wires only actually plug in on one side, which looks terrible if you can't hide both ends.
Last edited by Maelstrom; Nov 28, 2020 @ 5:24pm
Originally posted by Maelstrom:
I think this game just needs some common door styles in addition to what we have now.

For example, this is the simplest push-button door I know how to make.

https://steamcommunity.com/sharedfiles/filedetails/?id=2302277230

It needs 2 buttons (one on each side of the door)
1 flip-flop (made of 1 inverter and 1 auto switch)
1 delay line (made of 3 auto switches)
1 inverter (to keep the door closed)

It doesn't help that wires only actually plug in on one side, which looks terrible if you can't hide both ends.
Could you explain the flip-flop and how the power flows around the circuit? When the button (we can see in the picture)is pressed, does the door remain open indefinitely, so to close it you press the button again, (either inside or outside). Or does it work so the door open and closes automatically for three seconds then closes again? Thanks. :)

I made a push button door too but not to stay open. But I did make a ATM style door lock that uses a button code, so I guess I could adapt that to open and close a door using the same button. Like the ATM but using a one button code that resets.
Last edited by Johnny in the Clouds; Nov 28, 2020 @ 5:59pm
Maelstrom Nov 28, 2020 @ 7:01pm 
P = Power
S = Push button
I = Inverter
A = Auto-switch

You push the button, the door opens, 3 seconds later the door closes.

This is how I make flip-flops
P | I <-- OFF signal | A-+ <-- ON signal +-| | Output signal

The delay line is just 3 auto-switches in series.

So when you push the button it activates the ON signal in the flip-flop. The flip-flop activates the control input to the door inverter which opens the door and the flip-flop also starts the delay line. After the last auto-switch in the delay line turns on it activates the OFF signal on the flip-flop which closes the door and resets the delay line.

I've done toggleable flip-flops with 4 elements (2 auto-switches and 2 inverters) but they're more complex and a wall switch is just as good and a lot simpler for doors. Unless you're doing something special, like your puzzle door.

I used toggleable flip-flops on this door:

https://steamcommunity.com/sharedfiles/filedetails/?id=2287475059

You have to push two buttons (not visible but you can see the wires) to activate both sets of lights and then the door opens. Pushing a button again turns the lights off on that side and closes the door if it's open.
Last edited by Maelstrom; Nov 28, 2020 @ 7:07pm
That's great thanks!
Guh~hey~hey~♫ Nov 29, 2020 @ 1:20pm 
If you're into funny set-up, you can also couple a power inverter and an auto switch (the power inverter power the auto switch and the auto switch command the power inverter) to get an power that will alternate, to make blinking lights for example.....
Maelstrom Nov 29, 2020 @ 1:41pm 
The first time I did blinking lights I did with an inverter and an auto-switch like you describe.

Then I realized it really was as simple as taking an inverter and tying the output to its control input. This works because of the delay in NMS's logic elements - the inverter turns on, then it stays on for an entire cycle (which is exactly 1 second, as near as I can tell), then it turns off and stays off for another cycle before turning on again. I like this method better for blinking lights because it's twice as fast as using an inverter + auto-switch and I think it looks better.

You can use a bytebeat switch for faster or more intricate pulses but anything faster than 1 second doesn't behave well with auto-switches and inverters. I made a bytebeat puzzle where you have to push buttons in time with the music and I eventually got it to work but it took a whole lot of fiddling with the timings.
Last edited by Maelstrom; Nov 29, 2020 @ 1:44pm
< >
Showing 1-14 of 14 comments
Per page: 1530 50

Date Posted: Feb 22, 2020 @ 5:00pm
Posts: 14