Upvote Upvoted 1 Downvote Downvoted
how to get rid of the calls picture/health cross
posted in Q/A Help
1
#1
0 Frags +

hello again i love getting help from you guys! okay so i already searched this but i use pv hud and really want to get rid of the cross and the picture and keep the number how would i do that

http://puu.sh/1vyAq

hello again i love getting help from you guys! okay so i already searched this but i use pv hud and really want to get rid of the cross and the picture and keep the number how would i do that
[img]http://puu.sh/1vyAq[/img]
2
#2
-2 Frags +

bump

bump
3
#3
2 Frags +

First thing I'm going to do is get rid of the cross.

First off, find HudPlayerHealth.res; it's in .../tf/resource/ui/
Look for the part that goes something like this:

	"PlayerStatusHealthImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusHealthImage"
		. . .
	}

Note: The first line before the braces (the element's name) isn't important, but it's probably the same as mine. It doesn't have to be, though.

What's important is the ControlName element. If that's the same, then you've probably got the right element. Really quick, take note of whatever values the following elements have:

		"xpos"			"82"
		"ypos"			"55"
		"xpos_minmode"	"122"
		"ypos_minmode"	"45"

Got it? Good. Now, that's just one of the elements under the health cross, so we're going to find the other ones too. The shadow/background to the health cross in my HUD is this:

	"PlayerStatusHealthImageBG"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusHealthImageBG"
		. . .
	}

The important part is the ControlName. Take note of the xpos and ypos stuff and make sure they're all similar (but not same) values to the ones we noted earlier. Everything good? Okay, now set the "enabled" and "visible" elements to 0. That will hide the white and black parts of the cross.

I don't have this HUD, so the team colored element it added is alien to me. This isn't for sure, but here's my shot in the dark:

Near those two elements, there should be another element (maybe with a comment describing what it is?) or two with similar coordinates to the two that you disabled just before. Find it and disable it.

For the class image, it should be like this:

In HudPlayerClass.res (same directory as HudPlayerHealth.res) there should be an element called "PlayerStatusClassImage". If it's not named that, find the element with the "image" attribute set to "../hud/class_scoutred". Find it and set its visible/enabled both to 0, too. That should do it.

words???

First thing I'm going to do is get rid of the cross.

First off, find HudPlayerHealth.res; it's in .../tf/resource/ui/
[b]Look for the part[/b] that goes something like this:

[code] "PlayerStatusHealthImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImage"
. . .
}[/code]

Note: The first line before the braces (the element's name) isn't important, but it's probably the same as mine. It doesn't have to be, though.

What's important is the ControlName element. If that's the same, then you've probably got the right element. Really quick, take note of whatever values the following elements have:

[code] "xpos" "82"
"ypos" "55"
"xpos_minmode" "122"
"ypos_minmode" "45"[/code]

Got it? Good. Now, that's just one of the elements under the health cross, so we're going to [b]find the other ones too[/b]. The shadow/background to the health cross in my HUD is this:

[code] "PlayerStatusHealthImageBG"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImageBG"
. . .
}[/code]

The important part is the ControlName. Take note of the xpos and ypos stuff and make sure they're all similar (but not same) values to the ones we noted earlier. Everything good? Okay, now set the "enabled" and "visible" elements to 0. That will hide the white and black parts of the cross.

I don't have this HUD, so the team colored element it added is alien to me. This isn't for sure, but here's my shot in the dark:

Near those two elements, there should be another element (maybe with a comment describing what it is?) or two with similar coordinates to the two that you disabled just before. Find it and disable it.


For the class image, it should be like this:

In HudPlayerClass.res (same directory as HudPlayerHealth.res) there should be an element called "PlayerStatusClassImage". If it's not named that, find the element with the "image" attribute set to "../hud/class_scoutred". Find it and set its visible/enabled both to 0, too. That should do it.

words???
4
#4
1 Frags +

If that doesn't work gmang hud has a way to emulate PVhud without the picture and I'm assuming that he has an override to remove the cross (he has them for most hud elements that aren't nessacary). It's the Povo layout. http://code.google.com/p/gmang-tf2hud/wiki/Layouts

If that doesn't work gmang hud has a way to emulate PVhud without the picture and I'm assuming that he has an override to remove the cross (he has them for most hud elements that aren't nessacary). It's the Povo layout. http://code.google.com/p/gmang-tf2hud/wiki/Layouts
Please sign in through STEAM to post a comment.