Profile image

1Parts HUD

76.4k PlanariaLab  11 months ago
16,275 downloads

current version : 1.3.1

Be sure to read the instructions before using the product.

By exploiting the variable function and text labels, it is possible to create a HUD with a certain level of functionality using only one part.
hudtest

---How to use---

Place this HUD (TextLabel) directly in front of the view point (camera or cockpit), and copy the variables TGTPOS_Local_X, TGTPOS_Local_Y, and TGTPOS_Local_Z from this build, and set the newly defined variable HudDistance to an appropriate value.
If you don't know about variables, plrase read back the SP1.11 release notes

Caution, changing the height or width of the label is not recommended as it may cause the drawing to collapse.

---Variables list---

  • HudDistance
    This is used to properly position the TD BOX and other displays.
    Enter the distance between the HUD and the view point.
    If you have changed the scale of the HUD
    distance/scale.

Probably won't be using it, but You can also make the distance variable.
HUD_test

  • TGTPOSLocal(X/Y/Z)
    The relative coordinates of the player and the target.
    Local is so named because the coordinate system follows the local coordinate system based on the player's direction.
    Basically, you don't need to change anything, just copy and paste what is stored in this build.

---Display contents---

I'm not familiar with the terminology, so sorry if I'm wrong.
h

You do not need permission to use it in your work.
Also, a credit will make the author happy, but is not required.

Spotlights

General Characteristics

  • Successors 65 airplane(s) +1063 bonus
  • Created On Windows
  • Wingspan 4.1ft (1.3m)
  • Length 8.2ft (2.5m)
  • Height 4.5ft (1.4m)
  • Empty Weight 551lbs (250kg)
  • Loaded Weight 551lbs (250kg)

Performance

  • Wing Loading N/A
  • Wing Area 0.0ft2 (0.0m2)
  • Drag Points 127

Parts

  • Number of Parts 2
  • Control Surfaces 0
  • Performance Cost 31
  • Log in to leave a comment
  • Profile image
    76.4k PlanariaLab

    Please read the explanation once before asking a question. Writing the same reply over and over is very tiring

    Pinned 11 months ago
  • Profile image

    Why does the hud just say text and not displaying itself ?

    7 days ago
  • Profile image

    How do you set this in other builds?

    24 days ago
  • Profile image
    2,701 Lake

    @Imbad It's because of the cockpit...

    +1 27 days ago
  • Profile image

    To everyone who doesn't understand what to do: you add the label part to sub-assemblies and then put it on your own build. You can make it smaller by changing part scale in XML propeties. THERE ARE VARIABLES however, that the HUD label uses, and they are NOT ATTACHED to it. So you open THIS build, open Variables section using the button at the bottom of the screen, and copy everything from there. Then you go to YOUR build, put the label part in place, and then open Variables section, and PASTE everything you copied previously.

    If your TD Box (the square that shows the target) is off place, you should adjust HudDistance.

    +2 one month ago
  • Profile image

    Very useful, thank you!

    one month ago
  • Profile image
    150 DXRD

    Really helpful thank you!

    one month ago
  • Profile image
    9,585 ManfredaoBR

    I read how to use it several times, but I still didn't understand, I should just copy and paste those variables into the text piece and that's it?

    +6 one month ago
  • Profile image

    Very nice.. I like how he said 1 part(s) as in 2 or more.. Also when I put it into my subs it turns into errors but I found a fix.. Go into overload copy all the code/text from the original 'aircraft' then when you pull it out of subs go into overload select all delete then paste the code/text into the text variable.

    +4 2 months ago
  • Profile image

    When entering the distance between the HUD and view point, what format should we follow when we input the expression?

    +2 2 months ago
  • Profile image

    Respect dude me to

    +1 2 months ago
  • Profile image
    2,531 Neruneten21

    Display Contents: G-level 27.9 lol

    +4 2 months ago
  • Profile image

    Bạn có thể hướng dẫn cách viết phần mềm được không cho cộng đồng biết nếu có thể cảm ơn bạn

    +1 3 months ago
  • Profile image

    @PlanariaLab
    I have very little experience with funky tree, what am I meant to do with the TGTPOSLocal(X/Y/Z)?

    +2 3 months ago
  • Profile image
    1,334 Khanhlam

    @YubukiShimada Try to add at least once then save.

    +1 3 months ago
  • Profile image

    Send help! I'm an idiot who has almost no knowledge of funky tree!
    Do you put something in place of TGTPOSLocalX/Y/Z or do I put TGTPOSLocalX/Y/Z in place of something else?

    +6 3 months ago
  • Profile image
    364 Cir8

    I still don't know how to adjust the huddistance and the TD

    +5 4 months ago
  • Profile image

    this is making me insane

    +1 4 months ago
  • Profile image
    392 Bayu1942

    @YubukiShimada yeah me too

    +1 4 months ago
  • Profile image
    0 Imbad

    @GorillaGuerrilla meh kinda

    +1 4 months ago
  • Profile image
    0 Imbad

    Lier there's two parts

    +1 4 months ago
  • Profile image
    22.2k MrCOPTY

    Finely They Are A Real HUD Out Of Mods In Simple Planes,Thx @PlanariaLab

    +2 5 months ago
  • Profile image

    This is nice, I will add it to my planes

    +1 5 months ago
  • Profile image

    I like it

    +2 5 months ago
  • Profile image

    When I try copying the variables, once I click save it says:
    "Variable Error: Syntax Error."

    +7 5 months ago
  • Log in to see more comments