Upvote Upvoted 0 Downvote Downvoted
Enemies item in freezecam
posted in Customization
1
#1
0 Frags +

So my hud doesn't show the enemies item in the freezecam like other huds and i wondered how i could get it to show the item.

funny images

So my hud doesn't show the enemies item in the freezecam like other huds and i wondered how i could get it to show the item.

[url=https://imgur.com/a/tAk9g0d] funny images [/url]
2
#2
5 Frags +

[b][/b]
3
#3
0 Frags +

I doesn't seem to work. Replacing the old itempanel section with the new one just crashes my game when I die and adding it to the bottom of the file didn't work either.

Here is how the freezepanel file looks like in my hud (without your adjustments)

 "Resource/UI/FreezePanel_Basic.res"
{
	"itempanel"
	{
		"ControlName"	"CItemModelPanel"
		"fieldName"		"itempanel"
		"xpos"			"r270"
		"ypos"			"300"
		"zpos"			"1"
		"wide"			"0"
		"tall"			"0"
		"visible"		"0"
		"bgcolor_override"		"255 255 255 0"
		"PaintBackgroundType"	"0"

		"model_xpos"		"10"
		"model_center_y"	"1"
		"model_wide"		"90"
		"model_tall"		"55"

		"text_xpos"		"90"
		"text_wide"		"170"
		"text_center"	"1"

		"max_text_height"	"90"
		"padding_height"	"40"
		"resize_to_text"	"1"
		"text_forcesize"	"2"

		"itemmodelpanel"
		{
			"fieldName"		"itemmodelpanel"
			"use_item_rendertarget" "1"
			"useparentbg"		"1"
		}

		"ItemLabel"
		{	
			"ControlName"	"Label"
			"fieldName"		"ItemLabel"
			"font"			"DefaultSmall"
			"xpos"			"10"
			"ypos"			"3"
			"zpos"			"1"
			"wide"			"0"
			"tall"			"0"
			"autoResize"	"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"labelText"		"#FreezePanel_Item"
			"textAlignment"	"Left"
			"dulltext"		"0"
			"brighttext"	"0"
		}

		"attriblabel"
		{
			"ControlName"	"CExLabel"
			"fieldName"		"attriblabel"
			"font"			"ItemFontAttribLarge"
			"xpos"			"0"
			"ypos"			"30"
			"zpos"			"2"
			"wide"			"0"
			"tall"			"0"
			"autoResize"	"0"
			"pinCorner"		"0"
			"visible"		"0"
			"enabled"		"1"
			"labelText"		"%attriblist%"
			"textAlignment"	"south"
			"fgcolor"		"235 226 202 255"
			"centerwrap"	"1"
		}
	}
	"FreezePanelBase"	
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"FreezePanelBase"
		"xpos"			"c-85"
		"ypos"			"r300"		
		"wide"			"250"		
		"tall"			"120"		
		"visible"		"1"
		"ForceStereoRenderToFrameBuffer" "1"

		"FreezePanelBG"
		{
			"ControlName"		"CTFImagePanel"
			"fieldName"		"FreezePanelBG"
			"xpos"			"135"
			"ypos"			"60"
			"zpos"			"-1"
			"wide"			"79"
			"tall"			"43"
			"autoResize"		"0"
			"pinCorner"		"0"
			"visible"		"0"
			"enabled"		"1"
			"image"			"../hud/color_panel_brown"
			"scaleImage"		"1"
			"teambg_1"			"../hud/color_panel_brown"
			"teambg_2"		"../hud/color_panel_brown"
			"teambg_2_lodef"		"../hud/color_panel_brown"
			"teambg_3"			"../hud/color_panel_brown"
			"teambg_3_lodef"		"../hud/color_panel_brown"	

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

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

		"FreezeLabel"
		{	
			"ControlName"		"CExLabel"
			"fieldName"		"FreezeLabel"
			"font"			"Medium9Shadow"
			"xpos"			"0"
			"ypos"			"3"
			"zpos"			"1"
			"wide"			"170"
			"tall"			"19"
			"autoResize"		"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"labelText"		"#FreezePanel_Killer"
			"textAlignment"		"center"
			"fgcolor"		"White"
			"dulltext"		"0"
			"brighttext"		"0"
		}

		"FreezePanelHealth"		
		{
			"ControlName"	"CTFFreezePanelHealth"
			"fieldName"		"FreezePanelHealth"
			"xpos"			"-1"
			"ypos"			"14"
			"zpos"			"5"
			"wide"			"62"
			"tall"			"35"
			"visible"		"1"
			"enabled"		"1"	
			"HealthBonusPosAdj"	"9"
			"HealthDeathWarning"	"0.49"
			"TFFont"		"HudFontSmall"
			"HealthDeathWarningColor"	"HUDDeathWarning"
			"TextColor"		"HudOffWhite"
		}
		"FreezeLabelBackground"
		{
			"controlName"	"ImagePanel"
			"fieldName"		"VerticalLine"
			"xpos"			"8"
			"ypos"			"18"		//23
			"zpos"			"-1"
			"wide"			"155"
			"tall"			"27"		//16
			"autoResize"		"0"
			"pinCorner"		"0"
			"fillcolor"		"0 0 0 214"									
			"visible"			"0"
			"enabled"			"1"
		}
		"FreezeLabelKiller"
		{	
			"ControlName"	"CExLabel"
			"fieldName"		"FreezeLabelKiller"
			"font"			"Medium13Shadow"
			"xpos"			"0"
			"ypos"			"20"
			"zpos"			"1"
			"wide"			"120"
			"tall"			"19"
			"autoResize"	"1"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"fgcolor"		"White"
			"labelText"		"%killername%"
			"textAlignment"		"west"
		}

		"AvatarImage"
		{
			"ControlName"		"CAvatarImagePanel"
			"fieldName"		"AvatarImage"
			"xpos"			"49"
			"ypos"			"74"
			"zpos"			"0"
			"wide"			"0"
			"tall"			"0"
			"visible"		"0"
			"enabled"		"0"
			"image"			""
			"scaleImage"		"1"	
			"color_outline"		"52 48 45 255"
		}	

		"NemesisSubPanel"
		{
			"ControlName"		"EditablePanel"
			"fieldName"		"NemesisSubPanel"
			"xpos"			"0"		// FIXME
			"ypos"			"30"
			"zpos"			"4"
			"wide"			"306"
			"tall"			"38"
			"visible"		"1"

			"NemesisPanelBG"
			{
				"ControlName"		"ScalableImagePanel"
				"fieldName"		"NemesisPanelBG"
				"xpos"			"95"
				"ypos"			"4"
				"zpos"			"5"
				"wide"			"161"
				"tall"			"30"
				"visible"		"0"
				"enabled"		"1"
				"image"			"../hud/color_panel_brown"
				"scaleImage"		"1"	

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

				"draw_corner_width"		"6"				// screen size of the corners ( and sides ), proportional
				"draw_corner_height" 	"6"	
			}
			"NemesisIcon"
			{
				"ControlName"	"ImagePanel"
				"fieldName"		"NemesisIcon"
				"xpos"			"75"
				"ypos"			"14"
				"zpos"			"6"
				"wide"			"18"
				"tall"			"18"
				"visible"		"0"
				"enabled"		"1"
				"image"			"../hud/leaderboard_nemesis_freezecam"
				"scaleImage"	"1"	
			}		
			"NemesisLabel"
			{	
				"ControlName"		"CExLabel"
				"fieldName"		"NemesisLabel"
				"font"			"Garm3nFontTargetSmaller"
				"xpos"			"87"
				"ypos"			"21"
				"zpos"			"6"
				"wide"			"112"
				"tall"			"18"
				"autoResize"		"0"
				"pinCorner"		"0"
				"visible"		"0"
				"enabled"		"1"
				"labelText"		"%nemesisname%"
				"fgcolor"		"White"
				"textAlignment"		"center"
			}
			"NemesisLabel2"
			{	
				"ControlName"		"Label"
				"fieldName"		"NemesisLabel2"
				"font"			"DefaultSmall"
				"xpos"			"134"
				"ypos"			"10"
				"zpos"			"6"
				"wide"			"112"
				"tall"			"18"
				"autoResize"		"0"
				"pinCorner"		"0"
				"visible"		"0"
				"enabled"		"1"
				"labelText"		"%nemesisadvice%"
				"textAlignment"		"west"
			}
		}
	}

	"ScreenshotPanel"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"ScreenshotPanel"
		"xpos"			"c-83"
		"ypos"			"-50"
		"zpos"			"2"
		"wide"			"166"
		"tall"			"40"
		"visible"		"0"

		"ScreenshotPanelBG"
		{
			"ControlName"		"ImagePanel"
			"fieldName"		"ScreenshotPanelBG"
			"xpos"			"0"
			"ypos"			"8"
			"zpos"			"0"
			"wide"			"166"
			"tall"			"38"
			"visible"		"1"
			"enabled"		"1"
			"image"			"../hud/freezecam_black_bg"
			"scaleImage"		"1"
		}
		"ScreenshotIcon"
		{
			"ControlName"		"ImagePanel"
			"fieldName"		"ScreenshotIcon"
			"xpos"			"3"
			"ypos"			"0"
			"zpos"			"1"
			"wide"			"36"
			"tall"			"36"
			"visible"		"1"
			"enabled"		"1"
			"image"			"../hud/ico_camera"
			"scaleImage"	"1"	
		}		
		"ScreenshotLabel"
		{	
			"ControlName"		"Label"
			"fieldName"		"ScreenshotLabel"
			"font"			"SpectatorKeyHints"
			"xpos"			"40"
			"ypos"			"25"
			"zpos"			"2"
			"wide"			"133"
			"tall"			"12"
			"autoResize"		"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"labelText"		"%text%"
			"textAlignment"		"west"
			"dulltext"		"0"
			"brighttext"		"0"
		}
	}	
} 
I doesn't seem to work. Replacing the old itempanel section with the new one just crashes my game when I die and adding it to the bottom of the file didn't work either.

