Space Engineers

Space Engineers

Ei tarpeeksi arvosteluja
Crazymine's Battery Overview
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
1.815 MB
20.4.2019 klo 13.54
19.4.2020 klo 6.57
7 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Crazymine's Battery Overview

Kuvaus
Crazymine's Battery Overview
Did you ever wonder what your Batteries are doing when you aren't looking?
Isn't it annoying to open the Terminal just to check on them? (control freak!)
Then fear no more!
This In-Game Script lists you the status of all the batteries on the station.
Being easy to set up and configure, this is a must have for everyone,
who doesn't want to monitor his batteries via the terminal.
(It also requires you to open and close the Terminal half a dozen times to set it up.
But after THAT: never, ever again (unless you use it for other stuff))

Features
  • List ALL your batteries! Even from attached ships
  • Use as many LCDs as you want. Cover your whole station with them. Build the Station just for them (and some batteries)
  • Scratched Record: Never gets tired of repeating itself, to give you multiple Spots for information (Restaurant, Air Lock, Missile Launcher)
  • Display annoying custom messages to other players at the cost of ONE(1) line (or don't)
  • For Run-Aways: Supports Corner LCDs to make you panic what's wrong again
  • A Lot Many Some Settings to change the behaviour of the script (be house-trained, self-destruct, stop dancing)
  • It also lists some details of your batteries (Charge, Charging/Discharging, Not in auto mode, Time left)

How To use
It seriously is as easy as playing Space Engineers:
  1. Subscribe to this Script (Somewhere up there should be a button)
  2. go (back) in Game
  3. Build a Programmable Block
  4. Insert this script (open the block -> Edit -> Browse Scripts)
  5. Build your LCDs where you want them
  6. Check Naming the LCDs
  7. Check Configuring the Script
  8. hit Recompile
  9. hit execute
  10. the script will keep running on its own
  11. lean back with a cup of Coffee and enjoy ^^

Naming the Panels
NOTE:
This Script doesn't detect Panels on Subgrids (This includes Rotors and Pistons)
In order to use a Panel for the Script it's name has to be:
Battery.Display_<GROUP>_<INDEX>
<GROUP> Is a number to indicate Panels, that are linked together.
<INDEX> The rank (order) of the panel in it's group. The Index starts at 1 and needs continuous counting.
While the group numbers don't matter, the Indexes do:
if you skip one number (e.g.: 1 2 3 _ 5 6 7) the whole group will be skipped.

After Adding/Rearranging Panels you need to recompile the script.

Groups Explained:
Groups are used to link multiple panels together, so that if one panel has all it's lines occupied, the next panel is used.
one Example
Group 1
Group 2
Note
Battery.Display_1_1
Battery.Display_2_1
<- Display the same
Battery.Display_1_2
Battery.Display_2_2
<- Display the same
Battery.Display_2_3
Only Group 2 has a third panel.
Group 1 won't display the Information
This examples assumes, that all Displays have the same font size.

QuickInfo Panels
Although this is intended to be used with Corner LCDs, you can also use normal and wide LCDs.

To assign a panel as a QuickInfo panel use the group QUICK instead of a number.
It will then only show the Total charge, the Power Balance (Charging Discharging) and the message.

Configuring the Script
To configurate the Script, write the configuration statements in the CustomData section of the Programmable Block.
Please Note, that the configuration statements are case-sensetive.
only one configurateion statement per line is allowed


Configuration Statement
Explanation
NoTotal
Don't Show the Total Charge
This has no Impact on the QuickInfo
NoBalance
Don't show the Total Balance
This has no Impact on the QuickInfo
ExcludeSubgridBalance
Batteries from attached grid won't be in the Total
OnlySubgridList
Doesn't List Batteries on the same grid as the Block
They will still be in the Total
MessageInQuick
Displays the Message on Quickinfo Panels
(See next Section)
BreakQuick
Will add a line Break between the Total Charge and Balance in quick Panels
NoPageCount
Hides The page count from the title
MessageOnFirst
Displays the message only on the first panel of the group
This has no Impact on the QuickInfo
NoTitle
If a message is given, it will replace the Title, else the title will be shown
EnableTimeout
The Script stops after 1000 auto refreshes
NOTE: This was added to be used on servers where continouus scripts are prohibited
The Counter will reset on any non-auto execution (e.g. sensor)
AutoRun
Starts the Script after hitting recompile
NOTE: this is for on-demand worlds, since the script wold need a manual start after every server restart
It will also overwrite the LCD and Configuration detection output,
so perhaps disable it when changing the configuration or the LCD Layout

If you changed the Configuration, you need to recompile the script and hit run again.

Thank You for using this Script
More Documentation and Bug reports can be found in the Discussions section.
2 kommenttia
NIJ 21.4.2022 klo 12.50 
nvm I figured it out
NIJ 21.4.2022 klo 12.44 
it keeps giving telling me the group value must be a number above 0 even though I have the group set to 2