Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Update recording HUDs
Browse files Browse the repository at this point in the history
This mainly fixes an issue with timers appearing on the HUD.
  • Loading branch information
iabarca committed Jun 25, 2016
1 parent 43f4983 commit 596b034
Show file tree
Hide file tree
Showing 6 changed files with 1,830 additions and 124 deletions.
49 changes: 0 additions & 49 deletions hud/hud_killnotices/resource/ui/HudObjectiveStatus.res
Original file line number Diff line number Diff line change
@@ -1,52 +1,3 @@
"Resource/UI/HudObjectiveStatus.res"
{
"ObjectiveStatusTimePanel"
{
"ControlName" "EditablePanel"
"fieldName" "ObjectiveStatusTimePanel"
"xpos" "0"
"ypos" "-100" [$WIN32]
"zpos" "1"
"wide" "110"
"wide_hidef" "300"
"wide_lodef" "300"
"tall" "150"
"visible" "0"
"enabled" "1"
"delta_item_x" "22" [$WIN32]
"delta_item_x" "115" [$X360]
"delta_item_start_y" "50"
"delta_item_end_y" "70"
"PositiveColor" "0 255 0 255"
"NegativeColor" "255 0 0 255"
"delta_lifetime" "1.5"
"delta_item_font" "HudFontMedium"

"TimePanelValue"
{
"ControlName" "CExLabel"
"fieldName" "TimePanelValue"
"font" "HudFontMediumSmall"
"font_minmode" "HudFontSmall"
"font_lodef" "HudFontMedium"
"fgcolor" "TanLight"
"xpos" "23"
"xpos_minmode" "39"
"xpos_hidef" "114"
"xpos_lodef" "114"
"ypos" "11"
"ypos_minmode" "6"
"ypos_hidef" "15"
"ypos_lodef" "18"
"zpos" "3"
"wide" "45"
"wide_minmode" "30"
"wide_lodef" "50"
"tall" "31"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"labelText" "0:00"
}
}
}
119 changes: 106 additions & 13 deletions hud/hud_killnotices/resource/ui/HudObjectiveTimePanel.res
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
{
"ControlName" "ScalableImagePanel"
"fieldName" "TimePanelBG"
"xpos" "16"
"xpos" "9999"
"xpos_minmode" "35"
"xpos_hidef" "108"
"xpos_lodef" "108"
"ypos" "9"
"zpos" "2"
"wide" "78"
Expand All @@ -17,12 +20,17 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_blue_bg"
"scaleImage" "1"

if_comp
{
"visible" "0"
}
}
"TimePanelProgressBar"
{
"ControlName" "CTFProgressBar"
"fieldName" "TimePanelProgressBar"
"xpos" "67"
"xpos" "9999"
"xpos_hidef" "159"
"xpos_lodef" "165"
"ypos" "16"
Expand All @@ -42,12 +50,17 @@
"color_inactive" "TimerProgress.InActive"
"color_warning" "TimerProgress.Warning"
"percent_warning" "0.75"

if_comp
{
"visible" "0"
}
}
"WaitingForPlayersLabel"
{
"ControlName" "CExLabel"
"fieldName" "WaitingForPlayersLabel"
"xpos" "16"
"xpos" "9999"
"xpos_hidef" "0"
"xpos_lodef" "0"
"ypos" "34"
Expand All @@ -71,12 +84,23 @@
"font" "ClockSubTextTiny"
"font_hidef" "HudFontSmall"
"font_lodef" "HudFontSmall"

if_comp
{
"proportionaltoparent" "1"
"xpos" "cs-0.5"
"ypos" "21"
"ypos_minmode" "21"
"font" "HudFontSmallestBold"
"font_hidef" "HudFontSmallestBold"
"font_lodef" "HudFontSmallestBold"
}
}
"WaitingForPlayersBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "WaitingForPlayersBG"
"xpos" "16" [$WIN32]
"xpos" "9999" [$WIN32]
"xpos" "11" [$X360]
"ypos" "31"
"ypos_hidef" "-100" //off-screen
Expand All @@ -89,12 +113,17 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"

