Space Engineers

Space Engineers

评价数不足
Simple Airlock & Hangar LCD Screen Manager (Script)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
968.000 B
2016 年 5 月 16 日 上午 6:29
2016 年 5 月 16 日 上午 6:58
2 项改动说明 ( 查看 )

订阅以下载
Simple Airlock & Hangar LCD Screen Manager (Script)

描述
................................................................ What does it do ................................................................
This script checks all of your airlock / hangar doors and applies different textures to the assigned LCD panels according to the doors current status.

• Opened
• Partially opened
• Closed
• Damaged


All values are predefined in the "User Settings" section of this script and can be changed to your liking.

It also drastically reduces the rate of airlock, hangar and docking accidents caused by human failing in Space Engineers!
In memory of all ships and engineers that died to improper signposting.

............................................................... How to set it up ...............................................................
Make sure that you've subscribed to this Script so you have access to it once you're ingame. All you really need apart from this.

• A powered Grid
• 1 Programmable Block
• 1 Timer Block
• 1 or more Doors of any type (Airtight Hangar Door, Sliding Door, Door)
• 1 or more LCD Panels


!!! You need to be the owner or at least have access to all of these Blocks or it won't work !!!

Step 1) Simply build your airlock or hangar and place all doors and LCD panels right away.

Step 2) Make sure there are no other doors or LCD panels on the same grid that shouldn't be affected and are named equally!

Step 3) Place the Programmable Block wherever you want (on the same grid), import the script and change the values in the "User Settings" section to match your setup.

Step 4)Place your Timer Block, set the delay to 1 second and add following actions.

• Run Programmable Block
• Start Timer Block (itself)


Step 5) Trigger the Timer Block and enjoy!

................................................................. User Settings ..................................................................
string doorName = "Airtight Hangar Door";
This value has to match your airlock / hangar door names. You can add anything you want in front or after the defined name.

• Airtight Hangar Door
• L Airlight Hangar Door
• Airtight Hangar Door 2
• G01 Airtight Hangar Door 16


As long as it contains the value you've set you're good to go.

string signName = "LCD Sign";
Pretty much identical to the previous one.

Note: You probably don't want to set it to the standard "LCD Panel". This would override and erase all of your Text Panels that are named equally.

• LCD Sign
• Hangar LCD Sign
• LCD Sign 2
• L Hangar LCD Sign 1


string texture1 = "No Entry"; string texture2 = "Danger"; string texture3 = "Arrow"; string texture4 = "Construction";
These values define which texture is shown depending on the state of your airlock / hangar doors.

1) When all doors are closed
2) When doors are partially opened/closed
3) When all doors are opened
4) When one or more doors are damaged


Those are the values for all current vanilla signs. (Modded textures work too!)

• Offline
• Online
• Arrow
• Cross
• Danger
• No Entry
• Construction
• White screen


................................................................ Closing Words .................................................................
Feel free to Like, Rate and Comment if you've found this useful and want to let me know!
44 条留言
General Furry 2024 年 7 月 22 日 下午 4:41 
does this still works as of 2024?
General Furry 2024 年 7 月 22 日 下午 4:05 
WHY KEEN WHY WASNT THIS FUNCTIONALITY ADDED WITH THE ADDITION OF EVENT CONTROLLERS
Dillernissen 2017 年 4 月 27 日 上午 9:31 
i nead help my game wornt start eny other one got the same problem i just got a new cumpruter
SevenSins  [作者] 2017 年 4 月 2 日 上午 4:40 
mh?
Go Left 2017 年 4 月 2 日 上午 4:17 
MMaster know him?
SevenSins  [作者] 2017 年 2 月 18 日 上午 11:32 
Thanks! :)
Nyan 2017 年 2 月 18 日 上午 11:29 
Great! Nice Work again :D
SevenSins  [作者] 2017 年 2 月 18 日 上午 7:19 
Yeah am working on it! This script is out of date and I'm currently splitting it up into multiple seperated scripts.

- Simple LCD Button Commands [just released today]
- Simple Hangar LCD Manager
- Simple Elevator LCD Manager
- Simple Automated Airlock
...and a few more

All fully compatible with eachother.
Nyan 2017 年 2 月 18 日 上午 6:44 
hey can you modify it so it depressurizes the room for whosee that have an air lock?
for example you have a button panel to run the script with an argument like close then the script despressurizes the room and after that it opens the hangar doors btw very good script =D
SevenSins  [作者] 2017 年 2 月 16 日 下午 2:36 
@Rahl The Script is completely done now. I'll be creating a short tutorial Video on how to set it up and what the script can actually do.

So expect it to be on my workshop tomorrow at around 10:00 PM CET!
Depends when I get home :)