From 808afa47052c3fc3f53df460cc3cb1b72477e51b Mon Sep 17 00:00:00 2001 From: RaysFire Date: Mon, 30 Dec 2013 18:06:40 -0600 Subject: Updated MvM hud (new progress bar/tank health bar) --- minmode/resource/ui/WaveStatusPanel.res | 32 +++++++++--- minmode/resource/ui/mvmvictorysplash.res | 56 ++++++++++++++++++++ minmode/resource/ui/tankprogressbar.res | 87 ++++++++++++++++++++++++++++++++ minmode/resource/ui/tankstatuspanel.res | 24 +++++++++ 4 files changed, 193 insertions(+), 6 deletions(-) create mode 100644 minmode/resource/ui/mvmvictorysplash.res create mode 100644 minmode/resource/ui/tankprogressbar.res create mode 100644 minmode/resource/ui/tankstatuspanel.res (limited to 'minmode') diff --git a/minmode/resource/ui/WaveStatusPanel.res b/minmode/resource/ui/WaveStatusPanel.res index b001ebb..904b443 100644 --- a/minmode/resource/ui/WaveStatusPanel.res +++ b/minmode/resource/ui/WaveStatusPanel.res @@ -90,16 +90,16 @@ "ControlName" "ScalableImagePanel" "fieldName" "ProgressBar" "xpos" "211" - "ypos" "20" + "ypos" "22" "zpos" "3" "wide" "178" - "tall" "10" + "tall" "7" "xpos_minmode" "211" - "ypos_minmode" "8" + "ypos_minmode" "10" "wide_minmode" "178" "visible" "1" "enabled" "1" - "image" "../HUD/tournament_panel_blu" + "image" "" "src_corner_height" "22" // pixels inside the image "src_corner_width" "22" @@ -120,8 +120,8 @@ "xpos_minmode" "210" "ypos_minmode" "7" "wide_minmode" "180" - "visible" "1" - "enabled" "1" + "visible" "0" + "enabled" "0" "image" "../HUD/tournament_panel_tan" "src_corner_height" "22" // pixels inside the image @@ -130,4 +130,24 @@ "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional "draw_corner_height" "0" } + + "ProgressBarBG2" + { + "ControlName" "ImagePanel" + "fieldName" "ProgressBarBG2" + "xpos" "211" + "ypos" "22" + "zpos" "2" + "wide" "178" + "tall" "7" + "xpos_minmode" "211" + "ypos_minmode" "10" + "wide_minmode" "178" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "Base Color" + + } } diff --git a/minmode/resource/ui/mvmvictorysplash.res b/minmode/resource/ui/mvmvictorysplash.res new file mode 100644 index 0000000..9406292 --- /dev/null +++ b/minmode/resource/ui/mvmvictorysplash.res @@ -0,0 +1,56 @@ +"Resource/UI/MvMVictoryPanel.res" +{ + "SplashContainer" + { + "ControlName" "EditablePanel" + "fieldName" "SplashContainer" + "xpos" "c-150" + "ypos" "c-20" + "wide" "300" + "tall" "300" + "visible" "1" + + "SplashBackground" + { + "ControlName" "ScalableImagePanel" + "fieldName" "SplashBackground" + "xpos" "99999" + "ypos" "99999" + "wide" "0" + "tall" "0" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "image" "../hud/ammo_red_bg" + } + + "SplashLabelShadow" + { + "ControlName" "CExLabel" + "fieldName" "SplashLabelShadow" + "font" "HudFontGiantBold" + "labelText" "Victory!" + "textAlignment" "center" + "xpos" "2" + "ypos" "14" + "wide" "300" + "tall" "50" + "fgcolor" "black" + } + + "SplashLabel" + { + "ControlName" "CExLabel" + "fieldName" "SplashLabel" + "font" "HudFontGiantBold" + "labelText" "Victory!" + "textAlignment" "center" + "xpos" "0" + "ypos" "12" + "wide" "300" + "tall" "50" + "fgcolor" "Base Color" + } + } +} diff --git a/minmode/resource/ui/tankprogressbar.res b/minmode/resource/ui/tankprogressbar.res new file mode 100644 index 0000000..f47b46a --- /dev/null +++ b/minmode/resource/ui/tankprogressbar.res @@ -0,0 +1,87 @@ +"Resource/UI/TankProgressBar.res" +{ + "TankProgressBar" + { + "ControlName" "CTankProgressBar" + "fieldName" "TankProgressBar" + "xpos" "0" + "ypos" "0" + "zpos" "3" + "wide" "190" + "tall" "18" + "visible" "0" + "enabled" "1" + } + + "TankImage" + { + "ControlName" "CTFImagePanel" + "fieldName" "TankImage" + "xpos" "5" + "ypos" "0" + "zpos" "3" + "wide" "18" + "tall" "18" + "visible" "1" + "enabled" "1" + "image" "../hud/leaderboard_class_tank" + "scaleImage" "1" + } + + "ProgressBar" + { + "ControlName" "ScalableImagePanel" + "fieldName" "ProgressBar" + "xpos" "30" + "ypos" "7" + "zpos" "2" + "wide" "153" + "tall" "5" + "visible" "1" + "enabled" "1" + "image" "" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "5" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "5" + } + + "ProgressBarBG" + { + "ControlName" "ScalableImagePanel" + "fieldName" "ProgressBarBG" + "xpos" "29" + "ypos" "3" + "zpos" "1" + "wide" "155" + "tall" "12" + "visible" "0" + "enabled" "0" + "image" "../HUD/tournament_panel_tan" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "5" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "5" + } + + "ProgressBarBG2" + { + "ControlName" "ImagePanel" + "fieldName" "ProgressBarBG2" + "xpos" "30" + "ypos" "7" + "zpos" "2" + "wide" "153" + "tall" "5" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "Base Color" + + } +} diff --git a/minmode/resource/ui/tankstatuspanel.res b/minmode/resource/ui/tankstatuspanel.res new file mode 100644 index 0000000..159c355 --- /dev/null +++ b/minmode/resource/ui/tankstatuspanel.res @@ -0,0 +1,24 @@ +"Resource/UI/TankStatusPanel.res" +{ + "Background" + { + "ControlName" "ScalableImagePanel" + "fieldName" "Background" + "xpos" "0" + "ypos" "0" + "zpos" "-1" + "wide" "0" + "tall" "0" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "image" "../HUD/tournament_panel_brown" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "5" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "5" + } +} -- cgit v1.2.3