安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








I have several sensors on my ship and they are grouped under the name "ThreatSensors". What I would like to do with them initially is this: When any of the sensors detect a threat, I would like a group of lights (grouped under "StatusLights") to turn red, and another group of lights (grouped under "Ceiling-Wall-Lights" to be dimmed about 50% so that the overall lighting is red. I would also like to be able to turn on my defence system (my turrets) under the group name "WelcomeParty". Of course, when the sensors no longer detect the threat I would like to return everything back to the way it was - Red lights turned to Green, Regular Lights back to their set intensity, and turrets turned back off.
To most, this would be simple, but I am just not grasping the programming and how to get states from the devices. I am hoping that seeing a code block to do the above will help me to get a grasp of how to do more with other items.... (I am a big fan of sub grids
Thanks in advance to anyone who takes the time to educate this old dog.
What have you tried so far? It helps to start out with something simple. Can you set up one sensor to activate the EA programming block with an argument that will reference a code block on an LCD? Have the code block turn on a light when it is used. This is a good place to start. Have you looked at the guide?
Posted on Reddit: https://www.reddit.com/r/spaceengineers/comments/evctjo/sharing_my_easy_automation_2_script/
Images: https://imgur.com/gallery/xWKZq9d
Pastetbin (the script): https://pastebin.com/iZzDMwnv
Timer block's is painful and space taking option.
After searching Steam workshop I stumbled Easy Automation 2.
So here it is:
Workshop: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1981564284
Pastetbin (script): https://pastebin.com/qYMnA7aZ