summaryrefslogtreecommitdiff
path: root/minmode
diff options
context:
space:
mode:
Diffstat (limited to 'minmode')
-rw-r--r--minmode/resource/ui/HudTournament.res264
1 files changed, 172 insertions, 92 deletions
diff --git a/minmode/resource/ui/HudTournament.res b/minmode/resource/ui/HudTournament.res
index 3034ba8..816139b 100644
--- a/minmode/resource/ui/HudTournament.res
+++ b/minmode/resource/ui/HudTournament.res
@@ -5,9 +5,9 @@
"ControlName" "EditablePanel"
"fieldName" "HudTournament"
- "xpos" "c-125"
+ "xpos" "0"
"ypos" "0"
- "wide" "250"
+ "wide" "f0"
"tall" "480"
"team1_player_base_offset_x" "-75"
@@ -18,11 +18,38 @@
"team2_player_base_y" "0"
"team2_player_delta_x" "47"
"team2_player_delta_y" "0"
+ "teams_player_delta_x_comp" "42"
+ "avatar_width" "63"
+ "spacer" "5"
+ "name_width" "57"
+ "horiz_inset" "2"
+ "ModeImage"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "ModeImage"
+ "xpos" "cs-0.5"
+ "ypos" "60"
+ "zpos" "0"
+ "wide" "60"
+ "tall" "60"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "0"
+ "enabled" "1"
+ "image" "competitive/competitive_logo_laurel"
+ "scaleImage" "1"
+ "proportionaltoparent" "1"
+
+ if_competitive
+ {
+ "visible" "1"
+ }
+ }
"playerpanels_kv"
{
"visible" "0"
- "wide" "50"
+ "wide" "40"
"tall" "33"
"zpos" "1"
"tabPosition" "0"
@@ -37,7 +64,7 @@
"fieldName" "BG"
"xpos" "0"
"ypos" "0"
- "zpos" "1"
+ "zpos" "0"
"wide" "55"
"tall" "35"
"autoResize" "0"
@@ -56,7 +83,7 @@
"ypos" "24"
"zpos" "5"
"wide" "50"
- "tall" "8"
+ "tall" "9"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -66,30 +93,29 @@
if_mvm
{
- "xpos" "4"
- "ypos" "25"
- "wide" "48"
+ "xpos" "1"
+ "ypos" "26"
+ "wide" "38"
"textAlignment" "center"
- "fgcolor_override" "TanLight"
- "font" "Cerbetica9"
+ "font" "Cerbetica8"
}
if_competitive
{
- "xpos" "4"
- "ypos" "25"
- "wide" "48"
+ "xpos" "1"
+ "ypos" "26"
+ "wide" "38"
"textAlignment" "center"
- "font" "Cerbetica9"
+ "font" "Cerbetica8"
}
if_readymode
{
- "xpos" "4"
- "ypos" "25"
- "wide" "48"
+ "xpos" "1"
+ "ypos" "26"
+ "wide" "38"
"textAlignment" "center"
- "font" "Cerbetica9"
+ "font" "Cerbetica8"
}
}
@@ -109,28 +135,28 @@
if_mvm
{
- "xpos" "5"
- "ypos" "4"
- "wide" "20"
- "tall" "20"
+ "xpos" "7"
+ "ypos" "1"
+ "wide" "26"
+ "tall" "26"
"image" "../vgui/hud_connecting"
}
if_competitive
{
- "xpos" "5"
- "ypos" "4"
- "wide" "20"
- "tall" "20"
+ "xpos" "7"
+ "ypos" "1"
+ "wide" "26"
+ "tall" "26"
"image" "../vgui/hud_connecting"
}
if_readymode
{
- "xpos" "5"
- "ypos" "4"
- "wide" "20"
- "tall" "20"
+ "xpos" "7"
+ "ypos" "1"
+ "wide" "26"
+ "tall" "26"
"image" "../vgui/hud_connecting"
}
}
@@ -139,14 +165,13 @@
{
"ControlName" "Panel"
"fieldName" "classimagebg"
- "xpos" "5"
- "ypos" "4"
- "zpos" "2"
- "wide" "20"
- "tall" "20"
+ "xpos" "8"
+ "ypos" "-2"
+ "wide" "25"
+ "tall" "28"
"visible" "0"
"enabled" "1"
- "bgcolor_override" "Black"
+ "bgcolor_override" "0 0 0 100"
"PaintBackgroundType" "0"
if_mvm
@@ -169,13 +194,13 @@
{
"ControlName" "EditablePanel"
"fieldName" "HealthIcon"
- "xpos" "3"
+ "xpos" "8"
"ypos" "6"
"zpos" "3"
- "wide" "32"
- "tall" "32"
- "visible" "1"
- "enabled" "1"
+ "wide" "0"
+ "tall" "0"
+ "visible" "0"
+ "enabled" "0"
"HealthBonusPosAdj" "10"
"HealthDeathWarning" "0.49"
"TFFont" "HudFontSmallest"
@@ -187,11 +212,11 @@
{
"ControlName" "ScalableImagePanel"
"fieldName" "ReadyBG"
- "xpos" "30"
- "ypos" "6"
+ "xpos" "0"
+ "ypos" "0"
"zpos" "2"
- "wide" "16"
- "tall" "16"
+ "wide" "55"
+ "tall" "26"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
@@ -207,16 +232,19 @@
if_mvm
{
"visible" "1"
+ "zpos" "-2"
}
if_competitive
{
"visible" "1"
+ "zpos" "-2"
}
if_readymode
{
"visible" "1"
+ "zpos" "-2"
}
}
@@ -224,17 +252,17 @@
{
"ControlName" "ImagePanel"
"fieldName" "ReadyImage"
- "xpos" "32"
- "ypos" "8"
- "zpos" "5"
- "wide" "12"
- "tall" "12"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "1"
+ "wide" "9999"
+ "tall" "26"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"image" "hud/checkmark"
- "fgcolor_override" "15 255 15 255"
+ "fillcolor" "15 165 165 255"
"scaleImage" "1"
if_mvm
@@ -258,8 +286,8 @@
"ControlName" "CExLabel"
"fieldName" "respawntime"
"font" "DefaultSmall"
- "xpos" "30"
- "ypos" "18"
+ "xpos" "28"
+ "ypos" "2"
"zpos" "5"
"wide" "23"
"tall" "10"
@@ -314,65 +342,65 @@
if_mvm
{
- "wide" "55"
+ "wide" "40"
"tall" "35"
}
if_competitive
{
- "wide" "55"
+ "wide" "40"
"tall" "35"
}
if_readymode
{
- "wide" "55"
+ "wide" "40"
"tall" "35"
}
}
if_mvm
{
- "xpos" "c-250"
+ "xpos" "0"
"ypos" "0"
- "wide" "500"
+ "wide" "f0"
"tall" "480"
"team1_player_base_y" "68"
- "team2_player_delta_x" "52"
+ "team2_player_delta_x" "42"
}
if_competitive
{
- "xpos" "c-320"
+ "xpos" "0"
"ypos" "0"
- "wide" "640"
+ "wide" "f0"
"tall" "480"
"team1_player_base_y" "72"
"team2_player_base_y" "72"
- "team2_player_delta_x" "52"
+ "team2_player_delta_x" "42"
"team2_player_base_offset_x" "5"
}
if_readymode
{
- "xpos" "c-320"
+ "xpos" "0"
"ypos" "0"
- "wide" "640"
+ "wide" "f0"
"tall" "480"
"team1_player_base_y" "72"
"team2_player_base_y" "72"
- "team2_player_delta_x" "52"
+ "team2_player_delta_x" "42"
"team2_player_base_offset_x" "5"
}
}
- "HudTournamentBackground"
+ "HudTournamentBG"
{
"ControlName" "ScalableImagePanel"
- "fieldName" "HudTournamentBackground"
+ "fieldName" "HudTournamentBG"
"xpos" "0"
"ypos" "26"
"zpos" "-1"
@@ -447,7 +475,7 @@
{
"ControlName" "ScalableImagePanel"
"fieldName" "HudTournamentBLUEBG"
- "xpos" "0"
+ "xpos" "c-125"
"ypos" "10"
"zpos" "-1"
"wide" "125"
@@ -487,7 +515,7 @@
"ControlName" "Label"
"fieldName" "TournamentBLUELabel"
"font" "Cerbetica16"
- "xpos" "4"
+ "xpos" "c-121"
"ypos" "10"
"zpos" "1"
"wide" "65"
@@ -522,7 +550,7 @@
"ControlName" "Label"
"fieldName" "TournamentBLUEStateLabel"
"font" "Cerbetica16"
- "xpos" "56"
+ "xpos" "c-69"
"ypos" "10"
"zpos" "1"
"wide" "65"
@@ -557,7 +585,7 @@
{
"ControlName" "ScalableImagePanel"
"fieldName" "HudTournamentREDBG"
- "xpos" "125"
+ "xpos" "c0"
"ypos" "10"
"zpos" "-1"
"wide" "125"
@@ -596,7 +624,7 @@
"ControlName" "Label"
"fieldName" "TournamentREDLabel"
"font" "Cerbetica16"
- "xpos" "180"
+ "xpos" "c55"
"ypos" "10"
"zpos" "1"
"wide" "65"
@@ -631,7 +659,7 @@
"ControlName" "Label"
"fieldName" "TournamentREDStateLabel"
"font" "Cerbetica16"
- "xpos" "130"
+ "xpos" "c5"
"ypos" "10"
"zpos" "1"
"wide" "65"
@@ -668,7 +696,7 @@
"fieldName" "TournamentConditionLabel"
"font" "Cerbetica14"
"fgcolor" "TanLight"
- "xpos" "0"
+ "xpos" "c-125"
"ypos" "16"
"zpos" "1"
"wide" "250"
@@ -688,12 +716,16 @@
if_readymode
{
- "wide" "640"
+ "wide" "f0"
+ "xpos" "0"
+ "ypos" "16"
}
if_competitive
{
- "wide" "640"
+ "wide" "f0"
+ "xpos" "0"
+ "ypos" "16"
}
}
@@ -739,7 +771,7 @@
{
"ControlName" "ImagePanel"
"fieldName" "HelpBackground"
- "xpos" "0"
+ "xpos" "c-125"
"ypos" "26"
"zpos" "-1"
"wide" "250"
@@ -756,12 +788,12 @@
if_readymode
{
- "xpos" "195"
+ "xpos" "c-125"
}
if_competitive
{
- "xpos" "195"
+ "xpos" "c-125"
}
}
@@ -770,7 +802,7 @@
"ControlName" "CExLabel"
"fieldName" "TournamentInstructionsLabel"
"font" "Cerbetica11"
- "xpos" "0"
+ "xpos" "c-125"
"ypos" "52"
"wide" "250"
"tall" "13"
@@ -785,22 +817,27 @@
if_mvm
{
- "font" "CerbeticaBold16"
- "xpos" "155"
+ "font" "Cerbetica14"
+ "xpos" "0"
"ypos" "105"
- "wide" "190"
+ "wide" "f0"
"tall" "16"
"zpos" "3"
}
if_readymode
{
- "wide" "640"
+ "xpos" "0"
+ "wide" "f0"
}
if_competitive
{
- "wide" "640"
+ "xpos" "0"
+ "wide" "f0"
+ "ypos" "118"
+ "font" "Cerbetica14"
+ "tall" "16"
}
}
@@ -809,7 +846,7 @@
{
"ControlName" "ImagePanel"
"fieldName" "InstructionBackground"
- "xpos" "0"
+ "xpos" "c-125"
"ypos" "50"
"zpos" "-1"
"wide" "250"
@@ -826,12 +863,14 @@
if_readymode
{
- "xpos" "195"
+ "xpos" "c-125"
}
if_competitive
{
"xpos" "195"
+ "enabled" "0"
+ "visible" "0"
}
}
@@ -856,7 +895,30 @@
"src_corner_width" "23"
"draw_corner_width" "5" // screen size of the corners ( and sides ), proportional
- "draw_corner_height" "5"
+ "draw_corner_height" "5"
+
+ "if_mvm"
+ {
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "c-20"
+ }
+
+ if_competitive
+ {
+ "visible" "0"
+ "enabled" "0"
+ "wide" "0"
+ "tall" "0"
+ }
+
+ if_readymode
+ {
+ "visible" "0"
+ "enabled" "0"
+ "wide" "0"
+ "tall" "0"
+ }
}
"CountdownLabel"
@@ -876,18 +938,27 @@
"wrap" "0"
"labelText" "%tournamentstatelabel%"
"textAlignment" "center"
+
+ "if_mvm"
+ {
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "c-20"
+ }
if_competitive
{
- "xpos" "300"
+ "xpos" "c-20"
"ypos" "130"
+ "tall" "20"
}
if_readymode
{
- "xpos" "300"
+ "xpos" "c-20"
"ypos" "130"
+ "tall" "20"
}
}
@@ -911,16 +982,25 @@
"textAlignment" "center"
"fgcolor" "Black"
+ "if_mvm"
+ {
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "c-20"
+ }
+
if_competitive
{
- "xpos" "300"
+ "xpos" "c-18"
"ypos" "130"
+ "tall" "22"
}
if_readymode
{
- "xpos" "300"
+ "xpos" "c-18"
"ypos" "130"
+ "tall" "22"
}
}
}