Starbound

Starbound

View Stats:
Evil_Doc Jul 30, 2017 @ 12:38am
Wiring a lift door?
Hey, I was wondering if someone smarter than I, could help me figure out how I can wire a door that ONLY opens (and automatically opens), when the lift has arrived at the floor.... but has NOT gone beyond it. That is to say, that the tram is at the door.

I'm trying to go for a realistic elevator feel, where the doors don't open unless the tram is there... (don't want people falling down the elevator shaft! Haha)

The rail sensors seems to work, but it won't tell the door if the tram has gone BEYOND the floor, just that it passed through the sensor.... So it still opens the door, even of the tram has moved away from the door, (while passing through the sensor).
Last edited by Evil_Doc; Jul 30, 2017 @ 12:39am
< >
Showing 1-9 of 9 comments
Ironfoundersson Jul 30, 2017 @ 6:06am 
Mb two sensors and an and logic gate for your weird condition (weird coz i have to imagine it). At least take a screen with the rough description of what you want.
Last edited by Ironfoundersson; Jul 30, 2017 @ 6:06am
Jirki88 Jul 30, 2017 @ 7:07am 
Originally posted by NemoTheBatman:
Mb two sensors and an and logic gate for your weird condition (weird coz i have to imagine it). At least take a screen with the rough description of what you want.

What he want is a common lift. Platform goes up and down, you have multiple levels, there's a door on every level right next to the elevator, and what he wants is for the door to ONLY open IF the elevator stops, not if it just goes by. Just like a real elevator. :p
Evil_Doc Jul 30, 2017 @ 4:11pm 
Any takers?
Oceon Jul 30, 2017 @ 4:59pm 
perhaps you mean something like on a common weapon trader station? there is a "evelator" that "collects" you (but im not sure about npcs" and that you can move up and down as much as you want, only the doors opening at arrived floor.
Evil_Doc Jul 30, 2017 @ 11:59pm 
Either I'm too dumb to figure it out, or it's not possible, as there is no way to detect the physical presence of the tram, and constantly pump out an "on" signal to the door, while the tram is physically present next to it.

It passes through a sensor, and the sensor opens the door whether or not the tram is still there or not, which would lead to accidents... i.e. Someone falling down the elevator shaft.
Evil_Doc Jul 31, 2017 @ 12:01am 
Originally posted by Oceon:
you can move up and down as much as you want, only the doors opening at arrived floor.

Those are not doors. Those are HATCHES. Horizontally placed, automated hatches. What I want to do is a vertical door that will not open (and let you pass), until the tram has arrived and is there, waiting for you on the other side.
Sileka Jul 31, 2017 @ 2:32am 
You can try having it set to sense the player (Doors will open but close as the tram continues upward though) or have it on a senser and a timer (2 seconds or so). Real elevators do wait a moment before opening their doors upon reaching a floor after all.

This might help:
Basic Guide:
http://community.playstarbound.com/threads/guide-basic-wiring-guide.59852/

Advanced Guide:
http://community.playstarbound.com/threads/guide-advanced-wiring-guide.58794/
Last edited by Sileka; Jul 31, 2017 @ 2:35am
Astasia Jul 31, 2017 @ 5:58am 
Use two rail sensors, a XOR and a timer. Have the sensors just above and below the stop, if the lift passes one sensor it triggers the XOR which triggers a timer, if it passes the second sensor before that timer counts down it cancels the XOR and I believe the timer. So in theory it would require a elevator platform to stop on a floor for second or two before the doors would open, but if it passed by the floor the doors would never open.

I'm doing this in my head so I'm probably forgetting a step. Like I just remembered you would need to invert the timer and probably need another XOR in there. First XOR goes into the timer which goes into a NOT which goes into a second XOR which is also connected to the first XOR? I just woke up. >.< Hopefully it's close enough to get you going though.

Edit: And you would need another timer on the door to hold it open long enough, because I don't think rail sensors stay active for very long. I don't remember.
Last edited by Astasia; Jul 31, 2017 @ 5:59am
Evil_Doc Jul 31, 2017 @ 8:57pm 
Originally posted by Astasia:
Use two rail sensors, a XOR and a timer. Have the sensors just above and below the stop, if the lift passes one sensor it triggers the XOR which triggers a timer, if it passes the second sensor before that timer counts down it cancels the XOR and I believe the timer. So in theory it would require a elevator platform to stop on a floor for second or two before the doors would open, but if it passed by the floor the doors would never open.

I'm doing this in my head so I'm probably forgetting a step. Like I just remembered you would need to invert the timer and probably need another XOR in there. First XOR goes into the timer which goes into a NOT which goes into a second XOR which is also connected to the first XOR? I just woke up. >.< Hopefully it's close enough to get you going though.

Edit: And you would need another timer on the door to hold it open long enough, because I don't think rail sensors stay active for very long. I don't remember.

Hmmm... Sounds like a good way to start. I'll have to experiment, as I just recently started wiring stuff... (and of course, I start with the most advanced of all wiring: trams! haha).

Thanks! I think I have enough to get started, and I will come back if I have anymore questions, or to report my epic failure and untimely death (due to a spontaniously combusted head).

It's a pity that I can't just place a PROXIMITY SCANNER next to the door, and it will activate the door when the TRAM is there, and close if if the Tram is NOT there... (but scanners only detect NPCs and PCs, not an elevator).
Last edited by Evil_Doc; Jul 31, 2017 @ 9:01pm
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Jul 30, 2017 @ 12:38am
Posts: 9