Upvote Upvoted 1 Downvote Downvoted
Help with TargetID Background Resizing
1
#1
0 Frags +

I'm working on modding Garm3nHUD (Tanlight), and am trying to make the width of the background to not stick out as far:

http://cloud.steampowered.com/ugc/900977096974386468/5B7E5F0F5CAFB5111934ABF55D093F5594DBB512/

Any ideas?

Also here is what I have for the element in TargetID.res:

"TargetIDBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TargetIDBG"
"xpos" "0"
"ypos" "-10"
"zpos" "-1"
"wide" "252"
"tall" "50"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "../hud/color_panel_brown"
"scaleImage" "1"
"teambg_1" "../hud/color_panel_brown"
"teambg_2" "../hud/color_panel_red"
"teambg_2_lodef" "../hud/color_panel_red"
"teambg_3" "../hud/color_panel_blu"
"teambg_3_lodef" "../hud/color_panel_blu"

"src_corner_height" "23" // pixels inside the image
"src_corner_width" "23"

"draw_corner_width" "0" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "0"
}

I'm working on modding Garm3nHUD (Tanlight), and am trying to make the width of the background to not stick out as far:

http://cloud.steampowered.com/ugc/900977096974386468/5B7E5F0F5CAFB5111934ABF55D093F5594DBB512/

Any ideas?

Also here is what I have for the element in TargetID.res:

"TargetIDBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TargetIDBG"
"xpos" "0"
"ypos" "-10"
"zpos" "-1"
"wide" "252"
"tall" "50"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "../hud/color_panel_brown"
"scaleImage" "1"
"teambg_1" "../hud/color_panel_brown"
"teambg_2" "../hud/color_panel_red"
"teambg_2_lodef" "../hud/color_panel_red"
"teambg_3" "../hud/color_panel_blu"
"teambg_3_lodef" "../hud/color_panel_blu"

"src_corner_height" "23" // pixels inside the image
"src_corner_width" "23"

"draw_corner_width" "0" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "0"
}
Please sign in through STEAM to post a comment.