Upvote Upvoted 3 Downvote Downvoted
blue crosshair on healing?
posted in Customization
1
#1
0 Frags +

Hello,
I got a question. Can i have ahud crosshair when i am being healed and it's invisible when not? I use the standard rayshud from the installer. Can someone tell me what scripts I should put where? Thanks a lot!

Hello,
I got a question. Can i have ahud crosshair when i am being healed and it's invisible when not? I use the standard rayshud from the installer. Can someone tell me what scripts I should put where? Thanks a lot!
2
#2
1 Frags +

There is no way, I would really like it too as it would go well with my HUD, but someone else asked the same question a few weeks ago and no one could find anything. http://teamfortress.tv/thread/16875/crosshair-green-while-healing

There is no way, I would really like it too as it would go well with my HUD, but someone else asked the same question a few weeks ago and no one could find anything. http://teamfortress.tv/thread/16875/crosshair-green-while-healing
3
#3
0 Frags +

It can also be when i am buffed... either is good though

It can also be when i am buffed... either is good though
4
#4
0 Frags +

Actually it is possible, iirc hudas has pulsing crosshairs aswell as garm3n huds.

Actually it is possible, iirc hudas has pulsing crosshairs aswell as garm3n huds.
5
#5
0 Frags +

if i remember correctly KNhud had something like that aswell

if i remember correctly KNhud had something like that aswell
6
#6
1 Frags +

But what lines sgould i put where in the hudanimations.res file? If someone can search those lines for me in those huds i'd be really thankful! :3

But what lines sgould i put where in the hudanimations.res file? If someone can search those lines for me in those huds i'd be really thankful! :3
7
#7
0 Frags +

I'd assume it's something along the lines of
event HudHealthBonusPulse
{ Animate "crosshairname" FgColor "desired colour" Linear 0.0 0.2
Animate "crosshairname" FgColor "original colour" Linear 0.1 0.4

RunEvent HudHealthBonusPulseLoop 0.4
}

I'd assume it's something along the lines of
event HudHealthBonusPulse
{ Animate "crosshairname" FgColor "desired colour" Linear 0.0 0.2
Animate "crosshairname" FgColor "original colour" Linear 0.1 0.4

RunEvent HudHealthBonusPulseLoop 0.4
}
8
#8
0 Frags +

I'll try this again because this broke my hud yesterday...

I'll try this again because this broke my hud yesterday...
9
#9
0 Frags +
//Health Bonus Pulse
event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4

Animate PlayerStatusHealthValue FgColor "Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Buff" Accel 0.0 0.0
Animate BasicCross FgColor "0 0 255 100" Linear 0.0 0.2
Animate BasicCross FgColor "0 0 255 0" Linear 0.1 0.4

RunEvent HudHealthBonusPulseLoop 0.4
}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0

Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Normal" Accel 0.0 0.0

}

this is what the overheal part of the hudanimations.res looks like but it still doesn't show up...
any help?

[quote]//Health Bonus Pulse
event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4

Animate PlayerStatusHealthValue FgColor "Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Buff" Accel 0.0 0.0
Animate BasicCross FgColor "0 0 255 100" Linear 0.0 0.2
Animate BasicCross FgColor "0 0 255 0" Linear 0.1 0.4

RunEvent HudHealthBonusPulseLoop 0.4
}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0

Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Normal" Accel 0.0 0.0

}
[/quote]

this is what the overheal part of the hudanimations.res looks like but it still doesn't show up...
any help?
10
#10
0 Frags +

is BasicCross your crosshair? if not then its trying to animate something you're not using.

is BasicCross your crosshair? if not then its trying to animate something you're not using.
11
#11
0 Frags +

it's the crosshair i want to pop up when i'm buffed. i have it enabled and visible in hudlayout. but fgcolor of it is 000 000 255 000.

it's the crosshair i want to pop up when i'm buffed. i have it enabled and visible in hudlayout. but fgcolor of it is 000 000 255 000.
12
#12
-1 Frags +
Pepziit's the crosshair i want to pop up when i'm buffed. i have it enabled and visible in hudlayout. but fgcolor of it is 000 000 255 000.

