Space Engineers

Space Engineers

View Stats:
Zavediess Feb 15, 2024 @ 7:36am
Auto closed/open door
Hello everyone!

How to program 2 doors, that if I don't close the first one, I am unable to open the other one and vice versa? Also, how to make it automatically closed after 1-2 seconds if I don't close it by myself?

Thank you very much!
< >
Showing 1-9 of 9 comments
Your event controller can detect if a door or any in a list of doors has been opened.
You can then use that to START a timer via the event controller.
You program the timer to close all doors and set it to a couple of seconds.
Any doors that are open will be closed. Doors that are closed will remain closed.
carl.wear Feb 15, 2024 @ 11:02am 
There are YT vids on making airlocks. The better ones are the ones that use event controllers. Some of them also showed to to automatically lock a door when another was open as well as self closing doors.

https://www.youtube.com/watch?v=DqWNGFI6y24
frag2k4 Feb 15, 2024 @ 12:12pm 
As Ronin said you can use event controllers to do setup along with timer blocks.

A sensor can also be used, it has 2 slots for settings, one when it detects and another when it doesn't, setting the door to close on the not detect option and reducing the sensor area to just passed the door itself will cause it to close on its own, you can also set the detect option to open and make automatic doors without much effort.

If going the airlock route there is also an option on the airvents, put the doors into a group and put them in to this one and set to close will act as a kind of security buffer in case you accidentally vent your air it will close all the doors that are open and reduce your air loss.
Zavediess Feb 16, 2024 @ 7:53am 
Thank you for all the replies guys! I appreciate it. I guess I will try it all to find the one that suits me best!
Dan2D3D  [developer] Feb 16, 2024 @ 8:06am 
Hi, that setup is not really needed if you play alone, I use one sensor and one timer block for auto-airlock and shared a guide worth to have a look at to know the basics :

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

OR

Have a look at the new setup using Event Controller block the SE Devs shared in their Workshop :
https://steamcommunity.com/sharedfiles/filedetails/?id=2961049014
Ref.:
Official AI Guide
https://www.spaceengineersgame.com/new-players/grid-ai-guide/
Last edited by Dan2D3D; Feb 16, 2024 @ 8:06am
Dan2D3D  [developer] Feb 16, 2024 @ 8:18am 
I will add :

You could use a second air vent block (no need to be conveyor connected) action slot, too.

Take advantage of the Air vent Action Boxes :
- In the Control Panel, select a vent, then click the "Setup Actions" button.
- The Air Vent left box is triggered when the Air Vent detects 100% oxygen, the right box is triggered when the Air Vent detects 0% oxygen.

EDIT
Add Timers that will close the door first and turn it OFF into the air vent setup actions.
Last edited by Dan2D3D; Feb 16, 2024 @ 8:38am
Dan2D3D  [developer] Feb 16, 2024 @ 9:01am 
+ I also like to use window blocks to see if my son or a friend is using the airlock.

Window blocks to see what is going on will need less setup actions :
https://steamcommunity.com/sharedfiles/filedetails/?id=2318976680

+ LCDs info showing what is going on :)
Last edited by Dan2D3D; Feb 16, 2024 @ 9:02am
Zavediess Feb 16, 2024 @ 4:59pm 
Originally posted by Dan2D3D:
+ I also like to use window blocks to see if my son or a friend is using the airlock.

Window blocks to see what is going on will need less setup actions :
https://steamcommunity.com/sharedfiles/filedetails/?id=2318976680

+ LCDs info showing what is going on :)
The developer himself? It would be my honor to see my discussion being replied by you. Thank you for the tutorial!

I hope I can play games with my son later on just like you do now!
Dan2D3D  [developer] Feb 16, 2024 @ 6:11pm 
Looks like you don't know me and I should have specified the following :

-> I am not a SE Dev but forum Moderator community helper/game tester and I help the SE community since 2013 because it's my Favorite Sandbox game on Steam.

-> I collect the most talked about every months to send to the SE team and they gave me the [Dev] Tag so I can be admin of the Workshop to help more.

I collect the most talked about every months to report to them so my Favorite Sandbox game can become better.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Feb 15, 2024 @ 7:36am
Posts: 9