Space Engineers

Space Engineers

483 ratings
Electric Network Info - Touch App
7
5
3
4
4
3
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Production, Other
File Size
Posted
Updated
504.401 KB
12 Jan, 2023 @ 11:14pm
27 Feb, 2024 @ 10:56am
14 Change Notes ( view )

Subscribe to download
Electric Network Info - Touch App

In 1 collection by Adriano
Adriano's Space Engineers Mods
6 items
Description


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.
109 Comments
Alkex 16 Apr @ 11:09am 
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 1 Apr @ 4:36am 
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  [author] 31 Mar @ 9:51am 
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 31 Mar @ 9:01am 
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 31 Mar @ 8:51am 
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 21 Mar @ 3:50am 
This awesome mod is part of our collection "Sirius - An arcade vision of a survival game" https://steamhost.cn/steamcommunity_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 23 Jan @ 5:58pm 
+1, I also get very blurry screen
andersenman 8 Nov, 2024 @ 8:59am 
Amber color scheme. Appreciated. Amber is love.
Joergitech 2 Nov, 2024 @ 2:53am 
asking the sceen is blury what can i make the mod clear lcd working not more
Adriano  [author] 27 Feb, 2024 @ 11:01am 
Just sent an update to prevent the error bellow. It was caused by a modded block missing DefinitionDisplayNameText in their definition.

Now mods with that problem will be listed as "Unknown" instead of throwing an error.

Thanks for the detailed report :steamthumbsup: