Space Engineers

Space Engineers

411 ratings
MahInd - Info LCDs (No Pb)
5
5
5
5
2
5
4
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script, Modpack, Other
File Size
Posted
Updated
975.085 KB
13 Jun, 2024 @ 10:15am
23 Oct, 2024 @ 11:47pm
31 Change Notes ( view )

Subscribe to download
MahInd - Info LCDs (No Pb)

Description
Welcome

This is a MOD, NOT a script for the programmable block. Extending the base code of dlK's no Pb Info LCD, I wrote a couple of info lcds that can be added to any LCD surface by simply selecting it from the list of scripts and modifying a small amount of settings directly inside the LCDs CustomData field, like textSize and screen offset. The screen-appearance is heavily inspired by MMaster's AutomaticLCDs 2 and should look quite familiar to those using that before.

State Screens
$IOS LCD - Airlock Monitor
$IOS LCD - Cargo Summary
$IOS LCD - Container List
$IOS LCD - Damage Control
$IOS LCD - Door Status
$IOS LCD - Gas Production
$IOS LCD - Grid & Flight Info
$IOS LCD - Lifesupport
$IOS LCD - Power
$IOS LCD - Production
$IOS LCD - Systems Integrity
$IOS LCD - Weapons

Inventory Screens
$IOS LCD - Ammo
$IOS LCD - Components
$IOS LCD - Ingots
$IOS LCD - Items
$IOS LCD - Ores

Configuration
After selecting an info screen, the Custom Data field of that block, found near the top of that LCDs settings inside the grid terminal, will be populated with all available settings like below, I will use the Components Summary as an example, as it is one of the biggest. Most screens will have the same basic options but less advanced. Item amounts are only available on inventory screens.

[SettingsComponentsSummary] SearchId=* // Add any blocks name (or a part of) you want the script to focus on, keep * to view all, use comma to separate multiple. ExcludeIds=assem, // Exclude blocks and items by adding block names or item subtype Ids (or part of), use comma to seperate multiple. TextSize=0.5 // Enter a textSize that fits your purpose. ViewPortOffsetX=20 // The horizontal offset distance from the surface border ViewPortOffsetY=10 // The vertical offset distance from the surface border. TitleFieldWidth=240 // The left side field width of a line on screen RatioFieldWidth=72 // The right side field width of a line on screen ShowHeader=false // If true, a header is shown with the screen title and local time ShowSummary=true // Will show a summary at the top, stating the total cargo volume ShowBars=false // If true bars will be shown where possible else only amounts are shown ShowSubgrids=true // If true, blocks on connected subgrids are included ShowDocked=true // If true, docked grids are included as well ShowRatio=false // Some screens can switch between item amounts or volume ratio instead ShowMissing=true // Will show all specified items, no matter if present on grid HideEmpty=false // Will hide empty containers on the $IOS - Container List screen. UseColors=true // Will show bars and stat buttons colored. Default font color if false BulletproofGlass=12000 // Set min amount behind item IDs to get a bar displaying the amount. Canvas=0 // When min amount is 0, absolute item count is displayed without the bar. Computer=6500 Construction=50000 ...

Config Presets
Most info screens are, by default, set up to be used on 1x1 large sized or integrated, inset and cockpit surfaces. Some surfaces might require minor adjustments on the screen offsets X and Y to fit. If you have too many items to fit vertically consider disableing showHeader, showMissing and showSummary, in the CustomData, to fit more items on one screen and hide less important info. Some screens do contain too much info to be completely visible and readable on small grid or cockpit screens. They will work but readability might be not that good.
Most screens also have a compactMode that is activated automatically, when the screen is loaded onto a Corner or Flat top LCD. Due to the limited space on these screens I programmed fixed settings for these LCDs and override any manual changes instantly.

Custom Background, Font and Bar colors
You can change and use background and font colors through the grid terminal, but they will not be stored.
Once you change the screen to a different one, or reset the config, you will have to set background and font colors again.
Custom Bar colors have not been implemented to not overcomplicate the configuration process.

