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

Description

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"
	}

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions