Space Engineers

Space Engineers

评价数不足
Display Custom Info
   
奖励
收藏
已收藏
取消收藏
标签: visualization
文件大小
发表于
376.101 KB
2021 年 3 月 19 日 上午 1:57
1 项改动说明 ( 查看 )

订阅以下载
Display Custom Info

在 BIGOLBEAR 的 1 个合集中
Cockpit Software Suite
19 件物品
描述
This Script is compatible with modded blocks.
It displays the Custom Info of a block to LCDs, including cockpit LCDs and other blocks with multiple LCDs.

Place the Tag "[INFODisplay]" in the name of any block you wish to display your custom info on.
Place the Tag "[INFO]" in the name of any block you wish to display the custom info from.

Additionally you must now set the LCD of the block to 'Text and images', not to Script as this script outputs text rather than sprite frames.

If using this script on a block with multiple LCD's it will update the LCD blocks(eg cockpit) custom data on first run to propagate the custom data with ini data that you can then change to select which screen to display this scripts output on. Edit the custom data of the cockpit or other multilcd block to set which screen to display on.
17 条留言
FlyingOsprey 2024 年 11 月 12 日 上午 4:40 
no subgrid shenanigans either
FlyingOsprey 2024 年 11 月 12 日 上午 4:36 
No I even started an unmodded world just to triple check and it wouldn't output anything but a black screen. It feel like the lcd side of things isnt the issue since the lcd would update to a black screen when i ran another script first, it feel like the source of the information is what may have changed.
BIGOLBEAR  [作者] 2024 年 11 月 12 日 上午 3:48 
literally all this script does is print out to LCD a specific data field that all blocks have.. they must have changed the name if this isn't working. One point to consider.. all blocks have to be on same grid - got any subgrid shenanigans?
BIGOLBEAR  [作者] 2024 年 11 月 12 日 上午 3:46 
@FlyingOsprey It shouldn't need any external mods at all. I haven't actually played SE in over a year - but im sorry to hear this script is broken. Its a VERY simple script, all I can think of if you have followed the instructions to the letter is that Keen have changed something important - specifically the name of the data field this script is reading. Ill ask a friend of mine who plays SE still to check whats going on and get back to you.
FlyingOsprey 2024 年 11 月 11 日 上午 9:57 
Sadly this appears to be completely broken. I followed your yt tutorial and couldn't get it to display data from any block the lcd just turns black. I made sure the tags were correct and that the lcd was in text mode. but nothing would read does this need build vision mod or something like that?
BIGOLBEAR  [作者] 2023 年 7 月 29 日 上午 2:50 
@lunarEclipse Unless keen has changed something fundamental - then Im guessing you have the tags wrong and it cant find either the block or the lcd its needs. Double check the tags please - they are case sensitive. If pointing to a modded block - it MAY be that, but I doubt it.

I recommend -
1 double check the tags (case sensitive).
2 make sure the block in question is vanilla, powered up and not damaged and not a jump drive (jump drives are apparently special)
3 recompile and restart script.

If problem persists let me know and Ill look into it - unfortunately I dont even have SE installed right now so it may take me some time.
If problem is limited to specific block theres nothing to be done, it will require its own dedicated script.

Can I ask which block you are trying to display the custom info for? and to what type of LCD block?
g o o s e 2023 年 7 月 28 日 上午 5:15 
Found a slight problem - it's throwing an error; a NullRef on Program.Main()
Any idea on a fix?
BIGOLBEAR  [作者] 2023 年 5 月 1 日 下午 11:41 
interesting. the jump drive must work in a 'special keen manner'. this script literally just pulls the data from a specific data field that exists in all blocks (that's why the script works with modded blocks too) . jump drives must not propagate that field (this is a keen problem if true). as always double check spelling of tags in block names restart all the things, recompile all the things etc etc.
kaban 2023 年 5 月 1 日 上午 12:09 
works with any blocks except jamp drive
BIGOLBEAR  [作者] 2022 年 2 月 24 日 下午 6:33 
it does multiple displays any ways. For grabbing from multiple blocks use multiple prog blocks and edit the tags for each one. Tags are Right at the top of the code and cleraly labelled.