Skip to content

Commit

Permalink
Added shadows to counters and adjusted sizes of meters
Browse files Browse the repository at this point in the history
  • Loading branch information
Rorriis committed Jul 30, 2024
1 parent 9d710d1 commit 4208860
Show file tree
Hide file tree
Showing 15 changed files with 188 additions and 157 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified materials/vgui/replay/thumbnails/customizations/uber_default.vtf
Binary file not shown.
2 changes: 1 addition & 1 deletion resource/ui/#customizations/hud_customization_killfeed.res
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
"labelText" "9"
"font" "ItemFontNameSmall"
"textAlignment" "center"
"Command" "engine hud_killfeed_rows_8"
"Command" "engine hud_killfeed_rows_9"
"actionsignallevel" "5"
"sound_depressed" "UI/buttonclick.wav"

Expand Down
103 changes: 54 additions & 49 deletions resource/ui/huditemeffectmeter_killstreak.res
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"enabled" "1"
"xpos" "c-316"
"ypos" "r48"
"xpos_minmode" "c-314"
"ypos_minmode" "r36"
"wide" "100"
"tall" "50"
"xpos_minmode" "c-290"
"ypos_minmode" "r22"
"wide" "75"
"tall" "40"
"wide_minmode" "40"
"tall_minmode" "20"
"MeterFG" "White"
"MeterBG" "Gray"
}
Expand All @@ -37,9 +39,9 @@
{
"ControlName" "CTFImagePanel"
"fieldName" "MinmodeMeterBG"
"xpos" "26"
"ypos" "14"
"wide" "38"
"xpos" "0"
"ypos" "0"
"wide" "40"
"tall" "20"
"visible" "0"
"visible_minmode" "1"
Expand All @@ -56,33 +58,45 @@
"draw_corner_height" "6"
}

"ItemEffectMeterLabel"
"Icon"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "9999"
"ControlName" "ImagePanel"
"fieldName" "Icon"
"xpos" "12"
"ypos" "10"
"xpos_minmode" "2"
"ypos_minmode" "2"
"zpos" "2"
"wide" "22"
"tall" "22"
"wide_minmode" "16"
"tall_minmode" "16"
"visible" "1"
"visible_minmode" "1"
"enabled" "1"
"image" "../hud/leaderboard_streak"
"scaleImage" "1"
}

"ItemEffectMeterCount"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterCount"
"xpos" "24"
"xpos_minmode" "38"
"ypos" "10"
"ypos_minmode" "15"
"xpos" "26"
"ypos" "12"
"xpos_minmode" "15"
"ypos_minmode" "2"
"zpos" "2"
"wide" "40"
"tall" "22"
"wide_minmode" "20"
"tall_minmode" "20"
"wide" "35"
"tall" "20"
"wide_minmode" "26"
"tall_minmode" "18"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%progresscount%"
"textAlignment" "north"
"textAlignment_minmode" "east"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "HudFontMedium"
Expand All @@ -93,48 +107,39 @@
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterCountShadow"
"xpos" "39"
"ypos" "16"
"xpos" "27"
"ypos" "13"
"xpos_minmode" "16"
"ypos_minmode" "3"
"zpos" "1"
"wide" "20"
"wide" "35"
"tall" "20"
"wide_minmode" "26"
"tall_minmode" "18"
"pinCorner" "2"
"visible" "0"
"visible_minmode" "1"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%progresscount%"
"textAlignment" "east"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "HudFontMediumSmall"
"font" "HudFontMedium"
"font_minmode" "HudFontMediumSmall"
"fgcolor" "Black"
}

"Icon"
"ItemEffectMeterLabel"
{
"ControlName" "ImagePanel"
"fieldName" "Icon"
"xpos" "12"
"ypos" "10"
"xpos_minmode" "28"
"ypos_minmode" "16"
"zpos" "2"
"wide" "22"
"tall" "22"
"wide_minmode" "16"
"tall_minmode" "16"
"visible" "1"
"visible_minmode" "1"
"enabled" "1"
"image" "../hud/leaderboard_streak"
"scaleImage" "1"
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "9999"
}

"ItemEffectMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ItemEffectMeter"
"xpos" "9999"
}
"ControlName" "ContinuousProgressBar"
"fieldName" "ItemEffectMeter"
"xpos" "9999"
}
}
111 changes: 64 additions & 47 deletions resource/ui/huditemeffectmeter_powerupbottle.res
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"fieldName" "HudItemEffectMeter"
"visible" "1"
"enabled" "1"
"xpos" "c-316"
"xpos" "c-314"
"ypos" "r84"
"xpos_minmode" "c-314"
"ypos_minmode" "r58"
"wide" "100"
"tall" "60"
"xpos_minmode" "c-290"
"ypos_minmode" "r42"
"wide" "70"
"tall" "40"
"wide_minmode" "40"
"tall_minmode" "20"
"MeterFG" "White"
"MeterBG" "Gray"
}
Expand All @@ -37,9 +39,9 @@
{
"ControlName" "CTFImagePanel"
"fieldName" "MinmodeMeterBG"
"xpos" "26"
"ypos" "14"
"wide" "38"
"xpos" "0"
"ypos" "0"
"wide" "40"
"tall" "20"
"visible" "0"
"visible_minmode" "1"
Expand All @@ -60,68 +62,83 @@
{
"ControlName" "CTFImagePanel"
"fieldName" "ItemEffectIcon"
"xpos" "12"
"xpos_minmode" "28"
"ypos" "8"
"ypos_minmode" "16"
"xpos" "10"
"xpos_minmode" "2"
"ypos" "9"
"ypos_minmode" "2"
"zpos" "1"
"wide" "24"
"wide" "22"
"wide_minmode" "16"
"tall" "24"
"tall" "22"
"tall_minmode" "16"
"visible" "1"
"enabled" "1"
"image" "../hud/ico_powerup_critboost_red"
"scaleImage" "1"
}
}

"ItemEffectMeterLabel"
"ItemEffectMeterCount"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "9999"
}

"ItemEffectMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ItemEffectMeter"
"font" "Default"
"xpos" "25"
"ypos" "23"
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterCount"
"xpos" "24"
"ypos" "12"
"xpos_minmode" "14"
"ypos_minmode" "2"
"zpos" "2"
"wide" "40"
"tall" "6"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"textAlignment" "Left"
"wide" "35"
"tall" "20"
"wide_minmode" "26"
"tall_minmode" "18"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%progresscount%"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
}

"ItemEffectMeterCount"
"font" "HudFontMedium"
"font_minmode" "HudFontMediumSmall"
}

"ItemEffectMeterCountShadow"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterCount"
"xpos" "22"
"xpos_minmode" "18"
"ypos" "10"
"ypos_minmode" "15"
"zpos" "2"
"wide" "40"
"fieldName" "ItemEffectMeterCountShadow"
"xpos" "25"
"ypos" "13"
"xpos_minmode" "15"
"ypos_minmode" "3"
"zpos" "1"
"wide" "35"
"tall" "20"
"wide_minmode" "26"
"tall_minmode" "18"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%progresscount%"
"textAlignment" "north"
"textAlignment_minmode" "east"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "HudFontMedium"
"font_minmode" "HudFontMediumSmall"
"fgcolor" "Black"
}

"ItemEffectMeterLabel"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "9999"
}

"ItemEffectMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ItemEffectMeter"
"xpos" "9999"
}
}
22 changes: 10 additions & 12 deletions resource/ui/hudrocketpack.res
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"xpos_minmode" "c216"
"ypos" "r54"
"ypos_minmode" "r48"
"wide" "94"
"wide" "90"
"tall" "50"
}

Expand All @@ -18,9 +18,7 @@
"ControlName" "CTFImagePanel"
"fieldName" "ItemEffectMeterBG"
"xpos" "0"
"xpos_minmode" "0"
"ypos" "0"
"ypos_minmode" "16"
"zpos" "1"
"wide" "90"
"tall" "45"
Expand Down Expand Up @@ -72,13 +70,6 @@
"scaleImage" "1"
}

"ItemEffectMeterLabel"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "9999"
}

"ItemEffectMeter"
{
"ControlName" "ContinuousProgressBar"
Expand All @@ -97,7 +88,7 @@
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "White"
Expand All @@ -120,9 +111,16 @@
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "White"
}

"ItemEffectMeterLabel"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "9999"
}
}
Loading

0 comments on commit 4208860

Please sign in to comment.