Upvote Upvoted 1 Downvote Downvoted
Hud Question
posted in Q/A Help
1
#1
0 Frags +

First off, I am by no means a HUD expert, but I've recently been combining elements of omp hud and knhud. Currently, I am stuck trying to figure out where to go to animate the health values of your target (buff and low health). I know the basics and have animated my own health values, but I've looked all through my stuff and cant find the values. If anyone could help, it would be greatly appreciated. Here is a pic of the numbers I am talking about:
http://imageshack.us/f/706/medvg.png/

First off, I am by no means a HUD expert, but I've recently been combining elements of omp hud and knhud. Currently, I am stuck trying to figure out where to go to animate the health values of your target (buff and low health). I know the basics and have animated my own health values, but I've looked all through my stuff and cant find the values. If anyone could help, it would be greatly appreciated. Here is a pic of the numbers I am talking about:
http://imageshack.us/f/706/medvg.png/
2
#2
2 Frags +

hm....i'm not a hud expert either not sure how much this would help you but

i know that under tf/scripts/hudanimations_tf you can animate the health buff:

-------

event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4

Animate PlayerStatusHealthvalue FgColor "buffed HP" linear 0.0 0.0
Animate PlayerStatusHealthValueSpec FgColor "67 161 246 255" Accel 0.0 0.0

Animate PlayerStatusHealthvalueTargetID FgColor "67 161 246 255" linear 0.0 0.0

RunEvent HudHealthBonusPulseLoop 0.4
}

event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0
Animate PlayerStatusHealthvalue fgcolor "HP" accel 0.0 0.0
Animate PlayerStatusHealthValueSpec FgColor "67 161 246 255" Accel 0.0 0.0
Animate PlayerStatusHealthvalueTargetID fgcolor "HP" accel 0.0 0.0
}

hm....i'm not a hud expert either not sure how much this would help you but

i know that under tf/scripts/hudanimations_tf you can animate the health buff:

-------

event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4

Animate PlayerStatusHealthvalue FgColor "buffed HP" linear 0.0 0.0
Animate PlayerStatusHealthValueSpec FgColor "67 161 246 255" Accel 0.0 0.0

Animate PlayerStatusHealthvalueTargetID FgColor "67 161 246 255" linear 0.0 0.0

RunEvent HudHealthBonusPulseLoop 0.4
}

event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0
Animate PlayerStatusHealthvalue fgcolor "HP" accel 0.0 0.0
Animate PlayerStatusHealthValueSpec FgColor "67 161 246 255" Accel 0.0 0.0
Animate PlayerStatusHealthvalueTargetID fgcolor "HP" accel 0.0 0.0
}
3
#3
0 Frags +

Alright Slin, I'll try that out. Thanks.

Alright Slin, I'll try that out. Thanks.
Please sign in through STEAM to post a comment.