Space Engineers

Space Engineers

评价数不足
Menu for Configurable Automatic LCDs
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
10.472 KB
2016 年 2 月 28 日 下午 5:59
2018 年 1 月 26 日 上午 1:02
4 项改动说明 ( 查看 )

订阅以下载
Menu for Configurable Automatic LCDs

描述
This script is an addon for the Configurable Automatic LCDs (CAL) script. It allows you to create a menu (controllable from a cockpit or button panel) to select different things to show from CAL.

Instructions

Set up CAL as you normally would.

Add a new Programmable block and put this script in it. Edit the top of the script to change menu items and settings.

Compile script.

Edit button panel or cockpit actions and add the Menu Programmable block four times with Up, Down, Choose, and Back for the argument.


Have fun!
37 条留言
Tiro 2018 年 1 月 26 日 下午 3:20 
you sir! are a god <3
rockyjvec  [作者] 2018 年 1 月 26 日 上午 1:04 
Fixed for latest version of the game.
Tiro 2018 年 1 月 23 日 下午 2:30 
will this ever be fixed to work on the current version of the game? or can someone point me in the direction of one that works? so many ideas but cant find a working script.
PineCone227 2017 年 6 月 17 日 上午 10:46 
Doesnt work for me :(
Twotwinbrothers 2016 年 3 月 20 日 上午 11:25 
Hi @rockyjvec

Yes that was it, I see it before in Mmasters CAL script, but ditnot now why he dit this

Thanks aggain, script work
rockyjvec  [作者] 2016 年 3 月 20 日 上午 11:05 
Hi @twotwinbrothers,

Those are broken due to a bug that was introduced that Keen is working on. You can work around the problem by putting the following just before the writePublicText call:
lcd.ShowTextureOnScreen();
lcd.ShowPublicTextOnScreen();
Twotwinbrothers 2016 年 3 月 20 日 上午 11:02 
Hi @rockyjvec

Any luck, to fix These.

https://raw.githubusercontent.com/rockyjvec/EasyAPI/master/modules/EasyMenu/EasyMenu.cs
ttps:/raw.githubusercontent.com/rockyjvec/EasyAPI/master/modules/EasyMenu/examples/PBMenu.cs

Only thing that is not working is wen a argument is given, it wil not update the screen
rockyjvec  [作者] 2016 年 3 月 18 日 上午 9:33 
@twotwinbrothers, thanks I'll take a look at those later today. There were some LCD bugs introduced in yesterdays update: http://forum.keenswh.com/threads/lcds-only-update-when-not-being-rendered-after-update-01-126.7381377/

A Keen developer is looking into it. It could be that is what broke those scripts but I will check them later to make sure.
Twotwinbrothers 2016 年 3 月 18 日 上午 9:23 
Hoi @rockyjvec

lcd.SetShowOnScreen(Sandbox.Common.ObjectBuilders.ShowTextOnScreenFlag.PUBLIC);
solf it by looking in the Cal code by MMaster
for text = lcd.ShowPublicTextOnScreen();
for textures = lcd.ShowTexturesOnScreen()

and these dont work any more

https://raw.githubusercontent.com/rockyjvec/EasyAPI/master/modules/EasyMenu/EasyMenu.cs
ttps:/raw.githubusercontent.com/rockyjvec/EasyAPI/master/modules/EasyMenu/examples/PBMenu.cs
rockyjvec  [作者] 2016 年 3 月 18 日 上午 8:01 
@twotwinbrothers, try Sandbox.Common -> VRage.Game

They have a list of what changed here: http://forums.keenswh.com/threads/changes-to-the-modapi-16-03-2016.7381306/