2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-11-09 09:11:45 +00:00

Tweak building status UI (upstream)

This commit is contained in:
Jessie Hildebrandt 2023-01-15 02:55:26 -05:00
parent 343a144a5f
commit e363844875
6 changed files with 423 additions and 484 deletions

View File

@ -1,4 +1,4 @@
"Resource/UI/hud_obj_dispenser.res" "Resource/UI/Hud_Obj_Dispenser.res"
{ {
"BuildingStatusItem" "BuildingStatusItem"
{ {
@ -10,7 +10,6 @@
"tall" "32" "tall" "32"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0"
} }
"BackgroundCustom" "BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1" "enabled" "1"
"labelText" "#Building_hud_dispenser_not_built" "labelText" "#Building_hud_dispenser_not_built"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1" "AllCaps" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -202,16 +199,12 @@
{ {
"ControlName" "CBuildingHealthBar" "ControlName" "CBuildingHealthBar"
"fieldName" "Health" "fieldName" "Health"
"font" "Default"
"xpos" "rs1-3" "xpos" "rs1-3"
"ypos" "cs-0.5-1" "ypos" "cs-0.5-1"
"wide" "6" "wide" "6"
"tall" "28" "tall" "28"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -239,45 +232,39 @@
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Ammo" "fieldName" "Ammo"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "cs-0.5" "ypos" "cs-0.5"
"wide" "30" "wide" "30"
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"AmmoLabel" "AmmoIcon"
{ {
"ControlName" "CExLabel" "ControlName" "ImagePanel"
"fieldName" "AmmoLabel" "fieldName" "AmmoIcon"
"font" "Size 7"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"zpos" "1" "zpos" "1"
"wide" "30" "wide" "25"
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"labelText" "AMMO" "scaleImage" "1"
"textAlignment" "center" "image" "replay/thumbnails/game/buildingstatus_ammo"
"dulltext" "0" "drawcolor" "Black"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"pin_to_sibling" "Ammo" "pin_to_sibling" "Ammo"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
} }
"Upgrade" "Upgrade"
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade" "fieldName" "Upgrade"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "rs1-3" "ypos" "rs1-3"
"zpos" "2" "zpos" "2"
@ -285,24 +272,27 @@
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"UpgradeIcon" "UpgradeIcon"
{ {
"ControlName" "CIconPanel" "ControlName" "CIconPanel"
"fieldName" "UpgradeIcon" "fieldName" "UpgradeIcon"
"xpos" "9999" "xpos" "0"
} "ypos" "0"
"AmmoIcon" "zpos" "3"
{ "wide" "25"
"ControlName" "ImagePanel" "tall" "6"
"fieldName" "AmmoIcon" "visible" "1"
"xpos" "9999" "enabled" "1"
"scaleImage" "1"
"icon" "ico_metal"
"iconColor" "Black"
"pin_to_sibling" "Upgrade"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
} }
} }
} }

View File

@ -1,4 +1,4 @@
"Resource/UI/hud_obj_sentrygun.res" "Resource/UI/Hud_Obj_Sentrygun.res"
{ {
"BuildingStatusItem" "BuildingStatusItem"
{ {
@ -10,7 +10,6 @@
"tall" "32" "tall" "32"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0"
} }
"BackgroundCustom" "BackgroundCustom"
@ -137,8 +136,6 @@
"enabled" "1" "enabled" "1"
"labelText" "#Building_hud_sentry_not_built" "labelText" "#Building_hud_sentry_not_built"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1" "AllCaps" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -244,16 +241,12 @@
{ {
"ControlName" "CBuildingHealthBar" "ControlName" "CBuildingHealthBar"
"fieldName" "Health" "fieldName" "Health"
"font" "Default"
"xpos" "rs1-3" "xpos" "rs1-3"
"ypos" "cs-0.5-1" "ypos" "cs-0.5-1"
"wide" "6" "wide" "6"
"tall" "28" "tall" "28"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -290,8 +283,6 @@
"enabled" "1" "enabled" "1"
"labelText" "#Building_hud_sentry_kills_assists" "labelText" "#Building_hud_sentry_kills_assists"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White" "drawcolor" "White"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -300,83 +291,71 @@
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Shells" "fieldName" "Shells"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "cs-0.5+1" "ypos" "cs-0.5+1"
"wide" "30" "wide" "30"
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"ShellLabel" "ShellIcon"
{ {
"ControlName" "CExLabel" "ControlName" "ImagePanel"
"fieldName" "ShellLabel" "fieldName" "ShellIcon"
"font" "Size 7"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"zpos" "1" "zpos" "1"
"wide" "30" "wide" "25"
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"labelText" "AMMO" "scaleImage" "1"
"textAlignment" "center" "image" "replay/thumbnails/game/buildingstatus_ammo"
"dulltext" "0" "drawcolor" "Black"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"pin_to_sibling" "Shells" "pin_to_sibling" "Shells"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
} }
"Rockets" "Rockets"
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Rockets" "fieldName" "Rockets"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "rs1-3" "ypos" "rs1-3"
"wide" "30" "wide" "30"
"tall" "6" "tall" "6"
"visible" "0" "visible" "0"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"RocketsLabel" "RocketIcon"
{ {
"ControlName" "CExLabel" "ControlName" "ImagePanel"
"fieldName" "RocketsLabel" "fieldName" "RocketIcon"
"font" "Size 7"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"zpos" "1" "zpos" "1"
"wide" "30" "wide" "25"
"tall" "6" "tall" "6"
"visible" "1" "visible" "0"
"enabled" "1" "enabled" "1"
"labelText" "ROCKETS" "scaleImage" "1"
"textAlignment" "center" "image" "replay/thumbnails/game/buildingstatus_rockets"
"dulltext" "0" "drawcolor" "Black"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"pin_to_sibling" "Rockets" "pin_to_sibling" "Rockets"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
} }
"Upgrade" "Upgrade"
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade" "fieldName" "Upgrade"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "rs1-3" "ypos" "rs1-3"
"zpos" "2" "zpos" "2"
@ -384,12 +363,28 @@
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "0"
"ypos" "0"
"zpos" "3"
"wide" "25"
"tall" "6"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"icon" "ico_metal"
"iconColor" "Black"
"pin_to_sibling" "Upgrade"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
}
"KillIcon" "KillIcon"
{ {
@ -397,24 +392,6 @@
"fieldName" "KillIcon" "fieldName" "KillIcon"
"xpos" "9999" "xpos" "9999"
} }
"ShellIcon"
{
"ControlName" "ImagePanel"
"fieldName" "ShellIcon"
"xpos" "9999"
}
"RocketIcon"
{
"ControlName" "ImagePanel"
"fieldName" "RocketIcon"
"xpos" "9999"
}
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "9999"
}
} }
} }

View File

@ -1,4 +1,4 @@
"Resource/UI/hud_obj_sentrygun_disp.res" "Resource/UI/Hud_Obj_Sentrygun_Disp.res"
{ {
"BuildingStatusItem" "BuildingStatusItem"
{ {
@ -10,7 +10,6 @@
"tall" "32" "tall" "32"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0"
} }
"BackgroundCustom" "BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1" "enabled" "1"
"labelText" "#Building_hud_sentry_not_built" "labelText" "#Building_hud_sentry_not_built"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1" "AllCaps" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -202,16 +199,12 @@
{ {
"ControlName" "CBuildingHealthBar" "ControlName" "CBuildingHealthBar"
"fieldName" "Health" "fieldName" "Health"
"font" "Default"
"xpos" "rs1-3" "xpos" "rs1-3"
"ypos" "cs-0.5-1" "ypos" "cs-0.5-1"
"wide" "6" "wide" "6"
"tall" "28" "tall" "28"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -248,8 +241,6 @@
"enabled" "1" "enabled" "1"
"labelText" "#Building_hud_sentry_kills_assists" "labelText" "#Building_hud_sentry_kills_assists"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White" "drawcolor" "White"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -258,38 +249,33 @@
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Shells" "fieldName" "Shells"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "cs-0.5+1" "ypos" "cs-0.5+1"
"wide" "30" "wide" "30"
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"ShellLabel" "ShellIcon"
{ {
"ControlName" "CExLabel" "ControlName" "ImagePanel"
"fieldName" "ShellLabel" "fieldName" "ShellIcon"
"font" "Size 7"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"zpos" "1" "zpos" "1"
"wide" "30" "wide" "25"
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"labelText" "AMMO" "scaleImage" "1"
"textAlignment" "center" "image" "replay/thumbnails/game/buildingstatus_ammo"
"dulltext" "0" "drawcolor" "Black"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"pin_to_sibling" "Shells" "pin_to_sibling" "Shells"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
} }
"KillIcon" "KillIcon"
@ -298,12 +284,6 @@
"fieldName" "KillIcon" "fieldName" "KillIcon"
"xpos" "9999" "xpos" "9999"
} }
"ShellIcon"
{
"ControlName" "ImagePanel"
"fieldName" "ShellIcon"
"xpos" "9999"
}
} }
} }

