Space Engineers

Space Engineers

Not enough ratings
Airlock script C.S.G. Control System Gateways
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.153 MB
10 Nov, 2016 @ 6:38pm
25 Nov, 2016 @ 1:29pm
3 Change Notes ( view )

Subscribe to download
Airlock script C.S.G. Control System Gateways

Description
It is easy to use the script provides automatic control over the gateways.
How it works.
The script takes a string argument, and remembers it as the name of the gateway and stores it in a list of names and States of the gateways, it finds all blocks chii names begin with the text passed in the string argument. Recognize the blocks according to their type. Since the doors are the same type their script distinguishes label [int or ext]. The script ignores the gateway fullness oxygen if he can't get Lily's nowhere to upload. Blinks and shines different colors of the lamps displaying the status of the gateway.
And of course, gateways can be a lot.
My script didn't matter which gateway to work: a large hangar with ventilation and lights or with a small gateway of the two doors.
How to use: call the blocks related to the locks in a specific format
[gateway name][_int or _ext][your text].

[gateway name] - used in the argument which runs a codeunit.
that is how the argument started Programmable Block that gateway and processed.
The button or the sensor must be configured to activate a programmable block with argument [name of the gateway]

Label [int or ext]- is only for doors. The script determines what the
the door interior and what is exterior.

[your text]- this can be any text the script does not consider this part of the block name
And of course need to loop the Programmable Unit via the timer without an argument

A list of the names and States of the gateways can reset argument Rezet

An example of using the script. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=797512010
2 Comments
Sinops  [author] 24 Mar, 2017 @ 8:27am 
прошу прощения за неправильный Reset я тот ещё грамотей.
пример названия:
Шлюз малый_int технический - название внутренней двери
Шлюз малый_ext технический - название внешней двери
Шлюз малый технический - название ламп или вентиляций
командой для шлюзования в этом случае будет - Шлюз малый

Попробуй скрипт на примере https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=797512010
Пожелания и замечания принимаются.
Всё хочу переделать на фильтрацию по группе да руки не доходят.
XCanG 23 Mar, 2017 @ 3:03pm 
Почему не "Reset"? А то это какой-то неправильный английский. В названии сначала указано _int, а потом без _, то же и с ext, так как надо? И ещё, сам текст в скобках должен быть? Потому как вероятно, что это что-то вроде: Main Vent 1, Main_int Door 1, Main_ext Door 2 для группы "Main".

Ах да, скрипт довольно старый, возможно уже не работает?