insomniaHUD icon indicating copy to clipboard operation
insomniaHUD copied to clipboard

Add killstreak compatibility to WinPanel

Open Lite0 opened this issue 3 years ago • 1 comments

ive always been a fan of knowing who got the highest killstreak in a match as im sure a decent amount of people do as well. this adds back the killstreak panel in a semi-decent way add killstreak on winpanel

winpanel.res

	"KillStreakBG"
	{
		"ControlName"								"EditablePanel"
		"fieldName"									"KillStreakBG"
		"xpos"										"0"
		"ypos"										"-1"
		"wide"										"180"
		"tall"										"21"
		"border"									"FLAT_Black_1"

		"pin_to_sibling"							"ScoresBG"
		"pin_corner_to_sibling"						"PIN_BOTTOMLEFT"
		"pin_to_sibling_corner"						"PIN_TOPLEFT"
	}
	"KillStreakPlayer1Score"
	{
		"ControlName"								"CExLabel"
		"fieldName"									"KillStreakPlayer1Score"
		"font"          							"regular14"
		"xpos"		    							"0"
		"ypos"		    							"0"
		"zpos"		    							"3"
		"wide"		    							"40"
		"tall"		    							"20"
		"visible"	    							"1"
		"enabled"	    							"1"
		"labelText"	  								""
		"textAlignment"								"center"

		"border"									"FLAT_Black_3"

		"pin_to_sibling"							"KillStreakPlayer1Name"
		"pin_corner_to_sibling"						"PIN_TOPLEFT"
		"pin_to_sibling_corner"						"PIN_TOPRIGHT"
	}
	"KillStreakPlayer1Avatar"
	{
		"ControlName"								"CAvatarImagePanel"
		"fieldName"									"KillStreakPlayer1Avatar"
		"xpos"										"9999"
	}
	"KillStreakIcon"
	{
		"ControlName"								"CExLabel"
		"fieldName"									"KillStreakIcon"
		"xpos"										"0"
		"ypos"										"0"
		"zpos"										"4"
		"wide"										"20"
		"tall"										"20"
		"visible"									"1"
		"enabled"									"1"
		"proportionaltoparent"						"1"
		"labelText"									"*"
		"textAlignment"								"center"
		"font"										"iconsMedium"
		"fgcolor" 									"AccentMain"

		"pin_to_sibling"							"KillStreakPlayer1Name"
		"pin_corner_to_sibling"						"PIN_TOPLEFT"
		"pin_to_sibling_corner"						"PIN_TOPLEFT"
	}
	"KillStreakPlayer1Name"
	{
		"ControlName"								"CExLabel"
		"fieldName"									"KillStreakPlayer1Name"
		"font"										"regular14"
		"xpos"		    							"0"
		"ypos"		    							"0"
		"zpos"		    							"3"
		"wide"		    							"140"
		"tall"		    							"20"
		"visible"		    						"1"
		"enabled"		    						"1"
		"labelText"	  								""
		"textAlignment"								"west"
		"textinsetx"								"45"
		"useproportionalinsets"						"1"
		"border"									"FLAT_Black_2"

		"pin_to_sibling"							"KillStreakBG"
		"pin_corner_to_sibling"						"PIN_TOPLEFT"
		"pin_to_sibling_corner"						"PIN_TOPLEFT"
	}

Lite0 avatar Feb 20 '23 19:02 Lite0

Yeah the scores panel is pretty lame right now, and it's getting redone soon, alongside the arena scores. I'll update this issue once it is completed.

leadscales avatar Feb 20 '23 22:02 leadscales