Upvote Upvoted 14 Downvote Downvoted
Vaccinator resist icon fix
posted in Customization
1
#1
0 Frags +

Maybe this method is well-known already among hudmakers but I started this thread because I see that vaccinator is fucking broken in a bunch of huds and that hurts my feelings so much. This is not my idea, all credit goes to hack-the-gibson, the creator of htghud . Here is an excerpt from his hud:

// The vaccinator resist icon FORCES the xpos to be 0 and ypos to be -25,
// so to get around this, we create ResistIconAnchor to determine the resist
// icon placement, and then pin the icon to it.
"ResistIconAnchor"
{
"ControlName" "EditablePanel"
"fieldName" "ResistIconAnchor"
"xpos" "175"
"ypos" "2"
"wide" "20"
"tall" "20"
"visible" "1"
"enabled" "1"
}
"ResistIcon"
{
"ControlName" "ImagePanel"
"fieldName" "ResistIcon"
"xpos" "0"
"ypos" "0"
"wide" "20"
"tall" "20"
"visible" "1"
"enabled" "1"
"image" "../HUD/defense_buff_bullet_blue"
"scaleImage" "1"
"pin_to_sibling" "ResistIconAnchor"
"pin_corner_to_sibling" "1"
"pin_to_sibling_corner" "1"
}

Maybe this method is well-known already among hudmakers but I started this thread because I see that vaccinator is fucking broken in a bunch of huds and that hurts my feelings so much. This is not my idea, all credit goes to hack-the-gibson, the creator of [url=https://github.com/hack-the-gibson/htghud]htghud[/url] . Here is an excerpt from his hud:

// The vaccinator resist icon FORCES the xpos to be 0 and ypos to be -25,
// so to get around this, we create ResistIconAnchor to determine the resist
// icon placement, and then pin the icon to it.
"ResistIconAnchor"
{
"ControlName" "EditablePanel"
"fieldName" "ResistIconAnchor"
"xpos" "175"
"ypos" "2"
"wide" "20"
"tall" "20"
"visible" "1"
"enabled" "1"
}
"ResistIcon"
{
"ControlName" "ImagePanel"
"fieldName" "ResistIcon"
"xpos" "0"
"ypos" "0"
"wide" "20"
"tall" "20"
"visible" "1"
"enabled" "1"
"image" "../HUD/defense_buff_bullet_blue"
"scaleImage" "1"
"pin_to_sibling" "ResistIconAnchor"
"pin_corner_to_sibling" "1"
"pin_to_sibling_corner" "1"
}
2
#2
3 Frags +

Really interesting, wonder if it works for PlayerStatus effects as well. I'm definitely going to test it at some point.

Really interesting, wonder if it works for PlayerStatus effects as well. I'm definitely going to test it at some point.
3
#3
1 Frags +

Great find, Vaccinator icons have always been a pain in the butt to edit, usually requiring yiu to base the whole Med fisplay around it

Great find, Vaccinator icons have always been a pain in the butt to edit, usually requiring yiu to base the whole Med fisplay around it
4
#4
1 Frags +

Wow, this is great, this will help tons of people

Wow, this is great, this will help tons of people
5
#5
5 Frags +

Good news for health cross users! It works with PlayerStatus effects: http://puu.sh/fPa9D/178a09a354.jpg (normally the symbol is stuck on the x-axis)

Good news for health cross users! It works with PlayerStatus effects: http://puu.sh/fPa9D/178a09a354.jpg (normally the symbol is stuck on the x-axis)
6
#6
0 Frags +

brbrbr

brbrbr
7
#7
huds.tf
3 Frags +

This is so fucking clever. I'm not sure why we never approached it this way before.

This is so fucking clever. I'm not sure why we never approached it this way before.
8
#8
0 Frags +

edit: nevermind

edit: nevermind
Please sign in through STEAM to post a comment.