Space Engineers

Space Engineers

LCDInventory
101 Comments
Shenji 25 Dec, 2024 @ 10:27pm 
This should be the first thing to do when you develop a resource gathering game. They should pay you for the script. Nice work!
[ZIG] helfima  [author] 27 Nov, 2024 @ 11:29am 
you can change option in custom data of LCD after initialisation
you have some filter
Eyeshield 25 Nov, 2024 @ 3:26pm 
Hey, thanks for this awesome script. I can't figure how to make it work correctly on the 5x3 and 5x5 sci-fi LCDs. Most of the info is missing
BCMortis 8 Oct, 2024 @ 8:42pm 
Ok, after some testing and trying different things, I have determined that it was not the size of my base's inventory and conveyor system that was the issue. Rather, it was that I had too many LCDs on the base. Setting the programmable block's custom data to 'filter =*' but filtering the screens returned an error. But setting the programmable block to 'filter =C:Managment" and naming a LCD 'Management' seems to have the script working as intended.

Also any connected grids (small ships) docked at connectors with their own copy of the script running seemed to error out whenever the base's script was giving an error, even though neither of them should be looking for anything on connected grids.
[ZIG] helfima  [author] 8 Oct, 2024 @ 6:51am 
yes that's right
BCMortis 7 Oct, 2024 @ 6:31pm 
Ok, if I'm understanding you correctly, in the custom data of the programmable block, the filter setting is to filter the LCD panels and cockpits. So, for example, if I changed it to 'C:Management', it will only look for LCD panels and cockpits with 'Management' in their names, correct?
To filter to only specific container blocks, that is done in the LCD panel's custom data. So if that is changed to 'C:Storage', they will only look for container blocks with 'Storage' in their names, correct?
[ZIG] helfima  [author] 7 Oct, 2024 @ 11:01am 
your mistake is that the filter must find the containers
with a filter "C:Storage" you must have a container with a name contains Storage
the script say quickly the number of panel found, here there are no panel and no cockpit and this the end of script.
the filter in the custom data of programmable block is use to find pnale or cockpit default is '*', do not change it
but change the filter in a custom data of panel with you value 'C:Storage' or more restrictive filter to try it how work
the script must say "List<IMyTerminalBlock>(*):x" where x is the number of containers
I hope I was understandable enough
BCMortis 7 Oct, 2024 @ 2:57am 
Doesn't seem to work. Tried removing a bunch of containers and conveyors from my base, and now rather than giving me an error, the programmable block's info window says
Version 1.1
List<IMyTextPanel>(C:Storage):0
List<IMyCockpit>(C:Storage):0

And then nothing, none of the LCDs update at all. Even disconnected all my ships and rovers, made sure the script was set to only read the single grid, but nothing worked.
[ZIG] helfima  [author] 6 Oct, 2024 @ 5:27am 
hello
if the script tries to read too many elements it may take too long and say "script is too complex"
try to reduce with same grid filter M:* or other
BCMortis 6 Oct, 2024 @ 1:52am 
Hello. I've been using this script for a few weeks now, but all of a sudden I started getting this error on my base .
List<IMyTerminalBlock>(*):260
List<IMyTerminalBlock>(*):260
List<IMyTerminalBlock>(*):260
Script execution terminated, script is too complex. Please edit and rebuild script.
I've not changed the script, or edited it in any way, and I've tried unsubscribing and re-subscribing to make sure I have the most recent version off the Workshop, and it always gives me that error now.
SPARKY 29 Aug, 2024 @ 10:00am 
Hello [ZIG] helfima,
I use this script. I find the script visually pleasing vs other inventory scripts, so thank you for that. I read the comments back to where you state that the script does not support multi screen (split screen) for the same item (components for example). I also noticed that I am not the only user who is interested in this feature. Will you consider adding this feature to your work for us?
Respectfully,
sparky
Brianetta 5 May, 2024 @ 3:18am 
Hi helfima! I'm the author of a competing script, All My Stuff. Mine's not quite as pretty, but is optimised for game performance.

