Space Engineers

Space Engineers

Save Oxygen, safe, hangar, doors, lights
Showing 1-8 of 8 entries
Update: 2 Sep, 2022 @ 6:45am

bug fixed:
Oxygen tanks level was printed more then once in one panel.

Update: 1 Sep, 2022 @ 2:01pm

Added parameters to setup changing the color of lights when room changes pressure

ChangeColorLightsGroupName=Corner Light - Double
LightOriginaColor=255,255,255
LightAlertColor=255,0,0

More control over what is shown on the panel
ShowDepressurize
ShowStatus
ShowAutoLock
ShowTanksFilledRatio
ShowOpenDoors
ShowRoomName

Update: 31 Aug, 2022 @ 8:27am

Update: 31 Aug, 2022 @ 8:14am

Added more safety measures by adding a new parameter "ForceAuto" that when is "on" it will disable some doors to avoid opening manually by distraction.

Doors affected with this "auto disable" is the ones that is opened by this script, it will apply to a door only after the first command "open ****" or "close ****"

If you have some doors that this script affects but never used the commands open/close it will never disable them unless its already disabled, it will preserve the previous status.

Update: 30 Aug, 2022 @ 9:51am

Added the possibility to safe open doors set in "DoorsGroupName"
"DoorsGroupName" can be a name of one door or group, this doors can be from interior or with access to exterior.

"HangarGroupName" should always be a door(can be a group) with access to exterior and not be in the "DoorsGroupName"

It can be set a sensor to all doors in DoorsGroupName and HangarGroupName, with first "Setup Action": open myDoorName and second with: close myDoorName, replace myDoorName with your door name.

The algorithm was improved in logic and in computing optimization.

Any change in "Custom Data" or in the groups that it manage, click "Recompile" in the "Programmable block"

Update: 29 Aug, 2022 @ 2:31pm

"LCDTextPanelName": can now be a name of one block or a group of text panels(any kind of writable panels)
For example in 2 different rooms I can see both rooms oxygen status if both panels are in one group.

New parameter on "Custom Data" on "Programmable block":
"AuxiliarAirVentName": this is optional like almost every other parameters
This parameter should have the name of one block or group(Air Vent) that is not connected to oxygen generator and only connected to oxygen tanks, it collects oxygen from the room when the room is depressurized, before opening the hangar door(s), when the hangar closes, it will run alone until his tanks are empty, the air vent connected to oxygen generator will be disabled until the auxiliary air vent delivers oxygen.
Because the air is breathable until 50% oxygen in the room the main air vent only will be activated when the oxygen drops to 65%.

Before safe open hangar the other doors(DoorsGroupName) are forced closed avoiding connected room depressurization.

The initialization of the parameters, the "Custom Data", is only read once, so if you change it, click on "Recompile" on "Programmable Block"

Some other minor improvements/optimizations made on the script, for example showing incorrect parameters inside Programmable block on the right side.

Update: 29 Aug, 2022 @ 3:37am

You can set a name of one block or a group of "air vent" blocks on "AirVentName" in "Custom Data"
A group of air vent may be needed for one connected to oxygen generator and other only connected to tanks to collect oxygen from the room when depressurizing

Update: 28 Aug, 2022 @ 3:25pm