Space Engineers

Space Engineers

Không đủ lượt đánh giá
Nav Sensors
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Kích cỡ file
Đã đăng
Đã cập nhật
401.917 KB
24 Thg02, 2018 @ 8:57am
4 Thg02, 2021 @ 7:54pm
8 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Nav Sensors

Mô tả
Navigation Sensors Script

this script is intended to fill in some gaps in MMasters AutomaticLCD2 script, so it doesnt replicate any information that can be found there.

what it provides:

On Planets:
+ Latitude and Longitude
+ Heading, Pitch and Roll with respect to the horizon
+ Altitude above sea level, Elevation above ground

In Space:
+ GPS Position
+ Heading, Pitch and Roll with respect to GPS XYZ planes
+ Motion Vector relative to ships head (degrees left, right, up, down and total velocity)

Additional Features:
+ Automatic Planet/Space mode transition
+ Camera Range Finder Displays
+ Configurable Range Finders
+ Configurable Displays

Guide
https://steamcommunity.com/sharedfiles/filedetails/?id=2384623719


Problems, Feedback, Requests? leave a comment below



49 bình luận
SinBad  [tác giả] 5 Thg02, 2021 @ 1:30am 
All the new is here. sorry for breaking your stuff, but it was for a good cause.
hobbyman 14 Thg01, 2021 @ 6:51pm 
Text Panel Custom Data was it, I've found these can be rather finicky where a space or a carriage return (invisible to the eye can make a world of difference) can make a big difference. I think one of the things, and you did mention it in the past posts was about the plus symbol (+) which is frequently used in the LCDS script. Thanks again for the help and efforts.
SinBad  [tác giả] 12 Thg01, 2021 @ 6:12pm 
@hobbyman, you dont need [NAV] in the programmable block name.
your remote control block looks set up correctly.
the text panel custom data is where i think your issue is. you dont need to include + in your custom data tags, i was using them as dot points in the guide. the guide needs a full rewrite. you do need to include the right hand (space mode) tags though. if you dont intend to operate in space, just use the None tag.
try:
Lat None
Long None
in the custom data of the text panel.
hobbyman 12 Thg01, 2021 @ 12:46pm 
So I eliminated the possibility of cockpit/block sharing issues, no other PBs even on the grid and gave the NAV PB its own Remote.

Name of Cockpit: Orbiter Cockpit
Cockpit Custom Data is blank, Reset all cockpit screens to No Content

Name of Text Panel: Orbiter [NAV] Text panel
Text panel Custom Data:
+ Lat
+ Long

Name of Remote Control: Orbiter [NAV] Remote Control
Custom Data of Remote Control: Origin

Name of Programmable Block: Orbiter [NAV] ProgBlock

Clear out all old, reinstall NAV script.
Text Panel content is Set to Text and Images (can't actually change that - nice) but does not display anything.
Also tried + Heading, same blank display, deliberately put in a garbage "command" in the Custom Data of the Text Panel and it briefly displays ONLINE then the Invalid Command fault. So it looks like the script is running, reading the Custom Data field in the Orbiter [NAV] Text panel, just not writing/rewriting to the Public title text and thus getting displayed?
SinBad  [tác giả] 12 Thg01, 2021 @ 3:11am 
added some clarification notes in the description to help with tagging.
SinBad  [tác giả] 12 Thg01, 2021 @ 2:49am 
@hobbyman, two issues i think. first, the Origin tag goes in the custom data of the cockpit or remote block, not in the name. second, this script doesn't like to share blocks with other scripts, at least where the custom data is concerned. if there is anything else in the custom data for one of the other scripts you are running it will cause this script to throw an error. a workaround is to use a dedicated remote block for this script.
i need to buckle down and get the selfishness beaten out of this thing and get it sharing cockpit screens as well. i wont have time for that until jan27th2021 though, i ask for your patience.
hobbyman 10 Thg01, 2021 @ 9:32am 
I run PAM, LCDS and some Whips scripts, having problems getting going with yours.
I keep getting "Operation Halted See WorkShop Page"
Been through the comments, instructions, etc. All items are owned by Me.

Name of Cockpit: Orbiter [NAV] Cockpit Origin
Name of Programmable Block: Orbiter [NAV] ProgBlock
Name of Text Panel: Orbiter [NAV] Text panel

Orbiter [NAV] Text panel Custom Data:
+ Lat
+ Long

Go to Edit, Browse Scripts, select Nav Sensors script, Check Code, (compiles no errors), OK,
"Operation Halted See WorkShop Page"
Text Panel Display is blank

Run, Recompile
"Operation Halted See WorkShop Page" persists/refreshes.

So what am I doing wrong?
Ashton Black 13 Thg05, 2020 @ 3:10am 
Nevermind, got it working!
Ashton Black 13 Thg05, 2020 @ 2:59am 
By "add the tag" do you mean in the name of the block or the custom data? How does this work with the [NAV] in the name. Could you give and example of, say a camera name? Is it [NAV] RangeFinder Top 10000?
SinBad  [tác giả] 6 Thg04, 2020 @ 7:06pm 
i couldn't figure out how to get it to play nice with auto lcd 2 in cockpit screens so i skipped it. cockpit screens not supported.