From 553ae901fad017d1f54789da5ce5c7a9dcbf7778 Mon Sep 17 00:00:00 2001 From: RaysFire Date: Wed, 10 Jul 2013 20:16:44 -0500 Subject: Added in support for tf_hud_show_servertimelimit --- minmode/resource/ui/HudObjectiveTimePanel.res | 411 ++++++++++++++------------ 1 file changed, 227 insertions(+), 184 deletions(-) (limited to 'minmode/resource') diff --git a/minmode/resource/ui/HudObjectiveTimePanel.res b/minmode/resource/ui/HudObjectiveTimePanel.res index 505896f..b7d2e9a 100644 --- a/minmode/resource/ui/HudObjectiveTimePanel.res +++ b/minmode/resource/ui/HudObjectiveTimePanel.res @@ -1,184 +1,227 @@ -"Resource/UI/HudObjectiveTimePanel.res" -{ - "TimePanelBG" - { - "ControlName" "ScalableImagePanel" - "fieldName" "TimePanelBG" - "xpos" "25" - "ypos" "0" - "zpos" "2" - "wide" "50" - "tall" "24" - "visible" "1" - "enabled" "1" - "image" "../hud/objectives_timepanel_blue_bg" - "scaleImage" "1" - "src_corner_height" "3" - "src_corner_width" "3" - "draw_corner_width" "0" - "draw_corner_height" "0" - } - "TimePanelProgressBar" - { - "ControlName" "CTFProgressBar" - "fieldName" "TimePanelProgressBar" - "xpos" "67" - "ypos" "16" - "zpos" "4" - "wide" "20" - "wide_lodef" "25" - "tall" "20" - "tall_lodef" "25" - "visible" "0" - "visible_minmode" "0" - "enabled" "1" - "scaleImage" "1" - "image" "../hud/objectives_timepanel_progressbar" - "color_active" "TimerProgress.Active" - "color_inactive" "TimerProgress.InActive" - "color_warning" "TimerProgress.Warning" - "percent_warning" "0.75" - } - "WaitingForPlayersLabel" - { - "ControlName" "CExLabel" - "fieldName" "WaitingForPlayersLabel" - "xpos" "25" - "ypos" "21" - "zpos" "5" - "wide" "50" - "tall" "19" - "visible" "0" - "enabled" "1" - "labelText" "#game_WaitingForPlayers" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "wrap" "0" - "font" "Cerbetica12" - } - "WaitingForPlayersBG" - { - "ControlName" "CTFImagePanel" - "fieldName" "WaitingForPlayersBG" - "xpos" "9999" [$WIN32] - "ypos" "9999" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "tall_minmode" "0" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" - "scaleImage" "1" - } - "OvertimeLabel" - { - "ControlName" "CExLabel" - "fieldName" "OvertimeLabel" - "xpos" "25" - "ypos" "21" - "zpos" "5" - "wide" "50" - "tall" "19" - "visible" "0" - "enabled" "1" - "labelText" "#game_Overtime" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "wrap" "0" - "font" "Cerbetica12" - } - "OvertimeBG" - { - "ControlName" "CTFImagePanel" - "fieldName" "OvertimeBG" - "xpos" "9999" [$WIN32] - "ypos" "9999" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "tall_minmode" "0" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" - "scaleImage" "1" - } - "SuddenDeathLabel" - { - "ControlName" "CExLabel" - "fieldName" "SuddenDeathLabel" - "xpos" "25" - "ypos" "21" - "ypos_hidef" "41" - "ypos_lodef" "41" - "zpos" "5" - "wide" "50" - "tall" "19" - "visible" "0" - "enabled" "1" - "labelText" "#game_SuddenDeath" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "wrap" "0" - "font" "Cerbetica12" - } - "SuddenDeathBG" - { - "ControlName" "CTFImagePanel" - "fieldName" "SuddenDeathBG" - "xpos" "9999" [$WIN32] - "ypos" "9999" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "tall_minmode" "0" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" - "scaleImage" "1" - } - "SetupLabel" - { - "ControlName" "CExLabel" - "fieldName" "SetupLabel" - "xpos" "25" - "ypos" "21" - "zpos" "5" - "wide" "50" - "tall" "19" - "visible" "0" - "enabled" "1" - "labelText" "#game_Setup" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "wrap" "0" - "font" "Cerbetica12" - } - "SetupBG" - { - "ControlName" "CTFImagePanel" - "fieldName" "SetupBG" - "xpos" "9999" [$WIN32] - "ypos" "9999" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "tall_minmode" "0" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" - "scaleImage" "1" - } -} +"Resource/UI/HudObjectiveTimePanel.res" +{ + "TimePanelBG" + { + "ControlName" "ScalableImagePanel" + "fieldName" "TimePanelBG" + "xpos" "25" + "ypos" "0" + "zpos" "2" + "wide" "50" + "tall" "24" + "visible" "1" + "enabled" "1" + "image" "../hud/objectives_timepanel_blue_bg" + "scaleImage" "1" + "src_corner_height" "3" + "src_corner_width" "3" + "draw_corner_width" "0" + "draw_corner_height" "0" + } + "TimePanelProgressBar" + { + "ControlName" "CTFProgressBar" + "fieldName" "TimePanelProgressBar" + "xpos" "67" + "ypos" "16" + "zpos" "4" + "wide" "20" + "wide_lodef" "25" + "tall" "20" + "tall_lodef" "25" + "visible" "0" + "visible_minmode" "0" + "enabled" "1" + "scaleImage" "1" + "image" "../hud/objectives_timepanel_progressbar" + "color_active" "TimerProgress.Active" + "color_inactive" "TimerProgress.InActive" + "color_warning" "TimerProgress.Warning" + "percent_warning" "0.75" + } + "WaitingForPlayersLabel" + { + "ControlName" "CExLabel" + "fieldName" "WaitingForPlayersLabel" + "xpos" "25" + "ypos" "21" + "zpos" "5" + "wide" "50" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_WaitingForPlayers" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "wrap" "0" + "font" "Cerbetica12" + } + "WaitingForPlayersBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "WaitingForPlayersBG" + "xpos" "9999" [$WIN32] + "ypos" "9999" + "ypos_hidef" "-100" //off-screen + "ypos_lodef" "-100" //off-screen + "zpos" "1" + "wide" "78" + "tall" "20" + "tall_minmode" "0" + "visible" "0" + "enabled" "1" + "image" "../hud/objectives_timepanel_suddendeath" + "scaleImage" "1" + } + "OvertimeLabel" + { + "ControlName" "CExLabel" + "fieldName" "OvertimeLabel" + "xpos" "25" + "ypos" "33" + "zpos" "5" + "wide" "50" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_Overtime" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "wrap" "0" + "font" "Cerbetica12" + } + "OvertimeBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "OvertimeBG" + "xpos" "9999" [$WIN32] + "ypos" "9999" + "ypos_hidef" "-100" //off-screen + "ypos_lodef" "-100" //off-screen + "zpos" "1" + "wide" "78" + "tall" "20" + "tall_minmode" "0" + "visible" "0" + "enabled" "1" + "image" "../hud/objectives_timepanel_suddendeath" + "scaleImage" "1" + } + "SuddenDeathLabel" + { + "ControlName" "CExLabel" + "fieldName" "SuddenDeathLabel" + "xpos" "25" + "ypos" "33" + "ypos_hidef" "41" + "ypos_lodef" "41" + "zpos" "5" + "wide" "50" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_SuddenDeath" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "wrap" "0" + "font" "Cerbetica12" + } + "SuddenDeathBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "SuddenDeathBG" + "xpos" "9999" [$WIN32] + "ypos" "9999" + "ypos_hidef" "-100" //off-screen + "ypos_lodef" "-100" //off-screen + "zpos" "1" + "wide" "78" + "tall" "20" + "tall_minmode" "0" + "visible" "0" + "enabled" "1" + "image" "../hud/objectives_timepanel_suddendeath" + "scaleImage" "1" + } + "SetupLabel" + { + "ControlName" "CExLabel" + "fieldName" "SetupLabel" + "xpos" "25" + "ypos" "21" + "zpos" "5" + "wide" "50" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_Setup" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "wrap" "0" + "font" "Cerbetica12" + } + "SetupBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "SetupBG" + "xpos" "9999" [$WIN32] + "ypos" "9999" + "ypos_hidef" "-100" //off-screen + "ypos_lodef" "-100" //off-screen + "zpos" "1" + "wide" "78" + "tall" "20" + "tall_minmode" "0" + "visible" "0" + "enabled" "1" + "image" "../hud/objectives_timepanel_suddendeath" + "scaleImage" "1" + } + "ServerTimeLimitLabel" + { + "ControlName" "CExLabel" + "fieldName" "ServerTimeLimitLabel" + "xpos" "25" + "ypos" "21" + "ypos_minmode" "24" + "ypos_hidef" "41" + "ypos_lodef" "41" + "zpos" "5" + "wide" "50" + "wide_hidef" "300" + "wide_lodef" "300" + "tall" "19" + "tall_hidef" "19" + "tall_lodef" "22" + "visible" "0" + "enabled" "1" + "labelText" "%servertimeleft%" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "wrap" "0" + "font" "Cerbetica14" + } + "ServerTimeLimitLabelBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "ServerTimeLimitLabelBG" + "xpos" "9999" [$WIN32] + "xpos" "9999" [$X360] + "ypos" "9999" + "ypos_hidef" "-100" //off-screen + "ypos_lodef" "-100" //off-screen + "zpos" "1" + "wide" "78" + "tall" "20" + "tall_minmode" "0" + "visible" "0" + "enabled" "1" + "image" "../hud/objectives_timepanel_suddendeath" + "scaleImage" "1" + } +} -- cgit v1.2.3