Reset Config
You can manually delete the CustomData, but it will NOT reset your config values. To reset all values you will have to unload all screens on that specific block before (Set all to 'None' or any script not connected to this mod), then delete the CustomData and set your desired screens again. Otherwise the settings will be loaded from cache.

Multiple Screens
Multiple screens of the same type with different settings (like 2 Ore Summaries f.E.) on the same block with multiple LCDs (like cockpits f.E.) are not supported. They will show up, but all use the same settings.

Modded Items
Modded items are added automatically, once they're found inside the inventory. They will not appear on the CustomData field so you can not set minAmount values manually.

Server Performance
These scripts have been tested on servers and should work, even on such that don't allow ingame scripts, as such scripts are calculated client side, saving server performance over scripts for the programmable block. But an Admin has to install the mod server sided. This is no plugin.

Features - Planned & WIP
-Support for BlockGroups?

Known Issues / Incompatibilities
Incompatible Mod:
EDP - More Logistics Options, Containers from this mod seem to not be recognized as cargo containers and therefor stored stuff inside them is not displayed at all.

Problem: When used on a server, it seemes, there are some problems with the airlock monitor, not displaying the correct pressurization ratio at the air vent.
Workaround: None

Problem: There also seemes to be a problem with more complex grid systems, working on performance and stability updates, be careful once your grid gets too complex. It will not break your game, but the screens might stop working as intended due to large amounts of functional blocks to be scanned and will no longer show valid Info.
Workaround: Provide a specific searchId= instead of '*' this reduces search load drastically.

Problem: Subgrids currently are detected from parent to child. Screens placed on the subgrid do therefor not show values from the parent grid.
Workaround: None

Reupload
Do whatever you want with it. Reupload is allowed, but pls honor, rate and link the original authors and mods.
Popular Discussions View All (3)
49
12 Jun @ 6:46am
PINNED: Bug Reports
mahtrok
11
16 Jun @ 9:06am
PINNED: Suggestions
mahtrok
1
12 Jul, 2024 @ 1:35pm
PINNED: Change Log
mahtrok
108 Comments
Sardaukai 19 Jun @ 3:48am 
I've added some code to help with simulation speed.
(https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/3267099357/6171701314138350883/)
This is recommended for dedicated servers.

You can find the mod here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3502796229
Rezun 11 May @ 10:17am 
You mean world load boost brakes this mod?
Techmarine 5 May @ 10:29am 
I was looking why all additional screen apps were not working and then i looked here. DangerousMaterials, it's not a problem of this mod. It's a problem of that plugin (SEWorldLoadBoost). I checked it with radio spectroscopy mod and without this plugin it worked.
dRuPpI 2 May @ 12:47am 
this is awsome ... is it possieble to do somthing like this for Floor Plan Script?
mahtrok  [author] 19 Mar @ 12:59pm 
Sry, but I have no idea on how plugins even work from the player side so I am completely unaware of how they are made or might interfere.
DangerousMaterials 16 Mar @ 8:57am 
I like the idea and realization. One thing though: it conflicts in some way with SEWorldLoadBoost plugin. If said plugin is loaded the scripts (Apps) are gone. Something maybe you would like to look into in spare time.
mahtrok  [author] 15 Mar @ 4:29pm 
Nah, sorry. I did not implement further sorting as I wanted to keep the user input as simple as possible and most of the config screens are allready cluttered. Multiple sorting options like alphabetical, by mass, by volume and whatever would be imaginable would add multiple lines to every single one.

Glad you like it though.
Deadround 15 Mar @ 7:54am 
Is there a way to re-order the list or ores, ingots, etc. on the display screens? A small detail but one that helps folks like me. Otherwise, the simplicity of this mod is great for a knucklehead like me and I really appreciate your work into this.
mahtrok  [author] 20 Feb @ 8:27am 
Not fundamentally but, afaik, he splits workload over multiple ticks of the programmable block, while this mod calculates everything on a per frame bases, and he is a hell of a better programmer.
John 15 Feb @ 11:39am 
Interesting. Is there a fundamental difference in the way your mod scans inventories vs AutoLCDs 2? That script continues to work on my grid while your mod started miscalculating. Frankly I would rather use yours though.