Space Engineers

Space Engineers

664 oy
[OUTDATED] Whip's Pixel Artificial Horizon
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
Dosya Boyutu
Gönderilme
Güncellenme
53.227 KB
29 Haz 2016 @ 13:11
29 Nis 2019 @ 21:40
44 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
[OUTDATED] Whip's Pixel Artificial Horizon

Whiplash141 tarafından 1 koleksiyonda
Whip's Script Archive
5 öğe
Açıklama
This script has been functionally replaced by my new Artificial Horizon Redux! Development on this script has ceased, but I will continue to maintain it as best I can.


  • NEW! - Variables are configured in the custom data!
  • Massive performance gains
  • You no longer need to name the control seat! If you only want to specify specific controllers, the name tag will still work :)
  • No timer needed for code operation!
  • Added variable isEasyStartPlanetWorld since the easy start planets have a different sun rotation axis :/
  • Code pauses when no one is piloting the ship


Howdy!

This code creates an Artificial Horizon indicator that shows your relative orientation with respect to the ground. The code also displays your current altitude, heading, and speed when in a planet's influence.

When you exit a planet's gravity field, the code detects this and switches into a vector velocity indicator where it displays your speed and acceleration values.

The colors of the display grid are also configurable!




See the VIDEO tutorial for a detailed setup walkthrough.
Required Setup
  1. Place a control seat, cockpit, or remote control. The code will automatically pick which seat you are controlling.
    • If you only want specific ship controllers to be considered, name them with the tag "Forward"
  2. Add the word "Horizon" to the name of one or more text panels/LCDs.
  3. CHECK YOUR OWNERSHIP
  4. Fly around and enjoy :)


Variables can be configured in the Custom Data of the programmable block this code runs from. This allows you to customize the Artificial Horizon display just the way you like!

  1. Open the custom data of the programmable block
  2. Edit the variables you desire
  3. Click "Ok"
The script will process the changes the next time the setup routine runs (It cycles every 10 seconds). If you are impatient, you can also click the "Recompile" button in the programmable block's terminal.


This code took quite a bit of headache to get to work so I hope y'all enjoy! :)
If you notice any issues, please comment so I can fix them promptly.

- Whiplash141
321 Yorum
Whiplash141  [yaratıcı] 14 Oca 2021 @ 12:01 
Have you tried the new one? :)
Voss 26 Ağu 2019 @ 4:38 
legacy favorite
Whiplash141  [yaratıcı] 10 Nis 2019 @ 11:45 
The rewrite will be a new script so I can support both without breaking backwards compatibility for this one :)

I'll still try to add cockpit LCD support into this one
FlyinRiz 10 Nis 2019 @ 11:22 
Are you going to update this script or create a new one (for subscription purposes)?

Great work btw!
Whiplash141  [yaratıcı] 10 Nis 2019 @ 5:23 
Nope, I'm in the process of rewrite
Alexli14 10 Nis 2019 @ 4:21 
will this work with the builtin lcds now in cockpits?
Whiplash141  [yaratıcı] 13 Mar 2019 @ 14:14 
I personally don't use mods for my lcd's. I just integrate small grid text panels into my designs.
I Have No Mechanics :/ 13 Mar 2019 @ 10:58 
What mod are you using for the cockpit LCDs ?
CZdigger146 20 Şub 2019 @ 8:44 
Amazing! Only if all my ships had a space for a LCD so i could put it in all my ships!
Whiplash141  [yaratıcı] 12 Ara 2018 @ 21:34 
I guarantee you that the version published works as I am currently using it.

The code will tell you what you are missing in the terminal.