Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Add killstreak compatibility to WinPanel #11

Open
Lite0 opened this issue Feb 20, 2023 · 1 comment
Open

Add killstreak compatibility to WinPanel #11

Lite0 opened this issue Feb 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Lite0
Copy link

Lite0 commented Feb 20, 2023

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"
	}
@leadscales leadscales added the enhancement New feature or request label Feb 20, 2023
@leadscales
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants