Stormworks: Build and Rescue

Stormworks: Build and Rescue

42 lượt đánh giá
Compass Band with target indicator
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Vehicles: Creative
Nhãn: v0.9.32
Kích cỡ file
Đã đăng
Đã cập nhật
28.626 KB
22 Thg05, 2019 @ 1:27am
3 Thg02, 2020 @ 2:48am
4 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Compass Band with target indicator

Mô tả
Draws a compass band to a monitor or hud. It shows a compass band, your heading and the target heading. Colours a re configurable.

Controller Size: 3x2

Inputs:
- Video In (Video)
- Compass Sensor (Number) [-0.5 .. 0.5]
- Target Bearing (Number) [0..1], [0 .. 2*pi] or [0 .. 360°]
- Target Enabled (On/Off)

Outputs:
- Video Out (Video)

Properties:
- Bearing Type (Dropdown) [Vanilla/Radiant/Degree]: for the target bearing calculation
- alignment (Toggle) [top/bottom]: displaying at the top or bottom of the screen
- heading indicator (Toggle) [hidden/visible]: show or hide your heading-number
- margin (Number): defines the margin to the left and right
- Color (RGB-String): for the compass (band and heading) in Hex RRGGBB
- Target Color (RGB-String): for the target indicator in Hex RRGGBB
16 bình luận
ibuildblasters 20 Thg06, 2023 @ 5:05am 
oh, awesome. thank you!
sengir_vampire  [tác giả] 20 Thg06, 2023 @ 12:55am 
Don't know what you mean with pure overlay for an HUD. You don't need to connect the Video-In at all.
ibuildblasters 19 Thg06, 2023 @ 6:50pm 
Would you make this a pure overlay for an HUD?
sengir_vampire  [tác giả] 18 Thg01, 2021 @ 1:17am 
I just tried the controller and it works fine, perhaps you forgot to connect the target-bearing-input or set the bearing-type-property to the wrong type.
Example: Add a GPS-sensor (gpsX, gpsY) and a large Keypad (targetX, targetY), calculate the bearing with atn2(targetX-gpsX, targetY-gpsY) and feed the result into the correct input of the controller AND set bearing type to RADIANT.
Private_Red 17 Thg01, 2021 @ 3:12pm 
Please fix the target heading, I've been trying for at least 10 minutes to hook it up to my plane it wont work, Im trying to display the target as the front of the plane but no matter what I do the target is always north.
madvent 28 Thg05, 2020 @ 12:46pm 
Thanks, works like a charm !
carn1vore 3 Thg02, 2020 @ 10:46am 
Perfect. Thanks a lot. I love this hud.
sengir_vampire  [tác giả] 3 Thg02, 2020 @ 2:54am 
I added a property to hide the heading number. The band is now compressed on smaller screens.
carn1vore 2 Thg02, 2020 @ 1:37pm 
I mean heading, excuse me.
carn1vore 2 Thg02, 2020 @ 11:58am 
Would it be possible to toggle the bearing display on/off? I'd like to use it on a 1x1 hud and would just like the compass N/NW/W/SW/W/SE/E/NE to scroll across.