the last value is visibility
put it to 255

[quote=Pepzi]it's the crosshair i want to pop up when i'm buffed. i have it enabled and visible in hudlayout. but fgcolor of it is 000 000 255 000.[/quote]
the last value is visibility
put it to 255
13
#13
0 Frags +

but i don't want to see it all the time...

but i don't want to see it all the time...
14
#14
0 Frags +
BasicCross
{
"controlName" "CExLabel"
"fieldName" "BasicCross"
"visible" "1"
"enabled" "1"
"zpos" "2"

"xpos" "c-102"
"ypos" "c-99"
"wide" "200"
"tall" "200"

//"font" "CrosshairsOutline26"
"font" "Crosshairs26"
"labelText" "2"
"textAlignment" "center"

"fgcolor" "0 0 255 0"
}

this is the one i want to use

and when it works properly I want it to change from fgcolor 000 000 255 000 when not buffed to fgcolor 000 000 255 100 when buffed

[quote]BasicCross
{
"controlName" "CExLabel"
"fieldName" "BasicCross"
"visible" "1"
"enabled" "1"
"zpos" "2"

"xpos" "c-102"
"ypos" "c-99"
"wide" "200"
"tall" "200"

//"font" "CrosshairsOutline26"
"font" "Crosshairs26"
"labelText" "2"
"textAlignment" "center"

"fgcolor" "0 0 255 0"
}
[/quote]

this is the one i want to use

and when it works properly I want it to change from fgcolor 000 000 255 000 when not buffed to fgcolor 000 000 255 100 when buffed
15
#15
0 Frags +

the crosshair you want to animate should be in hudplayerhealth.res, look at garm3ns hud and you can see how hes done it.

the crosshair you want to animate should be in hudplayerhealth.res, look at garm3ns hud and you can see how hes done it.
16
#16
0 Frags +

Hudplayerhealth.res

