Space Engineers

Space Engineers

评价数不足
Quick Cargo Display
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
5.960 KB
2016 年 12 月 25 日 上午 2:24
2017 年 1 月 3 日 下午 11:33
6 项改动说明 ( 查看 )

订阅以下载
Quick Cargo Display

描述
Quick Cargo Display V3- Now with corner LCD support!

This script provides a quick way of displaying the contents of a cargo container, reactor, refinery, or assembler. No renaming necessary!

Just place a text panel or square LCD on the object. As long as the panel is attached to any face of the object, the panel will display the inventory!


Timer block setup actions:
1. run this program with default argument
2. trigger now
3. start

Instructions:
Place a corner LCD panel, LCD panel, or text panel any face of a cargo container, reactor, refinery, or assembler.
Panel will now display automatically display the contents of only that container- no further input required!
Multiple panels can be added to the same object and each panel will display the inventory.
Removal is easy- simply grind down or delete the panel.

Caution: Wide LCD panels are not supported!
Wide LCD panels are not guaranteed to function, but will work most of the time.

Customization options:

Fontsize
lines to display before scrolling
scroll speed
change display bar size
add custom text


///

TO DO LIST:

1. add a way to display the inventory of grouped containers

2. MAYBE add non automatic display for non cargo items like batteries, jump drives, etc etc.
This might be feature creep.

///

Let me know if you have any feature requests!

If you'd like to use my code to do other things, please go ahead! I only ask that you leave a javascript:ValidateForm()suggestion as to how I can improve my own script. I've been learning programming from the ground up through space engineer's c# and would appreciate the help!
热门讨论 查看全部(1)
1
2017 年 1 月 4 日 下午 4:49
step by step instructions to setting things up!
jubbajubbjubb
14 条留言
User5876 2021 年 7 月 24 日 上午 1:02 
Nice job, man! This looks cool! You have a very nice presentation of your script on the workshop page. I can't wait to see it updated!
Argon Prime 2019 年 6 月 15 日 上午 11:35 
Not working. In programming block "Check Code" option gives different errors.
Sorcia 2019 年 5 月 9 日 下午 5:36 
Now this is pod racing.
Thunder Muffin 2018 年 8 月 28 日 下午 1:56 
will it ever work for small ships
jubbajubbjubb  [作者] 2017 年 1 月 3 日 下午 7:03 
@epicderpybro sure thing! reading back on what I wrote, it reads like I'm condescending! I promise I'm not! I guess I was just being thorough haha.

http://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/825460674/144512526671982353/
Edford, G. 2017 年 1 月 3 日 下午 6:17 
@jubbajubbjubb i can't figure out how to run the script, (considering this is the first time i've done this sort of thing) can you please elaborate?
McCloud Jr 2017 年 1 月 3 日 下午 1:27 
@jubbajubbjubb sweet
jubbajubbjubb  [作者] 2017 年 1 月 3 日 上午 2:32 
@McCloud Jr Ah I see what you mean. Looking through the documentation, there seems to be a way to programmatically find if block belong to a group without manually typing in the group name. I think I might be able to do it...
McCloud Jr 2017 年 1 月 2 日 下午 12:25 
@Gemini what Extevious-V means is that can you make a group of cargo containers and only place one script instead of multiple one each container

ex: Cargo 1, 2, 3, 4 are in a group labled *Cargo Group [insert number here if needed]*

does that help any? I noticed that Extevious-V hasnt explained yet.
Iomega0318 2016 年 12 月 27 日 下午 2:47 
Great job, I like it!