Space Engineers
Оценок: 558
Isy's Cargo Bars
2
3
   
Наградить
В избранное
В избранном
Удалить
Метки: visualization
Размер файла
Добавлен
Изменён
414.355 KB
17 ноя. 2018 г. в 13:32
20 фев. 2022 г. в 15:45
Обновлений: 8 (просмотреть)

Подпишитесь, чтобы загрузить
Isy's Cargo Bars

В 1 коллекции, созданной Isy
Isy's Mini Script Series
Предметов: 7
Описание
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

Copyright
© 2018 - 2025 Isy. All rights reserved. Redistribution or use in source, with or without modification, are not permitted.
Комментариев: 159
Isy  [создатель] 26 янв в 21:54 
No that's not what it was made for.. Use MMaster's Autmatic LCDs 2 for that!
[LAW] Dungeon Master 23 янв в 2:23 
Hi, is it possible to have an overview of all containers on a single LCD with this script?
Zukuto 1 ноя. 2024 г. в 6:15 
oh on the LCD? i kept on looking in the PB
Isy  [создатель] 1 ноя. 2024 г. в 2:53 
Yes, have a look into the custom data of your LCD.. There are many options to individualize the behavior of the screen
Zukuto 30 окт. 2024 г. в 13:15 
Can i choose what container i want to display?
Space Wolf 2 фев. 2024 г. в 9:54 
its not a mod
Gargamel 29 янв. 2024 г. в 10:13 
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] 19 мар. 2023 г. в 21:11 
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 19 мар. 2023 г. в 19:07 
Suggestion: Use this to trigger timer blocks once a threshold is met in the fill level of the container.
MrFox 2 мар. 2022 г. в 17:06 
Can this or your ship refuler have a cargo , in a a group, fill bar show on a corner lcd?