"Resource/UI/HudPlayerHealth.res"
{	
	// player health data
	"HudPlayerHealth"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"HudPlayerHealth"
		"xpos"			"c-288"		
		"ypos"			"c45"	
		"xpos"			"32"
		"zpos"			"2"
		"wide"			"250"
		"tall"			"120"
		"visible"		"1"
		"enabled"		"1"	
		"HealthBonusPosAdj"	"35"
		"HealthDeathWarning"	"0.49"
		"HealthDeathWarningColor"	"HUDDeathWarning"
	}	
	"PlayerStatusHealthImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusHealthImage"
		"xpos"			"90"
		"ypos"			"0"
		"zpos"			"4"
		"wide"			"70"
		"tall"			"70"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"
		"alpha"			"0"
	}		
	"PlayerStatusHealthImageBG"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusHealthImageBG"
		"xpos"			"9999"
		"ypos"			"9999"
		"zpos"			"3"
		"wide"			"55"
		"tall"			"55"
		"visible"		"1"
		"enabled"		"1"
		"image"			"../hud/health_bg"
		"scaleImage"	"1"	
	}	
	"PlayerStatusHealthBonusImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusHealthBonusImage"
		"xpos"			"116"
		"ypos"			"18"
		"zpos"			"2"
		"wide"			"68"	
		"tall"			"68"	
		"visible"		"1"
		"enabled"		"1"
		"image"			"../hud/health_over_bg"
		"scaleImage"	"1"	
	}
	"PlayerStatusHealthValue"
	{
		"ControlName"	"CExLabel"
		"fieldName"		"PlayerStatusHealthValue"
		"xpos"			"0"
		"ypos"			"0"
		"zpos"			"5"
		"wide"			"300"
		"tall"			"100"
		"visible"		"1"
		"enabled"		"1"
		"labelText"		"%Health%"
		"textAlignment"	"center"	
		"font"			"CerbeticaBold56"
		"fgcolor"		"Health Normal"
	}
	"PlayerStatusHealthValueShadow"
	{
		"ControlName"	"CExLabel"
		"fieldName"		"PlayerStatusHealthValueShadow"
		"xpos"			"2"
		"ypos"			"2"
		"zpos"			"5"
		"wide"			"300"
		"tall"			"100"
		"visible"		"1"
		"enabled"		"1"
		"labelText"		"%Health%"
		"textAlignment"	"center"	
		"font"			"CerbeticaBold56"
		"fgcolor"		"TransparentBlack"
	}			
	"PlayerStatusBleedImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusBleedImage"
		"xpos"			"0"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"32"
		"tall"			"32"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../vgui/bleed_drop"
		"fgcolor"		"TanDark"
	}		
	"PlayerStatusMilkImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusMilkImage"
		"xpos"			"100"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"32"
		"tall"			"32"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../vgui/bleed_drop"
		"fgcolor"		"TanDark"
	}
	"PlayerStatusMarkedForDeathImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusMarkedForDeathImage"
		"xpos"			"100"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"32"
		"tall"			"32"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../vgui/marked_for_death"
		"fgcolor"		"TanDark"
	}
	"PlayerStatusMarkedForDeathSilentImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusMarkedForDeathSilentImage"
		"xpos"			"100"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"31"
		"tall"			"31"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../vgui/marked_for_death"
		"fgcolor"		"TanDark"	
	}

	"PlayerStatus_MedicUberBulletResistImage"
	{
		"ControlName" 	"ImagePanel"
		"fieldName" 	"PlayerStatus_MedicUberBulletResistImage"
		"xpos" 			"100"
		"ypos" 			"0"
		"zpos" 			"7"
		"wide" 			"31"
		"tall" 			"31"
		"visible" 		"1"
		"enabled" 		"1"
		"scaleImage" 	"1"
		"image"			"../HUD/defense_buff_bullet_blue"
		"fgcolor" 		"TanDark"
	}	

	"PlayerStatus_MedicUberBlastResistImage"
	{
		"ControlName" 	"ImagePanel"
		"fieldName" 	"PlayerStatus_MedicUberBlastResistImage"
		"xpos" 			"100"
		"ypos" 			"0"
		"zpos" 			"7"
		"wide" 			"31"
		"tall" 			"31"
		"visible" 		"1"
		"enabled" 		"1"
		"scaleImage" 	"1"
		"image"			"../HUD/defense_buff_explosion_blue"
		"fgcolor" 		"TanDark"
	}	

	"PlayerStatus_MedicUberFireResistImage"
	{
		"ControlName" 	"ImagePanel"
		"fieldName" 	"PlayerStatus_MedicUberFireResistImage"
		"xpos" 			"100"
		"ypos" 			"0"
		"zpos" 			"7"
		"wide" 			"31"
		"tall" 			"31"
		"visible" 		"1"
		"enabled" 		"1"
		"scaleImage" 	"1"
		"image"			"../HUD/defense_buff_fire_blue"
		"fgcolor" 		"TanDark"
	}

	"PlayerStatus_MedicSmallBulletResistImage"
	{
		"ControlName" 	"ImagePanel"
		"fieldName" 	"PlayerStatus_MedicSmallBulletResistImage"
		"xpos" 			"100"
		"ypos" 			"0"
		"zpos" 			"7"
		"wide" 			"31"
		"tall" 			"31"
		"visible" 		"1"
		"enabled" 		"1"
		"scaleImage" 	"1"
		"image"			"../HUD/defense_buff_bullet_blue"
		"fgcolor" 		"TanDark"
	}	

	"PlayerStatus_MedicSmallBlastResistImage"
	{
		"ControlName" 	"ImagePanel"
		"fieldName" 	"PlayerStatus_MedicSmallBlastResistImage"
		"xpos" 			"100"
		"ypos" 			"0"
		"zpos" 			"7"
		"wide" 			"31"
		"tall" 			"31"
		"visible" 		"1"
		"enabled" 		"1"
		"scaleImage" 	"1"
		"image"			"../HUD/defense_buff_explosion_blue"
		"fgcolor" 		"TanDark"
	}	

	"PlayerStatus_MedicSmallFireResistImage"
	{
		"ControlName" 	"ImagePanel"
		"fieldName" 	"PlayerStatus_MedicSmallFireResistImage"
		"xpos" 			"100"
		"ypos" 			"0"
		"zpos" 			"7"
		"wide" 			"31"
		"tall" 			"31"
		"visible" 		"1"
		"enabled" 		"1"
		"scaleImage" 	"1"
		"image"			"../HUD/defense_buff_fire_blue"
		"fgcolor" 		"TanDark"
	}

		"PlayerStatus_WheelOfDoom"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatus_WheelOfDoom"
		"xpos"			"100"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"32"
		"tall"			"32"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../signs/death_wheel_whammy"
		"fgcolor"		"TanDark"
	}
		"PlayerStatus_SoldierOffenseBuff"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatus_SoldierOffenseBuff"
		"xpos"			"85"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"31"
		"tall"			"31"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../HUD/defense_buff_bullet_blue"
		"fgcolor"		"TanDark"
	}

	"PlayerStatus_SoldierDefenseBuff"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatus_SoldierDefenseBuff"
		"xpos"			"85"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"31"
		"tall"			"31"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../HUD/defense_buff_bullet_blue"
		"fgcolor"		"TanDark"
	}

	"PlayerStatus_SoldierHealOnHitBuff"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatus_SoldierHealOnHitBuff"
		"xpos"			"85"
		"xpos_minmode"	"70"
		"ypos"			"0"
		"zpos"			"7"
		"wide"			"31"
		"tall"			"31"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"	
		"image"			"../HUD/defense_buff_bullet_blue"
		"fgcolor"		"TanDark"
	}

}

