From b5f72ccd69fcaec0fbc8af3d9b25089ed7d6c6d7 Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Sat, 9 Mar 2019 16:08:53 -0500 Subject: Updated HUD Files - Updated colors to use the schema instead of RGB codes - Removed unused or redundant code - Added shadows to certain elements - Corrected element names, reorganized some files - Pinned some elements to their parent elements - Fixed elements referencing non-existing colors or fonts --- resource/ui/SpectatorGUIHealth.res | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'resource/ui/SpectatorGUIHealth.res') diff --git a/resource/ui/SpectatorGUIHealth.res b/resource/ui/SpectatorGUIHealth.res index 0a440cd..0a972f9 100644 --- a/resource/ui/SpectatorGUIHealth.res +++ b/resource/ui/SpectatorGUIHealth.res @@ -42,10 +42,10 @@ "scaleImage" "1" } - "PlayerStatusHealthValue" + "PlayerStatusHealthValueSpec" { "ControlName" "CExLabel" - "fieldName" "PlayerStatusHealthValue" + "fieldName" "PlayerStatusHealthValueSpec" "xpos" "2" "ypos" "19" "zpos" "5" @@ -59,12 +59,12 @@ "textAlignment" "center" } - "PlayerStatusHealthValueBackground" + "PlayerStatusHealthValueSpecShadow" { "ControlName" "CExLabel" - "fieldName" "PlayerStatusHealthValueBackground" - "xpos" "3" - "ypos" "20" + "fieldName" "PlayerStatusHealthValueSpecShadow" + "xpos" "-1" + "ypos" "-1" "zpos" "5" "wide" "40" "tall" "10" @@ -72,8 +72,12 @@ "enabled" "1" "labelText" "%Health%" "font" "CerbeticaBold16" - "fgcolor" "0 0 0 255" "textAlignment" "center" + "fgcolor" "TransparentBlack" + + "pin_to_sibling" "PlayerStatusHealthValueSpec" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_TOPLEFT" } "PlayerStatusPlayerLevel" -- cgit v1.2.3 From eb9e3bf73092500579d32f998fce70fa265e6d1c Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Sat, 9 Mar 2019 16:17:28 -0500 Subject: Code Formatting --- resource/ui/SpectatorGUIHealth.res | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resource/ui/SpectatorGUIHealth.res') diff --git a/resource/ui/SpectatorGUIHealth.res b/resource/ui/SpectatorGUIHealth.res index 0a972f9..6dbc974 100644 --- a/resource/ui/SpectatorGUIHealth.res +++ b/resource/ui/SpectatorGUIHealth.res @@ -54,9 +54,9 @@ "visible" "1" "enabled" "1" "labelText" "%Health%" - "font" "CerbeticaBold16" - "fgcolor" "Health Normal" "textAlignment" "center" + "font" "CerbeticaBold16" + "fgcolor" "Health Normal" } "PlayerStatusHealthValueSpecShadow" @@ -71,8 +71,8 @@ "visible" "1" "enabled" "1" "labelText" "%Health%" - "font" "CerbeticaBold16" "textAlignment" "center" + "font" "CerbeticaBold16" "fgcolor" "TransparentBlack" "pin_to_sibling" "PlayerStatusHealthValueSpec" -- cgit v1.2.3 From fdfa8d63e4eab65b1ac7087702ff576df47b2c10 Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Sun, 10 Mar 2019 20:32:58 -0400 Subject: Playtesting Fixes - Fixed the floating health ID not appearing --- resource/ui/SpectatorGUIHealth.res | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'resource/ui/SpectatorGUIHealth.res') diff --git a/resource/ui/SpectatorGUIHealth.res b/resource/ui/SpectatorGUIHealth.res index 6dbc974..611538d 100644 --- a/resource/ui/SpectatorGUIHealth.res +++ b/resource/ui/SpectatorGUIHealth.res @@ -42,10 +42,10 @@ "scaleImage" "1" } - "PlayerStatusHealthValueSpec" + "PlayerStatusHealthValue" { "ControlName" "CExLabel" - "fieldName" "PlayerStatusHealthValueSpec" + "fieldName" "PlayerStatusHealthValue" "xpos" "2" "ypos" "19" "zpos" "5" @@ -59,10 +59,10 @@ "fgcolor" "Health Normal" } - "PlayerStatusHealthValueSpecShadow" + "PlayerStatusHealthValueShadow" { "ControlName" "CExLabel" - "fieldName" "PlayerStatusHealthValueSpecShadow" + "fieldName" "PlayerStatusHealthValueShadow" "xpos" "-1" "ypos" "-1" "zpos" "5" @@ -75,7 +75,7 @@ "font" "CerbeticaBold16" "fgcolor" "TransparentBlack" - "pin_to_sibling" "PlayerStatusHealthValueSpec" + "pin_to_sibling" "PlayerStatusHealthValue" "pin_corner_to_sibling" "PIN_TOPLEFT" "pin_to_sibling_corner" "PIN_TOPLEFT" } -- cgit v1.2.3