Space Engineers

Space Engineers

Airlock Control
[Bug Report] Doors take too long to unlock if desired state can't be achieved
When all available oxygen tanks are full, the airlock takes way too long to unlock.

If there's oxygen being constantly generated, meaning the tanks are usually full, the doors that lead to outside, where there's no oxygen, take like 10+ seconds to unlock, because the airlock keeps hopelessly trying to store the oxygen currently inside of it, although there's no room for it.

It would be useful if the script figured there's nowhere to store air, then unlocked those doors straight away, even if to enable this we had to toggle a setting in the config.

Another option would be to allow us to configure for how long will the script try to depressurize before giving up and unlocking the door.

I've been suggested to build a separate conveyor system with oxygen tanks exclusively for airlocks, but this is more of a workaround than an actual solution. Sure, it might work in some cases, and it'll lead to lower oxygen losses, but (as is my case) sometimes there just isn't enough room for another conveyor system, and oxygen losses can be tolerated from time to time.
< >
Showing 1-1 of 1 comments
game plays 1230 5 Dec, 2020 @ 7:17pm 
the script is design with a max time pressure if it dosen't meet

i have the problem to and i have look into the problem and

i would fix the problem however i do not know enough coding i just know enough to debug where the problem may lay at what i have notice in the code is 2 states likely, open: close, and i have notice the wanted pressure for the conditioning of opening the door what i seem to find is the wanted pressure isn't being changed based on the outer-pressure but default so it never changes

he also uses wanted pressure in both conditions (opening and closing so i would need to add a similar code handle this

current state = 1 or 2 open close 0 = idle)
then wanted pressure = if (inner based vent !=null, choose (inner pressure: default: biggest number),default)
else
wanted pressure = if (outer vent !=null, choose (outer pressure: default: biggest number),default)
end
i just don't know how to implement nor where to implement it at and note,

this is all that needs to be changed (except for adding the extra components needed to call up and get the pressure ) the rest will work as intended i have no model of the code as i said my knowledge of coding does not go father then this example of what i would have to do
Last edited by game plays 1230; 5 Dec, 2020 @ 7:21pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50