Space Engineers

Space Engineers

评价数不足
Cython+Darkstar Shields Display - more details
   
奖励
收藏
已收藏
取消收藏
标签: visualization
文件大小
发表于
384.991 KB
2021 年 3 月 19 日 上午 1:34
1 项改动说明 ( 查看 )

订阅以下载
Cython+Darkstar Shields Display - more details

在 BIGOLBEAR 的 1 个合集中
Cockpit Software Suite
19 件物品
描述
This script displays data for both Cythons and darkstars shields. They may both be used simulteneously.
Its designed to be used on ships that are using defense shields as a primary shield and energy shields as structural integrity or secondary shielding.

Place the Tag "[Shield]" in the name of any block you wish to display your shield status on.
The Tag for the Energy Shield generator blocks is "Shield generator" which is the default name for the shields.
The Tag for the Defense Shield is "Shield Emitter" which is the default for defense shields.

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.
11 条留言
BIGOLBEAR  [作者] 2023 年 12 月 11 日 上午 7:26 
hey redneck zer, If you look in the script you should see the part that is printing to the screen. in there or near there its setting the font size. I also have 2 other script that may suit you one for smaller lcds (the thin ones) that just shows a bar and one that lets you set font size yourself. hope this helps.
Zervius 2023 年 12 月 7 日 下午 1:24 
im on a small lcd screen for a small fighter how can i adjust the font size its so small and the on the lcd does not change it
BIGOLBEAR  [作者] 2023 年 11 月 6 日 下午 1:34 
regardless of all this I would like to say thanks for the good bug report
BIGOLBEAR  [作者] 2023 年 11 月 6 日 下午 1:24 
alternatively I may have to look into updates for both darkstars shields and cythons.
but im not playing SE at the mo.. its not even installed.
BIGOLBEAR  [作者] 2023 年 11 月 6 日 下午 1:23 
Give this one a try, its OLD, but for cythons only and may work for you.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1515991905
AkagiVoid 2023 年 11 月 2 日 下午 2:20 
Well Cythons shields still works and been sum wat in the loop of SE updates. :3

And although bubbles shields are simple and doesn't use a lot of CPU and GPU power as the Cythons one does I still prefer Cythons shield mod because its visually mar accurate. X3

I just want a script dat can show the ship's Shield health as "Armor" health (color-able text as well) on LCD and in cockpits for small ships. >w<
BIGOLBEAR  [作者] 2023 年 11 月 2 日 上午 9:16 
An array out of bounds like that indicates to me that something has changed - probably with darkstars as cythons hasn't been updated in many many years. Dark has an API for all his weapon core stuff. BUT as I say darkstars shields now has its own HUD representation that gives far more info than this old script.

Do a double check you have evythign set up right: In have a vid on YT for how to set up my scripts - and it applies to all of them honestly.

https://www.youtube.com/watch?v=8FmSb_GIE4k&t=29s

If you do then frankly until I get back into SE Im going to label this script as outdated.
BIGOLBEAR  [作者] 2023 年 11 月 2 日 上午 9:15 
oh god.. Ill have to take a look at it - dont even have SE installed right now ;), Is YEARS since I wrote this, hell I dont even know if cythons old mods still work.

If your using darkstars sheild mod and weapon core - you dont need a script now any ways as it shows on the HUD. If your using cythons there are scripts (by various folks) I think I have one too - that just displays that.

Honestly I made this script in the days when Darkstars shield mod was new and not great - now its come a VERY long way since those days.
AkagiVoid 2023 年 10 月 31 日 下午 7:49 
@BIGOBEAR
Errorlog:

––•( BuildInfo )–––
(Text from 2m 42s ago)

Caught exception during execution of script:Index was outside the bounds of the array.
at Program.Main(String argument)
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.<>c__DisplayClass42_0.<ExecuteCode>b__0(IMyGridProgram program)
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RunSandboxedProgramActionCore(Action`1 action, String& response)
––•–––
BIGOLBEAR  [作者] 2021 年 8 月 22 日 下午 3:14 
Hey thanks @Gate didn't know this one had any bugs. I'll look into it when i can find the time.