Skip to content

Commit

Permalink
#customization
Browse files Browse the repository at this point in the history
ready for 0.2
  • Loading branch information
conchkritz committed Apr 25, 2022
1 parent c0f5fb9 commit 02a5180
Show file tree
Hide file tree
Showing 25 changed files with 774 additions and 614 deletions.
508 changes: 508 additions & 0 deletions #customizations/BotVoteHud/BotDetectorVoteHUD.res

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions #customizations/BotVoteHud/HOW2INSTALL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Take all of the files in the 'LANG' Folder and put them in 'ckHUD/resource'

Should look like this

-TF
| -Custom
| -ckHUD
| -resource
| -chat_brazilian.txt
| -chat_english.txt
| -chat_french.txt
| -chat_german.txt
| -chat_italian.txt
| -chat_polish.txt
| -chat_russian.txt
| -chat_spanish.txt

Then put 'BotDetectorVoteHUD.res' and 'clientscheme_votehud' in the #customization/enabled folder

**THIS REQUIRES A GAME RESTART TO FUNCTION PROPERLY**

Original: https://gamebanana.com/mods/26382

NOTE: from my benchmarking, this eats up like 1 fps, but its very useful.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions #customizations/crosshair.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"Resource/HudLayout.res"
{
Crosshair
{
"controlName" "CExLabel"
"fieldName" "Crosshair"
"zpos" "0"
"wide" "f0"
"tall" "f0"
"textAlignment" "center"
"enabled" "1"

"visible" "1"

"labelText" "C" // changes to what style you want
"font" "Size:25 | Outline:OFF" // change the size and if it has an outline

"xpos" "cs-0.5000001" // changes these if the crosshair/hitmarker is off (very sensitive)
"ypos" "cs-0.49999" // cs-0.5 standard, cs-0.4999 default

"fgcolor" "0 255 0 255" // colors are rgba, red green blue alpha (transparency)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
//Font chacker: https://www.alphabet-type.com/tools/charset-checker/

//created by Jakadak https://github.com/jakadak/TF2-extended-fonts

// from conch: im not even sure if it works
// also eats up like 1 fps
Scheme
{
CustomFontFiles
Expand Down
24 changes: 24 additions & 0 deletions #customizations/hitmarker.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"Resource/HudLayout.res"
{
Hitmarker
{
"controlName" "CExLabel"
"fieldName" "Hitmarker"
"zpos" "1"
"wide" "f0"
"tall" "f0"
"textAlignment" "center"
"enabled" "1"

"visible" "1"

"labelText" "6" // changes to what style you want
"font" "Size:25 | Outline:OFF" // change the size and if it has an outline

"xpos" "cs-0.4999" // changes these if the crosshair/hitmarker is off (very sensitive)
"ypos" "cs-0.4999" // cs-0.5 standard, cs-0.4999 default

"fgcolor" "255 0 0 0" // color determined by scripts/hudanimations_custom

}
}
20 changes: 20 additions & 0 deletions #customizations/transparentviewmodel.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"Resource/HudLayout.res" // DXLEVEL 90+
{
"TransparentViewmodelMask"
{
//alpha doesn't work for this, you need to change the texture's alpha

"ControlName" "ImagePanel"
"fieldName" "TransparentViewmodelMask"
"xpos" "0"
"ypos" "0"
"zpos" "-100"
"wide" "f0"
"tall" "480"
"enabled" "1"
"image" "replay/thumbnails/REFRACTnormal_transparent"
"scaleImage" "1"

"visible" "1"
}
}
4 changes: 2 additions & 2 deletions resource/clientscheme.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#base "scheme/clientscheme_colors.res"
#base "scheme/clientscheme_votehud.res"
#base "../#customizations/enabled/clientscheme_votehud.res"
#base "scheme/clientscheme_borders.res"
#base "scheme/clientscheme_settings.res"
#base "scheme/customfontfiles.res"
#base "../#customizations/enabled/extendedtf2fonts.res"
#base "scheme/clientscheme_fonts.res"
#base "scheme/clientscheme_base.res"
4 changes: 2 additions & 2 deletions resource/ui/controlpointicon.res
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{
"ControlName" "Label"
"fieldName" "CapNumPlayers"
"font" "hudfont14"
"font" "hudfont14sec"
"xpos" "15"
"ypos" "1"
"zpos" "4"
Expand Down Expand Up @@ -92,7 +92,7 @@
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"font" "ControlPointTimer"
"font" "hudfont10sec"
}

"CPTimerBG"
Expand Down
4 changes: 2 additions & 2 deletions resource/ui/healthiconpanel.res
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fieldName" "HealthIcon"
"xpos" "0"
"ypos" "0"
"wide" "32"
"wide" "64"
"tall" "32"
"visible" "1"
"enabled" "1"
Expand All @@ -18,7 +18,7 @@
{
"ControlName" "EditablePanel"
"fieldName" "SpectatorGUIHealth"
"xpos" "0"
"xpos" "15"
"ypos" "0"
"wide" "128"
"tall" "128"
Expand Down
43 changes: 27 additions & 16 deletions resource/ui/hudmatchstatus.res
Original file line number Diff line number Diff line change
Expand Up @@ -395,22 +395,22 @@
"ypos" "3"
"zpos" "2"
"wide" "f0"
"tall" "25"
"tall" "20"
"visible" "1"
"enabled" "1"

"max_size" "19"
"max_size" "20"

"6v6_gap" "1"
"6v6_gap" "18"
"12v12_gap" "1"

"team1_grow_dir" "west"
"team1_base_x" "c-45"
"team1_max_expand" "200"
"team1_max_expand" "250"

"team2_grow_dir" "east"
"team2_base_x" "c47"
"team2_max_expand" "200"
"team2_max_expand" "250"

"playerpanels_kv"
{
Expand All @@ -422,13 +422,17 @@

"color_portrait_bg_red" "colorred"
"color_portrait_bg_blue" "colorblu"

"color_portrait_bg_red_dead" "colordarkred"
"color_portrait_bg_blue_dead" "colordarkblu"

"color_bar_health_high" "75 200 25 255"
"color_bar_health_med" "255 200 0 255"
"percentage_health_med" "0.6"
"color_bar_health_low" "255 20 0 255"

"percentage_health_med" "0.6"
"percentage_health_low" "0.3"

"color_portrait_blend_dead_red" "255 255 255 255"
"color_portrait_blend_dead_blue" "255 255 255 255"

Expand All @@ -439,8 +443,8 @@
"xpos" "cs-0.5"
"ypos" "0"
"zpos" "5"
"wide" "20"
"tall" "20"
"wide" "f0"
"tall" "f0"
"visible" "1"
"enabled" "1"
"image" "../hud/class_scoutred"
Expand Down Expand Up @@ -468,13 +472,13 @@
"ControlName" "ContinuousProgressBar"
"fieldName" "healthbar"
"xpos" "0"
"ypos" "20"
"ypos" "0"
"zpos" "3"
"wide" "f0"
"tall" "5"
"tall" "f0"
"visible" "1"
"enabled" "1"
"bgcolor_override" "colordarkwhite"
"bgcolor_override" "0 0 0 0"
"proportionaltoparent" "1"
}

Expand All @@ -483,13 +487,13 @@
"ControlName" "ContinuousProgressBar"
"fieldName" "overhealbar"
"xpos" "0"
"ypos" "20"
"ypos" "0"
"zpos" "4"
"wide" "f0"
"tall" "5"
"tall" "f0"
"visible" "1"
"enabled" "1"
"bgcolor_override" "Blank"
"bgcolor_override" "0 0 0 0"
"fgcolor_override" "colorwhite"
"proportionaltoparent" "1"
}
Expand All @@ -498,9 +502,9 @@
{
"ControlName" "CExLabel"
"fieldName" "respawntime"
"font" "hudfont14shadow"
"font" "hudfont14"
"xpos" "cs-0.5"
"ypos" "cs-0.6"
"ypos" "cs-0.5"
"zpos" "10"
"wide" "f0"
"tall" "f0"
Expand All @@ -519,6 +523,7 @@
"fieldName" "playername"
"xpos" "9999"
}

"HealthIcon"
{
"ControlName" "EditablePanel"
Expand All @@ -527,36 +532,42 @@
"visible" "0"
"enabled" "0"
}

"ReadyBG"
{
"ControlName" "ScalableImagePanel"
"fieldName" "ReadyBG"
"xpos" "9999"
}

"ReadyImage"
{
"ControlName" "ImagePanel"
"fieldName" "ReadyImage"
"xpos" "9999"
}

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

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

"DeathPanel"
{
"ControlName" "ImagePanel"
"fieldName" "DeathPanel"
"xpos" "9999"
}

"SkullPanel"
{
"ControlName" "ImagePanel"
Expand Down
2 changes: 1 addition & 1 deletion resource/ui/revivedialog.res
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
{
"ControlName" "EditablePanel"
"fieldName" "SpectatorGUIHealth"
"xpos" "165"
"xpos" "170"
"ypos" "35"
"zpos" "20"
"wide" "48"
Expand Down
10 changes: 5 additions & 5 deletions resource/ui/targetid.res
Original file line number Diff line number Diff line change
Expand Up @@ -307,15 +307,15 @@
{
"ControlName" "CAvatarImagePanel"
"fieldName" "AvatarImage"
"xpos" "6"
"ypos" "6" [$WIN32]
"xpos" "4"
"ypos" "3" [$WIN32]
"zpos" "99"
"wide" "11"
"tall" "11"
"wide" "15"
"tall" "15"
"visible" "1"
"enabled" "1"
"image" ""
"scaleImage" "1"
"color_outline" "52 48 45 255"
"color_outline" "colorwhite"
}
}
Loading

0 comments on commit 02a5180

Please sign in to comment.