Space Engineers

Space Engineers

Crazymine's Battery Overview
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
Crazymine  [kehittäjä] 21.4.2019 klo 12.20
Additional Info
If you need more infos on how to use the script, you may take a look here.
< >
Näytetään 1-4 / 4 kommentista
Crazymine  [kehittäjä] 21.4.2019 klo 12.21 
The Output explained
The Panel Output
When running the script, it will have the following output by default:
(Example. Values made up)
Battery Status Page 1/2 "Message" Total: 75% Charging "Main Battery" 50% DC 10 min Miner "Main Battery" 25% CH* 30 min

The Lines Meaning the following
Battery Status Page 1/2
The Title and the Page Count.
(See "NoTitle" and "NoPageCount")

"Message"
Your custom Message.
Use the argument field of the Programmable Block to set one.
(Note: Triggering the Script with something else will use its argument as Message until the next refresh
e.g.
The Programmable Block has the Argument: World
The Script is triggered by a sensor with the argument: Hello
Message is "Hello"
Block auto-refreshes
Message is "World"
)

Total: 75% Charging
The Total Charge and the Total Balance
(See "NoTotal" and "NoBalance")

"Main Battery" 50% DC 10 min
The Battery Status
"Main Battery" The Name of the Battery
50% The Charge of the Battery
DC/CH/NA/Off Discharging/Charging/Inactive/Off
With a *: Not in Auto mode
10 min The Time left to charge/Discharge

Miner
The Name of a subgrid.
All following batteries are on this grid.

Output on Recompiling
When Recompiling, the Script will output invalid configuration statements and errors with the LCD Names.
All LCD Names that have the prefix "Battery.Display_" will be listed.
Errors Will be thrown if:
  • The Group isn't a number above 0 or "QUICK"
  • The Index isn't a number above 0
  • A Group doesn't contain all the indexes it should (e.g. 1 2 3 _ 5 6 7)
    The printed Panel must not be the cause. It is just given to tell the group number to look up.
Viimeisin muokkaaja on Crazymine; 21.4.2019 klo 12.21
Crazymine  [kehittäjä] 21.4.2019 klo 12.25 
Font Sizes
The Number of entries, a display can handle are determined by it's font size.
(Smaller Font: More Entries
Larger Font: Less Entries)

The overflow in groups is only covered entry wise,
meaning that If an entry is too long, it will be cut.
However, you can use Large LCDs to increase the horizontal space.

QuickInfo Panels have a fixed font size, that is set by the script.
Crazymine  [kehittäjä] 21.4.2019 klo 12.26 
Good to know
To keep this script a bit more lightweight on Servers, the LCD Panels and Configuration are not refreshed upon execution. To update changes to any of them, hit Recompile in the Programmable Block and then Run.
This is, because i think, Configuration and Panels aren't changed that much.

If you aren't playing on a constantly running server (e.g. a local world) the script needs to be started after every server start, unless you enable AutoRun.
Crazymine  [kehittäjä] 4.6.2019 klo 10.57 
Hiding Batteries
Note: This feature was requested by https://gtm.steamproxy.vip/profiles/76561198161721475 (Xeridan.exe)

You can now force single batteries to be completely excluded by adding the word
hidden
in a single line in the Custom Data of the Battery, you want to exclude.

It won't show up in the total calculation aswell.
Viimeisin muokkaaja on Crazymine; 4.6.2019 klo 11.01
< >
Näytetään 1-4 / 4 kommentista
Sivua kohden: 1530 50