Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
conchkritz committed Apr 14, 2022
1 parent 9ffd5f1 commit c09b445
Show file tree
Hide file tree
Showing 12 changed files with 315 additions and 66 deletions.
2 changes: 1 addition & 1 deletion cfg/hud_firstrun.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ con_timestamp 1
// custom commands
cl_hud_minmode "0"
echo "minmode has been disabled, this cfg runs on first time installing hud only."
echo "ckHUD 0.1.4.1"
echo "ckHUD 0.1.4.2"
2 changes: 1 addition & 1 deletion resource/chatscheme.res
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Scheme
"TFTanLightBright" "229 223 211 90"
"TFTanLightDark" "96 90 78 90"
"TFOrangeBright" "156 82 33 255"
"TFTextBright" "251 236 203 150"
"TFTextBright" "242 242 242 255"
"TFTextLight" "201 188 162 255"
"TFTextMedium" "131 121 104 255"
"TFTextMediumDark" "104 96 83 255"
Expand Down
27 changes: 27 additions & 0 deletions resource/scheme/clientscheme_fonts.res
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,33 @@ Scheme
"antialias" "1"
}
}
"hudfont20sec"
{
"1"
{
"name" "TF2 Secondary"
"tall" "20"
"antialias" "1"
}
}
"hudfont22sec"
{
"1"
{
"name" "TF2 Secondary"
"tall" "22"
"antialias" "1"
}
}
"hudfont24sec"
{
"1"
{
"name" "TF2 Secondary"
"tall" "24"
"antialias" "1"
}
}
// ===========================================
// main font

Expand Down
153 changes: 149 additions & 4 deletions resource/ui/huditemeffectmeter_killstreak.res
Original file line number Diff line number Diff line change
@@ -1,10 +1,155 @@
#base "meter/headcount.res"

"Resource/UI/HudItemEffectMeter_Demoman.res"
{
HudItemEffectMeter
{
"xpos" "c85"
"fieldName" "HudItemEffectMeter"
"visible" "1"
"enabled" "1"
"xpos" "rs0.5"
"ypos" "rs0.5"
"wide" "100"
"tall" "50"
"MeterFG" "White"
"MeterBG" "Gray"
}

"ItemEffectMeterBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TeamColoredHeader"
"xpos" "0"
"ypos" "0"
"zpos" "-3"
"wide" "50"
"tall" "24"
"visible" "0"
"enabled" "1"
}
"IconBG"
{
"ControlName" "ImagePanel"
"fieldName" "IconBG"
"xpos" "4"
"xpos_minmode" "3"
"ypos" "5"
"ypos_minmode" "6"
"zpos" "0"
"wide" "14"
"wide_minmode" "12"
"tall" "15"
"tall_minmode" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"visible_minmode" "1"
"enabled" "1"
"fillcolor" "0 0 0 150"
"PaintBackgroundType" "0"
}
"Icon"
{
"ControlName" "ImagePanel"
"fieldName" "Icon"
"xpos" "0"
"ypos" "1"
"xpos_minmode" "0"
"ypos_minmode" "3"
"zpos" "2"
"wide" "22"
"tall" "22"
"wide_minmode" "18"
"tall_minmode" "18"
"visible" "1"
//"visible_minmode" "0"
"enabled" "1"
// "drawcolor" "200 200 0"
"image" "../hud/leaderboard_streak"
//"image" "../hud/leaderboard_streak"
"scaleImage" "1"
}

"ItemEffectMeterLabel"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "0"
"ypos" "12"
"zpos" "2"
"wide" "50"
"tall" "15"
"autoResize" "1"
"pinCorner" "2"
"visible" "0"
"enabled" "0"
"tabPosition" "0"
"labelText" "#TF_KillStreak"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "ScoreboardSmall"
}
"ItemEffectMeterLabelShadow"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabelShadow"
"xpos" "1"
"ypos" "13"
"zpos" "1"
"wide" "50"
"tall" "15"
"autoResize" "1"
"pinCorner" "2"
"visible" "0"
"enabled" "0"
"tabPosition" "0"
"labelText" "#TF_KillStreak"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "ScoreboardSmall"
"fgcolor" "black"
}
}

"ItemEffectMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ItemEffectMeter"
"font" "Default"
"xpos" "28"
"ypos" "23"
"zpos" "2"
"wide" "40"
"tall" "6"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
}

"ItemEffectMeterCount"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterCount"
"xpos" "15"
"xpos_minmode" "8"
"ypos" "1"
"ypos_minmode" "1"
"zpos" "2"
"wide" "40"
"tall" "23"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%progresscount%"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "HudFontsmallbold"
//"font_minmode" "HudFontMediumSmallBold"
"fgcolor" "white"
}
}
18 changes: 16 additions & 2 deletions resource/ui/mainmenuoverride.res
Original file line number Diff line number Diff line change
Expand Up @@ -3357,7 +3357,7 @@

"versionlabel"
{
"ControlName" "cexlabel"
"ControlName" "CExImageButton"
"fieldName" "versionlabel"
"xpos" "rs1.01"
"ypos" "rs0.65"
Expand All @@ -3371,7 +3371,21 @@
"textAlignment" "east"

"alpha" "3"
"labelText" "ckHUD 0.1.4.1-source" // source = from github source, not release. alpha = alpha, duh. no suffix = release.
"labelText" "ckHUD 0.1.4.2-source" // source = from github source, not release. alpha = alpha, duh. no suffix = release.

"dulltext" "0"
"brighttext" "0"
"default" "1"
"paintbackground""0"
"sound_depressed" ""
"sound_released" "UI/tts1.wav" //.mp3

"defaultFgColor_override" "colorwhite"
"armedFgColor_override" "255 255 255 255"
"depressedFgColor_override" "colorwhite"

"image_drawcolor" "colorwhite"
"image_armedcolor" "255 255 255 255`"
}

"BackToReplaysButton"
Expand Down
Loading

0 comments on commit c09b445

Please sign in to comment.