Space Engineers

Space Engineers

[OUTDATED] Whip's Pixel Artificial Horizon
321 件のコメント
Whiplash141  [作成者] 2021年1月14日 12時01分 
Have you tried the new one? :)
Voss 2019年8月26日 4時38分 
legacy favorite
Whiplash141  [作成者] 2019年4月10日 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 2019年4月10日 11時22分 
Are you going to update this script or create a new one (for subscription purposes)?

Great work btw!
Whiplash141  [作成者] 2019年4月10日 5時23分 
Nope, I'm in the process of rewrite
Alexli14 2019年4月10日 4時21分 
will this work with the builtin lcds now in cockpits?
Whiplash141  [作成者] 2019年3月13日 14時14分 
I personally don't use mods for my lcd's. I just integrate small grid text panels into my designs.
R 2019年3月13日 10時58分 
What mod are you using for the cockpit LCDs ?
CZdigger146 2019年2月20日 8時44分 
Amazing! Only if all my ships had a space for a LCD so i could put it in all my ships!
Whiplash141  [作成者] 2018年12月12日 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.
AESTHETICBOI 2018年12月12日 19時25分 
i had to use old version with timers
AESTHETICBOI 2018年12月12日 19時25分 
yup a bunch of other scripts work
Whiplash141  [作成者] 2018年12月12日 18時47分 
Make sure you have scripts enabled in the world
AESTHETICBOI 2018年12月12日 17時59分 
weird doesnt work or display on screen
『KuuHaKu』 2018年12月4日 4時02分 
hey there whip.

I was thinking: would it be possible for you to make a script like the vector velocity indicator but one that shows relative target alignment?
Whiplash141  [作成者] 2018年11月30日 16時13分 
I know what you meant, lol

I was telling you what altitude means in the game :P
Sneakyrat 2018年11月30日 12時05分 
yeah but what i meant is if your under ground it doesnt do negative values for the altitude its not really an issue but just something i wanted to point out
Whiplash141  [作成者] 2018年11月30日 5時18分 
It uses the altitude above the current surface, it is the same as the cockpit altitude
Sneakyrat 2018年11月30日 1時26分 
nice script however the altitude doesnt do - values if your under ground but other than that amazing script
systat 2018年11月17日 15時45分 
Nice. I was looking for something that would indicate prograde and retrograde in a flat space environment.
Whiplash141  [作成者] 2018年11月5日 12時53分 
Also, tried my drop pod script? :P
Whiplash141  [作成者] 2018年11月5日 12時52分 
I have no idea off the top of my head (not at home), but the method names should be pretty self documenting.
epflederer 2018年10月9日 9時26分 
What methods of your script are used to calculate ship local speed along its axises, surface elevation, and pitch/roll of local gravity? I'm trying to put together a lander script for a rover I built, and I dont have much c# experience, so I'm trying to combine code from different scripts to get what I'm trying to do, and this script has several values I need. Any help is appreciated
Whiplash141  [作成者] 2018年10月7日 13時12分 
Thanks! It means a lot :)
RUSTIK 2018年10月7日 10時59分 
Whiplash141, I use many of your scripts and I greatly appreciate the time and effort you put into them. You even update them as the game changes, SE is a better game because of you. Thank you!
RobinHorn 2018年10月4日 16時22分 
Awesome!
Whiplash141  [作成者] 2018年10月4日 14時34分 
Nope, I'm cool as long as I get credit :)
RobinHorn 2018年10月4日 1時07分 
I am planning on making a ILS style landing aid for use with Plane Parts, and I am probably going to use at least part of your code for making the display part of it. I will give credit in the code and mod page, should I get it working. Will this be a problem?
Whiplash141  [作成者] 2018年8月5日 8時25分 
As for pointing straight up, simply pitch until the entire screen shows sky
Whiplash141  [作成者] 2018年8月5日 8時24分 
Not at this resolution. The higher the resolution and the more drawing I do, the performance gets exponentially worse. I was trying to make this as preference friendly as possible.
McDewgle 2018年8月5日 3時07分 
Would it be possible to add in incremental notches like a traditional attitude indicator? Numbering from 0 (horizon) to +90 -90 (straight up or straight down) This would help greatly with trying to point the ship straight up in order to escape a gravity well

