Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I need something simple, 2 sliding doors next to each other.
All this type scripts I've found don't enable to set names for doors to handle and use all of them.
And I need just particular doors to be handled by script.
You could do this with the script, as-is, only if you don't have an Oxygen source on the ship. If you just have large Oxygen tanks that you refill when you dock at a station or larger ship, then just name all the stuff in your ship as described above and you should be good.
If your ship has its own Oxygen Generator, you would need to have Oxygen Tanks and Vents, separate from the Generator, to store Oxygen while the door is open, and you'd have to modify the script slightly to shut off the Oxygen supply vent while depressurizing.
I think it could be streamlined by having sensor tagged airlock name, and having the script polling (since it runs all the time anyway) the sensor. So if it detects someone it pressurizes, if not it depressurizes. Since the state only changes when you go by it, it could open the exterior door when done. Then the normal run would close it again after the default timeout.
Well, and I'm assuming I can issue run from another PB (haven't had a chance to try) but like for the Ulysses-Vagabond & Ulysses-WURM airlocks, I'd like to pass enable/disable commands when unmerged/merged, so it would be good to turn the sensor on/off as well.
Separate light states for each airlock state also sounds reasonable. I'm surprised I didn't consider adding that already for the published version, even though I don't use it.
I'm..... not sure what you're asking, regarding the use of tanks.....
Sensor support would also be fairly easy to add, but I'm not sure if that's really necessary. I've never used sensors on anything myself. Are there any issues in particular you're having?
What'd be really nice, especially if I could do it for buttons as well, is to have the script automatically assign the correct button and sensor actions, just by being tagged, unless an action already exists. I'm not sure if that's something an ingame script can modify.
Couple minor features it could use:
Options for play soundblock on different actions
Seperate light blink states for press/depress - i.e. I'd like green when pressurizing and red when depressurizing.
Haven't seen any ill effects running without tagged tanks (but I been testing in creative still) but I suspect it might mess with the override to wait for clear and just open the doors prematurely (on larger airlocks than I use anyway). Option for single tank, or just to check that there is space in any tank available woudl be good.
Sensor support, so enable/disable/lockdown/release commands can turn airlock sensors on/off as appropriate. Possibly detect and run press/dep off sensor state detection if exists?