From a55efae9a3a9271f01a65c88faf6f27513e0d284 Mon Sep 17 00:00:00 2001 From: RaysFire Date: Sat, 29 Dec 2012 16:18:24 -0600 Subject: MvM fixes and updated tournament spec hud on 4x3 resolutions. --- 4_by_3_ratio/MvMScoreboard.res | 434 +++++++++++++-------------- 4_by_3_ratio/SpectatorTournament.res | 40 +-- minmode/4_by_3_ratio/MvMScoreboard.res | 4 +- minmode/4_by_3_ratio/SpectatorTournament.res | 40 +-- 4 files changed, 227 insertions(+), 291 deletions(-) diff --git a/4_by_3_ratio/MvMScoreboard.res b/4_by_3_ratio/MvMScoreboard.res index af7ac67..9508fdb 100644 --- a/4_by_3_ratio/MvMScoreboard.res +++ b/4_by_3_ratio/MvMScoreboard.res @@ -1,217 +1,217 @@ -"Resource/UI/MvMScoreboard.res" -{ - "WaveStatusPanel" - { - "ControlName" "CWaveStatusPanel" - "fieldName" "WaveStatusPanel" - "xpos" "c-130" - "ypos" "8" - "zpos" "0" - "wide" "400" - "tall" "67" - "visible" "1" - "enabled" "1" - - "verbose" "1" - } - "ScoreboardBackground" - { - "ControlName" "ImagePanel" - "fieldName" "ScoreboardBackground" - "xpos" "218" - "ypos" "78" - "zpos" "-1" - "wide" "445" - "tall" "288" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "fillcolor" "0 0 0 100" - } - "PopFileLabel" - { - "ControlName" "CExLabel" - "fieldName" "PopFileLabel" - "font" "Cerbetica24" - "labelText" "%popfile%" - "textAlignment" "center" - "xpos" "188" - "ypos" "c150" - "wide" "290" - "tall" "20" - "fgcolor" "tanlight" - } - - "DifficultyContainer" - { - "ControlName" "EditablePanel" - "fieldName" "DifficultyContainer" - "xpos" "450" - "ypos" "c150" - "wide" "150" - "tall" "50" - "visible" "1" - - "DifficultyLabel" - { - "ControlName" "CExLabel" - "fieldName" "DifficultyLabel" - "font" "Cerbetica24" - "labelText" "#TF_MvM_Difficulty" - "textAlignment" "center" - "xpos" "0" - "ypos" "-6" - "wide" "150" - "tall" "30" - "fgcolor" "tanlight" - } - - "DifficultyValue" - { - "ControlName" "CExLabel" - "fieldName" "DifficultyValue" - "font" "Cerbetica16" - "labelText" "%difficultyvalue%" - "textAlignment" "center" - "xpos" "0" - "ypos" "16" - "wide" "150" - "tall" "20" - "fgcolor" "tanlight" - } - } - - "PlayerListBackground" - { - "ControlName" "ScalableImagePanel" - "fieldName" "PlayerListBackground" - "xpos" "9999" - "ypos" "9999" - "zpos" "-1" - "wide" "400" - "tall" "150" - "visible" "1" - "enabled" "1" - "image" "../hud/tournament_panel_brown" - - "scaleImage" "1" - - "src_corner_height" "22" // pixels inside the image - "src_corner_width" "22" - - "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional - "draw_corner_height" "0" - } - - "MvMPlayerList" - { - "ControlName" "SectionedListPanel" - "fieldName" "MvMPlayerList" - "xpos" "c-100" - "ypos" "79" - "wide" "420" - "tall" "150" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "autoresize" "3" - "linespacing" "22" - "textcolor" "White" - "font" "Cerbetica24" - } - - "CreditStatsContainer" - { - "ControlName" "EditablePanel" - "fieldName" "CreditStatsContainer" - "xpos" "230" - "ypos" "230" - "wide" "400" - "tall" "205" - "visible" "1" - - "CreditStatsBackground" - { - "ControlName" "ScalableImagePanel" - "fieldName" "CreditStatsBackground" - "xpos" "9999" - "ypos" "9999" - "zpos" "-1" - "wide" "400" - "tall" "135" - "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" "0" // screen size of the corners ( and sides ), proportional - "draw_corner_height" "0" - } - - "CreditsLabel" - { - "ControlName" "CExLabel" - "fieldName" "CreditsLabel" - "font" "Cerbetica16" - "labelText" "#TF_PVE_Currency" - "textAlignment" "center" - "xpos" "9999" - "ypos" "9999" - "wide" "200" - "fgcolor" "tanlight" - } - - "PreviousWaveCreditInfoPanel" - { - "ControlName" "CCreditDisplayPanel" - "fieldName" "PreviousWaveCreditInfoPanel" - "xpos" "8" - "ypos" "30" - "wide" "184" - "tall" "60" - "wide" "200" - "visible" "1" - } - - "TotalGameCreditInfoPanel" - { - "ControlName" "CCreditDisplayPanel" - "fieldName" "TotalGameCreditInfoPanel" - "xpos" "208" - "ypos" "30" - "wide" "184" - "tall" "60" - "wide" "200" - "visible" "1" - } - - "PreviousWaveCreditSpendPanel" - { - "ControlName" "CCreditSpendPanel" - "fieldName" "PreviousWaveCreditSpendPanel" - "xpos" "8" - "ypos" "75" - "wide" "184" - "tall" "60" - "wide" "200" - "visible" "1" - } - - "TotalGameCreditSpendPanel" - { - "ControlName" "CCreditSpendPanel" - "fieldName" "TotalGameCreditSpendPanel" - "xpos" "208" - "ypos" "75" - "wide" "184" - "tall" "60" - "wide" "200" - "visible" "1" - } - } -} +"Resource/UI/MvMScoreboard.res" +{ + "WaveStatusPanel" + { + "ControlName" "CWaveStatusPanel" + "fieldName" "WaveStatusPanel" + "xpos" "c-130" + "ypos" "8" + "zpos" "0" + "wide" "400" + "tall" "67" + "visible" "1" + "enabled" "1" + + "verbose" "1" + } + "ScoreboardBackground" + { + "ControlName" "ImagePanel" + "fieldName" "ScoreboardBackground" + "xpos" "c-102" + "ypos" "78" + "zpos" "-1" + "wide" "445" + "tall" "288" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 100" + } + "PopFileLabel" + { + "ControlName" "CExLabel" + "fieldName" "PopFileLabel" + "font" "Cerbetica24" + "labelText" "%popfile%" + "textAlignment" "center" + "xpos" "188" + "ypos" "c150" + "wide" "290" + "tall" "20" + "fgcolor" "tanlight" + } + + "DifficultyContainer" + { + "ControlName" "EditablePanel" + "fieldName" "DifficultyContainer" + "xpos" "450" + "ypos" "c150" + "wide" "150" + "tall" "50" + "visible" "1" + + "DifficultyLabel" + { + "ControlName" "CExLabel" + "fieldName" "DifficultyLabel" + "font" "Cerbetica24" + "labelText" "#TF_MvM_Difficulty" + "textAlignment" "center" + "xpos" "0" + "ypos" "-6" + "wide" "150" + "tall" "30" + "fgcolor" "tanlight" + } + + "DifficultyValue" + { + "ControlName" "CExLabel" + "fieldName" "DifficultyValue" + "font" "Cerbetica16" + "labelText" "%difficultyvalue%" + "textAlignment" "center" + "xpos" "0" + "ypos" "16" + "wide" "150" + "tall" "20" + "fgcolor" "tanlight" + } + } + + "PlayerListBackground" + { + "ControlName" "ScalableImagePanel" + "fieldName" "PlayerListBackground" + "xpos" "9999" + "ypos" "9999" + "zpos" "-1" + "wide" "400" + "tall" "150" + "visible" "1" + "enabled" "1" + "image" "../hud/tournament_panel_brown" + + "scaleImage" "1" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "0" + } + + "MvMPlayerList" + { + "ControlName" "SectionedListPanel" + "fieldName" "MvMPlayerList" + "xpos" "c-100" + "ypos" "79" + "wide" "420" + "tall" "150" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "autoresize" "3" + "linespacing" "22" + "textcolor" "White" + "font" "Cerbetica24" + } + + "CreditStatsContainer" + { + "ControlName" "EditablePanel" + "fieldName" "CreditStatsContainer" + "xpos" "c-90" + "ypos" "230" + "wide" "400" + "tall" "205" + "visible" "1" + + "CreditStatsBackground" + { + "ControlName" "ScalableImagePanel" + "fieldName" "CreditStatsBackground" + "xpos" "9999" + "ypos" "9999" + "zpos" "-1" + "wide" "400" + "tall" "135" + "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" "0" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "0" + } + + "CreditsLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditsLabel" + "font" "Cerbetica16" + "labelText" "#TF_PVE_Currency" + "textAlignment" "center" + "xpos" "9999" + "ypos" "9999" + "wide" "200" + "fgcolor" "tanlight" + } + + "PreviousWaveCreditInfoPanel" + { + "ControlName" "CCreditDisplayPanel" + "fieldName" "PreviousWaveCreditInfoPanel" + "xpos" "8" + "ypos" "30" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + + "TotalGameCreditInfoPanel" + { + "ControlName" "CCreditDisplayPanel" + "fieldName" "TotalGameCreditInfoPanel" + "xpos" "208" + "ypos" "30" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + + "PreviousWaveCreditSpendPanel" + { + "ControlName" "CCreditSpendPanel" + "fieldName" "PreviousWaveCreditSpendPanel" + "xpos" "8" + "ypos" "75" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + + "TotalGameCreditSpendPanel" + { + "ControlName" "CCreditSpendPanel" + "fieldName" "TotalGameCreditSpendPanel" + "xpos" "208" + "ypos" "75" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + } +} diff --git a/4_by_3_ratio/SpectatorTournament.res b/4_by_3_ratio/SpectatorTournament.res index 4580b3c..dc08f13 100644 --- a/4_by_3_ratio/SpectatorTournament.res +++ b/4_by_3_ratio/SpectatorTournament.res @@ -128,15 +128,7 @@ "labelText" "%playername%" "textAlignment" "west" "fgcolor" "235 226 202 255" - - if_mvm - { - "xpos" "0" - "ypos" "25" - "wide" "55" - "textAlignment" "center" - "font" "PlayerPanelPlayerName" - } + } "classimage" @@ -153,14 +145,6 @@ "team1_image" "../hud/class_scoutred" "scaleImage" "1" - if_mvm - { - "xpos" "5" - "ypos" "4" - "wide" "20" - "tall" "20" - "image" "../vgui/hud_connecting" - } } "classimagebg" @@ -265,12 +249,8 @@ "visible" "1" "labelText" "%respawntime%" "textAlignment" "west" - "fgcolor" "160 32 240 255" + "fgcolor" "255 20 175 255" - if_mvm - { - "ypos" "17" - } } "respawntimeBG" { @@ -289,10 +269,7 @@ "textAlignment" "west" "fgcolor" "TransparentBlack" - if_mvm - { - "ypos" "17" - } + } "healthcover" { @@ -311,10 +288,6 @@ "textAlignment" "west" "fgcolor" "15 15 15 255" - if_mvm - { - "ypos" "17" - } } "chargeamount" @@ -370,11 +343,6 @@ //"fgcolor" "235 226 202 255" } - if_mvm - { - "wide" "55" - "tall" "35" - } } if_mvm @@ -384,7 +352,7 @@ "wide" "500" "tall" "180" - "team1_player_delta_x" "52" + "team1_player_delta_x" "0" } } diff --git a/minmode/4_by_3_ratio/MvMScoreboard.res b/minmode/4_by_3_ratio/MvMScoreboard.res index 62dceea..9508fdb 100644 --- a/minmode/4_by_3_ratio/MvMScoreboard.res +++ b/minmode/4_by_3_ratio/MvMScoreboard.res @@ -18,7 +18,7 @@ { "ControlName" "ImagePanel" "fieldName" "ScoreboardBackground" - "xpos" "218" + "xpos" "c-102" "ypos" "78" "zpos" "-1" "wide" "445" @@ -125,7 +125,7 @@ { "ControlName" "EditablePanel" "fieldName" "CreditStatsContainer" - "xpos" "230" + "xpos" "c-90" "ypos" "230" "wide" "400" "tall" "205" diff --git a/minmode/4_by_3_ratio/SpectatorTournament.res b/minmode/4_by_3_ratio/SpectatorTournament.res index 4580b3c..dc08f13 100644 --- a/minmode/4_by_3_ratio/SpectatorTournament.res +++ b/minmode/4_by_3_ratio/SpectatorTournament.res @@ -128,15 +128,7 @@ "labelText" "%playername%" "textAlignment" "west" "fgcolor" "235 226 202 255" - - if_mvm - { - "xpos" "0" - "ypos" "25" - "wide" "55" - "textAlignment" "center" - "font" "PlayerPanelPlayerName" - } + } "classimage" @@ -153,14 +145,6 @@ "team1_image" "../hud/class_scoutred" "scaleImage" "1" - if_mvm - { - "xpos" "5" - "ypos" "4" - "wide" "20" - "tall" "20" - "image" "../vgui/hud_connecting" - } } "classimagebg" @@ -265,12 +249,8 @@ "visible" "1" "labelText" "%respawntime%" "textAlignment" "west" - "fgcolor" "160 32 240 255" + "fgcolor" "255 20 175 255" - if_mvm - { - "ypos" "17" - } } "respawntimeBG" { @@ -289,10 +269,7 @@ "textAlignment" "west" "fgcolor" "TransparentBlack" - if_mvm - { - "ypos" "17" - } + } "healthcover" { @@ -311,10 +288,6 @@ "textAlignment" "west" "fgcolor" "15 15 15 255" - if_mvm - { - "ypos" "17" - } } "chargeamount" @@ -370,11 +343,6 @@ //"fgcolor" "235 226 202 255" } - if_mvm - { - "wide" "55" - "tall" "35" - } } if_mvm @@ -384,7 +352,7 @@ "wide" "500" "tall" "180" - "team1_player_delta_x" "52" + "team1_player_delta_x" "0" } } -- cgit v1.2.3