Skip to content

Commit

Permalink
0.9
Browse files Browse the repository at this point in the history
-added new icon for killstreaks using kbnhud skull icon
-added new colors for overheal in demoui mode
-fixed scoreboard player count being offcenter
-potentially fixed countdown shadow being off
-probably something else im forgetting
  • Loading branch information
GreySux committed Oct 26, 2023
1 parent a7e5b53 commit 8edb939
Show file tree
Hide file tree
Showing 12 changed files with 275 additions and 50 deletions.
2 changes: 1 addition & 1 deletion resource/scheme/Colors.res
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Scheme
"Blue" "0 170 255 255"
"Black" "0 0 0 255"
"Green" "35 185 30 255"
"Orangee" "255 130 50 255"
"Orange" "255 130 50 255"
"Purple" "170 20 220 255"

"NoItemText" "120 120 120 255"
Expand Down
107 changes: 106 additions & 1 deletion resource/scheme/Fonts_Icons.res
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,106 @@ Scheme
"antialias" "1"
}
}
"Symbols 8"
{
"1"
{
"name" "KBNHud Icons"
"tall" "8"
"additive" "0"
"antialias" "1"
}
}
"Symbols 10"
{
"1"
{
"name" "KBNHud Icons"
"tall" "10"
"additive" "0"
"antialias" "1"
}
}
"Symbols 12"
{
"1"
{
"name" "KBNHud Icons"
"tall" "12"
"additive" "0"
"antialias" "1"
}
}
"Symbols 13"
{
"1"
{
"name" "KBNHud Icons"
"tall" "13"
"additive" "0"
"antialias" "1"
}
}
"Symbols 14"
{
"1"
{
"name" "KBNHud Icons"
"tall" "14"
"additive" "0"
"antialias" "1"
}
}
"Symbols 16"
{
"1"
{
"name" "KBNHud Icons"
"tall" "16"
"additive" "0"
"antialias" "1"
}
}
"Symbols 18"
{
"1"
{
"name" "KBNHud Icons"
"tall" "18"
"additive" "0"
"antialias" "1"
}
}
"Symbols 25"
{
"1"
{
"name" "KBNHud Icons"
"tall" "25"
"additive" "0"
"antialias" "1"
}
}
"Symbols 26"
{
"1"
{
"name" "KBNHud Icons"
"tall" "26"
"additive" "0"
"antialias" "1"
}
}
"Symbols 50"
{
"1"
{
"name" "KBNHud Icons"
"tall" "48"
"additive" "0"
"antialias" "1"
}
}
}

CustomFontFiles
Expand Down Expand Up @@ -159,7 +259,7 @@ Scheme
"font" "resource/scheme/fontfiles/ModernPics.otf"
"name" "ModernPictograms"
}
"26"
"26"
{
"font" "resource/scheme/fontfiles/Blocks.ttf"
"name" "Blocks"
Expand All @@ -169,5 +269,10 @@ Scheme
"font" "resource/scheme/fontfiles/TF2 Class Icons.otf"
"name" "TF2 Class Icons"
}
"28"
{
"font" "resource/scheme/fontfiles/kbnhudicons.otf"
"name" "KBNHud Icons"
}
}
}
Binary file added resource/scheme/fontfiles/kbnhudicons.otf
Binary file not shown.
105 changes: 105 additions & 0 deletions resource/scheme/fonts.res
Original file line number Diff line number Diff line change
Expand Up @@ -1609,6 +1609,106 @@ Scheme
"antialias" "1"
}
}
"Symbols 8"
{
"1"
{
"name" "KBNHud Icons"
"tall" "8"
"additive" "0"
"antialias" "1"
}
}
"Symbols 10"
{
"1"
{
"name" "KBNHud Icons"
"tall" "10"
"additive" "0"
"antialias" "1"
}
}
"Symbols 12"
{
"1"
{
"name" "KBNHud Icons"
"tall" "12"
"additive" "0"
"antialias" "1"
}
}
"Symbols 13"
{
"1"
{
"name" "KBNHud Icons"
"tall" "13"
"additive" "0"
"antialias" "1"
}
}
"Symbols 14"
{
"1"
{
"name" "KBNHud Icons"
"tall" "14"
"additive" "0"
"antialias" "1"
}
}
"Symbols 16"
{
"1"
{
"name" "KBNHud Icons"
"tall" "16"
"additive" "0"
"antialias" "1"
}
}
"Symbols 18"
{
"1"
{
"name" "KBNHud Icons"
"tall" "18"
"additive" "0"
"antialias" "1"
}
}
"Symbols 25"
{
"1"
{
"name" "KBNHud Icons"
"tall" "25"
"additive" "0"
"antialias" "1"
}
}
"Symbols 26"
{
"1"
{
"name" "KBNHud Icons"
"tall" "26"
"additive" "0"
"antialias" "1"
}
}
"Symbols 50"
{
"1"
{
"name" "KBNHud Icons"
"tall" "48"
"additive" "0"
"antialias" "1"
}
}
}


