Can someone post a step by steps guide for animating a crosshair to change color when you are buffed and when you are hurt? I remember there was an old version of Garm3nhud that did this but I cannot find it anywhere.
Follow these instructions: http://pastebin.com/0azYKNEt
Just copy the animation entries into the appropriate sections (I have them labeled already for you.)
If you need more help just post back here.
Just copy the animation entries into the appropriate sections (I have them labeled already for you.)
If you need more help just post back here.
what would you put for the crosshair name if you dont have a hud crosshair? would you have to make one?
im having issues getting it to work. is there something i need to put in my hudlayout.res to force the animation? this is what my hudlayout.res looks like and my hudanimations_tf looks like the pastebin you posted.
xHairSpread
{
"controlName" "CExLabel"
"fieldName" "xHairSpread"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-100"
"ypos" "c-100"
"wide" "202"
"tall" "198"
"font" "xHairSpread"
"labelText" "a"
"textAlignment" "center"
"fgcolor" "255 255 255 255"
}
xHairSpread
{
"controlName" "CExLabel"
"fieldName" "xHairSpread"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-100"
"ypos" "c-100"
"wide" "202"
"tall" "198"
"font" "xHairSpread"
"labelText" "a"
"textAlignment" "center"
"fgcolor" "255 255 255 255"
}
reddwhat would you put for the crosshair name if you dont have a hud crosshair? would you have to make one?
I dont think you can animate a default crosshair, only hud crosshairs.
I dont think you can animate a default crosshair, only hud crosshairs.
To redd: Yeah, you can't animate an in-game crosshair.
To xenex: The animation lines should look something like this:
Animate xHairSpread FgColor "0 255 0 255" Accel 0.0 0.0
If you are having trouble, you could pastebin your entire hudanimations_tf.txt and I could do it for you.
To xenex: The animation lines should look something like this:
Animate xHairSpread FgColor "0 255 0 255" Accel 0.0 0.0
If you are having trouble, you could pastebin your entire hudanimations_tf.txt and I could do it for you.