hudanimations.res

//Health Bonus Pulse
event HudHealthBonusPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"255"		Linear 0.0 0.2
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"			Linear 0.2 0.4

	Animate PlayerStatusHealthValue 		 FgColor "Health Buff" Accel 0.0 0.0
	Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Buff" Accel 0.0 0.0
	Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Buff" Accel 0.0 0.0
		Animate	BasicCross FgColor "0 0 255 100"	 Linear 0.0 0.2
		Animate	BasicCross FgColor	"0 0 255 0"	 Linear 0.1 0.4
RunEvent HudHealthBonusPulseLoop	0.4
}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
	RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
	StopEvent HudHealthBonusPulse 0.0
	StopEvent HudHealthBonusPulseLoop 0.0

	Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
	Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Normal" Accel 0.0 0.0
	Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Normal" Accel 0.0 0.0

}

can you try to put averything in place plz? im bad at it :3

Hudplayerhealth.res
[code]"Resource/UI/HudPlayerHealth.res"
{
// player health data
"HudPlayerHealth"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerHealth"
"xpos" "c-288"
"ypos" "c45"
"xpos" "32"
"zpos" "2"
"wide" "250"
"tall" "120"
"visible" "1"
"enabled" "1"
"HealthBonusPosAdj" "35"
"HealthDeathWarning" "0.49"
"HealthDeathWarningColor" "HUDDeathWarning"
}
"PlayerStatusHealthImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImage"
"xpos" "90"
"ypos" "0"
"zpos" "4"
"wide" "70"
"tall" "70"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"alpha" "0"
}
"PlayerStatusHealthImageBG"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImageBG"
"xpos" "9999"
"ypos" "9999"
"zpos" "3"
"wide" "55"
"tall" "55"
"visible" "1"
"enabled" "1"
"image" "../hud/health_bg"
"scaleImage" "1"
}
"PlayerStatusHealthBonusImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthBonusImage"
"xpos" "116"
"ypos" "18"
"zpos" "2"
"wide" "68"
"tall" "68"
"visible" "1"
"enabled" "1"
"image" "../hud/health_over_bg"
"scaleImage" "1"
}
"PlayerStatusHealthValue"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValue"
"xpos" "0"
"ypos" "0"
"zpos" "5"
"wide" "300"
"tall" "100"
"visible" "1"
"enabled" "1"
"labelText" "%Health%"
"textAlignment" "center"
"font" "CerbeticaBold56"
"fgcolor" "Health Normal"
}
"PlayerStatusHealthValueShadow"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValueShadow"
"xpos" "2"
"ypos" "2"
"zpos" "5"
"wide" "300"
"tall" "100"
"visible" "1"
"enabled" "1"
"labelText" "%Health%"
"textAlignment" "center"
"font" "CerbeticaBold56"
"fgcolor" "TransparentBlack"
}
"PlayerStatusBleedImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusBleedImage"
"xpos" "0"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/bleed_drop"
"fgcolor" "TanDark"
}
"PlayerStatusMilkImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMilkImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/bleed_drop"
"fgcolor" "TanDark"
}
"PlayerStatusMarkedForDeathImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMarkedForDeathImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/marked_for_death"
"fgcolor" "TanDark"
}
"PlayerStatusMarkedForDeathSilentImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMarkedForDeathSilentImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/marked_for_death"
"fgcolor" "TanDark"
}

