Space Engineers

Space Engineers

Not enough ratings
Cargo Volume Percentage Display
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
898.000 B
2 Jan, 2015 @ 6:48pm
11 Jan, 2015 @ 2:40pm
3 Change Notes ( view )

Subscribe to download
Cargo Volume Percentage Display

Description
Rename a block to show the percentage of your cargo volume used across the entire ship/platform. Very useful for mining expeditions so you don't have to constantly check your inventory, if used with a timer and display on HUD. The default prefix is STORAGE: but can be changed by editing the constant at the top of the file. You can also add a Sound Block to your ship, and name it to match the SOUND_ALARM_UNTRIGGERED_NAME constant at the top of the file, and the script will play the sound block when your storage is over the given threshold.
17 Comments
Weyrman Albie 14 Sep, 2015 @ 8:47pm 
I posted a request in the scripting sub forum on the Keen site asking if someone could fix it.
See the reply for a repaired version
http://forum.keenswh.com/threads/can-someone-correct-this-script.7368103/
I haven't tested it but here it is (lunchtime browsing at work) :steamhappy:
Weyrman Albie 14 Sep, 2015 @ 5:12am 
Hey Tom are you still playing Space Engineers? Are you willing to look at your script and repair the current error or should I ask for help in the Keen forum?
buder28 5 Sep, 2015 @ 7:02pm 
its updated yet?
SillySnowFox 31 Aug, 2015 @ 12:09pm 
A recent update seems to have broken this script. It no longer works.
Prospero Finokkio 15 Aug, 2015 @ 5:54am 
Im running into an error: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=500226070
What is wrong? D:
NotSoSubtle 4 Feb, 2015 @ 1:46am 
Suggestion, though; as a non programmer, I’ve gotten pretty good and solving problems with timer blocks. While the alarm trigger is useful, what I’d been hoping to do is have a program measure inventory and start a timer block at X%. That way, you could use one program on many different ship designs but with different actions listed to the timer block on each spaceframe.
In this case, for example, a drill drone would:
STOP another sequence of timer blocks controlling forward motion
TURN OFF a pair of thrusters with control override (as a backup)
TURN OFF gyro override controls
TURN ON a beacon to indicate the drone is full and needs collection.
All of these things can be done with timers. This same program could, say, trigger additional refineries in a station or a return autopilot program in a different programming block. But this program wouldn’t need editing, because all you’d need to change is the name and actions listed on the timer block.
Just a thought.
NotSoSubtle 4 Feb, 2015 @ 1:46am 
Haven't even tried this yet, but I've already rated it up. I've been trying to understand programming specifically to get something like this for about two weeks now, to no obvious avail. Then I found this. Gonna call it a win.
Thristhart 11 Jan, 2015 @ 7:08pm 
Thank you! It means a lot to hear that. If you haven't already, could you leave a rating? It helps other people find the script more easily!
Jakaya 11 Jan, 2015 @ 5:54pm 
It Dosent auto update had to browse workshop select my subscription of your script but no big and awesome this is fantastic my Faction mining division officaly love you as they are always mining to much :p
Thristhart 11 Jan, 2015 @ 2:43pm 
Okay, I've updated it to scan for a block called "STORAGE ALARM" and trigger the Play action on it. Once it's played, it renames it to STORAGE ALARM TRIGGERED until the storage goes back below the threshold, so that it won't constantly play the alarm. You can change the threshold and the names of the alarm at the top fo the file.

I have no idea if it will auto-update! Please let me know.