summaryrefslogtreecommitdiff
path: root/minmode/resource/ui
diff options
context:
space:
mode:
authoribruton <[email protected]>2016-03-17 21:04:18 -0500
committeribruton <[email protected]>2016-03-17 21:04:18 -0500
commitd9242c8c8e10eef950ea4016ebc6aeb502ab00bc (patch)
treee4c92406ae143e844b3ba55a957289b3c35e52a9 /minmode/resource/ui
parent7f68319f6faecf910e6cb00e79b8b0c77e842cd4 (diff)
Updated to be compatible with new MM changes
Diffstat (limited to 'minmode/resource/ui')
-rw-r--r--minmode/resource/ui/HudObjectiveKothTimePanel.res69
-rw-r--r--minmode/resource/ui/HudObjectiveTimePanel.res92
-rw-r--r--minmode/resource/ui/MainMenuOverride.res2
-rw-r--r--minmode/resource/ui/hudmatchstatus.res129
-rw-r--r--minmode/resource/ui/hudroundcounter.res67
-rw-r--r--minmode/resource/ui/lobbypanel.res34
6 files changed, 381 insertions, 12 deletions
diff --git a/minmode/resource/ui/HudObjectiveKothTimePanel.res b/minmode/resource/ui/HudObjectiveKothTimePanel.res
index 5d1defd..7a5ded3 100644
--- a/minmode/resource/ui/HudObjectiveKothTimePanel.res
+++ b/minmode/resource/ui/HudObjectiveKothTimePanel.res
@@ -1,5 +1,13 @@
"Resource/UI/HudObjectiveKothTimePanel.res"
{
+ "HudKothTimeStatus"
+ {
+ if_comp
+ {
+ "zpos" "5"
+ }
+ }
+
"BlueTimer"
{
"ControlName" "ImagePanel"
@@ -12,6 +20,21 @@
"visible" "1"
"enabled" "1"
+ if_comp
+ {
+ "proportionaltoparent" "1"
+ "xpos" "cs-.7"
+ "ypos" "0"
+ "ypos_minmode" "0"
+ "delta_item_x" "10"
+ "delta_item_start_y" "12"
+ "delta_item_end_y" "50"
+ "PositiveColor" "0 255 0 255"
+ "NegativeColor" "255 0 0 255"
+ "delta_lifetime" "1.5"
+ "delta_item_font" "HudFontMediumSmall"
+ }
+
"TimePanelValue"
{
"ControlName" "CExLabel"
@@ -27,6 +50,23 @@
"enabled" "1"
"textAlignment" "center"
"labelText" "0:00"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+
+ "xpos" "10"
+ "xpos_minmode" "15"
+ "ypos" "9"
+ "ypos_minmode" "9"
+ "tall" "10"
+ "wide" "35"
+ "wide_minmode" "35"
+ "font" "HudFontSmall"
+ "font_minmode" "HudFontSmall"
+ "font_lodef" "HudFontSmall"
+
+ }
}
}
@@ -49,6 +89,21 @@
"delta_lifetime" "1.5"
"delta_item_font" "Cerbetica22"
+ if_comp
+ {
+ "proportionaltoparent" "1"
+ "xpos" "cs-0.77"
+ "ypos" "0"
+ "ypos_minmode" "0"
+ "delta_item_x" "50"
+ "delta_item_start_y" "12"
+ "delta_item_end_y" "50"
+ "PositiveColor" "0 255 0 255"
+ "NegativeColor" "255 0 0 255"
+ "delta_lifetime" "1.5"
+ "delta_item_font" "HudFontMediumSmall"
+ }
+
"TimePanelValue"
{
"ControlName" "CExLabel"
@@ -71,6 +126,20 @@
"delta_item_font" "Cerbetica20"
"textAlignment" "center"
"labelText" "0:00"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+
+ "xpos" "rs1-15"
+ "ypos" "9"
+ "wide" "35"
+ "tall" "10"
+ "font" "HudFontSmall"
+ "font_minmode" "HudFontSmall"
+ "font_lodef" "HudFontSmall"
+
+ }
}
}
diff --git a/minmode/resource/ui/HudObjectiveTimePanel.res b/minmode/resource/ui/HudObjectiveTimePanel.res
index 0e2a461..f6e41db 100644
--- a/minmode/resource/ui/HudObjectiveTimePanel.res
+++ b/minmode/resource/ui/HudObjectiveTimePanel.res
@@ -16,7 +16,12 @@
"src_corner_height" "3"
"src_corner_width" "3"
"draw_corner_width" "0"
- "draw_corner_height" "0"
+ "draw_corner_height" "0"
+
+ if_comp
+ {
+ "visible" "0"
+ }
}
"TimePanelProgressBar"
{
@@ -38,6 +43,11 @@
"color_inactive" "TimerProgress.InActive"
"color_warning" "TimerProgress.Warning"
"percent_warning" "0.75"
+
+ if_comp
+ {
+ "visible" "0"
+ }
}
"WaitingForPlayersLabel"
{
@@ -56,6 +66,17 @@
"brighttext" "0"
"wrap" "0"
"font" "Cerbetica12"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+ "xpos" "cs-0.5"
+ "ypos" "17"
+ "ypos_minmode" "17"
+ "font" "HudFontSmallestBold"
+ "font_hidef" "HudFontSmallestBold"
+ "font_lodef" "HudFontSmallestBold"
+ }
}
"WaitingForPlayersBG"
{
@@ -73,6 +94,11 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"
+
+ if_comp
+ {
+ "wide" "0"
+ }
}
"OvertimeLabel"
{
@@ -91,6 +117,17 @@
"brighttext" "0"
"wrap" "0"
"font" "Cerbetica12"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+ "xpos" "cs-0.5"
+ "ypos" "17"
+ "ypos_minmode" "17"
+ "font" "HudFontSmallestBold"
+ "font_hidef" "HudFontSmallestBold"
+ "font_lodef" "HudFontSmallestBold"
+ }
}
"OvertimeBG"
{
@@ -108,6 +145,11 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"
+
+ if_comp
+ {
+ "wide" "0"
+ }
}
"SuddenDeathLabel"
{
@@ -128,6 +170,17 @@
"brighttext" "0"
"wrap" "0"
"font" "Cerbetica12"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+ "xpos" "cs-0.5"
+ "ypos" "17"
+ "ypos_minmode" "17"
+ "font" "HudFontSmallestBold"
+ "font_hidef" "HudFontSmallestBold"
+ "font_lodef" "HudFontSmallestBold"
+ }
}
"SuddenDeathBG"
{
@@ -145,6 +198,11 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"
+
+ if_comp
+ {
+ "wide" "0"
+ }
}
"SetupLabel"
{
@@ -163,6 +221,17 @@
"brighttext" "0"
"wrap" "0"
"font" "Cerbetica12"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+ "xpos" "cs-0.5"
+ "ypos" "17"
+ "ypos_minmode" "17"
+ "font" "HudFontSmallestBold"
+ "font_hidef" "HudFontSmallestBold"
+ "font_lodef" "HudFontSmallestBold"
+ }
}
"SetupBG"
{
@@ -180,6 +249,11 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"
+
+ if_comp
+ {
+ "wide" "0"
+ }
}
"ServerTimeLimitLabel"
{
@@ -202,6 +276,17 @@
"brighttext" "0"
"wrap" "0"
"font" "Cerbetica14"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+ "xpos" "cs-0.5"
+ "ypos" "17"
+ "ypos_minmode" "17"
+ "font" "HudFontSmallestBold"
+ "font_hidef" "HudFontSmallestBold"
+ "font_lodef" "HudFontSmallestBold"
+ }
}
"ServerTimeLimitLabelBG"
{
@@ -220,5 +305,10 @@
"enabled" "1"
"image" "../hud/objectives_timepanel_suddendeath"
"scaleImage" "1"
+
+ if_comp
+ {
+ "wide" "0"
+ }
}
}
diff --git a/minmode/resource/ui/MainMenuOverride.res b/minmode/resource/ui/MainMenuOverride.res
index 05ea7da..fbdd4b5 100644
--- a/minmode/resource/ui/MainMenuOverride.res
+++ b/minmode/resource/ui/MainMenuOverride.res
@@ -1897,7 +1897,7 @@
"use_proportional_insets" "1"
"font" "Cerbetica14"
"textAlignment" "east"
- "labelText" "v2016.3.11"
+ "labelText" "v2016.3.17"
"dulltext" "0"
"brighttext" "0"
"default" "1"
diff --git a/minmode/resource/ui/hudmatchstatus.res b/minmode/resource/ui/hudmatchstatus.res
new file mode 100644
index 0000000..fb020f9
--- /dev/null
+++ b/minmode/resource/ui/hudmatchstatus.res
@@ -0,0 +1,129 @@
+"Resource/UI/Competitive.res"
+{
+ "RoundSignModel"
+ {
+ "ControlName" "CModelPanel"
+ "fieldName" "RoundSignModel"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "3"
+ "wide" "f0"
+ "tall" "f0"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "0"
+ "enabled" "1"
+ "fov" "70"
+ "proportionaltoparent" "1"
+
+ "model"
+ {
+ "modelname" "models/props_ui/round_banner.mdl"
+ "skin" "0"
+ "angles_x" "30"
+ "angles_y" "180"
+ "angles_z" "0"
+ "origin_x" "150"
+ "origin_y" "0"
+ "origin_z" "62"
+ "spotlight" "1"
+
+ "animation"
+ {
+ "name" "ref"
+ "sequence" "ref"
+ "default" "1"
+ }
+
+ "animation"
+ {
+ "name" "intro"
+ "sequence" "intro"
+ }
+
+ "animation"
+ {
+ "name" "outro"
+ "sequence" "outro"
+ }
+ }
+ }
+
+ "RoundCounter"
+ {
+ "fieldName" "RoundCounter"
+ "xpos" "cs-0.5"
+ "ypos" "-2"
+ "zpos" "1"
+ "wide" "300"
+ "tall" "100"
+ "visible" "1"
+ "enabled" "1"
+
+ }
+
+ "ObjectiveStatusTimePanel"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "ObjectiveStatusTimePanel"
+ "xpos" "c-55"
+ "ypos" "0" [$WIN32]
+ "zpos" "2"
+ "wide" "110"
+ "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"
+
+ if_comp
+ {
+ "ypos_minmode" "0"
+ "delta_item_x" "35"
+ "delta_item_start_y" "12"
+ "delta_item_end_y" "50"
+ "PositiveColor" "0 255 0 255"
+ "NegativeColor" "255 0 0 255"
+ "delta_lifetime" "1.5"
+ "delta_item_font" "HudFontMediumSmall"
+ }
+
+ "TimePanelValue"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "TimePanelValue"
+ "font" "HudFontMediumSmall"
+ "font_minmode" "HudFontSmall"
+ "font_lodef" "HudFontMedium"
+ "fgcolor" "TanLight"
+ "xpos" "28"
+ "ypos" "-4"
+ "zpos" "3"
+ "wide" "45"
+ "tall" "31"
+ "visible" "1"
+ "enabled" "1"
+ "textAlignment" "center"
+ "labelText" "0:00"
+
+ if_comp
+ {
+ "proportionaltoparent" "1"
+
+ "xpos" "cs-0.5"
+ "ypos" "9"
+ "ypos_minmode" "9"
+ "tall" "10"
+ "font" "HudFontSmall"
+ "font_minmode" "HudFontSmall"
+ "font_lodef" "HudFontSmall"
+ }
+ }
+ }
+}
diff --git a/minmode/resource/ui/hudroundcounter.res b/minmode/resource/ui/hudroundcounter.res
new file mode 100644
index 0000000..dcb3e63
--- /dev/null
+++ b/minmode/resource/ui/hudroundcounter.res
@@ -0,0 +1,67 @@
+"Resource/UI/HudRoundCounter.res"
+{
+ "RoundCounter"
+ {
+ "fieldName" "RoundCounter"
+ "xpos" "cs-0.5"
+ "ypos" "-2"
+ "zpos" "2"
+ "wide" "300"
+ "tall" "25"
+ "visible" "1"
+ "enabled" "1"
+ "proportionaltoparent" "1"
+
+ "starting_width" "20"
+ "width_per_round" "24"
+ "indicator_start_offset" "4"
+ "indicator_max_wide" "30"
+
+ "RoundIndicatorPanel_kv"
+ {
+ "ypos" "3"
+ "wide" "6"
+ "tall" "6"
+ "zpos" "7"
+ "image" "../hud/comp_round_counter_dot_bg"
+ "scaleimage" "1"
+ }
+
+ "RoundWinPanelRed_kv"
+ {
+ "ypos" "-3"
+ "wide" "17"
+ "tall" "17"
+ "zpos" "8"
+ "image" "../hud/comp_round_counter_light_red"
+ "scaleimage" "1"
+ }
+
+ "RoundWinPanelBlue_kv"
+ {
+ "ypos" "-3"
+ "wide" "17"
+ "tall" "17"
+ "zpos" "8"
+ "image" "../hud/comp_round_counter_light_blue"
+ "scaleimage" "1"
+ }
+ }
+
+ "Background"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "Background"
+ "xpos" "cs-0.5"
+ "ypos" "0"
+ "zpos" "5"
+ "wide" "115"
+ "tall" "30"
+
+ "backgroundtype" "2"
+ "proportionaltoparent" "1"
+
+ "image" "../hud/comp_round_timer"
+ "scaleimage" "1"
+ }
+}
diff --git a/minmode/resource/ui/lobbypanel.res b/minmode/resource/ui/lobbypanel.res
index 8534556..3859de0 100644
--- a/minmode/resource/ui/lobbypanel.res
+++ b/minmode/resource/ui/lobbypanel.res
@@ -1463,22 +1463,22 @@
"labelText" "?"
}
- "PartyHasLeaverGroupBox"
+ "PartyHasLowPriorityGroupBox"
{
"ControlName" "EditablePanel"
- "fieldName" "PartyHasLeaverGroupBox"
+ "fieldName" "PartyHasLowPriorityGroupBox"
"xpos" "30"
"ypos" "250"
"zpos" "2"
"wide" "340"
- "tall" "60"
+ "tall" "100"
"visible" "0"
"enabled" "1"
- "PartyHasLeaverImage"
+ "PartyLowPriorityImage"
{
"ControlName" "ImagePanel"
- "fieldName" "PartyHasLeaverImage"
+ "fieldName" "PartyLowPriorityImage"
"xpos" "0"
"ypos" "5"
"zpos" "0"
@@ -1490,11 +1490,10 @@
"image" "pve/mvm_timeout_active_large"
"scaleImage" "1"
}
-
- "PartyHasLeaverLabel"
+ "PartyHasLowPriorityLabel"
{
"ControlName" "CExLabel"
- "fieldName" "PartyHasLeaverLabel"
+ "fieldName" "PartyHasLowPriorityLabel"
"font" "HudFontSmall"
"labelText" "#TF_Matchmaking_PartyPenalty"
"xpos" "60"
@@ -1506,9 +1505,24 @@
"visible" "1"
"enabled" "1"
"wrap" "1"
- "fgcolor_override" "TanLight"
+ "fgcolor_override" "250 114 45 255"
+ }
+ "PartyLowPriorityPenaltyTimer"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "PartyLowPriorityPenaltyTimer"
+ "font" "HudFontSmall"
+ "labelText" "%penaltytimer%"
+ "xpos" "60"
+ "ypos" "50"
+ "zpos" "3"
+ "wide" "175"
+ "tall" "30"
+ "textAlignment" "west"
+ "visible" "1"
+ "enabled" "1"
+ "wrap" "1"
}
-
}
}