Space Engineers

Space Engineers

499 个评价
Electric Network Info - Touch App
7
5
3
4
4
3
2
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script, Production, Other
文件大小
发表于
更新日期
504.401 KB
2023 年 1 月 12 日 下午 11:14
2024 年 2 月 27 日 上午 10:56
14 项改动说明 ( 查看 )

订阅以下载
Electric Network Info - Touch App

在 Adriano 的 1 个合集中
Adriano's Space Engineers Mods
6 件物品
描述


Electric Network Info
This mod adds an App to LCD screens for monitoring Electric production and consumption, also battery storage and detailed info per block.
It saves a history of last 30 minutes of data and presents the info as a chart, with configurable interval.

How to Install
  1. Open any LCD Block Control Panel;
  2. Change Content property to Script;
  3. Select "Electric Network Info" from the list;

Description
  • Consumption - Current and consumption if all blocks require maximum input;
  • Production - Current and production if all producers are on maximum output;
  • Battery Output - Current power production of batteries and maximum output;
  • Chart Time Span - Set the time span for the graph. "30s" means over the last 30 seconds;
  • Battery Checkbox - If checked, battery output will count as production in the graph;
  • Battery Storage - Time until the battery is depleted. If red border, the system is overloaded. Needs more power production;
  • Detailed Consumption and Production - A list of consumers and producers from highest power to lowest;
  • Window Bar Buttons - Help button open this help panel. Gears button open settings. Changes how info is displayed;

Screens and Touch
It works and adapts to pretty much any LCD in the vanilla game and DLCs including cockpits, but since it has small bottons and labels it may be hard to read in some small screens. Use Screen Calibration app to make it work on any modded LCD.
Touch screen feature is provided by TouchScreenAPI mod.
Which makes both cursor and UI elements available for any modder.
Send me a direct message on Github[github.com], Steam or Discord (@adrianolima).

Multiplayer and Servers
It works in singleplayer, multiplayer and also servers. Since it is a TSS (LCD script) it runs almost entirely at client side.
The clients are responsible for drawing and monitoring the grids, and also sends to the server only for persisting data across sessions.
I made it only visible to players that have access to the block, so share with faction will allow other player to interact with it.

Changing the Scale
Use "Ctrl + Plus" or "Ctrl + Minus" to change the scale of the app. "Ctrl + 0" to reset.
This can be very useful for small screens.

Running at 6fps
This is a limitation on the game side for LCD screens texture frames update.
There is a possible workaround to make it run at 30fps, but for performance reasons I decided to keep this first version without it.
It is possible that I change it on upcoming versions.

Have and idea of a Touch App?
I just created an open Discussion on TouchScreenAPI for people to share and discuss ideas.
112 条留言
Name not found 8 月 21 日 下午 5:55 
No worries, mod works great in my offline world, probably a config issue with the server. TouchScreenAPI auto installed when i installed Electric Network Info. I've been looking around in different config files but haven't figured it out yet. Will post the solution if i find one. Thanks for all your hard work.
Adriano  [作者] 8 月 10 日 下午 5:09 
Hey @Name not Found, did you install the TouchScreenAPI base mod as well?
Can you provide more details about what happen? Can you see the TSS in the scripts list? Does it open somehow?
I don’t know what else to try, and unfortunately I’m not with my windows PC at the moment to give it a try.
Name not found 8 月 10 日 下午 3:50 
I love using this in my single player world but i cant get in working on my server. i have rank *****, and enabled scripts and tried enabling and disabling the scripter role, added my steam id to the config file. nothing seems to work, maybe you have a suggestion. thank you very much.
Alkex 4 月 16 日 上午 11:09 
Hey great mod! I'm struggling get the amber look from your screenshot that i love, i can't get how to set the text in white while keeping the background black and the boxes amber/orange, I always get the text just slightly clearer than the boxes
Maelstrom 4 月 1 日 上午 4:36 
i am confident with programming, but not confident enough with your code... i made a quick 10 minute hack, found the place u were updating the maxConsuption and deleted the line, so it no longer updates, but a real fix, with an actual checkbox and make it so the line doesnt show, instead of having a flat line at 0 for maxConsumption... that's a lot of unknowns really... just do it at your own time if u can, or dont =D it's something that was bothering me, im probably the only one.... but then again, great mod =) it looks so pretty how the lines go up and down the graph... and now without that superhigh maxConsumption line, i can actually see the other lines and how they struggle on bad weather for my base =)

cheers mate...
Adriano  [作者] 3 月 31 日 上午 9:51 
Thanks @Maelstron, I've not been using my Windows machine for a while and can't open the game on my Mac.
If you're confident with coding you can make a PR to the mod repo. But I'll eventually make this improvement next time I need to update the mods.
Thanks for the suggestion and the comment
Maelstrom 3 月 31 日 上午 9:01 
nevermind, i found it and fixed it... for anyone else that maybe cares about this, or maybe for the people that created the mod to make a toggle checkbox for this,
find the mod files, \Data\Scripts\Lima\EletricNetworkInfo\components, inside there, is a ChartView.cs file, go to line 238, comment it out, //_dataSets[2] = subSet .MaxConsumption;
save and restart.
works perfectly, thanks for the great mod! :steamthumbsup:
Maelstrom 3 月 31 日 上午 8:51 
is there a way to remove "max consume" from the graph? it's so high that the rest of the info is a single line that doesnt help much....
if u could maybe guide me thru the files to remove that specifically for my local only?
thanks!
RougeSable 3 月 21 日 上午 3:50 
This awesome mod is part of our collection "Sirius - An arcade vision of a survival game" https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3154892496

Thank you to offer this to the community ❤️ And thanks a lot for keeping this mod up to date ❤️
salesv 1 月 23 日 下午 5:58 
+1, I also get very blurry screen