While doing some minor tweaking to the CombatMFD.oxz found a reference to the combatSLBar which allows your HUD to show a gauge that displays the service level (when the next maintenance overhaul is needed) for your ship. Got my head around how to make the actual gauge and put it into my Coluber HUD (position, size, colors, etc.) but cannot figure out how to get the hud.plist and the script.js to recognize one another and talk back and forth to actually get the gauge working and updating itself. Always wanted a status update on my ship's service level. Found it odd that Maintenance Overhauls come as a surprise when you dock given the technical sophistication of the ships in the game.
Went through the function setCustomHUDDial(key : String, value : Value)
for the script.js and the drawCustomBar: - a number between 0 and 1
for the hud.plist but any combination of things tried did not work.
In the script.js is the function setCustomHUDDial(key : String, value : Value)
a this., a var., an if., or just a function? The (key : String, value : Value)
part made some sense with the key being a number between 0 and 1 and the string referencing combatSLBar but what are the entries for (..., value : Value)
My other guess for the hud.plist drawCustomBar: - a number between 0 and 1
drawCustomBar: = <key#>;
or like this:
<?something?> = drawCustomBar: <key#>;