2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-11-23 06:31:46 +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"
{
@ -10,7 +10,6 @@
"tall" "32"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1"
"labelText" "#Building_hud_dispenser_not_built"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1"
"proportionaltoparent" "1"
}
@ -202,16 +199,12 @@
{
"ControlName" "CBuildingHealthBar"
"fieldName" "Health"
"font" "Default"
"xpos" "rs1-3"
"ypos" "cs-0.5-1"
"wide" "6"
"tall" "28"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
}
@ -239,45 +232,39 @@
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Ammo"
"font" "Default"
"xpos" "32"
"ypos" "cs-0.5"
"wide" "30"
"tall" "6"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255"
}
"AmmoLabel"
"AmmoIcon"
{
"ControlName" "CExLabel"
"fieldName" "AmmoLabel"
"font" "Size 7"
"ControlName" "ImagePanel"
"fieldName" "AmmoIcon"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "30"
"wide" "25"
"tall" "6"
"visible" "1"
"enabled" "1"
"labelText" "AMMO"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"scaleImage" "1"
"image" "replay/thumbnails/game/buildingstatus_ammo"
"drawcolor" "Black"
"pin_to_sibling" "Ammo"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
}
"Upgrade"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade"
"font" "Default"
"xpos" "32"
"ypos" "rs1-3"
"zpos" "2"
@ -285,24 +272,27 @@
"tall" "6"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255"
}
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "9999"
}
"AmmoIcon"
{
"ControlName" "ImagePanel"
"fieldName" "AmmoIcon"
"xpos" "9999"
"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_sentrygun.res"
"Resource/UI/Hud_Obj_Sentrygun.res"
{
"BuildingStatusItem"
{
@ -10,7 +10,6 @@
"tall" "32"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"BackgroundCustom"
@ -137,8 +136,6 @@
"enabled" "1"
"labelText" "#Building_hud_sentry_not_built"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1"
"proportionaltoparent" "1"
}
@ -244,16 +241,12 @@
{
"ControlName" "CBuildingHealthBar"
"fieldName" "Health"
"font" "Default"
"xpos" "rs1-3"
"ypos" "cs-0.5-1"
"wide" "6"
"tall" "28"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
}
@ -290,8 +283,6 @@
"enabled" "1"
"labelText" "#Building_hud_sentry_kills_assists"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White"
"proportionaltoparent" "1"
}
@ -300,83 +291,71 @@
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Shells"
"font" "Default"
"xpos" "32"
"ypos" "cs-0.5+1"
"wide" "30"
"tall" "6"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255"
}
"ShellLabel"
"ShellIcon"
{
"ControlName" "CExLabel"
"fieldName" "ShellLabel"
"font" "Size 7"
"ControlName" "ImagePanel"
"fieldName" "ShellIcon"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "30"
"wide" "25"
"tall" "6"
"visible" "1"
"enabled" "1"
"labelText" "AMMO"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"scaleImage" "1"
"image" "replay/thumbnails/game/buildingstatus_ammo"
"drawcolor" "Black"
"pin_to_sibling" "Shells"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
}
"Rockets"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Rockets"
"font" "Default"
"xpos" "32"
"ypos" "rs1-3"
"wide" "30"
"tall" "6"
"visible" "0"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255"
}
"RocketsLabel"
"RocketIcon"
{
"ControlName" "CExLabel"
"fieldName" "RocketsLabel"
"font" "Size 7"
"ControlName" "ImagePanel"
"fieldName" "RocketIcon"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "30"
"wide" "25"
"tall" "6"
"visible" "1"
"visible" "0"
"enabled" "1"
"labelText" "ROCKETS"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"scaleImage" "1"
"image" "replay/thumbnails/game/buildingstatus_rockets"
"drawcolor" "Black"
"pin_to_sibling" "Rockets"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
}
"Upgrade"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade"
"font" "Default"
"xpos" "32"
"ypos" "rs1-3"
"zpos" "2"
@ -384,12 +363,28 @@
"tall" "6"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"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"
{
@ -397,24 +392,6 @@
"fieldName" "KillIcon"
"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"
{
@ -10,7 +10,6 @@
"tall" "32"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1"
"labelText" "#Building_hud_sentry_not_built"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1"
"proportionaltoparent" "1"
}
@ -202,16 +199,12 @@
{
"ControlName" "CBuildingHealthBar"
"fieldName" "Health"
"font" "Default"
"xpos" "rs1-3"
"ypos" "cs-0.5-1"
"wide" "6"
"tall" "28"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
}
@ -248,8 +241,6 @@
"enabled" "1"
"labelText" "#Building_hud_sentry_kills_assists"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White"
"proportionaltoparent" "1"
}
@ -258,38 +249,33 @@
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Shells"
"font" "Default"
"xpos" "32"
"ypos" "cs-0.5+1"
"wide" "30"
"tall" "6"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255"
}
"ShellLabel"
"ShellIcon"
{
"ControlName" "CExLabel"
"fieldName" "ShellLabel"
"font" "Size 7"
"ControlName" "ImagePanel"
"fieldName" "ShellIcon"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "30"
"wide" "25"
"tall" "6"
"visible" "1"
"enabled" "1"
"labelText" "AMMO"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "Black"
"proportionaltoparent" "1"
"scaleImage" "1"
"image" "replay/thumbnails/game/buildingstatus_ammo"
"drawcolor" "Black"
"pin_to_sibling" "Shells"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"
}
"KillIcon"
@ -298,12 +284,6 @@
"fieldName" "KillIcon"
"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"
{
@ -10,7 +10,6 @@
"tall" "32"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1"
"labelText" "#Building_hud_tele_enter_not_built_360"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1"
"proportionaltoparent" "1"
}
@ -202,16 +199,12 @@
{
"ControlName" "CBuildingHealthBar"
"fieldName" "Health"
"font" "Default"
"xpos" "rs1-3"
"ypos" "cs-0.5-1"
"wide" "6"
"tall" "28"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
}
@ -257,16 +250,12 @@
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Recharge"
"font" "Default"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "f0"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"bgcolor_override" "130 130 130 255"
}
@ -284,8 +273,6 @@
"enabled" "1"
"labelText" "CHARGE"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "Black"
"AllCaps" "1"
"proportionaltoparent" "1"
@ -318,8 +305,6 @@
"enabled" "1"
"labelText" "used:"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White"
"AllCaps" "1"
"proportionaltoparent" "1"
@ -340,25 +325,15 @@
"enabled" "1"
"labelText" "%timesused%"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"drawcolor" "White"
"proportionaltoparent" "1"
}
}
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "9999"
}
"Upgrade"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade"
"font" "Default"
"xpos" "32"
"ypos" "rs1-3"
"zpos" "2"
@ -366,12 +341,28 @@
"tall" "6"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"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"
{
@ -10,7 +10,6 @@
"tall" "32"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"BackgroundCustom"
@ -95,8 +94,6 @@
"enabled" "1"
"labelText" "#Building_hud_tele_exit_not_built"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"AllCaps" "1"
"proportionaltoparent" "1"
}
@ -202,16 +199,12 @@
{
"ControlName" "CBuildingHealthBar"
"fieldName" "Health"
"font" "Default"
"xpos" "rs1-3"
"ypos" "cs-0.5-1"
"wide" "6"
"tall" "28"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
}
@ -235,18 +228,10 @@
"visible" "0"
"proportionaltoparent" "1"
"UpgradeIcon"
{
"ControlName" "CIconPanel"
"fieldName" "UpgradeIcon"
"xpos" "9999"
}
"Upgrade"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "Upgrade"
"font" "Default"
"xpos" "32"
"ypos" "cs-0.5"
"zpos" "2"
@ -254,12 +239,28 @@
"tall" "6"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"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"
{
"file" "vgui\logos\build icons\metal"
"file" "vgui\replay\thumbnails\game\buildingstatus_upgrade"
"x" "0"
"y" "0"
"width" "32"
"height" "32"
"width" "64"
"height" "16"
}
"ico_demolish"