On my copy of BUG, I have reversed the meaning of the scoreboard power ratio from the default "us/them" where high numbers are better for you to "them/us" where low numbers are better for you. That method just makes more sense to me and makes AI-AI power comparisons easier for me. I would like to see support for this as a general option although a couple changes would need to be made. I can think of several ways to do it but the simplest from a code point of view is the following:
- Add an options screen checkbox for "Reverse Power Ratio" on the Scoreboard tab.
- Rename the current options for "Good Ratio Color" and "Good Cutoff" to "High Ratio Color" and "High Cutoff."
- Rename the current options for "Bad Ratio Color" and "Bad Cutoff" to "Low Ratio Color" and "Low Cutoff."
- When the reverse option is checked you could add something like the following after the current fPowerRatio calculation:
Code:
if (bReverseRatio):
if (fPowerRatio != 0):
fPowerRatio = 1/fPowerRatio
else:
fPowerRatio = 99.9
The rest of the code can basically stay the same as the comparisons still make sense if you interpret good as high and bad as low.
Advantages to this method are minimal code change and the contents of the cutoff menu options remain the same; only the labels for the options screen actually have to change. From a user standpoint, you just turn on the reverse option, tweak the cutoffs to your liking, and then switch the colors so that high is red and low is green (or whatever your prefs).
Disadvantages are that because the labels do change the options screen might be a little more confusing, especially when first experimenting with the reverse option. Perhaps some help or hover text could be worked in to remind that in the default situation high means good and in the reverse situation high means bad.
Also reading the Python might be a little confusing since "Good" in the variable and function names would really mean "High" and could actually be Bad when using the reverse ratio option.