Space Engineers

Space Engineers

649 ratings
InfoGraphx
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
60.131 KB
Apr 17, 2019 @ 1:39am
Jul 29, 2019 @ 5:21am
10 Change Notes ( view )

Subscribe to download
InfoGraphx

Description
InfoGraphX is a script (not mod) that can be run in a programmable block to show data of your grid in an appealing way on all supporting surfaces like displays or cockpits.

Breaking News: The latest Economy Update reduced the amount of sprites send to a connected player in MP by a huge amount. reducing the amount of sprites for this script is possible, but not down to this amount. Maybe I find another way around this or this script will not work in MP any more. again.

V1.3 with a lot of new update options is released NOW! (Manual still not completely up to date yet)

Description

This script enables you to display information of your ship or station as bars, gauges or just simple colored icons or text. These graphs can be shown on any supporting surface like cockpit displays, programmable blocks and of course LCDs and Text Panels.

The script can update the Graphs by itself, no programming skills needed. You can choose from Storage, Power Output, Battery Charging State, Production Information, Connector states and many more. For a complete list see the manual.

First run instructions

Stuff to check first
  • Are Scripts enabled in your world?
  • Are you in SP? The latest Economy Update reduced the amount of sprites send to a connected player in MP by a huge amount.
  • The Example below is for a large grid. Go and make / find one with a programmable block :)

The Programmable Block
After subscribing to the Script you might need to restart space engineers when you were running it during subscription, otherwise it won't show in the script list. Then place a programmable block somewhere and load the script via K-Menu -> Programmable Block -> Edit -> Browse Scripts. Click "Compile" once to see if everything is okay.

Preparing the displays
Every display you want to use needs to be set to "Content - Script" in its K-Menu. Technically all Surfaces that can show the built in scripts like clocks and speed can be used by this script. Be careful though - when something else than "None" is chosen in the script list, it will flicker.
If you want to use the example below, you will need to do this for the "Large Display" of the programmable block as well.

Setting the configuration
Go back to the K-Menu of the Programmable Block. There open the "Custom Data" Text Field. In there you can set all the configs you need, no script edditing needed (anymore).

For starters just add this to the Editor, click OK and then "Recompile":

SCREEN:Programmable Block:0 GRAPH:BAR:SIMPLE:GRADIENT GEOMETRY:32,256:64,256 GRADIENT:0.1:255,255,0 GRADIENT:0.3:0,255,0 UPDATE:OXYGEN:Oxygen Tank GRAPH:BAR:SIMPLE:GRADIENT GEOMETRY:96,256:64,256 GRADIENT:0.1:255,255,0 GRADIENT:0.3:0,255,0 UPDATE:HYDROGEN:Hydrogen Tank GRAPH:BAR:SIMPLE:FIXED GEOMETRY:160,256:64,256 GRADIENT:0.1:255,255,0 GRADIENT:0.3:0,255,0 UPDATE:BATTERY:Battery GRAPH:BAR:SIMPLE:FIXED GEOMETRY:224,256:64,256 GRADIENT:0.1:255,255,0 GRADIENT:0.3:0,255,0 UPDATE:SOLAR:Solar Panel GRAPH:GAUGE:SIMPLE:GRADIENT GEOMETRY:384,256:256,256 GRADIENT:0.0:0,255,0 GRADIENT:0.8:255,255,0 GRADIENT:0.99:255,0,0 TEXT:Cargo Container UPDATE:STORAGE:Cargo Container GRAPH:TEXT:SIMPLE:FIXED GEOMETRY:256,96:1,1 TEXT:SYSTEM Info GRADIENT:0.0:100,100,100
It should show now some Graphs on the screen. The complete list of Config statements can be found in the ->manual<-[docs.google.com]. (Update onging :) )
If you are seeing bars, but they are not showing anything you might need to add a battery, a solar panel, an oxygen tank, a hydrogen tank, and a cargo container. The "UPDATE" Statement has the block name to look for as its last Parameter. All blocks that contain this string are taken into account for the graph.

