Skip to content

Commit

Permalink
Player health and ammo updates
Browse files Browse the repository at this point in the history
In the HUD, low health and overheal colors will only affect the health text shadow. Same thing for ammo pretty much, low ammo color will only affect the shadow. I also added a overheal cross.

In targetID/spectator, low health/overheal colors will now affect the health background instead of the text color.

Also updated chat_english with shorter strings for spectator mode.
  • Loading branch information
Kruphixx committed Aug 8, 2024
1 parent 17db9b7 commit 259ff0a
Show file tree
Hide file tree
Showing 15 changed files with 851 additions and 1,578 deletions.
4 changes: 0 additions & 4 deletions customizations/team_indicator.res

This file was deleted.

7 changes: 7 additions & 0 deletions materials/vgui/replay/thumbnails/arrow_down.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"UnlitGeneric"
{
"$baseTexture" "vgui/replay/thumbnails/arrow_down"
"$translucent" "1"
"$vertexcolor" "1"
"$vertexalpha" "1"
}
Binary file added materials/vgui/replay/thumbnails/arrow_down.vtf
Binary file not shown.
7 changes: 7 additions & 0 deletions materials/vgui/replay/thumbnails/arrow_up.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"UnlitGeneric"
{
"$baseTexture" "vgui/replay/thumbnails/arrow_up"
"$translucent" "1"
"$vertexcolor" "1"
"$vertexalpha" "1"
}
Binary file added materials/vgui/replay/thumbnails/arrow_up.vtf
Binary file not shown.
Binary file modified resource/chat_english.txt
Binary file not shown.
18 changes: 9 additions & 9 deletions resource/scheme/colors_base.res
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,30 @@ Scheme

// Health Color
"HealthTF" "240 240 240 255" // In Game Health Color
"HealthBuffTF" "91 171 248 255" // In Game Health Overhealed Color
"HealthLowTF" "243 60 59 255" // In Game Health Low Color
"HealthBuffTF" "68 164 255 255" // In Game Health Overhealed Color
"HealthLowTF" "255 44 44 255" // In Game Health Low Color
"HealthBlurTF" "20 20 20 255" // In Game Health Blurred Color

"HealthIDTF" "240 240 240 255" // TargetID Health Color
"HealthIDBuffTF" "91 171 248 255" // TargetID Health Overhealed Color
"HealthIDLowTF" "243 60 59 255" // TargetID Health Low Color
"HealthIDBuffTF" "68 164 255 255" // TargetID Health Overhealed Color
"HealthIDLowTF" "255 44 44 255" // TargetID Health Low Color
"HealthIDBlurTF" "20 20 20 255"

// Ammo Color
"AmmoTF" "240 240 240 255"
"AmmoLowTF" "243 60 59 255"
"AmmoLowTF" "255 44 44 255"
"AmmoBlurTF" "20 20 20 255"

"AmmoResTF" "154 183 197 255"
"AmmoResLowTF" "243 60 59 255"
"AmmoResTF" "204 204 204 255"
"AmmoResLowTF" "255 44 44 255"
"AmmoResBlurTF" "20 20 20 255"

// Uber Color
"UberTF" "240 240 240 255"
"UberAltTF" "240 240 240 255"

"UberBarTF" "91 171 248 255"
"UberBarAltTF" "120 190 255 255"
"UberBarTF" "68 164 255 255"
"UberBarAltTF" "99 180 255 255"
"UberBarBGTF" "24 24 24 150"

//
Expand Down
4 changes: 2 additions & 2 deletions resource/ui/hudhealthaccount.res
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"delta_item_x" "15"
"delta_item_start_y" "3"
"delta_item_end_y" "20"
"PositiveColor" "BlueTF"
"NegativeColor" "RedTF"
"PositiveColor" "HealthBuffTF"
"NegativeColor" "HealthLowTF"
"delta_lifetime" "1.5"
"delta_item_font" "product18"
}
Expand Down
Loading

2 comments on commit 259ff0a

@tf2huds-dev
Copy link

@tf2huds-dev tf2huds-dev bot commented on 259ff0a Aug 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to https://tf2huds.dev/hud/ProductHUD 🚀

@Kruphixx
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yippiee

Please sign in to comment.