From e5ff1d3d4bc01d98b12d05f9cb85457c7f15c424 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Tue, 6 Aug 2019 02:17:23 +0100 Subject: first commit --- ui/assets/alien/buildstat.cfg | 37 ++++++++++++++++++++++++++++++++ ui/assets/alien/buildstat/frame.tga | Bin 0 -> 1724 bytes ui/assets/alien/buildstat/mark.tga | Bin 0 -> 14180 bytes ui/assets/alien/buildstat/nopower.tga | Bin 0 -> 21285 bytes ui/assets/alien/buildstat/overlay.tga | Bin 0 -> 25069 bytes ui/assets/human/buildstat.cfg | 39 ++++++++++++++++++++++++++++++++++ ui/assets/human/buildstat/frame.tga | Bin 0 -> 1724 bytes ui/assets/human/buildstat/mark.tga | Bin 0 -> 14180 bytes ui/assets/human/buildstat/nopower.tga | Bin 0 -> 19244 bytes 9 files changed, 76 insertions(+) create mode 100644 ui/assets/alien/buildstat.cfg create mode 100644 ui/assets/alien/buildstat/frame.tga create mode 100644 ui/assets/alien/buildstat/mark.tga create mode 100644 ui/assets/alien/buildstat/nopower.tga create mode 100644 ui/assets/alien/buildstat/overlay.tga create mode 100644 ui/assets/human/buildstat.cfg create mode 100644 ui/assets/human/buildstat/frame.tga create mode 100644 ui/assets/human/buildstat/mark.tga create mode 100644 ui/assets/human/buildstat/nopower.tga (limited to 'ui/assets') diff --git a/ui/assets/alien/buildstat.cfg b/ui/assets/alien/buildstat.cfg new file mode 100644 index 0000000..1114302 --- /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 diff --git a/ui/assets/alien/buildstat/frame.tga b/ui/assets/alien/buildstat/frame.tga new file mode 100644 index 0000000..3b1e1f5 Binary files /dev/null and b/ui/assets/alien/buildstat/frame.tga differ diff --git a/ui/assets/alien/buildstat/mark.tga b/ui/assets/alien/buildstat/mark.tga new file mode 100644 index 0000000..ef9123c Binary files /dev/null and b/ui/assets/alien/buildstat/mark.tga differ diff --git a/ui/assets/alien/buildstat/nopower.tga b/ui/assets/alien/buildstat/nopower.tga new file mode 100644 index 0000000..a0c66c2 Binary files /dev/null and b/ui/assets/alien/buildstat/nopower.tga differ diff --git a/ui/assets/alien/buildstat/overlay.tga b/ui/assets/alien/buildstat/overlay.tga new file mode 100644 index 0000000..64a2358 Binary files /dev/null and b/ui/assets/alien/buildstat/overlay.tga differ diff --git a/ui/assets/human/buildstat.cfg b/ui/assets/human/buildstat.cfg new file mode 100644 index 0000000..9c192de --- /dev/null +++ b/ui/assets/human/buildstat.cfg @@ -0,0 +1,39 @@ +// 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/human/buildstat/frame" +frameWidth 150 +frameHeight 30 + +healthPadding 2 + +// Homeworld Security Advisory System +healthSevereColor 0.83 0.03 0.02 1 +healthHighColor 0.84 0.48 0.03 1 +healthElevatedColor 0.82 0.82 0.00 1 +healthGuardedColor 0.19 0.65 0.00 1 +healthLowColor 0.27 0.49 0.55 1 + +// this gets drawn over frame and health, but numbers and icons go on top of it +overlayShader "" +overlayWidth 160 +overlayHeight 40 + +// 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/human/buildstat/mark" +noPowerShader "ui/assets/human/buildstat/nopower" + +backColor 1.0 1.0 1.0 1 +foreColor 0.0 0.0 0.0 1 diff --git a/ui/assets/human/buildstat/frame.tga b/ui/assets/human/buildstat/frame.tga new file mode 100644 index 0000000..3b1e1f5 Binary files /dev/null and b/ui/assets/human/buildstat/frame.tga differ diff --git a/ui/assets/human/buildstat/mark.tga b/ui/assets/human/buildstat/mark.tga new file mode 100644 index 0000000..ef9123c Binary files /dev/null and b/ui/assets/human/buildstat/mark.tga differ diff --git a/ui/assets/human/buildstat/nopower.tga b/ui/assets/human/buildstat/nopower.tga new file mode 100644 index 0000000..4d70384 Binary files /dev/null and b/ui/assets/human/buildstat/nopower.tga differ -- cgit