If you look for other examples, refer to my uploaded blueprints COYOTE and CICADA that use this script in their cockpits. Their used script version is 1.1.1. Feel free to post your implementations in the comments, it will help others as well as it will help me with further developtment.

There is also a well apprechiated remix of this script adding support for Cython's Energy Shields and DarkStar's Defense Shield:
https://steamcommunity.com/sharedfiles/filedetails/?id=1779677964

Foot Note

If you are remixing this script and upload it yourself I am okay with it as long as your are mentioning the original with a workshop link in the source code and in the workshop description.
Popular Discussions View All (3)
21
Apr 22, 2021 @ 7:21am
Troubleshooting & Bugs
SwiftyTheFox
10
Jan 31 @ 4:53am
Configurations
SwiftyTheFox
7
Oct 3, 2019 @ 1:20pm
Suggestion
Vortek Gamer
245 Comments
Walayimuna May 28, 2023 @ 10:10am 
Does anyone know what one has to do to update this in order to track steam and gasoline from the mod Industrial Overhaul?
BentoFox Sep 18, 2022 @ 1:28pm 
Awesome script; thanks for sharing it. Is there any to get these to work on any normal LCD screen though besides the Programmable Block?

I placed a programmable block with the script and since it has a screen also set the custom data from your mod page and it shows up just fine. But when I place another LCD screen (1x1 or 2x1) they just turn light blue with nothing displayed when set up with the custom data -> script -> none.

What am I missing, Fox Brother? :FoxiCute:
Delphin_1 Sep 9, 2022 @ 8:22am 
Can you turn a Bar Graph on its side? like a loading Bar
dzlockhead Aug 21, 2022 @ 6:57pm 
Anyone having any luck getting this working? I can't for the life of me get this to work but I have other scripts working just fine.
mr.turtle Apr 7, 2022 @ 3:32pm 
Hello all ! First, thanks for this very usefull script ! Anyone could please help me use it to check the charge of railguns, like for the jump drives ?
rahlforge Feb 19, 2022 @ 8:46pm 
Excellent mod! Super useful!

Any plans to link a GitHub for community collaboration? I tweaked the script locally today to add some enContentType options for some extra functionality I needed. I added a CHARGEMODE enum that returns the current ChargeMode of a Battery, similar to the CONNECTION functionality (the "PWR" text underneath the gauge on the center screen turns yellow when recharging, red when discharging, and green on Auto). I also added an ITEMCOUNT enum that returns the actual text value of UPDATE2 to the ICONTEXT and TEXT properties of the Graph. Haven't tested it with the icontext, yet, but as you can see from the right-hand screen, the normal TEXT Graph works great for displaying the actual numeric count of my cargo.

https://steamcommunity.com/sharedfiles/filedetails/?id=2759104630
Dots Feb 11, 2022 @ 7:21am 
This script conflicts with Whip's Turret Based Radar Systems. So its eider this script or the other.
l8MikeBl8 Jan 18, 2022 @ 2:38pm 
Hello @SwiftyTheFox
This works great and thanks so much for this script! I love it!

I am having an issue, I am trying to display all the ingots like you have on one of the example images. Below are my Params. Ingot Container being my Large Container of Ingots. What am I missing here? The LCD screen is just always black, so I must be doing something wrong here.

SCREEN:LCD-QUESTINFO-Ores:0
GRAPH:TEXT:SIMPLE:FIXED
GEOMETRY:32,256:64,256
GRADIENT:0.1:255,255,0
GRADIENT:0.3:0,255,0
TEXT:Ingots In Storage
UPDATE:COUNTITEM:Ingot Container
UPDATE2:Ingot:Iron
UPDATE2:Ingot:Platinum
UPDATE2:Ingot:Magnesium
UPDATE2:Ingot:Uranium
UPDATE2:Ingot:Gold
UPDATE2:Ingot:Silicon
UPDATE2:Ingot:Cobolt
Lide Jan 19, 2021 @ 11:54am 
SwiftyTheFox  [author] Aug 14, 2020 @ 7:51am 
Can you specify it a bit please? It shows not only the On/Off state but also the "powered" and "complete" state - maybe your issue is due to that.