Space Engineers

Space Engineers

Automatic LCDs 2
2,859 Comments
Leconite 30 Sep @ 3:33pm 
Not exactly queue info, but you can do the following on an assembler to get an idea of what it's up to.
CargoAllP {CG:Fab Assemblers} {Assembling:}
InvListX {CG:Fab Assemblers} +component +ammo +tool +oxygen +hydrogenbottle +datapad +consumable
abordoli 30 Sep @ 3:15pm 
I take it that this doesn't have "assembler queue info". I have another script for that, but it would be nice if it were a part of THIS.
Leconite 30 Sep @ 6:44am 
Just add +ingot or +component as the next parameter to your inventory related command.
Tinywrath.jr 30 Sep @ 4:09am 
i cant tell if i just didnt read everything carefully enough but is there a command just for ingots? and the same but for components?
Gromit 28 Sep @ 10:28am 
@GermanGinger: please also show us the command you use to get your inventory list
Leconite 28 Sep @ 9:36am 
InvList and MissingList also have X variants.
Leconite 28 Sep @ 9:35am 
Try the X variant of the commands.
This suppresses output of items with zero count.
For example
InventoryX {C:Cargo 1}
GermanGinger 28 Sep @ 8:26am 
So, anyone else having a problem with the inventory part of the script? It'll show the list and all. It'll add and remove from the list as directed. The issue is that it always show the amount as zero
Leconite 26 Sep @ 6:27am 
Those were the "hidden" hydrogen tanks, LOL.:-)
If you haven't had a screen fail to work because of a typo, you haven't used AutoLCD's long enough yet.
Everyone does something like that at some point.
Ammo Flash 26 Sep @ 6:12am 
well, you are right I can't spell, which if you see the screen shot on discord Lobby you'll go uh "Hydrogen not Hydogen!" , sorry and thanks.
MMaster  [author] 26 Sep @ 12:31am 
oops @ammo I accidentally deleted your comment :(
I've just tried small hydrogen tanks work with Tanks command as they always did. You are doing something wrong. They fall into the same category as all hydrogen tanks.
GV 25 Sep @ 2:49pm 
@Khem. Thank you :P and to make sure i can keep find it i have bookedmarked in on firefox xD
Kham 25 Sep @ 2:26pm 
@GV It's near the top of the page in the big area surrounded by #######
But it's also here to save you time. :P
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=407158161
GV 25 Sep @ 2:24pm 
@Mmaster. I am eiter blind or i have no clue where that link is. About discord... Sadly i can't joine for the next 2 years sins my account has bin banned unfairly and any attempt to contact discord is useless and end up being ignored...
MMaster  [author] 25 Sep @ 12:09pm 
Yeah. There is full guide with command list on the right where you can click on command you are interested in and it explains that command along with its arguments and examples :)

We also got new shiny discord server community.

Everyone is welcome to join us :)
https://discord.gg/JVyN2eBc66
Leconite 25 Sep @ 5:20am 
There is a guide linked above.
GV 25 Sep @ 3:48am 
@Gromit. And that is why i kind a wish for a guide of some sort with pictures before and after each command to show the effect of the commands including text deskription to make it esasyer to navigate.
Gromit 25 Sep @ 2:07am 
@GV: don't forget the parameter that comes just after the inventory and invlist commands is the location.
Example : invlistx T:* +ore
GV 24 Sep @ 11:51pm 
Update. Tunes out InventoryX was the command i was looking for giving me the list over what i am currently carrying.
GV 24 Sep @ 11:34pm 
Awsome mod! and i am realy loving how usefull it can be! But for new players who might be abit slow or dos not fully understand (Speaking mostely about my self here) Is there somekind of list somewhere with detiles commands that show the results of what you wish for at the given moment? Right now i have attempted to ask Grok and Copilot to help me figuering out how to set up my miner with a LCD to show the Ore it carrys. And nothing seems to work Grok and copilot keep telling me to use "Inventory +ore +Ingot" When i do the LCD keeps giving me the full list over evey single item in the game....
0-Fenix-0 24 Sep @ 1:20pm 
@Kham - Aha! Thanks so much, I totally missed the link to the guide in there, was going off the video with limited time. I'll test that out later. I really appreciate that!
Kham 24 Sep @ 12:54pm 
@0-Fenix-0 The functionality you want is already there. Simply put any commands for scripts that use MyIni format at the top of the custom data then have --- and after that do ALCD2 commands. This is explained in the guide under the section titled "Compatibility with other scripts".
0-Fenix-0 24 Sep @ 12:39pm 
Request: Can you perhaps limit your script to processing commands under an ini format tag, so other mods like SIMPL, or TurretBasedRadar, or my Eli Dang's Holo Hud do not overwrite it.

