Stormworks: Build and Rescue

Stormworks: Build and Rescue

42 个评价
Compass Band with target indicator
   
奖励
收藏
已收藏
取消收藏
Vehicles: Creative
标签: v0.9.32
文件大小
发表于
更新日期
28.626 KB
2019 年 5 月 22 日 上午 1:27
2020 年 2 月 3 日 上午 2:48
4 项改动说明 ( 查看 )

订阅以下载
Compass Band with target indicator

描述
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 条留言
ibuildblasters 2023 年 6 月 20 日 上午 5:05 
oh, awesome. thank you!
sengir_vampire  [作者] 2023 年 6 月 20 日 上午 12:55 
Don't know what you mean with pure overlay for an HUD. You don't need to connect the Video-In at all.
ibuildblasters 2023 年 6 月 19 日 下午 6:50 
Would you make this a pure overlay for an HUD?
sengir_vampire  [作者] 2021 年 1 月 18 日 上午 1:17 
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 2021 年 1 月 17 日 下午 3:12 
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 2020 年 5 月 28 日 下午 12:46 
Thanks, works like a charm !
carn1vore 2020 年 2 月 3 日 上午 10:46 
Perfect. Thanks a lot. I love this hud.
sengir_vampire  [作者] 2020 年 2 月 3 日 上午 2:54 
I added a property to hide the heading number. The band is now compressed on smaller screens.
carn1vore 2020 年 2 月 2 日 下午 1:37 
I mean heading, excuse me.
carn1vore 2020 年 2 月 2 日 上午 11:58 
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.