if_comp
{
"wide" "0"
}
}
"OvertimeLabel"
{
"ControlName" "CExLabel"
"fieldName" "OvertimeLabel"
"xpos" "16"
"xpos" "9999"
"xpos_hidef" "0"
"xpos_lodef" "0"
"ypos" "33"
Expand All @@ -118,12 +147,23 @@
"font" "ClockSubText"
"font_hidef" "HudFontSmall"
"font_lodef" "HudFontSmall"

if_comp
{
"proportionaltoparent" "1"
"xpos" "cs-0.5"
"ypos" "21"
"ypos_minmode" "21"
"font" "HudFontSmallestBold"
"font_hidef" "HudFontSmallestBold"
"font_lodef" "HudFontSmallestBold"
}
}
"OvertimeBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "OvertimeBG"
"xpos" "16" [$WIN32]
"xpos" "9999" [$WIN32]
"xpos" "11" [$X360]
"ypos" "31"
"ypos_hidef" "-100" //off-screen
Expand All @@ -136,12 +176,17 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"

if_comp
{
"wide" "0"
}
}
"SuddenDeathLabel"
{
"ControlName" "CExLabel"
"fieldName" "SuddenDeathLabel"
"xpos" "16"
"xpos" "9999"
"xpos_hidef" "0"
"xpos_lodef" "0"
"ypos" "33"
Expand All @@ -165,12 +210,23 @@
"font" "ClockSubTextSuddenDeath"
"font_hidef" "HudFontSmall"
"font_lodef" "HudFontSmall"

if_comp
{
"proportionaltoparent" "1"
"xpos" "cs-0.5"
"ypos" "21"
"ypos_minmode" "21"
"font" "HudFontSmallestBold"
"font_hidef" "HudFontSmallestBold"
"font_lodef" "HudFontSmallestBold"
}
}
"SuddenDeathBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "SuddenDeathBG"
"xpos" "16" [$WIN32]
"xpos" "9999" [$WIN32]
"xpos" "11" [$X360]
"ypos" "31"
"ypos_hidef" "-100" //off-screen
Expand All @@ -183,12 +239,17 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"

if_comp
{
"wide" "0"
}
}
"SetupLabel"
{
"ControlName" "CExLabel"
"fieldName" "SetupLabel"
"xpos" "16"
"xpos" "9999"
"xpos_hidef" "0"
"xpos_lodef" "0"
"ypos" "33"
Expand All @@ -213,12 +274,23 @@
"font_minmode" "ClockSubTextSuddenDeath"
"font_hidef" "HudFontSmall"
"font_lodef" "HudFontSmall"

if_comp
{
"proportionaltoparent" "1"
"xpos" "cs-0.5"
"ypos" "21"
"ypos_minmode" "21"
"font" "HudFontSmallestBold"
"font_hidef" "HudFontSmallestBold"
"font_lodef" "HudFontSmallestBold"
}
}
"SetupBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "SetupBG"
"xpos" "16" [$WIN32]
"xpos" "9999" [$WIN32]
"xpos" "11" [$X360]
"ypos" "31"
"ypos_hidef" "-100" //off-screen
Expand All @@ -231,12 +303,17 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"

if_comp
{
"wide" "0"
}
}
"ServerTimeLimitLabel"
{
"ControlName" "CExLabel"
"fieldName" "ServerTimeLimitLabel"
"xpos" "16"
"xpos" "9999"
"xpos_hidef" "0"
"xpos_lodef" "0"
"ypos" "33"
Expand All @@ -261,12 +338,23 @@
"font_minmode" "ClockSubTextSuddenDeath"
"font_hidef" "HudFontSmall"
"font_lodef" "HudFontSmall"

if_comp
{
"proportionaltoparent" "1"
"xpos" "cs-0.5"
"ypos" "21"
"ypos_minmode" "21"
"font" "HudFontSmallestBold"
"font_hidef" "HudFontSmallestBold"
"font_lodef" "HudFontSmallestBold"
}
}
"ServerTimeLimitLabelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "ServerTimeLimitLabelBG"
"xpos" "16" [$WIN32]
"xpos" "9999" [$WIN32]
"xpos" "11" [$X360]
"ypos" "31"
"ypos_hidef" "-100" //off-screen
Expand All @@ -278,6 +366,11 @@
"visible" "0"
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"
"scaleImage" "1"

if_comp
{
"wide" "0"
}
}
}
Loading

0 comments on commit 596b034

Please sign in to comment.