Well the title says it all, I was using dhtv587's HUD 1p and I wanted to be able to turn it off (my next build will have the HUD following your line of sight, a bit like the F35). Also would the same method work for radar, though I might just keep it like that for spatial awareness.
Thank you PlanariaLabs!
Proof it works
@PlanariaLab
Well the hud was working fine before i tried to modify it. I will download it again and try again but if that doesnt work I will use the hud and a smaller HMD. Thanks for the help!
@ToeTips
If you use the hud as you downloaded it and have the same problem, the problem is on the hud side, if not, there is either a problem with the code you added or somewhere in the editing process.
@PlanariaLab
Like without adding anything to the HUD?
Maybe you should check to see if you get the same problem once in the default state with no editing at all?
@PlanariaLab
Still glitches out. It might be from the HUD tbh.
@ToeTips
yes, beginning of code.
I put it in the same place and it still glitches
Should I perhaps add it to the beginning of the code?
@PlanariaLab
The same place as the <voffset=5.5px> ?
Try adding it to the first line.
{Activate1?"":"<voffset=-1200px>."}
@PlanariaLab
Sorry for the ping but I had tried this method for another HUD but it keeps glitching out
The one in the Top middle
I replaced <voffset=12px> with <voffset=5.5px> but it still glitches the HUD. Is there any fix or do I need to find a new way to hide the HUD?
@PlanariaLab
It works! Thank you very much!
If a text label has a character that extends beyond the bottom edge of the label area, all subsequent characters are considered to extend beyond the label area and drawing is canceled.
The previous comment uses <voffset> to shift the first character out of the label area and cancels the drawing of all characters.
This is a bit aggressive, but replace <voffset=12px> in the first line of the label with {Activate1?"<voffset=12px>":"<voffset=-1200px>"}.
(The Activate1 part is the activation condition, and the -1200 part can be any appropriately large number.)
@SilverStar
Okay what is rich text?
@Hiimakeplanes
😅
Bro wants to perform actual magic
@ToeTips Change color depending on input, using rich text
Send me the rotator thing and I’ll make it dissapear
@SilverStar
Exactly why I'm asking, I ain't good with that math magic
@Hiimakeplanes
Its already on a rotator and the rotator is rotating two labels
Some FT
Idk just add a piston or something to pull the hud down
PlanariaLab so sorry for pinging you, it wasn't your HUD I wanted to modify. Sorry for the unnecessary ping🙏