Expand Down Expand Up @@ -1669,5 +1769,10 @@ Scheme
"font" "resource/scheme/fontfiles/Emblems.ttf"
"name" "Emblems"
}
"89"
{
"font" "resource/scheme/fontfiles/kbnhudicons.otf"
"name" "KBNHud Icons"
}
}
}
2 changes: 1 addition & 1 deletion resource/ui/HudItemEffectMeter.res
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Ball"
"labelText" "GUH"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down
67 changes: 37 additions & 30 deletions resource/ui/HudItemEffectMeter_Demoman.res
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "0"
"ypos" "-5"
"xpos" "9999"
"ypos" "9999"
"ypos_minmode" "-3"
"zpos" "1"
"wide" "50"
Expand All @@ -38,38 +38,12 @@
"font_minmode" "GameFont8"
"fgcolor_override" "White"
}
"ItemEffectMeterLabelShadow"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabelShadow"
"xpos" "-1"
"ypos" "-1"
"ypos_minmode" "-3"
"zpos" "0"
"wide" "50"
"tall" "30"
"autoResize" "1"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "KILLS"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"font" "GameFont12"
"font_minmode" "GameFont8"
"fgcolor_override" "Shadow"
"pin_to_sibling" "ItemEffectMeterLabel"
"pin_corner_to_sibling" "PIN_TOPLEFT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"ItemEffectMeterCount"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterCount"
"xpos" "8"
"xpos" "18"
"ypos" "9"
"zpos" "2"
"wide" "50"
Expand All @@ -86,11 +60,44 @@
"font_minmode" "GameFont12"
"fgcolor_override" "White"
}

"ItemEffectMeterIcon"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterIconIcon"
"xpos" "-1"
"ypos" "11"
"zpos" "2"
"wide" "16"
"tall" "25"
"visible" "1"
"enabled" "1"
"labelText" "x"
"textAlignment" "east"
"font" "Symbols 12"
"fgcolor_override" "White"
}
"ItemEffectMeterIconShadow"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterIconIconShadow"
"xpos" "0"
"ypos" "12"
"zpos" "2"
"wide" "16"
"tall" "25"
"visible" "1"
"enabled" "1"
"labelText" "x"
"textAlignment" "east"
"font" "Symbols 12"
"fgcolor_override" "Shadow"
}

"ItemEffectMeterCountShadow"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterCountShadow"
"fieldName" "ItemEffectMeterCountShadow"
"xpos" "-1"
"ypos" "-1"
"zpos" "2"
Expand Down
2 changes: 1 addition & 1 deletion resource/ui/SpectatorTournamentGUIHealth.res
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"visible" "1"
"enabled" "1"
"textAlignment" "center"
"font" "GameFont12Blur"
"font" "GameFont12"
"fgcolor" "Shadow"
"labeltext" "%Health%"

Expand Down
2 changes: 1 addition & 1 deletion resource/ui/controlpointcountdown.res
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"ControlName" "CExLabel"
"fieldName" "CapCountdownLabel"
"font" "FontBold12"
"font" "GameFont12"
"xpos" "0"
"ypos" "0"
"zpos" "1"
Expand Down
2 changes: 1 addition & 1 deletion resource/ui/hudmatchstatus.res
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"wrap" "0"
"labelText" "%countdown%"
"textAlignment" "center"
"fgcolor" "black"
"fgcolor" "Shadow"
"proportionaltoparent" "1"


Expand Down
Loading

0 comments on commit 8edb939

Please sign in to comment.