summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--customizations/main_menu/mainmenuoverride-classic.res18
-rw-r--r--customizations/main_menu/mainmenuoverride.res18
-rw-r--r--resource/ui/hud_obj_dispenser.res10
-rw-r--r--resource/ui/hud_obj_sapper.res2
-rw-r--r--resource/ui/hud_obj_sentrygun.res8
-rw-r--r--resource/ui/hud_obj_sentrygun_disp.res2
-rw-r--r--resource/ui/hud_obj_tele.res8
-rw-r--r--resource/ui/hud_obj_tele_entrance.res10
-rw-r--r--resource/ui/hud_obj_tele_exit.res6
-rw-r--r--resource/ui/huddemomanpipes.res1
-rw-r--r--resource/ui/mainmenuoverride.res21
-rw-r--r--resource/ui/matchhistoryentrypanel.res510
-rw-r--r--scripts/hudlayout.res30
13 files changed, 580 insertions, 64 deletions
diff --git a/customizations/main_menu/mainmenuoverride-classic.res b/customizations/main_menu/mainmenuoverride-classic.res
index 8bfb28b..b3e6d11 100644
--- a/customizations/main_menu/mainmenuoverride-classic.res
+++ b/customizations/main_menu/mainmenuoverride-classic.res
@@ -1134,24 +1134,6 @@
}
}
- "VersionLabel"
- {
- "ControlName" "CExLabel"
- "fieldName" "VersionLabel"
- "font" "HudFontSmall"
- "labelText" "v2020.1230"
- "xpos" "r135"
- "ypos" "r15"
- "wide" "130"
- "tall" "10"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "textAlignment" "east"
- "fgcolor_override" "TanLight"
- }
-
"CharacterSetupButton"
{
"ControlName" "CExImageButton"
diff --git a/customizations/main_menu/mainmenuoverride.res b/customizations/main_menu/mainmenuoverride.res
index a29766d..e0e7548 100644
--- a/customizations/main_menu/mainmenuoverride.res
+++ b/customizations/main_menu/mainmenuoverride.res
@@ -1167,24 +1167,6 @@
}
}
- "VersionLabel"
- {
- "ControlName" "CExLabel"
- "fieldName" "VersionLabel"
- "font" "HudFontSmall"
- "labelText" "v2020.1230"
- "xpos" "r135"
- "ypos" "r15"
- "wide" "130"
- "tall" "10"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "textAlignment" "east"
- "fgcolor_override" "TanLight"
- }
-
"CharacterSetupButton"
{
"ControlName" "CExImageButton"
diff --git a/resource/ui/hud_obj_dispenser.res b/resource/ui/hud_obj_dispenser.res
index b70be62..1d878b3 100644
--- a/resource/ui/hud_obj_dispenser.res
+++ b/resource/ui/hud_obj_dispenser.res
@@ -234,7 +234,7 @@
"xpos" "0"
"ypos" "16"
"wide" "50"
- "tall" "8"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -261,7 +261,7 @@
"ControlName" "ImagePanel"
"fieldName" "AmmoIcon"
"xpos" "0"
- "ypos" "10"
+ "ypos" "7"
"zpos" "1"
"wide" "10"
"tall" "10"
@@ -279,7 +279,7 @@
"fieldName" "Ammo"
"font" "Default"
"xpos" "12"
- "ypos" "10"
+ "ypos" "7"
"wide" "38"
"tall" "10"
"autoResize" "0"
@@ -297,7 +297,7 @@
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "0"
- "ypos" "10"
+ "ypos" "19"
"zpos" "1"
"wide" "10"
"tall" "10"
@@ -315,7 +315,7 @@
"fieldName" "Upgrade"
"font" "Default"
"xpos" "12"
- "ypos" "10"
+ "ypos" "20"
"wide" "38"
"tall" "10"
"autoResize" "0"
diff --git a/resource/ui/hud_obj_sapper.res b/resource/ui/hud_obj_sapper.res
index f411662..2a72d1a 100644
--- a/resource/ui/hud_obj_sapper.res
+++ b/resource/ui/hud_obj_sapper.res
@@ -138,7 +138,7 @@
"xpos" "0"
"ypos" "16"
"wide" "50"
- "tall" "8"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
diff --git a/resource/ui/hud_obj_sentrygun.res b/resource/ui/hud_obj_sentrygun.res
index 0a1a37f..c3fbe53 100644
--- a/resource/ui/hud_obj_sentrygun.res
+++ b/resource/ui/hud_obj_sentrygun.res
@@ -264,7 +264,7 @@
"xpos" "0"
"ypos" "16"
"wide" "50"
- "tall" "8"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -348,7 +348,7 @@
"xpos" "12"
"ypos" "12"
"wide" "38"
- "tall" "9"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -384,7 +384,7 @@
"xpos" "12"
"ypos" "25"
"wide" "38"
- "tall" "9"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -420,7 +420,7 @@
"xpos" "12"
"ypos" "25"
"wide" "38"
- "tall" "9"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
diff --git a/resource/ui/hud_obj_sentrygun_disp.res b/resource/ui/hud_obj_sentrygun_disp.res
index 3faba2e..a4a2461 100644
--- a/resource/ui/hud_obj_sentrygun_disp.res
+++ b/resource/ui/hud_obj_sentrygun_disp.res
@@ -166,7 +166,7 @@
"xpos" "0"
"ypos" "16"
"wide" "50"
- "tall" "8"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
diff --git a/resource/ui/hud_obj_tele.res b/resource/ui/hud_obj_tele.res
index e63757a..f2a9472 100644
--- a/resource/ui/hud_obj_tele.res
+++ b/resource/ui/hud_obj_tele.res
@@ -283,10 +283,10 @@
"ControlName" "ContinuousProgressBar"
"fieldName" "Recharge"
"font" "Default"
- "xpos" "0"
- "ypos" "11"
- "wide" "50"
- "tall" "5"
+ "xpos" "12"
+ "ypos" "7"
+ "wide" "38"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
diff --git a/resource/ui/hud_obj_tele_entrance.res b/resource/ui/hud_obj_tele_entrance.res
index 362201e..0dd9a80 100644
--- a/resource/ui/hud_obj_tele_entrance.res
+++ b/resource/ui/hud_obj_tele_entrance.res
@@ -234,7 +234,7 @@
"xpos" "0"
"ypos" "16"
"wide" "50"
- "tall" "8"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -261,7 +261,7 @@
"ControlName" "ImagePanel"
"fieldName" "TeleportedIcon"
"xpos" "0"
- "ypos" "8"
+ "ypos" "7"
"zpos" "1"
"wide" "10"
"tall" "10"
@@ -289,9 +289,9 @@
"fieldName" "Recharge"
"font" "Default"
"xpos" "12"
- "ypos" "6"
+ "ypos" "7"
"wide" "38"
- "tall" "8"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -359,7 +359,7 @@
"xpos" "12"
"ypos" "20"
"wide" "38"
- "tall" "9"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
diff --git a/resource/ui/hud_obj_tele_exit.res b/resource/ui/hud_obj_tele_exit.res
index 987d4d9..6aba9f7 100644
--- a/resource/ui/hud_obj_tele_exit.res
+++ b/resource/ui/hud_obj_tele_exit.res
@@ -234,7 +234,7 @@
"xpos" "0"
"ypos" "16"
"wide" "50"
- "tall" "8"
+ "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
@@ -261,7 +261,7 @@
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "0"
- "ypos" "10"
+ "ypos" "20"
"zpos" "1"
"wide" "10"
"tall" "10"
@@ -279,7 +279,7 @@
"fieldName" "Upgrade"
"font" "Default"
"xpos" "12"
- "ypos" "10"
+ "ypos" "20"
"wide" "38"
"tall" "10"
"autoResize" "0"
diff --git a/resource/ui/huddemomanpipes.res b/resource/ui/huddemomanpipes.res
index afa7268..8dcc967 100644
--- a/resource/ui/huddemomanpipes.res
+++ b/resource/ui/huddemomanpipes.res
@@ -19,6 +19,7 @@
"dulltext" "0"
"brighttext" "0"
"font" "HudFontSmallest"
+ "fgcolor_override" "White"
}
"ChargeMeter"
diff --git a/resource/ui/mainmenuoverride.res b/resource/ui/mainmenuoverride.res
index f34cc2e..78c300e 100644
--- a/resource/ui/mainmenuoverride.res
+++ b/resource/ui/mainmenuoverride.res
@@ -1,3 +1,24 @@
#base "../../resource/preload.res"
//#base "../../customizations/main_menu/mainmenuoverride-classic.res"
#base "../../customizations/main_menu/mainmenuoverride.res"
+
+"Resource/UI/MainMenuOverride.res"
+{
+ "VersionLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "VersionLabel"
+ "font" "HudFontSmall"
+ "labelText" "v2021.0201"
+ "xpos" "r135"
+ "ypos" "r15"
+ "wide" "130"
+ "tall" "10"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "textAlignment" "east"
+ "fgcolor_override" "TanLight"
+ }
+} \ No newline at end of file
diff --git a/resource/ui/matchhistoryentrypanel.res b/resource/ui/matchhistoryentrypanel.res
new file mode 100644
index 0000000..f360f87
--- /dev/null
+++ b/resource/ui/matchhistoryentrypanel.res
@@ -0,0 +1,510 @@
+"MatchHistoryEntryPanel"
+{
+ "MatchEntry"
+ {
+ "fieldName" "MatchEntry"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "17"
+ "proportionaltoparent" "1"
+ "resize_time" "0.2"
+ }
+
+ "Container"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "Container"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "17"
+ "proportionaltoparent" "1"
+
+ "bgcolor_override" "0 0 0 120"
+
+ "EntryToggleButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "EntryToggleButton"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ "proportionaltoparent" "1"
+
+ "actionsignallevel" "2"
+ "command" "toggle_collapse"
+ "labeltext" ""
+
+ "border_default" "NoBorder"
+ "defaultBgColor_override" "0 0 0 0"
+
+ "border_armed" "NoBorder"
+ "armedBgColor_override" "235 226 202 20"
+
+ "sound_armed" "ui/item_info_mouseover.wav"
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+
+ "WinLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "WinLabel"
+ "xpos" "10"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ "proportionaltoparent" "1"
+ "visible" "0"
+ "mouseinputenabled" "0"
+
+ "labeltext" "#TF_Competitive_MatchHistory_Win"
+ "font" "HudFontSmallestBold"
+ "fgcolor_override" "95 164 44 255"
+ "textAlignment" "west"
+ }
+
+ "LossLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "LossLabel"
+ "xpos" "10"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ "proportionaltoparent" "1"
+ "visible" "0"
+ "mouseinputenabled" "0"
+
+ "labeltext" "#TF_Competitive_MatchHistory_Loss"
+ "font" "HudFontSmallestBold"
+ "fgcolor_override" "141 63 63 255"
+ "textAlignment" "west"
+ }
+
+ "DateLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "DateLabel"
+ "xpos" "p0.2"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%match_date%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ "MapNameLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "MapNameLabel"
+ "xpos" "p0.60"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%map_name%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ "KDLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "KDLabel"
+ "xpos" "p0.9"
+ "ypos" "0"
+ "wide" "100"
+ "tall" "f0"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%kd_ratio%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+ }
+
+ "BottomStats"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "BottomStats"
+ "xpos" "0"
+ "ypos" "17"
+ "wide" "f0"
+ "tall" "0"
+ "proportionaltoparent" "1"
+ "bgcolor_override" "0 0 0 190"
+ "autoresize" "2"
+ "pincorner" "3"
+
+ "InnerShadow"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "InnerShadow"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ "zpos" "1"
+ "proportionaltoparent" "1"
+ "autoresize" "2"
+ "pincorner" "3"
+
+ "border" "InnerShadowBorder"
+ }
+
+ "SlidingStatsContainer"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "SlidingStatsContainer"
+ "xpos" "0"
+ "ypos" "rs1+17"
+ "wide" "f0"
+ "tall" "50"
+ "proportionaltoparent" "1"
+
+ "pincorner" "3" // Just slide down
+
+ "BGImage"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "BGImage"
+ "xpos" "-2"
+ "ypos" "0"
+ "wide" "o1"
+ "tall" "50"
+ "image" "casual\gametype_koth"
+ "proportionaltoparent" "1"
+ }
+
+ "GradientImage"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "GradientImage"
+ "xpos" "8"
+ "ypos" "0"
+ "zpos" "1"
+ "wide" "o1"
+ "tall" "40"
+ "image" "training\gradient_black"
+ "proportionaltoparent" "1"
+ "rotation" "1"
+ }
+
+ // First column
+ "KillsMedal"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "KillsMedal"
+ "xpos" "p0.2"
+ "ypos" "2"
+ "wide" "o1"
+ "tall" "10"
+ "zpos" "100"
+ "image" "competitive\competitive_coin_bronze"
+ "proportionaltoparent" "1"
+ }
+
+ "KillsLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "KillsLabel"
+ "xpos" "p0.2+10"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "15"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%stat_kills%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ "DeathsLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "DeathsLabel"
+ "xpos" "p0.2+10"
+ "ypos" "10"
+ "wide" "f0"
+ "tall" "15"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%stat_deaths%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ "DamageMedal"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "DamageMedal"
+ "xpos" "p0.2"
+ "ypos" "22"
+ "wide" "o1"
+ "tall" "10"
+ "zpos" "100"
+ "image" "competitive\competitive_coin_bronze"
+ "proportionaltoparent" "1"
+ }
+
+ "DamageLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "DamageLabel"
+ "xpos" "p0.2+10"
+ "ypos" "20"
+ "wide" "f0"
+ "tall" "15"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%stat_damage%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ // Second column
+ "HealingMedal"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "HealingMedal"
+ "xpos" "p0.6-10"
+ "ypos" "2"
+ "wide" "o1"
+ "tall" "10"
+ "zpos" "100"
+ "image" "competitive\competitive_coin_bronze"
+ "proportionaltoparent" "1"
+ }
+
+ "HealingLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "HealingLabel"
+ "xpos" "p0.6"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "15"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%stat_healing%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ "SupportMedal"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "SupportMedal"
+ "xpos" "p0.6-10"
+ "ypos" "12"
+ "wide" "o1"
+ "tall" "10"
+ "zpos" "100"
+ "image" "competitive\competitive_coin_bronze"
+ "proportionaltoparent" "1"
+ }
+
+ "SupportLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "SupportLabel"
+ "xpos" "p0.6"
+ "ypos" "10"
+ "wide" "f0"
+ "tall" "15"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "labeltext" "%stat_support%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ "ScoreMedal"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "ScoreMedal"
+ "xpos" "p0.6-10"
+ "ypos" "22"
+ "wide" "o1"
+ "tall" "10"
+ "zpos" "100"
+ "image" "competitive\competitive_coin_bronze"
+ "proportionaltoparent" "1"
+ }
+
+ "ScoreLabel"
+ {
+ "ControlName" "Label"
+ "fieldName" "ScoreLabel"
+ "xpos" "p0.6"
+ "ypos" "20"
+ "wide" "f0"
+ "tall" "15"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "mouseinputenabled" "0"
+
+ "pincorner" "3"
+
+ "labeltext" "%stat_score%"
+ "font" "MMenuPlayListDesc"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ }
+
+ "ClassIcons"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "ClassIcons"
+ "xpos" "rs1-5"
+ "ypos" "2"
+ "wide" "o1"
+ "tall" "30"
+ "zpos" "1"
+ "proportionaltoparent" "1"
+
+ // First row
+ "ScoutIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "ScoutIcon"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_scout"
+ "proportionaltoparent" "1"
+ }
+
+ "PyroIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "PyroIcon"
+ "xpos" "p0.333"
+ "ypos" "0"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_pyro"
+ "proportionaltoparent" "1"
+ }
+
+ "SoldierIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "SoldierIcon"
+ "xpos" "p0.666"
+ "ypos" "0"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_soldier"
+ "proportionaltoparent" "1"
+ }
+
+ // Second row
+ "DemoIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "DemoIcon"
+ "xpos" "0"
+ "ypos" "p0.333"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_demo"
+ "proportionaltoparent" "1"
+ }
+
+ "HeavyIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "HeavyIcon"
+ "xpos" "p0.333"
+ "ypos" "p0.333"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_heavy"
+ "proportionaltoparent" "1"
+ }
+
+ "EngineerIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "EngineerIcon"
+ "xpos" "p0.666"
+ "ypos" "p0.333"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_engineer"
+ "proportionaltoparent" "1"
+ }
+
+ // Third row
+ "MedicIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "MedicIcon"
+ "xpos" "0"
+ "ypos" "p0.666"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_medic"
+ "proportionaltoparent" "1"
+ }
+
+ "SniperIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "SniperIcon"
+ "xpos" "p0.333"
+ "ypos" "p0.666"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_sniper"
+ "proportionaltoparent" "1"
+ }
+
+ "SpyIcon"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "SpyIcon"
+ "xpos" "p0.666"
+ "ypos" "p0.666"
+ "wide" "p0.333"
+ "tall" "p0.333"
+ "image" "class_icons/filter_spy"
+ "proportionaltoparent" "1"
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res
index 390e5f6..9d05a6b 100644
--- a/scripts/hudlayout.res
+++ b/scripts/hudlayout.res
@@ -308,17 +308,33 @@
"tall" "50"
"priority" "35"
}
-
+
+ "BuildingStatusAnchor"
+ {
+ "fieldName" "BuildingStatusAnchor"
+ "ControlName" "EditablePanel"
+ "visible" "0"
+ "enabled" "1"
+ "xpos" "5"
+ "ypos" "c-100"
+ "wide" "640"
+ "tall" "480"
+ }
+
BuildingStatus_Spy
{
"fieldName" "BuildingStatus_Spy"
"visible" "1"
"enabled" "1"
- "xpos" "5"
- "ypos" "c-100"
+ "xpos" "0"
+ "ypos" "0"
"wide" "640"
"tall" "480"
"PaintBackgroundType" "2"
+
+ "pin_to_sibling" "BuildingStatusAnchor"
+ "pin_to_sibling_corner" "PIN_TOPLEFT"
+ "pin_corner_to_sibling" "PIN_TOPLEFT"
}
BuildingStatus_Engineer
@@ -326,11 +342,15 @@
"fieldName" "BuildingStatus_Engineer"
"visible" "1"
"enabled" "1"
- "xpos" "5"
- "ypos" "c-100"
+ "xpos" "0"
+ "ypos" "0"
"wide" "640"
"tall" "480"
"PaintBackgroundType" "2"
+
+ "pin_to_sibling" "BuildingStatusAnchor"
+ "pin_to_sibling_corner" "PIN_TOPLEFT"
+ "pin_corner_to_sibling" "PIN_TOPLEFT"
}
HudMannVsMachineStatus