Space Engineers

Space Engineers

评价数不足
Mikr - Artificial Horizon
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
121.165 KB
2019 年 3 月 3 日 上午 8:42
2019 年 3 月 12 日 上午 9:08
3 项改动说明 ( 查看 )

订阅以下载
Mikr - Artificial Horizon

描述
This is my Artificial Horizon Script

This is now obsolete

Setup
  1. Put the script into a Programmable Block on your ship
  2. Rename the LCD to "AHLCD"
  3. Get into the cockpit

My other scripts

The script will show the Mikrsoft (yes) logo when the cockpit is unoccupied. You can change the logo by putting an Image in the form of Text (use Whips image converter https://github.com/Whiplash141/Whips-Image-Converter/releases) into Custom Data. It will also stop the script from calculating stuff so it will cause little to no lag.


Make shure your server owner doesnt eat you for this since it creates quite a lot of network traffic (up to 400kb / s) when it is running (when the cockpit is occupied) because thats just how scripts that draw stuff behave (at that refresh rate)

The script will break when you leave gravity since i havent programmed that in yet (just recompile it when you are back in gravity)

Config
If you want to have your LCD named differently change LCDName in the config

The script has 2 color modes (shown in pictures) color mode 1 is default ( Black / Grey ) if you want to change to color mode 0 ( Green / Cyan ) open the script and change color Mode from 1 to 0.

If you dont want the indicators for prograde and retrograde velocity (kinda hard on server performance) or want to turn on smothing, you can do that directly below.

In the Expert Config (Named like that for a reason) you can change the icons for the ship and the velocities. If you dont have any knowledge of c# carefully read the descriptions of each setting
15 条留言
mikr  [作者] 2019 年 3 月 12 日 上午 11:59 
Not yet and even when there is gonna be (there definitely is gonna be) custom colors its gonna have very limited colors only (because how this works is im actually writing very small characters to the screen which happened to be colored)
TheTownWitchDoctor 2019 年 3 月 12 日 上午 11:22 
Working for me, with custom boot screen too. I'm gonna be a pain in the ass and ask if there's a way I can set custom colors?
mikr  [作者] 2019 年 3 月 12 日 上午 9:09 
Alright it should be fixed
mikr  [作者] 2019 年 3 月 12 日 上午 4:00 
Those error messages mean nothing (well nothing important, they are warnings actually) but i have noticed a bug that might explain your difficulties setting it up. Ill be fixing tjat today
TheTownWitchDoctor 2019 年 3 月 11 日 下午 3:26 
Not working for me either. If I "check code" it throws up an error:

Program(138,16): Warning: The field 'Program.WaypointMarker' is never used
Program(141,12): Warning: The field 'Program.a' is assigned but its value is never used

No idea what that means but I hope it helps :D. This looks really cool, I'd love to try it.
h4nSy-cRunKy 2019 年 3 月 7 日 下午 3:20 
I did it exactly how you described it... I renamed the LCD to "AHLCD" and nothing was happened. I will try it tomorrow again, perhabs i did something wrong.
mikr  [作者] 2019 年 3 月 7 日 下午 12:49 
Tell me exactly what happened when you tried it
mikr  [作者] 2019 年 3 月 7 日 下午 12:48 
h4nSy-cRunKy 2019 年 3 月 7 日 上午 8:18 
@mikr thx a lot
mikr  [作者] 2019 年 3 月 6 日 下午 10:38 
Im gonna look into it