I am working on an idea for a new HUD.
I've searched the wiki. "OXP how-tos", "PLIST how-tos", and so forth.
Ok then simple question... is there a way within hud.plist to dynamically change the scanner (radar) color, based on the current status / condition (green, yellow, red)? Docs at the wiki DO imply that plists can act on conditions. I'd rather not use JS if I can help it.
Here is a snippit from a hud.plist:
Code: Select all
<dict><!-- scanner -->
<key>alpha</key>
<real>0.8</real>
<key>selector</key>
<string>drawScanner:</string>
<key>x</key>
<integer>1</integer>
<key>y</key>
<integer>-190</integer>
<key>height</key>
<real>62</real>
<key>width</key>
<real>182</real>
<key>rgb_color</key>
<array>
<real>0.5</real>
<real>1.0</real>
<real>0.5</real>
</array>
<key>rgb_color</key>
the ability to change between green, yellow, and red based on the current status condition.
- Thanks