diff --git a/cfg/hud_firstrun.cfg b/cfg/hud_firstrun.cfg index d847f52..2c2575a 100644 --- a/cfg/hud_firstrun.cfg +++ b/cfg/hud_firstrun.cfg @@ -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" \ No newline at end of file +echo "ckHUD 0.1.4.2" \ No newline at end of file diff --git a/resource/chatscheme.res b/resource/chatscheme.res index d2a31f4..cb0aac4 100644 --- a/resource/chatscheme.res +++ b/resource/chatscheme.res @@ -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" diff --git a/resource/scheme/clientscheme_fonts.res b/resource/scheme/clientscheme_fonts.res index 0483d53..79d9918 100644 --- a/resource/scheme/clientscheme_fonts.res +++ b/resource/scheme/clientscheme_fonts.res @@ -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 diff --git a/resource/ui/huditemeffectmeter_killstreak.res b/resource/ui/huditemeffectmeter_killstreak.res index bd2f211..f9ca93a 100644 --- a/resource/ui/huditemeffectmeter_killstreak.res +++ b/resource/ui/huditemeffectmeter_killstreak.res @@ -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" + } +} \ No newline at end of file diff --git a/resource/ui/mainmenuoverride.res b/resource/ui/mainmenuoverride.res index b1c8a5a..158bf17 100644 --- a/resource/ui/mainmenuoverride.res +++ b/resource/ui/mainmenuoverride.res @@ -3357,7 +3357,7 @@ "versionlabel" { - "ControlName" "cexlabel" + "ControlName" "CExImageButton" "fieldName" "versionlabel" "xpos" "rs1.01" "ypos" "rs0.65" @@ -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" diff --git a/resource/ui/scoreboard.res b/resource/ui/scoreboard.res index e013dd6..136b909 100644 --- a/resource/ui/scoreboard.res +++ b/resource/ui/scoreboard.res @@ -282,8 +282,8 @@ "fieldName" "RedTeamPlayerCount" "font" "hudfont16" "labelText" "%redteamplayercount%" - "textAlignment" "west" - "xpos" "100" + "textAlignment" "center" + "xpos" "85" "ypos" "40" "zpos" "4" "wide" "160" @@ -306,7 +306,7 @@ "fieldName" "RedTeamPlayerCountShadow" "font" "hudfont16" "labelText" "%redteamplayercount%" - "textAlignment" "west" + "textAlignment" "center" "xpos" "-1" "ypos" "-1" "zpos" "4" @@ -495,8 +495,8 @@ "fieldName" "BlueTeamPlayerCount" "font" "hudfont16" "labelText" "%BlueTeamPlayerCount%" - "textAlignment" "west" - "xpos" "100" + "textAlignment" "center" + "xpos" "85" "ypos" "362" "zpos" "4" "wide" "160" @@ -519,7 +519,7 @@ "fieldName" "BlueTeamPlayerCountShadow" "font" "hudfont16" "labelText" "%BlueTeamPlayerCount%" - "textAlignment" "west" + "textAlignment" "center" "xpos" "-1" "ypos" "-1" "zpos" "4" @@ -1084,7 +1084,7 @@ "pinCorner" "0" "visible" "1" "enabled" "1" - "fgcolor" "236 227 203 255" + "fgcolor" "colorwhite" if_mvm { @@ -1394,7 +1394,27 @@ "draw_corner_height" "5" } - + + "StatsBgHeader" + { + "ControlName" "CTFImagePanel" + "fieldName" "StatsBgHeader" + "xpos" "121" + "ypos" "0" + "zpos" "3" + "wide" "85" + "tall" "25" + "visible" "1" + "enabled" "1" + + "image" "../hud/color_panel_brown" + "src_corner_height" "25" // pixels inside the image + "src_corner_width" "25" + "draw_corner_width" "5" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "5" + + } + "KillsLabel" { "ControlName" "CExLabel" @@ -1402,8 +1422,8 @@ "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_KillsLabel" "textAlignment" "east" - "xpos" "80" - "ypos" "0" + "xpos" "9999" + "ypos" "9999" "zpos" "3" "wide" "95" "tall" "20" @@ -1420,8 +1440,8 @@ "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_DeathsLabel" "textAlignment" "east" - "xpos" "80" - "ypos" "10" + "xpos" "9999" + "ypos" "9999" "zpos" "3" "wide" "95" "tall" "20" @@ -1436,8 +1456,8 @@ "fieldName" "AssistsLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_AssistsLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "20" "zpos" "3" "wide" "95" @@ -1453,8 +1473,8 @@ "fieldName" "DestructionLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_DestructionLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "30" "zpos" "3" "wide" "95" @@ -1464,15 +1484,33 @@ "visible" "1" "enabled" "1" } - "Kills" + "KillsCount" { "ControlName" "CExLabel" - "fieldName" "Kills" - "font" "hudfont10sec" + "fieldName" "KillsCount" + "font" "hudfont24sec" "labelText" "%kills%" "textAlignment" "west" - "xpos" "180" - "ypos" "0" + "xpos" "142" + "ypos" "3" + "zpos" "3" + "wide" "35" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fgcolor" "white" + } + "Slash" + { + "ControlName" "CExLabel" + "fieldName" "Slash" + "font" "hudfont24sec" + "labelText" "/" + "textAlignment" "west" + "xpos" "162" + "ypos" "3" "zpos" "3" "wide" "35" "tall" "20" @@ -1480,16 +1518,18 @@ "pinCorner" "0" "visible" "1" "enabled" "1" - } - "Deaths" + + "fgcolor" "colorwhite" + } + "DeathsCount" { "ControlName" "CExLabel" - "fieldName" "Deaths" - "font" "hudfont10sec" + "fieldName" "DeathsCount" + "font" "hudfont24sec" "labelText" "%deaths%" "textAlignment" "west" - "xpos" "180" - "ypos" "10" + "xpos" "177" + "ypos" "3" "zpos" "3" "wide" "35" "tall" "20" @@ -1497,6 +1537,8 @@ "pinCorner" "0" "visible" "1" "enabled" "1" + + "fgcolor" "colorwhite" } "GameType" { @@ -1514,7 +1556,7 @@ "pinCorner" "0" "visible" "0" "enabled" "0" - "fgcolor" "185 177 153 255" + "fgcolor" "colorwhite" } "Assists" { @@ -1556,8 +1598,8 @@ "fieldName" "CapturesLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_CapturesLabel" - "textAlignment" "east" - "xpos" "75" + "textAlignment" "west" + "xpos" "125" "ypos" "40" "zpos" "3" "wide" "100" @@ -1573,8 +1615,8 @@ "fieldName" "DefensesLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_DefensesLabel" - "textAlignment" "east" - "xpos" "75" + "textAlignment" "west" + "xpos" "125" "ypos" "50" "zpos" "3" "wide" "100" @@ -1590,8 +1632,8 @@ "fieldName" "DominationLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_DominationLabel" - "textAlignment" "east" - "xpos" "75" + "textAlignment" "west" + "xpos" "125" "ypos" "60" "zpos" "3" "wide" "100" @@ -1607,8 +1649,8 @@ "fieldName" "RevengeLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_RevengeLabel" - "textAlignment" "east" - "xpos" "75" + "textAlignment" "west" + "xpos" "125" "ypos" "70" "zpos" "3" "wide" "100" @@ -1692,8 +1734,8 @@ "fieldName" "HealingLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_HealingLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "80" "zpos" "3" "wide" "95" @@ -1709,8 +1751,8 @@ "fieldName" "InvulnLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_InvulnLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "90" "zpos" "3" "wide" "95" @@ -1726,8 +1768,8 @@ "fieldName" "TeleportsLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_TeleportsLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "100" "zpos" "3" "wide" "95" @@ -1743,8 +1785,8 @@ "fieldName" "HeadshotsLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_HeadshotsLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "110" "zpos" "3" "wide" "95" @@ -1828,8 +1870,8 @@ "fieldName" "BackstabsLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_BackstabsLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "120" "zpos" "3" "wide" "95" @@ -1862,8 +1904,8 @@ "fieldName" "BonusLabel" "font" "hudfont10sec" "labelText" "#TF_ScoreBoard_BonusLabel" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "130" "zpos" "3" "zpos" "3" @@ -1897,8 +1939,8 @@ "fieldName" "SupportLabel" "font" "hudfont10sec" "labelText" "#TF_Scoreboard_Support" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "140" "zpos" "3" "wide" "95" @@ -1931,8 +1973,8 @@ "fieldName" "DamageLabel" "font" "hudfont10sec" "labelText" "#TF_Scoreboard_Damage" - "textAlignment" "east" - "xpos" "80" + "textAlignment" "west" + "xpos" "125" "ypos" "150" "zpos" "3" "wide" "95" diff --git a/resource/ui/targetid.res b/resource/ui/targetid.res index 3641ad3..8f2799b 100644 --- a/resource/ui/targetid.res +++ b/resource/ui/targetid.res @@ -39,9 +39,9 @@ { "ControlName" "Label" "fieldName" "TargetNameLabel" - "font" "hudfont14" + "font" "hudfont16sec" "xpos" "8" - "ypos" "12" + "ypos" "11" "zpos" "1" "wide" "640" "tall" "24" @@ -58,7 +58,7 @@ { "ControlName" "Label" "fieldName" "TargetNameLabelShadow" - "font" "hudfont14" + "font" "hudfont16sec" "xpos" "-1" "ypos" "-1" "zpos" "0" @@ -79,9 +79,9 @@ { "ControlName" "Label" "fieldName" "TargetDataLabel" - "font" "hudfont8shadow" + "font" "hudfont12sec" "xpos" "8" - "ypos" "23" [$WIN32] + "ypos" "24" [$WIN32] "zpos" "1" "wide" "280" "tall" "15" diff --git a/resource/ui/textwindow.res b/resource/ui/textwindow.res index 9b2d113..719e719 100644 --- a/resource/ui/textwindow.res +++ b/resource/ui/textwindow.res @@ -23,6 +23,27 @@ "xpos" "c-183" "ypos" "85" "zpos" "3" + "wide" "0" + "tall" "0" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "labelText" "WELCOME!" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "hudfont40" + "fgcolor" "colorwhite" + } + + "TFMessageTitle2" + { + "ControlName" "CExLabel" + "fieldName" "TFMessageTitle2" + "xpos" "c-183" + "ypos" "85" + "zpos" "3" "wide" "600" "tall" "30" "autoResize" "0" @@ -36,7 +57,7 @@ "font" "hudfont40" "fgcolor" "colorwhite" } - + "TextMessage" { "ControlName" "TextEntry" diff --git a/sound/UI/tts1.mp3 b/sound/UI/tts1.mp3 new file mode 100644 index 0000000..9c66472 Binary files /dev/null and b/sound/UI/tts1.mp3 differ diff --git a/sound/UI/tts1.wav b/sound/UI/tts1.wav new file mode 100644 index 0000000..ec1b141 Binary files /dev/null and b/sound/UI/tts1.wav differ diff --git a/sound/UI/tts2.mp3 b/sound/UI/tts2.mp3 new file mode 100644 index 0000000..d0cd264 Binary files /dev/null and b/sound/UI/tts2.mp3 differ diff --git a/sound/UI/tts3.mp3 b/sound/UI/tts3.mp3 new file mode 100644 index 0000000..f94be81 Binary files /dev/null and b/sound/UI/tts3.mp3 differ