Upvote Upvoted 1 Downvote Downvoted
2 hud questions
1
#1
0 Frags +

How do I add an outline to the default hit text and how do I move the timer from pvhud to be at the top center, it is currently at the bottom left for me. I fried to move it but it disappears and i also tried to make the "tall" part bigger but it just stretches it out.

This is what i have for the hit text
"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"
"PositiveColor" "0 255 255 255"
"NegativeColor" "0 255 255 255"
"delta_lifetime" "4"
"delta_item_font" "HudFontMediumBold"
"delta_item_font_big" "HudFontGiantBold"
}
}

How do I add an outline to the default hit text and how do I move the timer from pvhud to be at the top center, it is currently at the bottom left for me. I fried to move it but it disappears and i also tried to make the "tall" part bigger but it just stretches it out.

This is what i have for the hit text
"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"
"PositiveColor" "0 255 255 255"
"NegativeColor" "0 255 255 255"
"delta_lifetime" "4"
"delta_item_font" "HudFontMediumBold"
"delta_item_font_big" "HudFontGiantBold"
}
}
2
#2
0 Frags +

You have to find the timer in HudLayout.res (correct me if I'm wrong someone) and mess with the xpos and ypos values until it's where you want it to be. Each time you change the value, alt tab into tf2 and type the command hud_reloadscheme in console. I'd recommend binding a key to hud_reloadscheme to make the process easier.

You have to find the timer in HudLayout.res (correct me if I'm wrong someone) and mess with the xpos and ypos values until it's where you want it to be. Each time you change the value, alt tab into tf2 and type the command hud_reloadscheme in console. I'd recommend binding a key to hud_reloadscheme to make the process easier.
3
#3
0 Frags +

havent touched this aspect of the hud in a long time. i will take a look at it when i get home.

fairly certain there is a resource for it (the timer that is)

as for the damage account, have you attempted to make a shadow for it?

havent touched this aspect of the hud in a long time. i will take a look at it when i get home.

fairly certain there is a resource for it (the timer that is)


as for the damage account, have you attempted to make a shadow for it?
4
#4
0 Frags +

Yea its HudObjectiveTimePanel.res and I tried moving the x and ypos already. It just disappears if I move it too much or gets cut off so I tried to change the "tall" and width and all that does it stretch it.

Yea its HudObjectiveTimePanel.res and I tried moving the x and ypos already. It just disappears if I move it too much or gets cut off so I tried to change the "tall" and width and all that does it stretch it.
5
#5
0 Frags +
tG-Yea its HudObjectiveTimePanel.res and I tried moving the x and ypos already. It just disappears if I move it too much or gets cut off so I tried to change the "tall" and width and all that does it stretch it.

what section of the HudObjectiveTimePanel.res is it/ do you believe it is?

im at work atm but i can take a glance at it for a bit

- for the outline, mess with the shadow section on huddamageaccount.res (part of me wants to say that actually goes with the last damage done on the bottom left but i may be wrong)

[quote=tG-]Yea its HudObjectiveTimePanel.res and I tried moving the x and ypos already. It just disappears if I move it too much or gets cut off so I tried to change the "tall" and width and all that does it stretch it.[/quote]

what section of the HudObjectiveTimePanel.res is it/ do you believe it is?

im at work atm but i can take a glance at it for a bit


- for the outline, mess with the shadow section on huddamageaccount.res (part of me wants to say that actually goes with the last damage done on the bottom left but i may be wrong)
6
#6
0 Frags +
eulogy_[

- for the outline, mess with the shadow section on huddamageaccount.res (part of me wants to say that actually goes with the last damage done on the bottom left but i may be wrong)

It does, the only way to add an outline I believe is just by outlining the font in clientscheme.res, its what i usually do the only 'downside' to it is if anything else is used by the same font it will also be outlined. If you don't care tG- search for "HudFontMediumBold" in clientscheme.res and replace it with

"HudFontMediumBold"
		{
			"1"
			{
				"name"		"TF2 Build"
				"tall"		"24"
				"weight"	"500"
				"additive"	"0"
				"antialias" "1"
      				"outline"	"1"

for the size of it. change the "tall" level in what i just posted. But like I said it will change anything else that uses this font

[quote=eulogy_][

- for the outline, mess with the shadow section on huddamageaccount.res (part of me wants to say that actually goes with the last damage done on the bottom left but i may be wrong)[/quote]
It does, the only way to add an outline I believe is just by outlining the font in clientscheme.res, its what i usually do the only 'downside' to it is if anything else is used by the same font it will also be outlined. If you don't care tG- search for "HudFontMediumBold" in clientscheme.res and replace it with
[code]
"HudFontMediumBold"
{
"1"
{
"name" "TF2 Build"
"tall" "24"
"weight" "500"
"additive" "0"
"antialias" "1"
"outline" "1"
[/code]

for the size of it. change the "tall" level in what i just posted. But like I said it will change anything else that uses this font
Please sign in through STEAM to post a comment.