Upvote Upvoted 1 Downvote Downvoted
Buffed / Hurt Crosshair Animation
posted in Customization
1
#1
0 Frags +

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.

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.
2
#2
3 Frags +

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.

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.
3
#3
0 Frags +

thanks zimmy

thanks zimmy
4
#4
0 Frags +

what would you put for the crosshair name if you dont have a hud crosshair? would you have to make one?

what would you put for the crosshair name if you dont have a hud crosshair? would you have to make one?
5
#5
0 Frags +

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"
}

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"
}
6
#6
0 Frags +
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.

[quote=redd]what would you put for the crosshair name if you dont have a hud crosshair? would you have to make one?[/quote]
I dont think you can animate a default crosshair, only hud crosshairs.
7
#7
0 Frags +

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 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.
8
#8
0 Frags +

http://pastebin.com/wwAqLDVq

http://pastebin.com/wwAqLDVq
9
#9
0 Frags +

mine as well? http://pastebin.com/xUi49sbh

mine as well? http://pastebin.com/xUi49sbh
10
#10
0 Frags +

bump pls

bump pls
Please sign in through STEAM to post a comment.