Space Engineers

Space Engineers

570 arvostelua
Inventory Viewer
2
4
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
1.448 MB
30.12.2016 klo 10.17
2.6.2021 klo 13.47
27 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Inventory Viewer

Kuvaus
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
Suositut keskustelut Näytä kaikki (4)
2
25.4.2020 klo 21.00
Bug with SE Frostbite on dedicated server
Beta Mark
0
18.6.2022 klo 9.33
marche pas -_-
Nighttemplar117
0
19.5.2022 klo 10.02
Block not found
Spectrus
307 kommenttia
Turkish Hair Graft 3.1. klo 11.48 
Double post, my bad, but it would be super duper cool if you could display multiple cargo groups/containers on one LCD screen.
Turkish Hair Graft 3.1. klo 11.33 
Apparently you can group containers and it will output the total cargo for the group. Very cool. using it to display my reactor fuel across multiple reactors on LCD's in a power room.
posthy 3.1. klo 8.55 
I used this script for ages, but now it's abandoned and outdated, so I decided not to wait for an update and wrote my own script Inventory Grid . Might not what people have in mind, but perfect for me.
gerd67 3.12.2023 klo 6.06 
How do you display the progress bar and the Mass ?
C3-C0 26.8.2023 klo 11.55 
Ok, question, how in God`s name can I add icons for the ammo types? I am talking Assault cannon shells etc...
Kehvan007 27.5.2023 klo 23.47 
Here's some of the CustomData you'll need for the news ammo and components...

{LINKKI POISTETTU}
Kehvan007 26.5.2023 klo 20.49 
"I have an issue, when I add a secondary LCD, the screen flashes."

Same.
Supa_SkY 7.5.2023 klo 15.28 
Hi, thx for this amazing script and gg for the job.
I have an issue, when I add a secondary LCD, the screen flashes. What am I doing wrong ?
Thanks for help :)
TPOH 4.4.2023 klo 7.17 
Хорошая идея у скрипта:steamthumbsup:, но не удобно что для каждого контейнера нужно ставить ЛСД.:steamfacepalm:
Жду когда сделают сумму всех вписанных контейнеров в кастом дату чтобы выводить на 1 лсд.:steamhappy:
Rude 2.4.2023 klo 6.22 
problem with container with brackets in their name like [P-Cargo-Something]

Can be fixed by altering the script

Go to line 83 and replace a.cargoName by this :

a.CargoName.Replace("[", "\\[").Replace("]", "\\]")