I notice that LCDInventory is using the internal names of the items. I've written a conversion function into mine, which displays the regular (English) names for the items, where they are specified. The hard part was getting a list of items; feel free to take advantage of my work!

https://github.com/Brianetta/SE-All-My-Stuff/blob/main/README.md

My script's REAMDE.md contains a suitable configuration section with all the names that aren't the same as their internal names. You can see how I make use of it here (although there are plenty of other ways!):
https://github.com/Brianetta/SE-All-My-Stuff/blob/7d25045f8babf2c0f15a686dd58e10c54835ff7a/All%20My%20Stuff/Program.cs#L196
[ZIG] helfima  [author] 25 Apr, 2024 @ 9:57am 
Yes it's that, can you try use "recompile" on the Programmable Block
lil jimmy 25 Apr, 2024 @ 6:38am 
I cant make this work as expected, whatever filter I use it just shows everything.
In this example it should just show the items inside the group "Storage" right?
Because it does not actually, it shows all ingots.

[Inventory]
panel=0
filter=G:Storage
on=true
scale=1
gauge_on=true
gauge_fullscreen=true
gauge_horizontal=true
gauge_width=80
gauge_height=40
item_on=true
item_size=80
item_ore=false
item_ingot=true
item_component=false
item_ammo=false
Hodor 6 Apr, 2024 @ 9:21am 
well I just created a new part, I added my various mods one after the other.....
no more bugs....
sometimes it's better not to try to understand and just change the engine the rocket :-)

thank you for your answers... no more bugs ;-).
[ZIG] helfima  [author] 6 Apr, 2024 @ 5:54am 
Probably a problem with the custom data in program block, clear the sutom data or rebuild the program block
Hodor 6 Apr, 2024 @ 2:24am 
(Disclamer, I use Google trade)