https://techoctave.com/images/artificial-horizon-attitude-indicator.png
Famous5000 2018年7月26日 12時31分 
Damn. Yeah, that's kind of rough.
Whiplash141  [作成者] 2018年7月3日 0時33分 
Not easily. I capped the resolution as it is because any higher and the performance impact becomes very noticeable.

While you may only be adding 2 pixels in width, area scales at a rate of width^2 . This means more work for the code and much worse performance.
Aramil 💢 2018年7月2日 14時19分 
Is there a way to increase the resolution, to make it look sharper on a bigger lcd?
Whiplash141  [作成者] 2018年6月20日 0時07分 
You dont need the " " around the horizon tag :)

And thanks!
XandreBlues 2018年6月20日 0時06分 
actually not sure if it did or not. my other mistake was not including " " with "Horizon"
so... maybe it did work.. (all my err, your script is brilliant!) and got it working rather quickly. It really is easy to set up and I've had no problems with it. Just wanted to give you a cheer!
Whiplash141  [作成者] 2018年6月19日 23時47分 
"Yeah.. reading the instructions! I spent two minutes trying to figure out why it wasn't working... because I completely missed setting the font."
The script should set that automatically once you hop in a seat :)
XandreBlues 2018年6月19日 22時43分 
place programming block.. add "Horizon" to text panel, change font to monospace.
What could be easier?
Yeah.. reading the instructions! I spent two minutes trying to figure out why it wasn't working... because I completely missed setting the font. (Facepalms)
Totally love this script and its super easy to use! :steamhappy:
Soulebot 2018年5月23日 5時22分 
One of the great scripts for SE! I tend to make "turn and burn" types of ships to accel towards, flip, and then decel when I am coming up on a location and being able to easily see my retrograde marker is invaluable!
Famous5000 2018年3月30日 22時29分 
OK. I'll take a look when I hop back on my desktop. [Yes I haven't looked for it, so yeah.]
Whiplash141  [作成者] 2018年3月30日 22時26分 
"Inside the script? People who might not know a few things about scripting may not know where to look for that..."

The very top of the code, nice and commented lol
Famous5000 2018年3月30日 22時24分 
Inside the script? People who might not know a few things about scripting may not know where to look for that... [Myself excluded]
Whiplash141  [作成者] 2018年3月30日 18時25分 
"So that you can run multiple copies? [One for gunner, one for pilot?]"
I dont advise this as this will cause more lag. It is possible though by giving each instance of the script a different ship controller name tag.
Famous5000 2018年3月30日 17時19分 
Is it possible to change what the script looks for? So that you can run multiple copies? [One for gunner, one for pilot?]
STRIKER 2018年3月30日 15時35分 
thank you @Whiplash141, i love your work ^^
Whiplash141  [作成者] 2018年3月30日 15時20分 
@๖ۣۜFamous1337 @STRIKER:

I readded in optional name tags. If the code detects a ship controller with the name tag "Forward" it will only pay attention to that one. If it doesn't, it will use all ship controllers on the ship/subgrids and automatically decide which to pick.

If you are not actively controlling the ship controller, but you want the horizon to not pause, you will need to set pauseWhenAway to false :)
Famous5000 2018年3月30日 14時45分 
That would be a good idea whiplash. Make it so that you can change what cockpit it will detect.
STRIKER 2018年3月30日 11時57分 
hey, whiplash,
i am grateful for your scripts since i am fond of making tanks and warmachines and they help out a lot to make them more than props (i've yet to find the skill, will, or courage to post them on the workshop)
but i do have a question/problem, i am building a tank, and i have your artificial horizon script for the driver, it works fine, but i wanted to put one align to the gunner's sight, or the commander's sight so that they would be able to give bearing to a target as they operated the vehicle and get as close as i could to having an actual gun camera

but since the selected remote control or seat is no longer a variable i only displays the movements of the tank, could help me find a solution to this problem ?

thank you for your attention =)
aviator1280 2018年3月18日 8時26分 
@Whiplash141 Hello, I found out that I had the flickering problem when another ship with the same script was connected. Turning it off the problem vanished.
Whiplash141  [作成者] 2018年3月7日 3時02分 
Update to the most recent version of this script, v46