Space Engineers

Space Engineers

Desu Door (Automatic doors+airlock) 1.2.1
14 条留言
Franco 2015 年 5 月 22 日 下午 7:13 
(my other scripts work just fine, so it's definetly a bug on this one)
Franco 2015 年 5 月 22 日 下午 12:06 
exactly the same exception
G̡̛r̀̀͞ę͝y̴h͟ù̕n͏̛t͞  [作者] 2015 年 5 月 22 日 上午 6:57 
well, try this:
char dist = '$';
char room = '-';
char mrk = '1'; //but don't use symbol "1" in door names

Also update script
Franco 2015 年 5 月 21 日 下午 7:41 
I tryed to change the symbol to a nomral char (Ñ, Z, ... etc... for testing purpose) and the exception keep appearing. I managed to copy paste the symbol | from the script menu (only place that I can write that) in the block names to define a zone, and it keep throwing the exception.
Franco 2015 年 5 月 21 日 下午 6:23 
I can't use @ # % | { } or \ in block names.... The game doesn't alow that, in english version. As I said before, the only simbols allowed are $ and -, but they thow exceptions on your code
G̡̛r̀̀͞ę͝y̴h͟ù̕n͏̛t͞  [作者] 2015 年 5 月 21 日 下午 2:29 
Don't forget to change this variables in script settings
G̡̛r̀̀͞ę͝y̴h͟ù̕n͏̛t͞  [作者] 2015 年 5 月 21 日 下午 2:05 
do not change variables type.
"|" is not "i" or "L", it's Shift+\
try @ or #
DesuDoor @main@
Franco 2015 年 5 月 21 日 下午 1:32 
The only symbol that the game let me use is $ and -. How can you write the other symbols? we have the same game... and it seems to be filtered for block names (I can in programming mode, but I can't on block name editing mode).

If I use $ or - I get the error mentioned earlier.

If I use double symbols, I have to change the var to string, and all the other code seems to stop working.
G̡̛r̀̀͞ę͝y̴h͟ù̕n͏̛t͞  [作者] 2015 年 5 月 21 日 上午 11:24 
thnx, try now
G̡̛r̀̀͞ę͝y̴h͟ù̕n͏̛t͞  [作者] 2015 年 5 月 21 日 上午 11:16 
Yes, I forget "e", but you can use any word.
If you can't use "|", you can use someone else, "%" or "$" for example.

"Index was outside the bounds of the array"
Some symbols can not be read, try to do double it. DesuDoor :6: or DesuDoor |airlock|
Franco 2015 年 5 月 21 日 上午 8:24 
I can't use the char "|" on block names. Don't know why.
And I always get the error: Index was outside the bounds of the array
Franco 2015 年 5 月 21 日 上午 8:13 
string outside = "Outsid";
don't you forget an "e"? Outside?
G̡̛r̀̀͞ę͝y̴h͟ù̕n͏̛t͞  [作者] 2015 年 5 月 12 日 上午 1:40 
Outside and inside doors require airvent. Some doors are considered closed as soon as they were given the command "close", but they continue to pass air. So airvent used to recive data about pressure of the room and the level of oxygen. Indoor open only if room pressured, outside only if oxygen level = 0, so the air is not lost.
andreykl 2015 年 5 月 12 日 上午 12:47 
Looks perfect, thanks. Dose outside and inside doors require airvent or they will just work as 'one won't open while other is open'?