Injection
Account Details
SteamID64 76561198050175145
SteamID3 [U:1:89909417]
SteamID32 STEAM_0:1:44954708
Country Italy
Signed Up November 1, 2012
Last Posted November 1, 2012 at 2:25 PM
Posts 2 (0 per day)
Game Settings
In-game Sensitivity
Windows Sensitivity
Raw Input  
DPI
 
Resolution
 
Refresh Rate
 
Hardware Peripherals
Mouse  
Keyboard  
Mousepad  
Headphones  
Monitor  
#5 Last damage lifetime in Q/A Help
skappaInjection...No way. Lifetime of last damage equally with damage over enemy head, after the last update. I hope Valve will fix it.
sorry 4 bad eng

Thanks.

posted about 11 years ago
#1 Last damage lifetime in Q/A Help

I'm using a standard HUD but I've added this HudDamageAccount.res:

"Resource/UI/HudDamageAccount.res"
{
	"CDamageAccountPanel"
	{
		"fieldName"				"CDamageAccountPanel"
		"text_x"				"0"
		"text_y"				"0"
		"delta_item_end_y"		"0"
		"PositiveColor"			"0 255 0 255"
		"NegativeColor"			"255 255 0 255"
		"delta_lifetime"		"1.5"
		"delta_item_font"		"HudFontMedium"
		"delta_item_font_big"	"HudFontBig"
	}
	"DamageAccountValue"
	{
		"ControlName"	"CExLabel"
		"fieldName"		"DamageAccountValue"
		"xpos"			"c-310"
		"xpos_minmode"		"c-55"
		"ypos"			"r35"
		"ypos_minmode"		"r90"
		"zpos"	 		"2"
		"wide"			"100"
		"tall"			"26"
		"visible"		"1"
		"enabled"		"1"
		"labelText"		"%metal%"
		"textAlignment"	"west"
		"textAlignment_minmode"	"center"
		"fgcolor"		"255 255 0 255"
		"font"			"HudFontMedium"
		"font_minmode"		"HudFontMedium"
	}

	"DamageAccountValueBG"
	{
		"ControlName"	"CExLabel"
		"fieldName"		"DamageAccountValue"
		"xpos"			"c-309"
		"xpos_minmode"		"c-54"
		"ypos"			"r34"
		"ypos_minmode"		"r89"
		"zpos"			"1"
		"wide"			"100"
		"tall"			"26"
		"visible"		"1"
		"enabled"		"1"
		"labelText"		"%metal%"
		"textAlignment"	"west"
		"textAlignment_minmode"	"center"
		"fgcolor"		"0 0 0 255"
		"font"			"HudFontMedium"
		"font_minmode"		"HudFontMedium"
	}
}

Here comes the problem: the last damage done (and its shadow) just disappear with the number showed up on the target (lifetime 1.5). I've tried with delta_lifetime but nothing happens. How can I set a different the lifetime?

posted about 11 years ago