Space Engineers

Space Engineers

Not enough ratings
PE3 Cargo Monitor Script (imaged)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.671 KB
26 Jun, 2016 @ 3:10am
24 Feb, 2017 @ 7:10am
11 Change Notes ( view )

Subscribe to download
PE3 Cargo Monitor Script (imaged)

Description
See also PE Jumpdrive Charge Monitor Script
See also PE Air Vent Monitor Script

This is a simple Script for displaying the current Volume of multiple Cargo Containers on multiple Screens (1 Container can be displayed on multiple Screens, multiple Containers can be displayed on the same Screen, all Containers are supported by 1 Script, Overview of all Containers on 1 LCD).

It uses Morphiks awesome Percentage Bars

Damaged or otherwise non functional Containers are displayed by switching the default 'Construction' and 'Danger' image on each program run.


Installation

1. Subscribe to Morphiks Percentage Bars 1%
2. Subscribe to this Script
3. Build a Programmable Block and load this Script
4. Build a Timer Block and set Actions 1: Run this Script with default argument, Actions 2: Start the Timer
5. Check the Tutorial inside the Script for correct renaming values.

Example Setup: 'MyShip Cargo Container Hld #000' and 'MyShip Cargo-LCD #000'
Overview Monitor: 'MyShip Cargo-LCD-Overview'

6. Start the Timer


Planned features

-Implement Support for other Cargo Storage Blocks (yet only true 'Containers' are supported)
-Display Construction Texture if Container is not functional or damaged Done
-Auto change Construction / Danger image on non functional containers. Done
-Display groups of containers with 1 Bar Done
Popular Discussions View All (1)
0
29 Jun, 2016 @ 11:50pm
PINNED: Changelog
mahtrok
15 Comments
mahtrok  [author] 30 Jun, 2018 @ 6:02am 
Hi there and sorry, but there will be no future maintenance to any of my scripts or objects, for I stopped playing SE months ago and am not sure to ever return.
Oneofmystery 80 30 Jun, 2018 @ 3:27am 
Hi to all easy 30secs to a minute to fix, Delete line 55, And the other lines you have when check code follow the line number and change IMyInventoryOwner to IMyTerminalBlock Here is a video if you are not sure what i mean https://youtu.be/VA794AcJ2FA should help until mahtrok fixes it
Vortek Gamer 6 Jun, 2018 @ 4:29pm 
need updating not working right
mahtrok  [author] 10 Dec, 2016 @ 11:03pm 
You sure you added the graphics mod to your game? What does the display show? Black screen? Or the Offline Image?
{H.K.}Warlama 10 Dec, 2016 @ 10:44am 
i have followed and read the steps in the script to get this to work but i cant get the info showing on my screen, i renamed all my cargo containers 1-9 as it shows in the script, when the program block runs and it says it sees the cargo but nothing in screen, what am i doing wrong?
mahtrok  [author] 24 Sep, 2016 @ 4:42pm 
Gonna check all Scripts next week. Thanks for the reports.
CaD 24 Sep, 2016 @ 12:11pm 
Oh forgot I`m on stable 149. Cheers.
CaD 24 Sep, 2016 @ 12:10pm 
Hi mahtrok, I`m experiencing strange bug, well seems like one. I installed your script on one of my small miners, it has two medium containers and two drills. All was going well the bars were going up as it got fuller, till I noticed. 1) the bars went up realy quickly and 2) they stoped at 97%. I continued till I filled up the drills as well but they stayed at 97% I did couple runs and it was same. I`m not that familiar with scripts so don`t know if I did something wrong. Oh finaly should the graphic images disapear from the selected window. Only 97% in there when I looked. reloaded them and they all disapeared and the 97% reapeared. Oxygen script works ok, just the cargo problem.
(VG) Sarkano 23 Sep, 2016 @ 9:32am 
got 3 warnings it runs but only show 0% of my cargo
mahtrok  [author] 3 Jul, 2016 @ 11:21pm 
Update: Groups of Containers are now available. Simply name more then 1 Container with the same #000-#999. All Containers with the same ID will be calculated as 1 and displayed on the same LCD.