Change the color of an individual HUD value element?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I know you can modify the color of the viewport HUD text, both for the label and the value(s) separately, but this changes the global prefs, for all HUD entries.
What I'd like to do is create a new HUD entry that displays the value readout in a custom variable color, to act as a kind of visual "heatmap". So, for example, if the value is 0-10 it's drawn in the standard global prefs white color, but if the value is 11-15 it's drawn in yellow, 16-20 drawn in orange and 21+ draws the text in red, something like this:
Does anyone know if this is even possible? There doesn't appear to be anything in the standard headsUpDisplay command flags to set a value colour (although I haven't tried anything funky like using HTML tags) and I'm guessing the HUD text items are viewport2.0 DrawManager elements rather than QT widgets, so there's no hacking widget stylesheets or anything..?