Space Engineers

Space Engineers

499 ratings
Inventory Viewer
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.381 MB
Dec 30, 2016 @ 10:17am
Jun 2, 2021 @ 1:47pm
27 Change Notes ( view )

Subscribe to download
Inventory Viewer

Description
Setup

Required blocks:

FIRST and at all points henceforth - make sure all blocks are set to be owned by you.

1. Programming Block
The programming block needs to be loaded with "Inventory Viewer", checked (compiled), and remembered (saved)

2. Primary LCD panel

Add the tag "[LCD_CARGO]" anywhere in the front or back of LCD panel(s) name.
Example: "LCD Panel 20 [LCD_CARGO]"
Insert the name of the container / refinery / group name / etc. in CustomData field.
Example: "Large Cargo Container 2"

3. Secondary(s) LCD panel (optional)

Add the tag "[LCD_CARGO]" anywhere in the front or back of LCD panel name.
Example: "LCD Panel 21 [LCD_CARGO]"
Insert the name of primary LCD pane in CustomData field.
Example: "LCD Panel 20 [LCD_CARGO]" or
"LCD Panel 20 [LCD_CARGO]:2", where 2 is order

Done.

Customizable colors

Primary LCD panel, CustomData example:

backgroundcolor = saddlebrown
bordercolor = black
headercolor = saddlebrown
cellcolor = dimgray
emptycellcolor = gray
progressbarcolor = dimgray
backgroundcolor = midnightblue
bordercolor = roalblue
headercolor = midnightblue
progressbarcolor = dimgray
backgroundcolor = darkgreen
bordercolor = mediumseagreen
headercolor = darkgreen
cellcolor = darkslategray
emptycellcolor = darkslategray
progressbarcolor = dimgray
backgroundcolor = black
bordercolor = mediumseagreen
headercolor = black
cellcolor = darkslategray
emptycellcolor = darkslategray
progressbarcolor = dimgray
backgroundcolor = black
bordercolor = goldenrod
headercolor = black
cellcolor = maroon
emptycellcolor = maroon
progressbarcolor = dimgray
backgroundcolor = black
bordercolor = darkgoldenrod
headercolor = black
cellcolor = black
emptycellcolor = black
progressbarcolor = dimgray

Table of available named colors:

http://www.nbdtech.com/images/blog/20080427/AllColors.png

Table size

size=5x5

Maximum size of 5x5 cells, minimum 1x1



You can disable autoscaling:

autoscale=false

You can then set the position and size of the table manually.
(change the font size and text padding)

Custom title

title = "My Custom Title"

This option also causes the script to display the title at a non-standard table size.



Displays in the cockpits and other blocks

Add to cockpit name "[LCD_CARGO]", just like you did for the panels.

In CustomData, you need to add parameters for the displays as follows:

[LCD1]
Large Cargo Container 2
size=5x3

[LCD2]
Large Cargo Container 3

Here: [LCD1] - the parameters of the first display, [LCD2] - the parameters of the second, etc.

Examples:

[LCD1]
Large Cargo Container
size=5x3
title=Cargo

[LCD2]
Assembler 2
size=5x3
title=Assembler

[LCD3]
Assembler 2
size=5x3
title=Production
[LCD2]
Medium Cargo Container
size=3x2

[LCD3]
Medium Cargo Container 2
size=3x2
[LCD1]
Assembler 2
size=5x3

Modded items

Add entry in CustomData of programming block:

SubtypeName_TypeId#RLE_Encoded_Image;

RLE_Encoded_Image: to create, use my converter http://1530.ru/software/SEImage2LCD.zip
(size 32х32, monospace font, RLE Encoding)

Example:
icons pack from Stargate mod http://1530.ru/software/StargateIcons.txt
Stargate mod: http://steamcommunity.com/sharedfiles/filedetails/?id=754173702

Example 2, overriding the standard icons:
icons pack from HD COLORED TOOLS ICONS mod http://1530.ru/software/ColoredToolsIcons.txt
HD COLORED TOOLS ICONS mod: http://steamcommunity.com/sharedfiles/filedetails/?id=804291375



Colorful Items In The Inventory http://pastebin.com/1kx5CkLN
Mod: http://steamcommunity.com/sharedfiles/filedetails/?id=801185519
Thanks @Morphik
Popular Discussions View All (3)
2
Apr 25, 2020 @ 9:00pm
Bug with SE Frostbite on dedicated server
Beta Mark
0
May 19 @ 10:02am
Block not found
Spectrus
0
Sep 20, 2019 @ 10:40pm
Hey.
BCslave1
< >
288 Comments
Aunariez BlackWing 88224 May 15 @ 5:51am 
also im curious how do i get it to say things like AU and such for the gold and other names for other ores comps etc? :)
Aunariez BlackWing 88224 May 15 @ 5:49am 
im curious for the color thingy how to i change it from the old icons for to the new ones?
Gaelliss May 5 @ 6:14am 
Salut, super sympa ton mod !

Sachant que le code des blocs programmables est limité à 100 000 caractères et que je souhaiterais ajouter d'autres icônes présentes dans un mod de survival que j'utilise, je voudrais savoir comment je pourrais faire pour déplacer le code des images dans les données personnalisées plutôt que dans le dictionnaire présent dans le code actuellement (car du coup je suis bloqué par la limite de caractères).

Merci d'avance ! :)
Cronyx Apr 28 @ 3:57pm 
Regarding modded components: Where do I locate the images initially? Do I need to open the mod file itself with 7zip and extract assets? Or am I over thinking it and there's a really obvious way that just isn't intuitively accessible to me for whatever reason?
larve12 Jan 2 @ 8:02pm 
Nice
FritzHugo3 Sep 8, 2021 @ 5:24am 
Is it right that the script can not handle Refinery and Assambler inventory?

For Refinery he shows me the grid but not the Ores and metals.
For Assamblers he say, dont find block.

Have i made a mistake?
FritzHugo3 Sep 7, 2021 @ 1:58pm 
Schön, dass das immer noch funktioniert. Cooles Teil. Wird nicht alles erkannt, vor allem bei Mod Sachen aber das hilft schon sehr.

Danke dafür
Nimmo Jun 9, 2021 @ 11:56am 
А в какой папке искать текстуры для преобразования? а то прям непонятно
ViccyQ May 30, 2021 @ 6:28am 
OMG UPDATE THIS!
Nero Nox May 25, 2021 @ 5:57pm 
Block not found