hi, I'm encountering a bug that I've never had before with your script... "exception found during script execution: line 1: expected section definition" "at program.kproperty.load()" "at program .ctor()"
yet I have been using this script forever and never had any problems before???, if anyone can help me
KailIzzraham 1 Apr, 2024 @ 4:12pm 
Will this work with modded items such as ores and ingots, or will this only work for the vanilla game?
Dinar Safin 27 Mar, 2024 @ 8:49pm 
А как расширить на несколько дисплеев?
Snipou 27 Mar, 2024 @ 2:13pm 
You cant divide components of the same container on two screens. You can create two containers and display one container on one screen and the other on the other screen
Шурале 25 Mar, 2024 @ 11:55am 
how to divide the components into 2 LSD screens?
Snipou 14 Mar, 2024 @ 4:10am 
Hello! I'm coming back to you about the "IndustrialOverhall" world.
I think it would be interesting to be able to display the different gases of the mod in the "tank" section (deuterium, gasoline rocketfuel steam, etc.) and also to be able to filter this section by group as is possible for the inventory section.
It will bring more versatility to this great script! :)
[ZIG] helfima  [author] 7 Mar, 2024 @ 4:27pm 
see the filter chars
[code]filter=M:*[/code]
that seach in all grids
Alex 6 Mar, 2024 @ 7:27pm 
Is there a way to filter subgrids for Power? I have tried to add "filter=*" with no luck
Snipou 9 Feb, 2024 @ 9:45am 
Hey ! I use Industrial Overhaul mod, and, when i use the assembler lcd section, modded objects icons are displayed in the assembler queue, but vanilla objects icons are not displayed, do you know how i can resolve this problem?
thanks :)
[ZIG] helfima  [author] 21 Jan, 2024 @ 5:20am 
@3dfxorchid why is broken? it work for me
you can find file log in %appdata%\SpaceEngineers
3dfxorchid 20 Jan, 2024 @ 12:46pm 
the Script is broken, i like it, please fix it
RamboRocket 2 Dec, 2023 @ 4:14pm 
how is the Scrypt from this ?
[ZIG] helfima  [author] 31 Oct, 2023 @ 11:43am 
now we can change the gauge color thresholds and we can use script for cockpit and select panel
Cobra Commander 9 Aug, 2023 @ 7:25am 
Kem, Red would be a problem in most languages and a full container is a bigger problem than an empty one. Unless you're talking about a Hydrogen fuel tank or a reactor in which case you could reverse the color coding.
Kem 19 May, 2023 @ 4:38pm 
I dont understand why the Item Bar is red on 100 % and Green at low percent shouldnt it be the other way around and is there a option to change that ?
THAT BIG D ENERGY 7 Feb, 2023 @ 3:32pm 
dose any one no how to change the % on the bar under it its always readinng 100% even when i change the 10k vaule
Zaygh 6 Feb, 2023 @ 8:43am 
O2 Tanks are still reading out NaN and 0%. Is there a fix?
[ZIG] helfima  [author] 21 Jan, 2023 @ 5:33am 
see the custom data of programmable block (the last image)
THAT BIG D ENERGY 20 Jan, 2023 @ 4:44am 
how do you chage the slider limit from 10k an 5 k i cant find itso it it dont say 100% the hole time an be red
Gwai™ 10 Nov, 2022 @ 3:55am 
Hello. How do i show me H2 | O2 panel? On LCD i just see H2 tanks, but O2 tanks given me NaN and 0%. How do i fix it ?
[ZIG] helfima  [author] 23 Jul, 2022 @ 2:09am 
salut, tu as du t’embêter car je me rend compte que j'ai pas mis le lien de la source https://github.com/Helfima/SEIngame/tree/master/LCDInventory
bon à la base je l'ai fait un peu à l'arrache, faudrait qu'un jour je reprenne le code.
oui ca me pose aucun problème que tu diffuses une version modifiée.
Tousteak 20 Jul, 2022 @ 1:38am 
I managed to make with your great script a script that suits me where I only keep the inventory functions and which is suitable for my server where there are much fewer bugs. I fully translated it into French as well. do you allow me to repost it? I would of course specify that you are the original developer?
[ZIG] helfima  [author] 27 Apr, 2022 @ 9:25am 
that use one LCD, use filter to split information
Camh721 26 Apr, 2022 @ 10:28pm 
How do you make it span multiple LCDs?
ACE DOG 47 14 Dec, 2021 @ 11:23am 
Is there any chance gravels color and name could be fixed?
Gromit 11 Sep, 2021 @ 9:42am 
@Skulk: of course you can, just read point 1 to 5 in the description above -> set item_ore to true for one screen and all other items to false and item_component=true on the other LCD and all other items to false
Skulk 11 Sep, 2021 @ 8:21am 
Is there any possibility to filter by type? I would like to setup a Display for only Ores and one for only Components.
Nova Viper Dwagoness 21 Aug, 2021 @ 3:20pm 
Just works... I love it thank you!
mJrA 16 Aug, 2021 @ 10:05am 
A Workaround is for me now to turn the PB off, and turn it back on when coming back on.
mJrA 15 Aug, 2021 @ 1:47am 
So i a having issues with the mod on the Server i play, everytime i disconnect from Server and reconnect All Screens turn weird https://puu.sh/I4348/e592ec68cb.jpg , I can fix it if i go into custom Data and change the "filter=*" to "filter=" and then after it unloaded the LCD back to "filter=*".

Unfortunatly this is just a Workaround, and i have to do that with every Screen i have. What could cause this?
Schmetterling 3 Aug, 2021 @ 12:29am 
Жаль в кабинах нельзя использовать.

It's a pity the cabins cannot be used.
jbo96 26 May, 2021 @ 11:36am 
Thank you! Is there a way to put two lcd's together?
[ZIG] helfima  [author] 22 May, 2021 @ 9:30am 
the limit is in the custom data of progammable block
I don't remember the exact syntax but normaly that use the name
but you can put few programmable block to do separate limit
the name is exactly the name displayed on the LCD