For eg:
[AutoLCD]
Inventory={T:Cargo} +ingot

[SomeMod]

Have it start when it finds [AutoLCD], have it break at the next [X] tag. And process your commands with an = so it can set var = value like the VRage MyIni would expect.

This mostly affects cockpits, as they have multiple LCDs and functions. Simple LCD panels tend to only have one mod target them at a time.
Leconite 24 Sep @ 3:40am 
What you have is how to do it.
No other ways to do it in the script right now.
UnCheat 23 Sep @ 11:37pm 
Currently if found only 1 way to detect all grown is to:
Echo Farming complete:
DetailsNon {LongestGrowBlockName} {Growth} {Grow}

{Growth} and {Grow} should be translated if there is other game language than english
UnCheat 23 Sep @ 11:19pm 
Is there any way to echo a total grown status of group of plants in a single line?
Like 1/5 (of group blocks) or in precent like 20%
RueLight 21 Sep @ 3:17am 
thx for reply, still a wonderful script ;)
MMaster  [author] 21 Sep @ 3:10am 
The script updates the screens only once per several seconds, it never updates more than 1LCD per tick, in slow mode it runs only once per 10 ticks.

The max execution time on grid with ~200 commands on around 40 LCDs is in average: ~69us - that means that you can have around 200 such grids and it would still not be visible on game performance.

The problem is that the script is just too large and it may take long time (~6ms per tick) to compile parts of it as they are used which causes the server plugin to stop it. Once all the parts of the script had been executed at least once it runs smoothly as explained above. Unfortunately there is really nothing more I can do about that. The script is just too large.
RueLight 21 Sep @ 2:58am 
Hi, its possible to double or triple the slow mode? I use it on a PVE and the server often stop it coz of too many updates, even in slow mode....
cheers
MMaster  [author] 21 Sep @ 1:18am 
Unfortunately there is no direct way to read weather from PB, you can kind of guess based on oxygen pressure from air vents and power output of wind turbines and solar panels, but nothing direct.
WardenWolf 21 Sep @ 1:13am 
Thank you for all your work, MMaster. One more teensy request: a way to display current weather. Display Clear if no active weather and N/A if in space or no atmosphere.
MMaster  [author] 20 Sep @ 12:51pm 
Discord server!

I'm proud to announce that we now have an amazing brand-new discord server! You can join by clicking the following link:

https://discord.gg/JVyN2eBc66
Kham 20 Sep @ 12:23pm 
Hahaha well there was a time I was on Discord too much, so I stopped using it unless I needed something from it. I am happy to help out though as always, you know me. I've joined the server and will make an effort to be more aware of Discord again. :cozyspaceengineersc:
MMaster  [author] 20 Sep @ 10:05am 
I've already created server few days ago for testing so I just decided to use that one. I've added some basic rules, roles, categories and channels and we can continue from there :-) I will be happy with any suggestions on how to improve it.

So let's try it.. here is 7 days invite for now: https://discord.gg/hT6q8yQA

See you there :-)

Also I'm happy that you figured it out @Norway174 it's always great to see how people use this in their builds!
Norway174 20 Sep @ 9:52am 
Oh, and I wanted to comment. Saying I did get the Build and Repair property working. Totally forgot, I could've just looked in the Build and Repair script. And the property keyword I was looking for was "BuildAndRepair.AllowBuild". If anyone else is looking for the same.

This looks so cool now! Thanks for your amazing script! :D

https://i.imgur.com/LjavOMv.gif

And here is the full custom Data if anyone is interested:

Center << Build and Repair >>
Echo
PropBool {G:BuildAndRepairGroup1} {OnOff} {[1] Build and Repair:} {Active} {Offline}
PropBool {G:BuildAndRepairGroup1} {BuildAndRepair.AllowBuild} {[2] Can Build Projections:} {Yes} {No}
Echo
Center << Projector >>
PropBool {Ship Printer Projector} {OnOff} {[3] Projector:} {Active} {Offline}
Working {Ship Printer Projector}
Norway174 20 Sep @ 9:45am 
@MMaster I'd definitively join if you made one. And I'd be happy to help set it up. I've set up multiple Discords in the past, and have experience with it. But I also totally get it if not, as I am a total stranger. :P But feel free to add me on Steam if you'd like to talk further, and possibly see some of my references.
MMaster  [author] 20 Sep @ 8:01am 
oh that's a shame that you don't really use it @Kham I would love for you to be moderator there if I've made one ;)

