diff options
author | Tony J. White <tjw@tjw.org> | 2007-03-21 22:02:57 +0000 |
---|---|---|
committer | Tony J. White <tjw@tjw.org> | 2007-03-21 22:02:57 +0000 |
commit | 426e5df1d31265646f193c5f345efcdd6fc93779 (patch) | |
tree | 3c12d42a4bd5e8f625d9f760aab9399678d67312 /ui/assets/alien/buildstat.cfg | |
parent | 81be9016078b1222a778005d409344f74bfcbd9b (diff) |
* new 2D status bars for buildings
* spawns never show the ¨no power¨ icon since they don't need reactor/overmind
* alien buildings that require the overmind to function will now show
the "no power¨ icon when the overmind is down
Diffstat (limited to 'ui/assets/alien/buildstat.cfg')
-rw-r--r-- | ui/assets/alien/buildstat.cfg | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ui/assets/alien/buildstat.cfg b/ui/assets/alien/buildstat.cfg new file mode 100644 index 00000000..11143022 --- /dev/null +++ b/ui/assets/alien/buildstat.cfg @@ -0,0 +1,37 @@ +// config for the building status indicators that builders see +// NOTES: +// * all characters (text/icons) are square +// * character size is derived totally from frameHeight and vertialMargin +// * healthPadding is NOT used compensated for in the margins + +frameShader "ui/assets/alien/buildstat/frame" +frameWidth 150 +frameHeight 30 + +healthPadding 2 +healthSevereColor 0.24 0.02 0.02 1 +healthHighColor 0.32 0.04 0.04 1 +healthElevatedColor 0.40 0.06 0.06 1 +healthGuardedColor 0.48 0.08 0.08 1 +healthLowColor 0.56 0.10 0.10 1 + +// this gets drawn over frame and health, but numbers and icons go on top of it +overlayShader "ui/assets/alien/buildstat/overlay" +overlayWidth 156 +overlayHeight 36 + +// PERCENT of frameHeight to use for top/bottom margin of icons/text +// value is for total of top and bottom margins +// valid values between 0.0 and 1.0 +verticalMargin 0.5 + +// number of CHARS worth of space that should be used for left/right margins +// value is for one side only +// char width is determined by frameHeight and verticalMargin +horizontalMargin 1.0 + +markedShader "ui/assets/alien/buildstat/mark" +noPowerShader "ui/assets/alien/buildstat/nopower" + +backColor 1.0 1.0 1.0 1 +foreColor 0.0 0.0 0.0 1 |