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"
}
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.
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
Wow, this is great, this will help tons of people
Wow, this is great, this will help tons of people
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)
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.