Dynamic LCDs
LCD variables, setup, and examples
Official EU / NA Servers OnlyOverview
Dynamic LCDs allows you to configure LCD screens and projectors on your ship or base to display real-time information, such as fuel levels, oxygen supply, shield status, inventory counts, and more.
Enabling LCD Updating
How it works
Dynamic LCDs works through a looping dialogue function that silently runs every few seconds. It is currently set to update every 30 seconds. Each update refreshes any configured Dynamic LCDs on the structure you are standing in.
Only player structures you own will have their LCDs updated. The update loop is disabled by default and must be enabled every time you load a save game or log back into a server.
Enable updates
Access your Control Station on board your ship or base and enable Dynamic LCD updating. Once enabled, updating continues until you log out of the game.
Setting up LCD Screens
Template and Target LCDs
Dynamic LCDs operates on a pair of LCD screens. The first LCD is the template and the second LCD is the target.
Naming format
Output:TargetLCD TargetLCD
The template LCD is where you type the text, formatting, colors, and variables. The target LCD is the screen that displays the final generated result.
Example
To show fuel level on your bridge, add two LCD screens. Name the first one Output:FuelGauge and place it anywhere on the ship. Name the second one FuelGauge and place it on the bridge.
Variables
Variables are placed inside the template LCD and replaced with live values on the target LCD.
Basic variable
{variableName}
C# number formatting
{variableName:N}
Functions
{function("Argument Pair One")("Argument Pair Two", "Even More Arguments")}
Functions also support integer and float formatting.
Structure Information
| Variable | Output | Notes |
|---|---|---|
{id} | int | Structure Entity Id |
{name} | string | Name |
{type} | string | Type: BA/CV/SV/HV |
{damageLevel} | int | |
{damageLevelFLoat} | float | |
{blockCount} | int | |
{deviceCount} | int | |
{lightCount} | int | |
{triangleCount} | int | |
{sizeClass} | int | |
{totalMass} | int | |
{totalMassFloat} | float | |
{shieldStatus} | string | "On" or "Off" |
{shieldLevel} | int | |
{powerCurrent} | int | |
{powerMaximum} | int | |
{powerPercent} | int | |
{powerPercentFloat} | float |
Tanks
| Variable | Output | Notes |
|---|---|---|
{fuelCurrent} | int | |
{fuelCurrentFloat} | float | |
{fuelMaximum} | int | |
{fuelMaximumFloat} | float | |
{fuelPercent} | int | |
{fuelPercentFloat} | float | |
{oxygenCurrent} | int | |
{oxygenCurrentFloat} | float | |
{oxygenMaximum} | int | |
{oxygenMaximumFloat} | float | |
{oxygenPercent} | int | |
{oxygenPercentFloat} | float | |
{pentaxidCurrent} | int | |
{pentaxidCurrentFloat} | float | |
{pentaxidMaximum} | int | |
{pentaxidMaximumFloat} | float | |
{pentaxidPercent} | int | |
{pentaxidPercentFloat} | float |
Pilot, Passengers & Docked Vessels
| Variable | Output | Notes |
|---|---|---|
{pilotName} | string | |
{pilotKills} | int | |
{passengerCount} | int | |
{passengerList} | string | Comma-separated passengers sorted alphabetically |
{dockedCount} | int | |
{dockedList} | string | Comma-separated docked ships sorted alphabetically |
Inventory
| Variable | Output | Notes |
|---|---|---|
{itemCount} |
int | Function. Supported arguments: ("Item Name", "Optional Second Item") with optional ("Container", "Names"). |
Playfield Information
| Variable | Output | Notes |
|---|---|---|
{playfieldName} | string | |
{playfieldType} | string | |
{planetType} | string | |
{planetClass} | string | |
{solarSystemName} | string |
LCD Screen Examples
These examples can be copied into template LCDs. For a pair named Output:ShipStats and ShipStats, paste the text into Output:ShipStats.
Example LCD Screen 1
Shows basic structure information.
Structure Info:
Name: {name}, Id: {id:N10},
Type: {type}, Size Class: {sizeClass}
Blocks: {blockCount}, Devices: {deviceCount}, Lights: {lightCount}
Power: {powerCurrent}/{powerMaximum} - {powerPercent}%
Fuel: {fuelCurrent}/{fuelMaximum} - {fuelPercent}%
Oxygen: {oxygenCurrent}/{oxygenMaximum} - {oxygenPercent}%
Pentaxid: {pentaxidCurrent}/{pentaxidMaximum} - {pentaxidPercent}%
Shields: {shieldStatus}
Pilot: {pilotName}
Docked: {dockedList}
Example LCD Screen 2
Shows inventory counts and location information.
Items:
Fuel Cells: {itemCount("Fuel Cell")}
Dual Fuel Cells: {itemCount("Dual Fuel Cell")}
Both: {itemCount("Fuel Cell", "Dual Fuel Cell")}
Drills All: {itemCount:10("DrillAttachment")}
Drills Single Container: {itemCount("DrillAttachment")("Materials")}
Location:
Playfield Name: {playfieldName}
Playfield Type: {playfieldType}
Planet Type: {planetType}
Planet Class: {planetClass}
Solar System: {solarSystemName}
Basic Tank and Reserve Display
Displays current tank levels and reserve supplies stored in a cargo container named Supplies.
<#ffffff><size=5><b>TANKS:</b></size>
<#0087CEFA><size=4>Fuel: {fuelCurrent}/{fuelMaximum}, {fuelPercent}%
Oxygen: {oxygenCurrent}/{oxygenMaximum}, {oxygenPercent}%
Pentaxid: {pentaxidCurrent}/{pentaxidMaximum}, {pentaxidPercent}%</size></color>
<size=5><b>RESERVE:</b></size>
<#0087CEFA><size=4>Fuel Cells: {itemCount("Fuel Cell")("Supplies")}
Dual Fuel Cells: {itemCount("Dual Fuel Cell")("Supplies")}
Promethium Hydrocells: {itemCount("Promethium Hydrocell")("Supplies")}
Oxygen Bottle: {itemCount("Oxygen Bottle")("Supplies")}
Refined Pentaxid: {itemCount("Refined Pentaxid")("Supplies")}</size></color>