Here is how the freezepanel file looks like in my hud (without your adjustments)

[code] "Resource/UI/FreezePanel_Basic.res"
{
"itempanel"
{
"ControlName" "CItemModelPanel"
"fieldName" "itempanel"
"xpos" "r270"
"ypos" "300"
"zpos" "1"
"wide" "0"
"tall" "0"
"visible" "0"
"bgcolor_override" "255 255 255 0"
"PaintBackgroundType" "0"

"model_xpos" "10"
"model_center_y" "1"
"model_wide" "90"
"model_tall" "55"

"text_xpos" "90"
"text_wide" "170"
"text_center" "1"

"max_text_height" "90"
"padding_height" "40"
"resize_to_text" "1"
"text_forcesize" "2"

"itemmodelpanel"
{
"fieldName" "itemmodelpanel"
"use_item_rendertarget" "1"
"useparentbg" "1"
}

"ItemLabel"
{
"ControlName" "Label"
"fieldName" "ItemLabel"
"font" "DefaultSmall"
"xpos" "10"
"ypos" "3"
"zpos" "1"
"wide" "0"
"tall" "0"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#FreezePanel_Item"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
}

"attriblabel"
{
"ControlName" "CExLabel"
"fieldName" "attriblabel"
"font" "ItemFontAttribLarge"
"xpos" "0"
"ypos" "30"
"zpos" "2"
"wide" "0"
"tall" "0"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"labelText" "%attriblist%"
"textAlignment" "south"
"fgcolor" "235 226 202 255"
"centerwrap" "1"
}
}
"FreezePanelBase"
{
"ControlName" "EditablePanel"
"fieldName" "FreezePanelBase"
"xpos" "c-85"
"ypos" "r300"
"wide" "250"
"tall" "120"
"visible" "1"
"ForceStereoRenderToFrameBuffer" "1"

"FreezePanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "FreezePanelBG"
"xpos" "135"
"ypos" "60"
"zpos" "-1"
"wide" "79"
"tall" "43"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"image" "../hud/color_panel_brown"
"scaleImage" "1"
"teambg_1" "../hud/color_panel_brown"
"teambg_2" "../hud/color_panel_brown"
"teambg_2_lodef" "../hud/color_panel_brown"
"teambg_3" "../hud/color_panel_brown"
"teambg_3_lodef" "../hud/color_panel_brown"

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

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

"FreezeLabel"
{
"ControlName" "CExLabel"
"fieldName" "FreezeLabel"
"font" "Medium9Shadow"
"xpos" "0"
"ypos" "3"
"zpos" "1"
"wide" "170"
"tall" "19"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#FreezePanel_Killer"
"textAlignment" "center"
"fgcolor" "White"
"dulltext" "0"
"brighttext" "0"
}

"FreezePanelHealth"
{
"ControlName" "CTFFreezePanelHealth"
"fieldName" "FreezePanelHealth"
"xpos" "-1"
"ypos" "14"
"zpos" "5"
"wide" "62"
"tall" "35"
"visible" "1"
"enabled" "1"
"HealthBonusPosAdj" "9"
"HealthDeathWarning" "0.49"
"TFFont" "HudFontSmall"
"HealthDeathWarningColor" "HUDDeathWarning"
"TextColor" "HudOffWhite"
}
"FreezeLabelBackground"
{
"controlName" "ImagePanel"
"fieldName" "VerticalLine"
"xpos" "8"
"ypos" "18" //23
"zpos" "-1"
"wide" "155"
"tall" "27" //16
"autoResize" "0"
"pinCorner" "0"
"fillcolor" "0 0 0 214"
"visible" "0"
"enabled" "1"
}
"FreezeLabelKiller"
{
"ControlName" "CExLabel"
"fieldName" "FreezeLabelKiller"
"font" "Medium13Shadow"
"xpos" "0"
"ypos" "20"
"zpos" "1"
"wide" "120"
"tall" "19"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor" "White"
"labelText" "%killername%"
"textAlignment" "west"
}

"AvatarImage"
{
"ControlName" "CAvatarImagePanel"
"fieldName" "AvatarImage"
"xpos" "49"
"ypos" "74"
"zpos" "0"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
"image" ""
"scaleImage" "1"
"color_outline" "52 48 45 255"
}

"NemesisSubPanel"
{
"ControlName" "EditablePanel"
"fieldName" "NemesisSubPanel"
"xpos" "0" // FIXME
"ypos" "30"
"zpos" "4"
"wide" "306"
"tall" "38"
"visible" "1"

"NemesisPanelBG"
{
"ControlName" "ScalableImagePanel"
"fieldName" "NemesisPanelBG"
"xpos" "95"
"ypos" "4"
"zpos" "5"
"wide" "161"
"tall" "30"
"visible" "0"
"enabled" "1"
"image" "../hud/color_panel_brown"
"scaleImage" "1"

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

"draw_corner_width" "6" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "6"
}
"NemesisIcon"
{
"ControlName" "ImagePanel"
"fieldName" "NemesisIcon"
"xpos" "75"
"ypos" "14"
"zpos" "6"
"wide" "18"
"tall" "18"
"visible" "0"
"enabled" "1"
"image" "../hud/leaderboard_nemesis_freezecam"
"scaleImage" "1"
}
"NemesisLabel"
{
"ControlName" "CExLabel"
"fieldName" "NemesisLabel"
"font" "Garm3nFontTargetSmaller"
"xpos" "87"
"ypos" "21"
"zpos" "6"
"wide" "112"
"tall" "18"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"labelText" "%nemesisname%"
"fgcolor" "White"
"textAlignment" "center"
}
"NemesisLabel2"
{
"ControlName" "Label"
"fieldName" "NemesisLabel2"
"font" "DefaultSmall"
"xpos" "134"
"ypos" "10"
"zpos" "6"
"wide" "112"
"tall" "18"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"labelText" "%nemesisadvice%"
"textAlignment" "west"
}
}
}

"ScreenshotPanel"
{
"ControlName" "EditablePanel"
"fieldName" "ScreenshotPanel"
"xpos" "c-83"
"ypos" "-50"
"zpos" "2"
"wide" "166"
"tall" "40"
"visible" "0"

"ScreenshotPanelBG"
{
"ControlName" "ImagePanel"
"fieldName" "ScreenshotPanelBG"
"xpos" "0"
"ypos" "8"
"zpos" "0"
"wide" "166"
"tall" "38"
"visible" "1"
"enabled" "1"
"image" "../hud/freezecam_black_bg"
"scaleImage" "1"
}
"ScreenshotIcon"
{
"ControlName" "ImagePanel"
"fieldName" "ScreenshotIcon"
"xpos" "3"
"ypos" "0"
"zpos" "1"
"wide" "36"
"tall" "36"
"visible" "1"
"enabled" "1"
"image" "../hud/ico_camera"
"scaleImage" "1"
}
"ScreenshotLabel"
{
"ControlName" "Label"
"fieldName" "ScreenshotLabel"
"font" "SpectatorKeyHints"
"xpos" "40"
"ypos" "25"
"zpos" "2"
"wide" "133"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "%text%"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
}
}
} [/code]
4
#4
1 Frags +

[b][/b]
Please sign in through STEAM to post a comment.