Space Engineers

Space Engineers

27 ratings
Mikr - Bars and Dials
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
161.900 KB
7 Mar, 2019 @ 9:16am
8 Mar, 2019 @ 12:38pm
4 Change Notes ( view )

Subscribe to download
Mikr - Bars and Dials

Description
This is a collection of Bars, dials and more

This script wont get any further development as its obsolete (or should be if keen fixed the new lcd stuff)

Contents
The script currently contains:
  • Speedometer

  • Power Usage Meter

  • Battery Charge Meter

  • Compass
    | (You do have to go to the north pole to set it up, but it has the advantage of actually pointing towards the north pole)

  • Cruise Controll
    | (Also in combination with the speedometer or single) Change the desired speed using W and S and the script will try to keep that velocity (tell your fellow engineers before you let them fly it "IT DOESNT STOP" - Phil) turn off Cruise controll by running the script with the argument "release"

  • Notification
    | Tells you about problems that might potentially lead to a uncomfortable landing like: Inertial Dampeners off, Battery charge low, Power Overload (using more power than reactors can provide or "LENK" for short) or if your forwards / upwards thrusters cant support the weight of your ship - (c)Georg (suggested by VTKegger (SGA for the win))

  • The artificial Horizon is not part of the script since it's a bit more complicated than any of the other stuff. Link VV


The bars are only active when there is an LCD assigned to them (means you dont have to worry about cruise controll when you dont give it an LCD)

Setup
Its pretty easy just put down an lcd and give it the name of the dial / bar you want to assign it to
Here a quick list of dials, the name of the lcd and the lcd type
Speedometer SpeedometerLCD Corner Flat Power Usage PowerUsageLCD Corner Flat Battery Charge BatteryChargeLCD Corner Flat Compass CompassLCD Corner Flat Cruise Control ThrustLCD Corner Flat Speedometer / Cruise Control combined SpeedController Text panel / Normal Square Notification NotificationLCD Corner Flat
Some special snowflakes :

  • The Compass needs a vector pointing north. To get that vector fly to the north pole and enter checkNorth into argument and hit run. The script will then save the vector into Custom Data. You only need to do this once for every Planet, afterwards you can just copy the stuff in custom data and paste it on whatever other craft you also want this on.

  • Running the programmable Block with the argument "release" toggles between cruise control and manual mode

Config
Allright here im gonna explain every Config option in detail
Lets start from the top
bool highres = true; //havent tried low res on everything yet
This toggles between double res and single res. It is still here from the speedometer script. You can use it when the speedometer or the Power meter LDS's aren't readable. It does break the compass atm.

int MaxLCDSpeed = 360;
The max speed of the world in km/h (1m/s = 3.6km/h). Change this if you have a speed mod installed

int SpeedType = 0;
Sets the unit for any LCD's that display speed. set it to
  • 0 for km/h
  • 1 for mi/h
  • 2 for m/s
  • 3 for kt ( a request from a reddit user. I dont know why you would use knots)

//Name for the Digital Speedometer LCD string SpeedLCDName = "SpeedometerLCD"; //Name for the Digital Power Usage LCD string PowerLCDName = "PowerUsageLCD"; //Name for the Digital Power Usage LCD string BatteryChargeLCDName = "BatteryChargeLCD"; //Name for the Compass LCD string CompassLCDName = "CompassLCD"; //Name for the Thrust Manager Display string ThrustLCDName = "ThrustLCD"; //Name for the Combined Speedometer and Thrust Manager LCD string SpeedLCDFullName = "SpeedController"; //Name for the Notification1 LCD (Inertial Dampeners, power overload, battery charge) string Notification1LCDName = "Notification1LCD";
The names for the lcd's

int IdleMode = 0;
Changes the way the ship goes to idle.
  • 0 : it switches to the mikrsoft logo (images)
  • 1 : It turns the color of the LCD to grey
I prefer 0

UpdateFrequency ud = UpdateFrequency.Update1;
THIS IS IMPORTANT: Sets the ammount of frames between the updates. Usually its set to one but it is possible that if you join a server and you dont change the 1 to a 10 the server owner will eat you. (possibly, i havent tried how much traffic it generates and i don't know how hungry server owners are)

Other scripts



If there are any Problems or if you have a suggestion for a cockpit instrument, please let me know (Especially if the script throws an error or if you dont like my coding(ill send you to gulag)).
12 Comments
mikr  [author] 15 Apr, 2019 @ 11:56am 
this is supposed to more or less be the successor to this https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1711913452
it is gonna get a lot more functionality
mikr  [author] 15 Apr, 2019 @ 11:54am 
possibly
DeAnti 14 Apr, 2019 @ 9:11pm 
are we gonna get new version ?
. 2 Apr, 2019 @ 7:48am 
Speed limiter say if the ship is going above the set limit it turns of the thrusters in that direction
remethep 31 Mar, 2019 @ 1:08pm 
That was the answer I was hoping for. :D
mikr  [author] 30 Mar, 2019 @ 9:39am 
it overrides thrust
(dampeners off would be kinda bad on planet)

I mean just imagine 100 m above ground : yeh let me just try out this cruise controll script *overrides dampeners and locks out controll for dampeners*
remethep 30 Mar, 2019 @ 5:14am 
The cruise LCD, what does it mean? Dampeners off, or does it override thrust in any way if on?
Awesome script no matter. :)
DeAnti 13 Mar, 2019 @ 12:04pm 
awesome work
mikr  [author] 12 Mar, 2019 @ 8:58am 
thanks
VelxraTV 12 Mar, 2019 @ 8:55am 
nicely done