Upvote Upvoted 2 Downvote Downvoted
overall damage in hud?
posted in Customization
1
#1
0 Frags +

Hey there TF.TV, i'd like to know, how i can add overall damage panel on my scoreboard?
Screenies for better understanding.

Screenshot from the default hud

http://i.imgur.com/36s81RD.jpg

Screenshot from the hud that i use:

http://i.imgur.com/1HIxxBT.jpg

Cheers,
spammy

Hey there TF.TV, i'd like to know, how i can add overall damage panel on my scoreboard?
Screenies for better understanding.

Screenshot from the [b]default hud[/b][img]http://i.imgur.com/36s81RD.jpg[/img]
Screenshot from the hud that i use: [img]http://i.imgur.com/1HIxxBT.jpg[/img]

Cheers,
spammy
2
#2
0 Frags +

Hello!
Open Scoreboard.res and search for LocalPlayerStatsPanel. Add this

"DamageLabel"
{
"ControlName" "CExLabel"
"fieldName" "DamageLabel"
"font" "ScoreboardVerySmall"
"labelText" "#TF_Scoreboard_Damage"
"textAlignment" "east"
"xpos" "460" [$WIN32]
"ypos" "30" [$WIN32]
"zpos" "3"
"wide" "95"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
"Damage"
{
"ControlName" "CExLabel"
"fieldName" "Damage"
"font" "ScoreboardVerySmall"
"labelText" "%damage%"
"textAlignment" "west" [$WIN32]
"xpos" "560" [$WIN32]
"ypos" "30" [$WIN32]
"zpos" "3"
"wide" "35"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
Edit x/y pos btw :)

Hello!
Open Scoreboard.res and search for LocalPlayerStatsPanel. Add this

"DamageLabel"
{
"ControlName" "CExLabel"
"fieldName" "DamageLabel"
"font" "ScoreboardVerySmall"
"labelText" "#TF_Scoreboard_Damage"
"textAlignment" "east"
"xpos" "460" [$WIN32]
"ypos" "30" [$WIN32]
"zpos" "3"
"wide" "95"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
"Damage"
{
"ControlName" "CExLabel"
"fieldName" "Damage"
"font" "ScoreboardVerySmall"
"labelText" "%damage%"
"textAlignment" "west" [$WIN32]
"xpos" "560" [$WIN32]
"ypos" "30" [$WIN32]
"zpos" "3"
"wide" "35"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
Edit x/y pos btw :)
3
#3
0 Frags +

Done as you said, 0wned, but editing x/y values and even font doesn't seems to do anything :/
Plus i got that big D that stucked on my k/d hud ratio.. lol

http://i.imgur.com/4PC6IoW.jpg

Done as you said, 0wned, but editing x/y values and even font doesn't seems to do anything :/
Plus i got that big D that stucked on my k/d hud ratio.. lol
[img]http://i.imgur.com/4PC6IoW.jpg[/img]
4
#4
0 Frags +

You'll need to see what the other values in the HUD's scoreboard use for their fonts and mirror those for consistency. You'll also want to mirror the "tall" and "wide" values. Some HUDs will vary the alignment, I'm guessing yours would use east for the labels and west for the values. Again, though, look at an example from your HUD's existing values and see what the labels are aligned to versus the actual values.

I've seen a few HUDs that don't use exact x and y values, but instead use c-x values and hierarchies. I can't really tell you what yours uses since I don't have yours.

You'll need to see what the other values in the HUD's scoreboard use for their fonts and mirror those for consistency. You'll also want to mirror the "tall" and "wide" values. Some HUDs will vary the alignment, I'm guessing yours would use east for the labels and west for the values. Again, though, look at an example from your HUD's existing values and see what the labels are aligned to versus the actual values.

I've seen a few HUDs that don't use exact x and y values, but instead use c-x values and hierarchies. I can't really tell you what yours uses since I don't have yours.
Please sign in through STEAM to post a comment.