I don't have much experience with how to organize it or manage community in it so I would definitely need some help from trusted people like you. I would also probably not dedicate it only to this script, but make it more about the community where people would keep in touch, have fun, relax, discuss and help each other with whatever. I really don't have any specific idea it was just a random thought I've had.

Maybe I will just make some bare bones server that we will shape together as a community and we will see what will happen. Maybe it will be just 3 of us there and 1 will be permanently offline (Kham), second one will not respond most of the time (me) and third one will be sad that he joined such server :-D
Kham 20 Sep @ 7:40am 
I barely ever sign in to Discord unless I'm going on for something in particular, but I'd join the server if you made one haha.
Smirkyguy 19 Sep @ 2:23pm 
DO IT MMASTER!
MMaster  [author] 19 Sep @ 1:03pm 
I was thinking .. would you guys be interested in joining discord server if I created one?
These comments and discussions are kind of difficult to keep track of, but I'm not sure if there would be enough interest and we've already made it 10 years without it so it may not be really necessary that's why I'm asking you :-)
Norway174 19 Sep @ 8:43am 
Ah, I see. I'm not really sure what I'm looking for in the Build and Repair. I thought all menu options were also properties. xD I really don't know enough about this topic. But I'll probably drop this for now.

As for the projector, the % number should work just fine. Thank you for the amazingly fast update! <3
Gromit 19 Sep @ 3:34am 
Wow, thank you :selike:
MMaster  [author] 19 Sep @ 3:32am 
UPDATE v2.0207:
Details command shows status of farm plots more reliably and removes Color tags that don't work in standard LCD text
Working command now shows percentage of number of blocks welded on projectors
Added title override feature for Oxygen commands (check guide for Oxygen command)
Fixed unused variable warning
Some minor optimizations

Enjoy :-)
MMaster  [author] 19 Sep @ 1:16am 
@Leconite & WardenWolf I haven't realized that Oxygen command displays each air vent separately therefore if the name filter matches multiple air vents all of them will be called the same name you specify in title override :)

@Smirkyguy I don't think they have any properties that can be read like that. I will try to implement something to get status of farm plots.

@Norway174 based on quick look at the code that you linked you are trying to read Action which the PropBool command cannot do (it can read only Properties).

Yes, projector completion bar would be possible but it would probably require new command if I wanted to also show progress bar and that means overhead in terms of code size which we are dangerously close to limit, I was thinking maybe including it in Working command which would show the percentage but no progress bar not sure if that is sufficient.
Norway174 18 Sep @ 6:26pm 
PS. Would it also be possible to get a Projector Completion bar as well? Like Fill level bar for the cargo, but as a progress bar for projection completeness. :D
Norway174 18 Sep @ 6:26pm 
Hey!
Love the script! But I was wondering, is it possible to use PropBool with modded blocks? Such as Nanobot Build and Repair?

I wanna display if a BAR is set to Allow Build or not.

I've got this Custom Data here set up:

Center << Build and Repair >>
Echo
PropBool {G:BuildAndRepairGroup1} {OnOff} {Build and Repair:} {Active} {Offline}
PropBool {G:BuildAndRepairGroup1} {AllowBuild} {Can Build Projections:} {Yes} {No}


The first line shows, the second does not. I'm fairly certain the correct keyword should be "AllowBuild". As seen here: https://github.com/SKO85/SE-Mods/blob/f54397fd2645736d470fafc506b24107f53113df/SKO-Nanobot-BuildAndRepair-System/Data/Scripts/SKO-Nanobot-BuildAndRepair-System/NanobotBuildAndRepairSystemTerminal.cs#L615

Or maybe I'm just reading it wrong? And that's not the correct keyword at all? Any help and guidance would be greatly appreciated. Thank you!
Smirkyguy 18 Sep @ 3:32pm 
Does anyone have the PropFloat values for farm plots? the Details command isnt usable because it only updates when you open the block.
Leconite 18 Sep @ 2:09pm 
Yeah, we suggested pretty much the same thing.
Thank You MMaster for this awesome script, and for putting up with our crazy ideas. :-)
MMaster  [author] 18 Sep @ 1:43pm 
I don't see the difference between what Leconite suggested and what you WardenWolf suggested :) I'm not sure how much time I will have tomorrow, but I will see what I can do when I get to it,
WardenWolf 18 Sep @ 1:22pm 
One thing that can make it even better: name override capability. Right now OxygenLevel {Air Vent Fan Full Intake} {Exterior Oxygen} doesn't change the name.