ObamaGaming
Account Details
SteamID64 76561198868640679
SteamID3 [U:1:908374951]
SteamID32 STEAM_0:1:454187475
Country Canada, Province of Quebec
Signed Up May 17, 2020
Last Posted April 22, 2021 at 7:46 PM
Posts 9 (0 per day)
Game Settings
In-game Sensitivity
Windows Sensitivity
Raw Input  
DPI
 
Resolution
 
Refresh Rate
 
Hardware Peripherals
Mouse  
Keyboard  
Mousepad  
Headphones  
Monitor  
#1 Can't change health cross in Customization

I've been trying to make the health cross invisible for the past 3 days and it doesn't want to work, I can't even move it, I don't know what I'm doing wrong.

https://ibb.co/jGwJqB5
https://ibb.co/64dBvfF

posted about 3 years ago
#14 custom health_over_bg.vtf not working in casual in Customization
WiethoofdThe reason your BG currently doesn't show is because you've set it to wide & tall 0. Fix this first.

The path as it currently is with ../vgui/replay is correct.

Oh I got it work perfectly now, thanks you helped alot.

posted about 3 years ago
#12 custom health_over_bg.vtf not working in casual in Customization
WiethoofdYou should have at least the following:
/tf/custom/yourhud/materials/vgui/replay/thumbnails/health_over_bg.vmt	// fixed path to vtf
/tf/custom/yourhud/materials/vgui/replay/thumbnails/health_over_bg.vtf	// custom bg image
/tf/custom/yourhud/resource/ui/hudplayerhealth.res			// modified hud file
/tf/custom/yourhud/info.vdf						// hud { ui_version 3 }
In theory the above should work.

Okay I've done it, currently, my VMT looks like this

"UnlitGeneric"
{
"$translucent" "1"
"$baseTexture" "vgui\replay\thumbnails\health_over_bg"
"$alpha" "1"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
"%keywords" "tf"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$basetexture"
"animatedtextureframenumvar" "$frame"
"animatedtextureframerate" "15"
}
}
}

And my hudplayerhealth.res looks like this

"PlayerStatusHealthImageBG"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImageBG"
"xpos" "73"
"xpos_minmode" "58"
"ypos" "33"
"zpos" "3"
"wide" "0"
"tall" "0"
"visible" "1"
"enabled" "1"
"image" "../vgui/replay/thumbnails/health_over_bg"
"scaleImage" "1"
}

posted about 3 years ago
#11 custom health_over_bg.vtf not working in casual in Customization

Alright that's what I needed to know, however would the vmt and hudplayerhealth.res directory be materials/vgui/replay/thumbnails/health_over_bg or /vgui/replay/thumbnails/health_over_bg?

posted about 3 years ago
#9 custom health_over_bg.vtf not working in casual in Customization
WiethoofdI just extracted the original .vmt and uploaded it, but that should indeed be modified to reflect it's new path, good catch.

Heres the thing, do I have to put all my things inside of the tf directory or inside of tf/custom/myhud/materials/vgui/replay/thumbnails ?

posted about 3 years ago
#7 custom health_over_bg.vtf not working in casual in Customization
WiethoofdObamaGamingcurrently this is what it looks like
https://imgur.com/a/6vVi4He.png
Did you also extract the .vmt with the VTF in the new folder when you moved it?

I did move the VMT and VTF inside of my hud's folders. But looks like the VMT you sent me doesn't have the same directory.

posted about 3 years ago
#5 custom health_over_bg.vtf not working in casual in Customization
WiethoofdMove the file to materials/vgui/replay/thumbnails and make a VMT for it (copy the original) and point your hudplayerhealth image to the changed path.

The image should now work with sv_pure 2 without preloading.

Hmm I dunno, currently this is what it looks like let me know if I did it correctly because it doesn't seem to work at the moment.

https://imgur.com/a/6vVi4He

posted about 3 years ago
#4 custom health_over_bg.vtf not working in casual in Customization
WiethoofdMove the file to materials/vgui/replay/thumbnails and make a VMT for it (copy the original) and point your hudplayerhealth image to the changed path.

The image should now work with sv_pure 2 without preloading.

I'll give this a shot I'll see if it works.

posted about 3 years ago
#1 custom health_over_bg.vtf not working in casual in Customization

So yesterday I made my own hudplayerhealth changes and one of them was an animated background for the health_over_bg.vtf file. It worked perfectly when I tested it on cp_badlands with bots. However on casual, it doesn't seem to work, it's only the default health_over_bg.vtf file. Is there a way to fix it? Cheers.

posted about 3 years ago