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" diff --git a/resource/ui/hudalert.res b/resource/ui/hudalert.res new file mode 100644 index 00000000..27d98dd5 --- /dev/null +++ b/resource/ui/hudalert.res @@ -0,0 +1,65 @@ +"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" + } +} 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 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" } } 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"