Space Engineers

Space Engineers

221 betyg
[OUTDATED] Whip's Graphical Velocity Indicator
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Taggar: development
Filstorlek
Lades upp
Uppdaterades
4.513 KB
6 jun, 2016 @ 16:02
7 nov, 2016 @ 19:05
3 ändringsnotiser ( visa )

Abonnera för att ladda ner
[OUTDATED] Whip's Graphical Velocity Indicator

I 1 samling av Whiplash141
Whip's Script Archive
5 artiklar
Beskrivning
ATTENTION: This code has been functionally replaced by my Artificial Horizon Redux code! It retains all the functionality of this code with even more goodies (and better performance)!


Code has been restructured due to advances made in my artificial horizon code. You no longer need to set the text size, the code will do it for you. Also acceleration is now indicated. No additional setup is required!



This code creates a colored graphical representation of your velocity vector and displays it on a screen! It also displays your speed in blue at the bottom of the screen. The colors and size of the vector grid are configurable in the code.

This is primarily made for space flight! If you are flying in atmosphere use this code! It is an artificial horizon indicator with a built in velocity vector display :)


See the VIDEO for a detailed walkthrough.
  1. Make a program block and put this code in it
  2. Make a timer with actions:
    • "Trigger Now" itself
    • "Start" itself
    • "Run with default argument" the program from step 1
  3. Start the timer
  4. Find the control seat, cockpit, remote control, or passenger seat that you wish to
    measure the velocity of and add the name tag "Forward" somewhere in its name
  5. Find the Text Panel or LCD Panel that you want to display the data on and add the tag
    "Velocity" somewhere in the name of the block. Set the text size to 0.4 (default)
  6. Fly around and enjoy :)


The code is a bit messy as I had to get creative with how I added strings together! Thanks to user alex-theradarguy for his method of using the Xbox control symbols to make colored monospaced grids! If you notice any bugs, be sure to comment on the workshop page.

- Whiplash141
66 kommentarer
Voss 26 aug, 2019 @ 4:38 
legacy favorite
AnsontheToad 11 maj, 2017 @ 21:31 
Whip, are you going to update this script with the advancements you've made with your artificial horizon script?
Dr Cedric 15 jan, 2017 @ 11:13 
@McBain - when you open the terminal for the programmable block you want to use, click the edit button, then on the bottom click the browse workshop button. A list of your scripts should pop up and you can double click the one you want. Click check code button, then remember&exit button.. done!
McBain 2 jan, 2017 @ 4:49 
Sorry guys, noob question. Where can I find the actual script code (Step 1: "Make a program block and put this code in it")? I subscribed in the Workshop but I can't find the code anywhere.
... I feel stupid...
zen 11 sep, 2016 @ 18:01 
This is quality work. I like the multi-colored symbols. I've been using another for a long time and while it matches the rest of my industrial looking displays- I can't help but think a real HUD would make things visually simple for ease of understanding.

I look forward to the magnitude-less version as it's the style I've been using up until this point.
Caffeinix 12 aug, 2016 @ 0:10 
Awesome! Thank you! :D I also use your artificial horizon mod, so I'm very excited by this!
Whiplash141  [skapare] 10 aug, 2016 @ 10:08 
@Caffeinix:
Upon playing around with the idea, I've decided to implement your suggestion :P

The magnitude-less vector is much more useful for my artificial horizon, so I have already implemented it there. I figured I might as well implement it in this one as well. I will update it soon.
Whiplash141  [skapare] 10 aug, 2016 @ 10:06 
@o RawRaSauRus o:
Yes, on the timer there is a check box to turn off the timer noise. See time stamp 2:18 in my video :)
o RawRaSauRus o 10 aug, 2016 @ 6:06 
Need Help it all works fine, apart from the sound the timer block is making when the prommgram is running is there a way to turn that off ? its like its running the code so fast i just have a high pitch sound that seems tobe coming from the timer
Whiplash141  [skapare] 13 jul, 2016 @ 0:06 
@Caffeinix:
"Also, wouldn't increasing the max speed make the problem worse?"
Yes, I misspoke.

However, I am not interested in discarding information about magnitude. I might go back and add a toggleable function. Depends on how much work it is.