Skip to content

Commit

Permalink
Corrected Visual HUD Glitches (#145)
Browse files Browse the repository at this point in the history
- Removed an unused label on the team select page.
- Updated the control point files.
- Adjusted the pyro player model to reduce cutoff.
- Adjusted an overlap on the inspection item panel.
- Adjusted the button colors on the matchmaking dashboard.
- Adjusted the payload back arrow and player count.
  • Loading branch information
CriticalFlaw committed Apr 25, 2020
1 parent 5752a4e commit 26c29f8
Show file tree
Hide file tree
Showing 30 changed files with 179 additions and 123 deletions.
6 changes: 3 additions & 3 deletions customizations/player_model/hudplayerclass.res
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"xpos" "r210"
"ypos" "r148"
"zpos" "2"
"wide" "75"
"wide" "80"
"tall" "150"
"autoResize" "0"
"pinCorner" "0"
Expand Down Expand Up @@ -170,8 +170,8 @@
"angles_x" "-5"
"angles_y" "150"
"angles_z" "0"
"origin_x" "175"
"origin_y" "-5"
"origin_x" "190"
"origin_y" "-13"
"origin_z" "-90"
}
"Spy"
Expand Down
4 changes: 2 additions & 2 deletions customizations/team_menu/teammenu.res
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@
"tall" "50"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"visible" "0"
"enabled" "0"
"labelText" "#TF_Highlander_Mode"
"textAlignment" "Center"
"dulltext" "0"
Expand Down
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_a.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_a"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_a"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_b.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_b"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_b"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_blu.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_blu"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_blu"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_blu_locked.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_blu_locked"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_blu_locked"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_c.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_c"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_c"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
9 changes: 9 additions & 0 deletions materials/sprites/obj_icons/icon_obj_cap_blu.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_cap_blu"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
12 changes: 6 additions & 6 deletions materials/sprites/obj_icons/icon_obj_cap_mask.vmt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_cap_mask"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_cap_mask"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
9 changes: 9 additions & 0 deletions materials/sprites/obj_icons/icon_obj_cap_red.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_cap_red"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_d.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_d"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_d"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_e.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_e"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_e"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_neutral.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_neutral"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_neutral"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_neutral_locked.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_neutral_locked"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_neutral_locked"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_red.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_red"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_red"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
16 changes: 8 additions & 8 deletions materials/sprites/obj_icons/icon_obj_red_locked.vmt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_red_locked"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_red_locked"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
11 changes: 11 additions & 0 deletions materials/sprites/obj_icons/icon_obj_white.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\cp_icons\icon_obj_white"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
}
Binary file not shown.
Binary file not shown.
Binary file modified materials/vgui/replay/thumbnails/cp_icons/icon_obj_neutral.vtf
Binary file not shown.
Binary file not shown.
Binary file not shown.
30 changes: 30 additions & 0 deletions resource/preload.res
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@
"image" "../sprites/obj_icons/icon_obj_neutral_locked"
}

"cpiconwhite"
{
"ControlName" "ImagePanel"
"fieldName" "cpiconwhite"
"xpos" "9999"
"visible" "1"
"enabled" "1"
"image" "../sprites/obj_icons/icon_obj_white"
}

"cpicona"
{
"ControlName" "ImagePanel"
Expand Down Expand Up @@ -110,6 +120,26 @@
"image" "../sprites/obj_icons/icon_obj_e"
}

"cpiconcapblu"
{
"ControlName" "ImagePanel"
"fieldName" "cpiconcapblu"
"xpos" "9999"
"visible" "1"
"enabled" "1"
"image" "../sprites/obj_icons/icon_obj_cap_blu"
}

"cpiconcapred"
{
"ControlName" "ImagePanel"
"fieldName" "cpiconcapred"
"xpos" "9999"
"visible" "1"
"enabled" "1"
"image" "../sprites/obj_icons/icon_obj_cap_red"
}

"cpiconcapmask"
{
"ControlName" "ImagePanel"
Expand Down
2 changes: 1 addition & 1 deletion resource/ui/freezepanel_basic.res
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"bgcolor_override" "255 255 255 0"
"PaintBackgroundType" "0"

"model_ypos" "10"
"model_ypos" "20"
"model_center_x" "1"
"model_wide" "90"
"model_tall" "60"
Expand Down

0 comments on commit 26c29f8

Please sign in to comment.