Space Engineers

Space Engineers

108 ratings
Aircraft Dashboard Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
36.145 KB
2 Dec, 2019 @ 8:53pm
23 Mar, 2020 @ 4:53am
6 Change Notes ( view )

Subscribe to download
Aircraft Dashboard Script

Description
        Description
    An another dashboard script. Here is a list of current features:
  • Battery charge and output;
  • Reactor output;
  • Engine fuel;
  • Gravity LED indicator;
  • Cargo volume and mass limit of vehicle;
  • O2 and H2 Volume;
  • Mass LED;
  • Alert blinking. Each time you get in gravity well of a planet or moon, or your ship running low of energy, O2, H2 or its mass is to high, light will start blinking;
  • Customisable positions and sizes of elements.

        Deployment preparation
    Aircraft must meet next requirements, if anything from list below is missing script will fail to compile:
  • Controller block: Cockpit or remote control [Controller block is not found];
  • Something with text surface. It can be anything that have text surface. [provider is not found!] [Provider block doesn't have any surfaces!];
  • Lightning block with your faworite name for it. To write it in custom data [Lightning block is not found].
        Settings
    First time you run this script on your craft, it will write pattern data in it's programmable block custom data.

Controller block name: Cockpit # Electricity monitoring # Power surface provider name: Cockpit Power surface number: 1 Battery Charge: 40:70:80 Battery Output: 100:70:80 Reactor Output: 160:70:80 Engine Fuel: 220:70:80 Gravity LED: 220:120:80 # Cargo monitoring # Hold surface provider name: Cockpit Hold surface number: 0 Gather mode: 1 Cargo mass limit: 40000 Load meter: 40:70:80 Mass meter: 100:70:80 H2 meter: 410:70:80 O2 meter: 470:70:80 Mass LED: 470:70:80 Alert Light: Alert Light Space Craft: false

Controller block name: Name of controller that must be under control to make this magic happen. It can be cockpit or remote control block;
Surface provider name: Name of block that have text surfaces where dashboard elements will be drawn;
Surface number: Well, if this block have more than one surface you can choose it here. It's number starts from zero;
If both of previous two values are same, GUI will be drawn at one surface. If not, then not.
######: 470:70:80 Coordinates and scale.
Alert Light: Alert Light - Guess what. Name of light that will bichin about your cargo mass.
Space Craft: false; - if set true, alert light will bich about natural gravity wells.
You can see if something is not found at initialization state in terminal.
    There is most of LCD surfaces have wrong alignment. Will be correct if it's left upper corner of render surface match left upper corner of monitor, but not in SE. You will see there only lower parts of drawn elements with default coordinates. In this case center of rendering surface aligned with on block's texture center.
Popular Discussions View All (2)
2
8 Dec, 2019 @ 6:31am
[ISSUE] Can't Get it Working
Peekofwar
2
5 Dec, 2019 @ 11:58pm
Presets
Prellentor
40 Comments
Prellentor  [author] 23 Jun, 2020 @ 11:23pm 
Dunno. It works for me. Screenshot. Post a screenshot here.
LeeTheFlea 22 Jun, 2020 @ 9:16pm 
I am using a text panel ona small grid, and it seems I can't get the gauges to scale any bigger..thoughts?
Prellentor  [author] 23 Mar, 2020 @ 1:59am 
Update is in progress. I know about that small H2 tanks is not taken in count. Overall initialization routine will be rewritten too.
Prellentor  [author] 22 Dec, 2019 @ 8:44am 
I had similar problem, last time when i played on dedicated server. It's really annoying. But it was occurred each time when i joined to a server after it was inactive for a while due of players inactivity.
Walto 22 Dec, 2019 @ 8:39am 
yes, i think so
Prellentor  [author] 20 Dec, 2019 @ 7:56pm 
Are you playing on dedicated server?
Prellentor  [author] 20 Dec, 2019 @ 7:51pm 
Newer had issue like this before...
Walto 20 Dec, 2019 @ 10:38am 
Hello ! Thanks again for your scripts, very excellent ! I have, however, a problem, each time I connect my aircraft to a connector or when the alert light blinks, the script seems to be lost and doesn't display properly (only the needles remain)
An idea on how I can avoid this? (Recompiling the script doesn't seem to fix the problem, only Ctrl+x Ctrl+v seems to fix it)
iMurmis 19 Dec, 2019 @ 4:03am 
Ohh! I see) Ok! Thanks for feedback!
Prellentor  [author] 18 Dec, 2019 @ 9:38pm 
Nothing wrong.