Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TF2][Bug] Avatars during vote kick events do not show #2233

Open
SnowshoeIceboot opened this issue Apr 15, 2017 · 0 comments
Open

[TF2][Bug] Avatars during vote kick events do not show #2233

SnowshoeIceboot opened this issue Apr 15, 2017 · 0 comments

Comments

@SnowshoeIceboot
Copy link

http://www.teamfortress.com/post.php?id=20601

Vote kick events now display that target player's Steam avatar

This patch (February 29, 2016) added a CAvatarImagePanel named "TargetAvatarImage" inside the "VoteActive" EditablePanel in the VoteHud.res file:

		"TargetAvatarImage"
		{
			"ControlName"	"CAvatarImagePanel"
			"fieldName"		"TargetAvatarImage"
			"xpos"			"10"
			"ypos"			"23"
			"wide"			"16"
			"tall"			"16"
			"visible"		"0"
			"enabled"		"1"
			"image"			""
			"scaleImage"	"1"	
			"color_outline"	"52 48 45 255"
		}

Patch diff for VoteHud.res

For those who don't know, the VoteActive panel is what pops up on the side of the screen during a vote. However it does not seem to show any avatars when vote kicking a player, effectively making this feature broken (I don't think it ever worked to begin with).

Inspecting with +vgui_drawtree shows that TargetAvatarImage doesn't appear at all under VoteActive during a vote kick event:

screen

Tested on Windows 10 Version 1703 Build 15063.13 64-bit with the default HUD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants