From d056668ddf188b7387895497389795c1d6220d36 Mon Sep 17 00:00:00 2001 From: MrConeMan Date: Mon, 2 Dec 2024 12:46:17 -0500 Subject: [PATCH 1/3] Update pvprankpanel.res This fixes #302 Tested on all resolutions below 16:9 I'm no expert in hud making nor did I ever modify tf2's hud in my life but any problems that occur from this change please go to someone else about this. --- resource/ui/pvprankpanel.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/ui/pvprankpanel.res b/resource/ui/pvprankpanel.res index 4d45187..e9391d3 100644 --- a/resource/ui/pvprankpanel.res +++ b/resource/ui/pvprankpanel.res @@ -53,12 +53,12 @@ "ypos" "cs-0.5+2" "zpos" "0" "wide" "o1" - "tall" "62" + "tall" "90" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" - "fov" "45" + "fov" "60" "proportionaltoparent" "1" if_mini From 5c6bedc333c44dda4d82f6bb930369819670f145 Mon Sep 17 00:00:00 2001 From: Igor Date: Tue, 10 Dec 2024 20:32:05 -0500 Subject: [PATCH 2/3] Tweaked change to fix #304 --- resource/ui/pvpcomprankpanel.res | 96 -------------------------------- resource/ui/pvprankpanel.res | 1 - 2 files changed, 97 deletions(-) delete mode 100644 resource/ui/pvpcomprankpanel.res diff --git a/resource/ui/pvpcomprankpanel.res b/resource/ui/pvpcomprankpanel.res deleted file mode 100644 index b82db9f..0000000 --- a/resource/ui/pvpcomprankpanel.res +++ /dev/null @@ -1,96 +0,0 @@ -#base "PvPRankPanel.res" - -"Resource/UI/PvPRankPanel.res" -{ - "ModelContainer" - { - "RankModel" - { - if_mini - { - "xpos" "cs-0.5-120" - "fov" "45" - } - } - - "MedalButton" - { - "ypos" "cs-0.5-10" - "wide" "75" - "tall" "85" - } - } - - "BGPanel" - { - if_mini - { - "wide" "270" - "tall" "60" - } - - "PlacementLabel" - { - if_mini - { - "ypos" "17" - } - } - - "DescLine1" - { - if_mini - { - "xpos" "cs-0.5" - "ypos" "35" - - "textAlignment" "center" - - "fonts" - { - "0" "HudFontSmallBold" - "1" "StorePromotionsTitle" - "2" "FontStorePrice" - } - } - } - - "StatsContainer" - { - "visible" "1" - - if_mini - { - "xpos" "cs-0.5" - "ypos" "25" - } - - "XPBar" - { - "ypos" "20" - "alpha" "100" - - "CurrentXPLabel" - { - "visible" "1" - - if_mini - { - "xpos" "cs-0.5" - "textAlignment" "center" - } - } - - "NextLevelXPLabel" - { - "visible" "0" - } - - "ProgressBarsContainer" - { - "visible" "0" - } - } - } - } -} \ No newline at end of file diff --git a/resource/ui/pvprankpanel.res b/resource/ui/pvprankpanel.res index e9391d3..2767d0e 100644 --- a/resource/ui/pvprankpanel.res +++ b/resource/ui/pvprankpanel.res @@ -67,7 +67,6 @@ "ypos" "cs-0.5" "wide" "200" "tall" "200" - "fov" "70" } "paintbackground" "0" From 2000657e85c4cf584d1fd4920e5cb81008d8af81 Mon Sep 17 00:00:00 2001 From: Igor Date: Sun, 22 Dec 2024 16:21:21 -0500 Subject: [PATCH 3/3] Revert "Tweaked change to fix #304" This reverts commit 5c6bedc333c44dda4d82f6bb930369819670f145. --- resource/ui/pvpcomprankpanel.res | 96 ++++++++++++++++++++++++++++++++ resource/ui/pvprankpanel.res | 1 + 2 files changed, 97 insertions(+) create mode 100644 resource/ui/pvpcomprankpanel.res diff --git a/resource/ui/pvpcomprankpanel.res b/resource/ui/pvpcomprankpanel.res new file mode 100644 index 0000000..b82db9f --- /dev/null +++ b/resource/ui/pvpcomprankpanel.res @@ -0,0 +1,96 @@ +#base "PvPRankPanel.res" + +"Resource/UI/PvPRankPanel.res" +{ + "ModelContainer" + { + "RankModel" + { + if_mini + { + "xpos" "cs-0.5-120" + "fov" "45" + } + } + + "MedalButton" + { + "ypos" "cs-0.5-10" + "wide" "75" + "tall" "85" + } + } + + "BGPanel" + { + if_mini + { + "wide" "270" + "tall" "60" + } + + "PlacementLabel" + { + if_mini + { + "ypos" "17" + } + } + + "DescLine1" + { + if_mini + { + "xpos" "cs-0.5" + "ypos" "35" + + "textAlignment" "center" + + "fonts" + { + "0" "HudFontSmallBold" + "1" "StorePromotionsTitle" + "2" "FontStorePrice" + } + } + } + + "StatsContainer" + { + "visible" "1" + + if_mini + { + "xpos" "cs-0.5" + "ypos" "25" + } + + "XPBar" + { + "ypos" "20" + "alpha" "100" + + "CurrentXPLabel" + { + "visible" "1" + + if_mini + { + "xpos" "cs-0.5" + "textAlignment" "center" + } + } + + "NextLevelXPLabel" + { + "visible" "0" + } + + "ProgressBarsContainer" + { + "visible" "0" + } + } + } + } +} \ No newline at end of file diff --git a/resource/ui/pvprankpanel.res b/resource/ui/pvprankpanel.res index 2767d0e..e9391d3 100644 --- a/resource/ui/pvprankpanel.res +++ b/resource/ui/pvprankpanel.res @@ -67,6 +67,7 @@ "ypos" "cs-0.5" "wide" "200" "tall" "200" + "fov" "70" } "paintbackground" "0"