Space Engineers

Space Engineers

44 ratings
Automatic door and airlock test script
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script
File Size
Posted
Updated
306.756 KB
21 Sep, 2014 @ 10:18pm
26 Dec, 2014 @ 8:14pm
11 Change Notes ( view )

Subscribe to download
Automatic door and airlock test script

Description
A very simple script to make doors open/close when the player is near them.
Name your doors with "autodoor" somewhere or type /ad setkey newkey to change this.

*****Update**********: Airlocks: Name two doors that are facing each other (with no blocks nor empty space in between) with the word "airlock" somewhere in their names.
Whenever you open one of those doors, if the other one is open it will close, so you can only have one open at all times.
Obviously, you can't have both automatic doors and airlocks, so if you name a door like "door1 autodoor airlock" only the airlock will work.
A little warning: i am not checking that the doors are in front of each other, so, if you put two side by side or above each other, it will work also.

There are some other commands available. type "/ad help" in game.



71 Comments
Skallabjorn 15 Jun, 2018 @ 6:01pm 
is this a script or a mod? I subscribed and its not appearing in my scripts list. This states its a script.
piraneous 29 Mar, 2015 @ 10:41pm 
so i subscribed, went to load my world, edited settings >Mods and added the mod to the right hand side. loaded up the game. named 2 doors right nex to each other as airlock, opened one door, then opened the next and watched all the O2 rush out the door. typed /ad help, nothing, typed /ad nothing.... what am i doing wrong?
swigartba 1 Feb, 2015 @ 5:28pm 
i have a bunch of ambient and airlock doors that are named autodoor and they don't open automaticly
ranathane 3 Jan, 2015 @ 3:20pm 
is there any way to set the key, min and max distance outside SE (text file, etc.)? Having to reset each time i load the world is a pain. thanks
commander.bert 1 Jan, 2015 @ 4:08pm 
Are there any restrictions, maybe only in survival mode, cause in my game, creative mode, it writes only "AUTODOOR closing nearest airlock" but it does nothing, both doors stay open
KilledJoy 19 Nov, 2014 @ 6:20pm 
Well i would love to do this but my airlock is designed at a angle .... annnnnd *deletes mod*
TaikoDragon 8 Oct, 2014 @ 12:41pm 
Chat problem is caused by pre-emptively flagging chat messages as "no show" before the "/ad" keyword is verified to be in the typed message.
Dez The Dapper Bocchi 7 Oct, 2014 @ 2:16pm 
you should just make a diffrent door plz
AimWarlock 5 Oct, 2014 @ 3:53am 
Hey, had a strange problem running this on Dedicated server, for some reason it disabled chat removed it from server now chat is working. Theirs no errors in logs.
Atsinatlai Soquili 1 Oct, 2014 @ 2:15pm 
Okay so it is a game related issue then, Anyway no rush on the doors, thanks to Valkyrie I am using the glass doors for airlocks :P Since Airlocks are mostly glass on my builds to see through anyway :P