Space Engineers

Space Engineers

546 ratings
Isy's Cargo Bars
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
414.355 KB
Nov 17, 2018 @ 1:32pm
Feb 20, 2022 @ 3:45pm
8 Change Notes ( view )

Subscribe to download
Isy's Cargo Bars

In 1 collection by Isy
Isy's Mini Script Series
7 items
Description
This script prints bars of your container fill level on a LCD that is directly attached to it. Optionally it will show the name and the percentage of the container. It will also colorize the text depending on the fill level.

Current Version:
Version: 1.0.4
Date: 2020-03-31

Main features:
  • Show a fill level bar of a container on a LCD panel (works best with corner LCDs).
  • Show bars and informations about many other functional blocks like tanks, reactors or batteries.
  • Colorize the bar depending on the fill level of the container.
  • Automatically adjust the font size based on the width of the container name.
  • Adjustable settings per LCD via custom data options.

Setup:
  • set up a programmable block with the script
  • attach a corner LCD to a cargo container and add the keyword '[Cargobar]' to its name - it will find the nearest container automatically
  • (optionally) change the master settings inside the script config or per LCD by editing the custom data of the LCD
  • Note: Game has to be in experimental mode and ingame scripts have to enabled in world options!

Credits:
I have to give a big thanks to MOOKIE1590 for the basic idea of the script! Thanks, buddy!

Join my discord:

You need additional help, want to make suggestions or just want be up to date about my scripts? Join my discord server:
https://discord.gg/gY9aUUy

Wanna buy me a beer?

If you like my work, you can buy me a beer via PayPal:
http://paypal.me/derisy/1

Thanks to all my donators so far!
159 Comments
Isy  [author] Jan 26 @ 9:54pm 
No that's not what it was made for.. Use MMaster's Autmatic LCDs 2 for that!
Dungeon Master Jan 23 @ 2:23am 
Hi, is it possible to have an overview of all containers on a single LCD with this script?
Zukuto Nov 1, 2024 @ 6:15am 
oh on the LCD? i kept on looking in the PB
Isy  [author] Nov 1, 2024 @ 2:53am 
Yes, have a look into the custom data of your LCD.. There are many options to individualize the behavior of the screen
Zukuto Oct 30, 2024 @ 1:15pm 
Can i choose what container i want to display?
Space Wolf Feb 2, 2024 @ 9:54am 
its not a mod
Gargamel Jan 29, 2024 @ 10:13am 
I've rented a dedicated server, but this mod is giving me problems.

It fails to load and in log was:

2024-01-29 17:51:14.870 - Thread: 1 -> MOD_CRITICAL_ERROR: Isy's Cargo Bars
2024-01-29 17:51:14.870 - Thread: 1 -> in file: Unknown
2024-01-29 17:51:14.870 - Thread: 1 -> MOD PARTIALLY SKIPPED, LOADED ONLY 1/6 PHASES, Following Error occured:
Object reference not set to an instance of an object.
Sandbox.Game
at Sandbox.Definitions.MyDefinitionManager.LoadDefinitions(List`1 contexts, List`1 definitionSets, Boolean failOnDebug, Boolean isPreload)

This I solved by creating empty "Data/Scripts" directories in the mod, but it still fails to load just the log is empty... Any tips?
Katarina [WolfCraft Industries] Mar 19, 2023 @ 9:11pm 
there is no need to implement this feature because the event controller will be able to do that in the future once the automatons update is fully out.
JkerPlay Mar 19, 2023 @ 7:07pm 
Suggestion: Use this to trigger timer blocks once a threshold is met in the fill level of the container.
MrFox Mar 2, 2022 @ 5:06pm 
Can this or your ship refuler have a cargo , in a a group, fill bar show on a corner lcd?