Upvote Upvoted 2 Downvote Downvoted
TF2: Hud Target ID Name Label not shown
posted in Q/A Help
1
#1
0 Frags +

Hello teamfortress.tv Community,
after the new passtime update, my clearly outdated yahud hud broke again. Now the TargetID's NameLabel is not visible/blank.
I hope someone here knows how to fix this issue. Thanks!

http://i.imgur.com/6WOcd3h.jpg

http://i.imgur.com/s10wBBd.jpg

	"TargetNameLabel"
	{	
		"ControlName"		"CExLabel"
		"fieldName"		"TargetNameLabel"
		"font"			"Medium14"				//Medium12
		"xpos"			"53"
		"ypos"			"18"	
		"zpos"			"2"
		"wide"			"640"
		"tall"			"14"
		"fgcolor"		"ya_Name"
		"autoResize"		"0"
		"pinCorner"		"0"
		"visible"		"1"
		"enabled"		"1"
		"labelText"		"%targetname%"
		"textAlignment"		"west"
		"dulltext"		"0"
		"brighttext"		"0"

	}

ya_Name = rgba 18 18 18 255 (not white)

Hello teamfortress.tv Community,
after the new passtime update, my clearly outdated yahud hud broke again. Now the TargetID's NameLabel is not visible/blank.
I hope someone here knows how to fix this issue. Thanks!
[img]http://i.imgur.com/6WOcd3h.jpg[/img]
[img]http://i.imgur.com/s10wBBd.jpg[/img]

[code] "TargetNameLabel"
{
"ControlName" "CExLabel"
"fieldName" "TargetNameLabel"
"font" "Medium14" //Medium12
"xpos" "53"
"ypos" "18"
"zpos" "2"
"wide" "640"
"tall" "14"
"fgcolor" "ya_Name"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "%targetname%"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"

}[/code]

ya_Name = rgba 18 18 18 255 (not white)
2
#2
3 Frags +