"PlayerStatus_MedicUberBulletResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicUberBulletResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_MedicUberBlastResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicUberBlastResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_explosion_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_MedicUberFireResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicUberFireResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_fire_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_MedicSmallBulletResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicSmallBulletResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_MedicSmallBlastResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicSmallBlastResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_explosion_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_MedicSmallFireResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicSmallFireResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_fire_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_WheelOfDoom"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_WheelOfDoom"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../signs/death_wheel_whammy"
"fgcolor" "TanDark"
}
"PlayerStatus_SoldierOffenseBuff"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_SoldierOffenseBuff"
"xpos" "85"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_SoldierDefenseBuff"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_SoldierDefenseBuff"
"xpos" "85"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}

"PlayerStatus_SoldierHealOnHitBuff"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_SoldierHealOnHitBuff"
"xpos" "85"
"xpos_minmode" "70"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}

}
[/code]

hudanimations.res
[code]//Health Bonus Pulse
event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4

Animate PlayerStatusHealthValue FgColor "Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Buff" Accel 0.0 0.0
Animate BasicCross FgColor "0 0 255 100" Linear 0.0 0.2
Animate BasicCross FgColor "0 0 255 0" Linear 0.1 0.4
RunEvent HudHealthBonusPulseLoop 0.4
}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0

Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Normal" Accel 0.0 0.0

}
[/code]
can you try to put averything in place plz? im bad at it :3
17
#17
1 Frags +

use this for hudplayerhealth.res instead of what you posted.

http://pastebin.com/8QwBWAjZ

use this for hudanimations_tf.txt instead of what you posted.

http://pastebin.com/NusAFfAK

PS next time use pastebin instead of pasting that whole thing in, or at least use a spoiler tag or something

use this for hudplayerhealth.res instead of what you posted.

http://pastebin.com/8QwBWAjZ

use this for hudanimations_tf.txt instead of what you posted.

http://pastebin.com/NusAFfAK

PS next time use pastebin instead of pasting that whole thing in, or at least use a spoiler tag or something
18
#18
0 Frags +

Sorry! It still doesn't show up whenever i am buffed :(

Sorry! It still doesn't show up whenever i am buffed :(
19
#19
0 Frags +

han i think you need to make the wide and tall f0 for the entry hudplayerhealth

han i think you need to make the wide and tall f0 for the entry hudplayerhealth
20
#20
0 Frags +
Treshhan i think you need to make the wide and tall f0 for the entry hudplayerhealth

i didn't look at any of that, i just put what he posted together like he asked. i literally changed nothing except for putting it together as per his request. i have no experience with this having had zero interest in pulsing crosshairs personally.

[quote=Tresh]han i think you need to make the wide and tall f0 for the entry hudplayerhealth[/quote]
i didn't look at any of that, i just put what he posted together like he asked. i literally changed nothing except for putting it together as per his request. i have no experience with this having had zero interest in pulsing crosshairs personally.
21
#21
0 Frags +
Treshhan i think you need to make the wide and tall f0 for the entry hudplayerhealth

How do i do that? :3 can you try it?

[quote=Tresh]han i think you need to make the wide and tall f0 for the entry hudplayerhealth[/quote]

How do i do that? :3 can you try it?
Please sign in through STEAM to post a comment.