From 2f8fa12fa1aebc6a5d798a3ddcb8a8b3d724a124 Mon Sep 17 00:00:00 2001 From: Beventar <247670086+Beventar@users.noreply.github.com> Date: Wed, 7 Jan 2026 15:46:46 +0100 Subject: [PATCH 1/7] Upload base_notification, notify_passtime_howto --- .../ui/notifications/base_notification.res | 52 +++++++++++++++++++ .../notifications/notify_passtime_howto.res | 52 +++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 resource/ui/notifications/base_notification.res create mode 100644 resource/ui/notifications/notify_passtime_howto.res diff --git a/resource/ui/notifications/base_notification.res b/resource/ui/notifications/base_notification.res new file mode 100644 index 00000000..2af6f809 --- /dev/null +++ b/resource/ui/notifications/base_notification.res @@ -0,0 +1,52 @@ +"resource/ui/notifications/base_notification.res" +{ + "Notification_Background" + { + "ControlName" "CImagePanel" + "fieldName" "Notification_Background" + "xpos" "0" + "ypos" "0" + "zpos" "-1" + "wide" "140" + "tall" "44" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "image" "../hud/score_panel_blue_bg" + "scaleImage" "1" + } + + "Notification_Icon" + { + "ControlName" "CIconPanel" + "fieldName" "Notification_Icon" + "xpos" "7" + "ypos" "9" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + "icon" "ico_notify_sixty_seconds" + } + + "Notification_Label" + { + "ControlName" "CExLabel" + "fieldName" "Notification_Label" + "font" "Default" + "xpos" "30" + "ypos" "9" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "60 seconds until gates open" + "textAlignment" "West" + "dulltext" "0" + "brighttext" "0" + } +} \ No newline at end of file diff --git a/resource/ui/notifications/notify_passtime_howto.res b/resource/ui/notifications/notify_passtime_howto.res new file mode 100644 index 00000000..991db63a --- /dev/null +++ b/resource/ui/notifications/notify_passtime_howto.res @@ -0,0 +1,52 @@ +"resource/ui/notifications/notify_passtime_howto.res" +{ + "Notification_Background" + { + "ControlName" "CImagePanel" + "fieldName" "Notification_Background" + "xpos" "0" + "ypos" "0" + "zpos" "-1" + "wide" "0" + "tall" "140" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "image" "../hud/notification_black" + "scaleImage" "1" + } + + "Notification_Icon" + { + "ControlName" "CIconPanel" + "fieldName" "Notification_Icon" + "xpos" "-5" + "ypos" "45" + "wide" "30" + "tall" "30" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + "icon" "passtime_ball" + } + + "Notification_Label" + { + "ControlName" "CExLabel" + "fieldName" "Notification_Label" + "font" "Default" + "xpos" "30" + "ypos" "27" + "wide" "0" + "tall" "300" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#TF_Passtime_HowToPlay" + "textAlignment" "North-West" + "dulltext" "0" + "brighttext" "0" + } +} \ No newline at end of file From 4e6e584968a0c6b99961ac9c8b9938ae6dfcf1a4 Mon Sep 17 00:00:00 2001 From: Beventar <247670086+Beventar@users.noreply.github.com> Date: Sat, 10 Jan 2026 13:23:57 +0100 Subject: [PATCH 2/7] Update pvprankpanel.res --- resource/ui/pvprankpanel.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/ui/pvprankpanel.res b/resource/ui/pvprankpanel.res index 9dda745d..c66cdc3e 100644 --- a/resource/ui/pvprankpanel.res +++ b/resource/ui/pvprankpanel.res @@ -245,7 +245,7 @@ if_mini { - "xpos" "-1" + "xpos" "0" "ypos" "r35" } } From 248634b0c8ef6698b13300b7868a7594d3ab882f Mon Sep 17 00:00:00 2001 From: Beventar <247670086+Beventar@users.noreply.github.com> Date: Sat, 10 Jan 2026 15:23:54 +0100 Subject: [PATCH 3/7] Center autobalance & incoming team switch notifications --- scripts/hudlayout.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res index 55868449..12b2080b 100644 --- a/scripts/hudlayout.res +++ b/scripts/hudlayout.res @@ -1034,7 +1034,7 @@ "fieldName" "HudTeamSwitch" "visible" "0" "enabled" "1" - "xpos" "c-160" + "xpos" "c-123" "ypos" "75" "wide" "320" "tall" "100" @@ -1305,7 +1305,7 @@ "fieldName" "HudAlert" "visible" "0" "enable" "1" - "xpos" "c-160" + "xpos" "c-123" "ypos" "100" "wide" "320" "tall" "150" From 56c10c17c4559a83568d8b4e6dc0a09fb9095b62 Mon Sep 17 00:00:00 2001 From: Beventar <247670086+Beventar@users.noreply.github.com> Date: Sat, 10 Jan 2026 15:24:44 +0100 Subject: [PATCH 4/7] Theme incoming team switch notification --- resource/ui/hudalert.res | 63 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 resource/ui/hudalert.res diff --git a/resource/ui/hudalert.res b/resource/ui/hudalert.res new file mode 100644 index 00000000..5942f89c --- /dev/null +++ b/resource/ui/hudalert.res @@ -0,0 +1,63 @@ +"Resource/UI/HudAlert.res" +{ + "HudAlertBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "HudAlertBG" + "xpos" "0" + "ypos" "0" + "zpos" "-1" + "wide" "246" + "tall" "31" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "image" "../hud/death_panel_blue_bg" + "scaleImage" "1" + "teambg_2" "../hud/death_panel_red_bg" + "teambg_3" "../hud/death_panel_blue_bg" + "paintborder" "1" + "border" "NoBorder" + "src_corner_height" "23" + "src_corner_width" "23" + "draw_corner_width" "0" + "draw_corner_height" "0" + } + "AlertLabel" + { + "ControlName" "Label" + "fieldName" "AlertLabel" + "font" "HudFontSmallest" + "xpos" "31" + "ypos" "13" + "zpos" "1" + "wide" "212" + "tall" "40" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "1" + "labelText" "" + "textAlignment" "North" + "fgcolor_override" "TanLight" + "textinsetx" "5" + } + "AlertImage" + { + "ControlName" "CTFImagePanel" + "fieldName" "AlertImage" + "xpos" "3" + "ypos" "3" + "zpos" "1" + "wide" "25" + "tall" "25" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "image" "../hud/ico_teambalance" + "scaleImage" "1" + } +} \ No newline at end of file From c60ce1a0f5eb7553d5ed6e334629bd2018cd02b3 Mon Sep 17 00:00:00 2001 From: Beventar <247670086+Beventar@users.noreply.github.com> Date: Sat, 10 Jan 2026 15:27:42 +0100 Subject: [PATCH 5/7] fix kill cam health clipping into avatar --- resource/ui/freezepanel_basic.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/ui/freezepanel_basic.res b/resource/ui/freezepanel_basic.res index 891bee89..4aec5f30 100644 --- a/resource/ui/freezepanel_basic.res +++ b/resource/ui/freezepanel_basic.res @@ -125,7 +125,7 @@ { "ControlName" "CAvatarImagePanel" "fieldName" "AvatarImage" - "xpos" "45" + "xpos" "48" "ypos" "15" "zpos" "0" "wide" "20" From 35efc1facd3535cbb3c7870bfc37266a7c1d34fd Mon Sep 17 00:00:00 2001 From: Beventar <247670086+Beventar@users.noreply.github.com> Date: Sat, 10 Jan 2026 15:40:16 +0100 Subject: [PATCH 6/7] Update hudalert.res --- resource/ui/hudalert.res | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resource/ui/hudalert.res b/resource/ui/hudalert.res index 5942f89c..32a7281c 100644 --- a/resource/ui/hudalert.res +++ b/resource/ui/hudalert.res @@ -1,4 +1,4 @@ -"Resource/UI/HudAlert.res" +"resource/ui/hudalert.res" { "HudAlertBG" { @@ -60,4 +60,5 @@ "image" "../hud/ico_teambalance" "scaleImage" "1" } -} \ No newline at end of file + +} From 86d6a28b21b43c038f1ec8775173eda0d9b09b3d Mon Sep 17 00:00:00 2001 From: Beventar <247670086+Beventar@users.noreply.github.com> Date: Sat, 10 Jan 2026 16:42:58 +0100 Subject: [PATCH 7/7] Update hudalert.res --- resource/ui/hudalert.res | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resource/ui/hudalert.res b/resource/ui/hudalert.res index 32a7281c..27d98dd5 100644 --- a/resource/ui/hudalert.res +++ b/resource/ui/hudalert.res @@ -24,6 +24,7 @@ "draw_corner_width" "0" "draw_corner_height" "0" } + "AlertLabel" { "ControlName" "Label" @@ -44,6 +45,7 @@ "fgcolor_override" "TanLight" "textinsetx" "5" } + "AlertImage" { "ControlName" "CTFImagePanel" @@ -60,5 +62,4 @@ "image" "../hud/ico_teambalance" "scaleImage" "1" } - }