View File

@ -1,4 +1,4 @@
"Resource/UI/hud_obj_tele_entrance.res" "Resource/UI/Hud_Obj_Tele_Entrance.res"
{ {
"BuildingStatusItem" "BuildingStatusItem"
{ {
@ -10,7 +10,6 @@
"tall" "32" "tall" "32"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0"
} }
"BackgroundCustom" "BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1" "enabled" "1"
"labelText" "#Building_hud_tele_enter_not_built_360" "labelText" "#Building_hud_tele_enter_not_built_360"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1" "AllCaps" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -202,16 +199,12 @@
{ {
"ControlName" "CBuildingHealthBar" "ControlName" "CBuildingHealthBar"
"fieldName" "Health" "fieldName" "Health"
"font" "Default"
"xpos" "rs1-3" "xpos" "rs1-3"
"ypos" "cs-0.5-1" "ypos" "cs-0.5-1"
"wide" "6" "wide" "6"
"tall" "28" "tall" "28"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -257,16 +250,12 @@
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Recharge" "fieldName" "Recharge"
"font" "Default"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"wide" "f0" "wide" "f0"
"tall" "f0" "tall" "f0"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
@ -284,8 +273,6 @@
"enabled" "1" "enabled" "1"
"labelText" "CHARGE" "labelText" "CHARGE"
"textAlignment" "center" "textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "Black" "fgcolor" "Black"
"AllCaps" "1" "AllCaps" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
@ -318,8 +305,6 @@
"enabled" "1" "enabled" "1"
"labelText" "used:" "labelText" "used:"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White" "drawcolor" "White"
"AllCaps" "1" "AllCaps" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
@ -340,25 +325,15 @@
"enabled" "1" "enabled" "1"
"labelText" "%timesused%" "labelText" "%timesused%"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White" "drawcolor" "White"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
} }
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "9999"
}
"Upgrade" "Upgrade"
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade" "fieldName" "Upgrade"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "rs1-3" "ypos" "rs1-3"
"zpos" "2" "zpos" "2"
@ -366,12 +341,28 @@
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "0"
"ypos" "0"
"zpos" "3"
"wide" "25"
"tall" "6"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"icon" "ico_metal"
"iconColor" "Black"
"pin_to_sibling" "Upgrade"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
}
} }
} }

View File

@ -1,4 +1,4 @@
"Resource/UI/hud_obj_tele_exit.res" "Resource/UI/Hud_Obj_Tele_Exit.res"
{ {
"BuildingStatusItem" "BuildingStatusItem"
{ {
@ -10,7 +10,6 @@
"tall" "32" "tall" "32"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0"
} }
"BackgroundCustom" "BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1" "enabled" "1"
"labelText" "#Building_hud_tele_exit_not_built" "labelText" "#Building_hud_tele_exit_not_built"
"textAlignment" "west" "textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1" "AllCaps" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -202,16 +199,12 @@
{ {
"ControlName" "CBuildingHealthBar" "ControlName" "CBuildingHealthBar"
"fieldName" "Health" "fieldName" "Health"
"font" "Default"
"xpos" "rs1-3" "xpos" "rs1-3"
"ypos" "cs-0.5-1" "ypos" "cs-0.5-1"
"wide" "6" "wide" "6"
"tall" "28" "tall" "28"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -235,18 +228,10 @@
"visible" "0" "visible" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "9999"
}
"Upgrade" "Upgrade"
{ {
"ControlName" "ContinuousProgressBar" "ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade" "fieldName" "Upgrade"
"font" "Default"
"xpos" "32" "xpos" "32"
"ypos" "cs-0.5" "ypos" "cs-0.5"
"zpos" "2" "zpos" "2"
@ -254,12 +239,28 @@
"tall" "6" "tall" "6"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255" "bgcolor_override" "130 130 130 255"
} }
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "0"
"ypos" "0"
"zpos" "3"
"wide" "25"
"tall" "6"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"icon" "ico_metal"
"iconColor" "Black"
"pin_to_sibling" "Upgrade"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
}
} }
} }

View File

@ -2066,11 +2066,11 @@
"ico_metal" "ico_metal"
{ {
"file" "vgui\logos\build icons\metal" "file" "vgui\replay\thumbnails\game\buildingstatus_upgrade"
"x" "0" "x" "0"
"y" "0" "y" "0"
"width" "32" "width" "64"
"height" "32" "height" "16"
} }
"ico_demolish" "ico_demolish"