I think Valve hard coded that label to use "TanLight" color only. :(

I think Valve hard coded that label to use "TanLight" color only. :(
3
#3
2 Frags +

So the only possible way to actually see the name is to change the background color? I'm going to try that.

EDIT: It worked!

So the only possible way to actually see the name is to change the background color? I'm going to try that.

EDIT: It worked!
4
#4
3 Frags +

Can't you just create a second label with %targetname% as the labeltext, and set the original TargetNameLabel's alpha to 0? Can't really test right now but you'd keep your bg the same color that way.

Can't you just create a second label with %targetname% as the labeltext, and set the original TargetNameLabel's alpha to 0? Can't really test right now but you'd keep your bg the same color that way.
5
#5
1 Frags +
JarateKingCan't you just create a second label with %targetname% as the labeltext, and set the original TargetNameLabel's alpha to 0? Can't really test right now but you'd keep your bg the same color that way.

Well, I'm happy about the background change, but I'm going to try that out too!

EDIT: Worked perfectly, thanks man!

[quote=JarateKing]Can't you just create a second label with %targetname% as the labeltext, and set the original TargetNameLabel's alpha to 0? Can't really test right now but you'd keep your bg the same color that way.[/quote]

Well, I'm happy about the background change, but I'm going to try that out too!

EDIT: Worked perfectly, thanks man!
6
#6
0 Frags +
JarateKingCan't you just create a second label with %targetname% as the labeltext, and set the original TargetNameLabel's alpha to 0? Can't really test right now but you'd keep your bg the same color that way.

Would you mind walking me through it? I'm assuming I put "alpha" "0" underneath brighttext in the original TargetNameLabel inside TargetID.res, but I have no idea what to do for the rest of it

[quote=JarateKing]Can't you just create a second label with %targetname% as the labeltext, and set the original TargetNameLabel's alpha to 0? Can't really test right now but you'd keep your bg the same color that way.[/quote]

Would you mind walking me through it? I'm assuming I put "alpha" "0" underneath brighttext in the original TargetNameLabel inside TargetID.res, but I have no idea what to do for the rest of it
7
#7
-1 Frags +

if you want to change the colour of the label you can go into client scheme and change the colour definition of TanLight to what colour you want you TargetID labels to be.

if you want to change the colour of the label you can go into client scheme and change the colour definition of TanLight to what colour you want you TargetID labels to be.
8
#8
4 Frags +
Cakeyif you want to change the colour of the label you can go into client scheme and change the colour definition of TanLight to what colour you want you TargetID labels to be.

I would 100% recommend against doing this.

[quote=Cakey]if you want to change the colour of the label you can go into client scheme and change the colour definition of TanLight to what colour you want you TargetID labels to be.[/quote]

I would 100% recommend against doing this.
9
#9
-2 Frags +
_KermitCakeyif you want to change the colour of the label you can go into client scheme and change the colour definition of TanLight to what colour you want you TargetID labels to be.
I would 100% recommend against doing this.

why

[quote=_Kermit][quote=Cakey]if you want to change the colour of the label you can go into client scheme and change the colour definition of TanLight to what colour you want you TargetID labels to be.[/quote]

I would 100% recommend against doing this.[/quote]
why
10
#10
1 Frags +

youre changing a color definition of something that is used everywhere in the tf2 menus

youre changing a color definition of something that is used everywhere in the tf2 menus
11
#11
0 Frags +
flameyoure changing a color definition of something that is used everywhere in the tf2 menus

but you can actually override those if you actually like tanlight

[quote=flame]youre changing a color definition of something that is used everywhere in the tf2 menus[/quote]
but you can actually override those if you actually like tanlight
12
#12
0 Frags +

Can someone tell me how he changed the backround? I have the exact same issue with yahud as well, and I rlly wanna fix it

BibleThump

Can someone tell me how he changed the backround? I have the exact same issue with yahud as well, and I rlly wanna fix it




BibleThump
13
#13
0 Frags +

So here's what I've changed (works now):

"TargetNameLabel"
    {  
        "ControlName"       "CExLabel"
        "fieldName"     "TargetNameLabel"
        "font"          "Medium14"              //Medium12
        "xpos"          "53"
        "ypos"          "18"   
        "zpos"          "2"
        "wide"          "640"
        "tall"          "14"
        "fgcolor"       "ya_Name"
        "autoResize"        "0"
        "pinCorner"     "0"
        "visible"       "1"
        "enabled"       "1"
        "labelText"     "%targetname%"
        "textAlignment"     "west"
        "dulltext"      "0"
        "brighttext"        "0"
        "alpha"         "0"                       // alpha changed to 0
    }
    "TargetNameLabel2"          // added a second label over the original one
    {  
        "ControlName"       "CExLabel"
        "fieldName"     "TargetNameLabel2"
        "font"          "Medium14"              //Medium12
        "xpos"          "53"
        "ypos"          "18"   
        "zpos"          "2"
        "wide"          "640"
        "tall"          "14"
        "fgcolor"       "ya_Name"
        "autoResize"        "0"
        "pinCorner"     "0"
        "visible"       "1"
        "enabled"       "1"
        "labelText"     "%targetname%"
        "textAlignment"     "west"
        "dulltext"      "0"
        "brighttext"        "0"

    }
   
So here's what I've changed (works now):

[code]
"TargetNameLabel"
{
"ControlName" "CExLabel"
"fieldName" "TargetNameLabel"
"font" "Medium14" //Medium12
"xpos" "53"
"ypos" "18"
"zpos" "2"
"wide" "640"
"tall" "14"
"fgcolor" "ya_Name"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "%targetname%"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"alpha" "0" // alpha changed to 0
}
"TargetNameLabel2" // added a second label over the original one
{
"ControlName" "CExLabel"
"fieldName" "TargetNameLabel2"
"font" "Medium14" //Medium12
"xpos" "53"
"ypos" "18"
"zpos" "2"
"wide" "640"
"tall" "14"
"fgcolor" "ya_Name"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "%targetname%"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"

}
[/code]
Please sign in through STEAM to post a comment.