Space Engineers

Space Engineers

45 个评价
Cross-Grid Communication Script
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
14.523 KB
2018 年 2 月 20 日 上午 9:37
2019 年 4 月 16 日 上午 1:48
9 项改动说明 ( 查看 )

订阅以下载
Cross-Grid Communication Script

描述
Cross-Grid Communication Script v1.5 by MrHam5

With this script, you can chat with ships in your antenna range, open hangar doors without accesing the other ship's terminal, and self destruct your ship :D Purely for fun of course.
Displays the time of messages, the sender and the message.

Update 1.5
- Script now focuses more on actual communication than other features!
- Script now uses the new display system, which means that you can display it your Cockpits and other blocks as well.

feature: Timer block trigger
You can now trigger a Timer block on a targeted grid! See the usage below, at the commands.

Sending to every ship:
Use everyone as the targetName

Setup:
- place an Antenna and a Programmable block on the same grid
- put this script inside the Programmable block
- set up multiple grids like this
- you can then chat using the programmable block's argument box

How to display the script in your Cockpit?
Add Comm to the cockpit's name, then hit recompile on the Programmable block running the script. After that, open the Cockpit's CustomData. Set the none value to either status or messages at the display you want it to be shown.

Use:
- for sending a message, you need to type in the targeted grid's name and the message, like:
targetName message text

- for using a command you must begin wit a / , like:
/commandName parameter

Usable internal commands:
/listConfig
/selfDestruct
/ping shipName

Commands you can send to other ships:
targetName /open [hangar door group name]
targetName /close [hangar door group name]
targetName /trigger [name of the timer block]
44 条留言
Casey 2023 年 10 月 7 日 下午 2:20 
oh cool thanks
eron 2022 年 8 月 30 日 上午 4:54 
Ty, @Balloonie-cat
Lathy...or is it 2022 年 8 月 23 日 下午 9:19 
@JӨЯI-1 here is a link to fixed code - I am reaching out to the author to see if I can take this over (or if they have just gone inactive), but this should help in the meantime
https://pastebin.com/Ah7MNqmJ
Casey 2022 年 3 月 22 日 上午 5:53 
is this still being worked on, and if not can someone actually give out the edits rather than just saying it works and not elaborating
Omniarcher 2021 年 12 月 9 日 上午 12:18 
Can you make so I can pass data, example GPS coords, from one grid to the next?
Niceguygamer 2021 年 3 月 15 日 上午 8:35 
Does this still work?
Hage Maoh 2020 年 12 月 11 日 下午 2:58 
I'd love to know what edits are necessary to make this work in the current game - I've been looking for exactly this
Lathy...or is it 2020 年 10 月 15 日 下午 9:19 
Just wanted to say this script is awesome (the fix to work in the current version is real quick, btw - I did it myself for my machines). It really appeals to the kid in me to be able to push a button on my lifepod and have my big ship open the doors for it ^_^
Palatinus  [作者] 2020 年 7 月 7 日 上午 4:57 
@Petraeus42 Yes, it is planned. After I finnish updating my other script, I will move on to this one.
Petraeus42 2020 年 7 月 2 日 下午 8:02 
Are you planning on updating the script to work in the current version of the game?