https://i.imgur.com/HNllnqB.png
Hey HUD devs. As I was working on the newest update to yayahud I noticed how absolutely awful the stock class select images are, and also noticed that the majority of HUDs actually use them. If they aren't used for class select while ingame, they're used at the very least for class select in the loadout panel. I decided to do something about them.
For reference, here's what they look like right now (in yayahud):
Show Content
These things are heavily compressed DXT5 128x256 bitmaps. They made sense for a game that ran on the Xbox 360 at 720p in 2007. They don't fit today. Just look at our poor Pootis' face:
https://i.imgur.com/Ez0MtCM.png
This is clearly unacceptable, so I went ahead and painstakingly rendered new images that are HUD agnostic. The source images are 1024x2048 and use a mix of selection idle, competitive victory, and misc poses. They better fit the modern aesthetic and personality of the game compared to the old ones which were captured from the non-phong 2006 E3 demo. HUD version downloads are resized to 256x512 which is optimal for 1080p users.
Here's what the new versions look like (in yayahud):
Show Content
Instructions
You can integrate these very easily into your HUD; they're basically a drop-in replacement.
- Download the "HUD version".
- Extract the files to your HUD's materials/vgui/replay/thumbnails folder. (create it if it doesn't exist)
- Edit necessary HUD files (like charInfoLoadoutSubpanel.res) to reflect the new path.
Editing the resource files is easy. Just append the path to each image reference, like so:
"activeimage" "class_sel_sm_soldier_red"
"inactiveimage" "class_sel_sm_soldier_inactive"
becomes
"activeimage" "replay/thumbnails/class_sel_sm_soldier_red"
"inactiveimage" "replay/thumbnails/class_sel_sm_soldier_inactive"
You can also modify the material file in order to fit the aesthetic of your HUD. For instance, the stock TF2 hud desires a brown tint on the inactive portraits, which you can achieve by adding a $color command to each VMT, like so:
"UnlitGeneric"
{
"$basetexture" "vgui\replay\thumbnails\class_sel_sm_engineer_inactive"
"$translucent" 1
"$ignorez" 1
"$vertexcolor" 1
"$vertexalpha" 1
"$color" "[1.2 1.0 0.85]"
}
Downloads
HUD developers are free to include these in their HUD releases, just credit this thread in your HUD description.