Upvote Upvoted 2 Downvote Downvoted
Default Hud Tweak
posted in Q/A Help
1
#1
1 Frags +

So ever since the last update the custom hud I used has been broken. I've been using the default hud and I kind of like it, with the exception of the last damage done numbers (they are really hard to see a lot of the time).

What would be the easiest way to modify only that part of the hud? Can I just copy and paste the damageaccount.res from another custom hud, or is it more complicated than that?

So ever since the last update the custom hud I used has been broken. I've been using the default hud and I kind of like it, with the exception of the last damage done numbers (they are really hard to see a lot of the time).

What would be the easiest way to modify only that part of the hud? Can I just copy and paste the damageaccount.res from another custom hud, or is it more complicated than that?
2
#2
0 Frags +

It's more complicated because it would use a different font
I could make a quick huddamageaccount.res file for you which uses a font already in tf2 if you like

It's more complicated because it would use a different font
I could make a quick huddamageaccount.res file for you which uses a font already in tf2 if you like
3
#3
0 Frags +

All I would really want to have changed is the color to yellow, green, or purple.

All I would really want to have changed is the color to yellow, green, or purple.
4
#4
0 Frags +
"Resource/UI/HudDamageAccount.res"
{
    "CDamageAccountPanel"
    {
        "fieldName"             "CDamageAccountPanel"
        "text_x"                "0"
        "text_y"                "0"
        "delta_item_end_y"      "0"
        "PositiveColor"         "0 255 0 255"
        "NegativeColor"         "255 255 0 255"
        "delta_lifetime"        "2.0"
        "delta_item_font"       "HudFontMedium"
        "delta_item_font_big"   "HudFontMedium"
    }
}

Just put it in resource/ui and call it HudDamageAccount.res

You can change the damage numbers by editing 'NegativeColor', they're in the format RGB Transparency. I made them yellow.

[code]"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"
"PositiveColor" "0 255 0 255"
"NegativeColor" "255 255 0 255"
"delta_lifetime" "2.0"
"delta_item_font" "HudFontMedium"
"delta_item_font_big" "HudFontMedium"
}
}
[/code]

Just put it in resource/ui and call it HudDamageAccount.res

You can change the damage numbers by editing 'NegativeColor', they're in the format RGB Transparency. I made them yellow.
5
#5
0 Frags +

Thanks a bunch, this is great!

Thanks a bunch, this is great!
6
#6
0 Frags +

hi i changed the color to tuerkis
and the damage shows up 2 3 seconds after i hit them

"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"
"delta_lifetime" "2.0"
"delta_item_font" "HudFontMedium"
"delta_item_font_big" "HudFontMedium"
}
}
i tried it also when i didnt changed the positiv color withe the yellow it works fine but if i change it dooesnt work
anybody knows whats wrong ?
is is possible to make the damage numbers bigger

hi i changed the color to tuerkis
and the damage shows up 2 3 seconds after i hit them

"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"
"delta_lifetime" "2.0"
"delta_item_font" "HudFontMedium"
"delta_item_font_big" "HudFontMedium"
}
}
i tried it also when i didnt changed the positiv color withe the yellow it works fine but if i change it dooesnt work
anybody knows whats wrong ?
is is possible to make the damage numbers bigger
7
#7
0 Frags +

I think you need to make the font bigger, not sure tho.

I think you need to make the font bigger, not sure tho.
Please sign in through STEAM to post a comment.