Space Engineers

Space Engineers

Not enough ratings
Custom Airlock System
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
23.630 KB
7 Sep, 2018 @ 11:44am
27 Jul, 2020 @ 12:20am
6 Change Notes ( view )

Subscribe to download
Custom Airlock System

Description
An Automated Airlock Management System.

Features:
* Can manage multiple Airlocks per grid
* Airlocks can be as simple or as complex as you please
* Program requires no recompilation once started
* Airlocks can be added, updated, and removed at will

To add airlock to script:
1. Build an airlock with at least 2 doors (in and out) and
a vent connected to a stand alone oxygen tank. More doors and
vents may be added as desired.
2. Group all doors and vents to a single "airlock" group. Name the
group the name of the airlock. For example: "Main Airlock".
3. Edit each door's custom data to read either "Outer Door" or
"Inner Door" depending on which way to door leads to. These
custom data tags can be changed below under the OuterDoorName
and InnerDoorName strings.
4. (Optional): You may add other blocks to the group such as:
* Button panels: script locks panels while airlock is operating
* Oxygen Tanks connected to vents: Tanks will be turned off after
airlock operation to prevent air leaks. Tanks re activated as needed.
* LCDs: Airlock will print to all LCDs in group its current status.

To Setup Button Panels:
Optimally you would need a button panel in the airlock to cycle it
and a button panel outside the airlock at each door to open airlock
to the door's side.
To set this up:
1. Edit the button panel's actions in the airlock and add a run
action for the Airlock programming block passing the argument
"Name,cycle", where "Name" is the name of the airlock group.
2. At each door button panel add a run action for the Airlock
programming block passing the argument: "Name,in" for inside facing
doors and "Name,out" for outside facing doors.

Other Commands:
Name,toggle: Toggles passed Airlock on and off
toggle all on: Toggles all Airlocks on.
toggle all off: Toggles all Airlocks off.