Upvote Upvoted 1 Downvote Downvoted
Help Event Damaged Player
posted in Off Topic
1
#1
0 Frags +

Hey, I have problems using the event damagedplayer thing, I know how to do it with HUD crosshairs, but I'm trying to do it with the basic TF2 crosshair (crosshair5) and it won't work, I can't find the correct fieldname, or I did, and did something wrong. Help please?

Animate cl_crosshair_file crosshair5 FgColor "255 255 255 255" Linear 0.0 0.1
Animate cl_crosshair_file crosshair5 FgColor "0 0 0 255" Linear 0.2 0.200001

Hey, I have problems using the event damagedplayer thing, I know how to do it with HUD crosshairs, but I'm trying to do it with the basic TF2 crosshair (crosshair5) and it won't work, I can't find the correct fieldname, or I did, and did something wrong. Help please?

Animate cl_crosshair_file crosshair5 FgColor "255 255 255 255" Linear 0.0 0.1
Animate cl_crosshair_file crosshair5 FgColor "0 0 0 255" Linear 0.2 0.200001
2
#2
6 Frags +

I dont think you can do it with TF2 crosshairs

I dont think you can do it with TF2 crosshairs
3
#3
1 Frags +
ApHI dont think you can do it with TF2 crosshairs

Yes, you can't, you can only animate hud elements

[quote=ApH]I dont think you can do it with TF2 crosshairs[/quote]

Yes, you can't, you can only animate hud elements
4
#4
0 Frags +
ApHI dont think you can do it with TF2 crosshairsHergan5ApHI dont think you can do it with TF2 crosshairs
Yes, you can't, you can only animate hud elements

https://www.youtube.com/watch?v=-RFYJYzpT7w

Could you explain this to me then?
Or does he use 2 HUD crosshairs then?

[quote=ApH]I dont think you can do it with TF2 crosshairs[/quote]

[quote=Hergan5][quote=ApH]I dont think you can do it with TF2 crosshairs[/quote]

Yes, you can't, you can only animate hud elements[/quote]

https://www.youtube.com/watch?v=-RFYJYzpT7w

Could you explain this to me then?
Or does he use 2 HUD crosshairs then?
5
#5
huds.tf
0 Frags +
LeopsCould you explain this to me then?
Or does he use 2 HUD crosshairs then?

He's using 2 different crosshairs that are defined in the HUD.

[quote=Leops]Could you explain this to me then?
Or does he use 2 HUD crosshairs then?[/quote]

He's using 2 different crosshairs that are defined in the HUD.
6
#6
0 Frags +
Leopshttps://www.youtube.com/watch?v=-RFYJYzpT7w

Could you explain this to me then?
Or does he use 2 HUD crosshairs then?

In his/her hudlayout.res file they have enables and made visible two crosshairs that are already in the hud (when you open hudlayout.res on a custom hud theres usually crosshairs there)
E.g he has enabled Crosshair_circle and Crosshair_dot

To animate only one of them hes gone into hudanimations_tf.txt and put in something like this:

event DamagedPlayer
{
Animate Crosshair_dot FgColor "255 0 0 255" Linear 0.0 0.00001
Animate Crosshair_dot FgColor "255 255 255 255" Linear 0.10 0.10001
}
[quote=Leops]
https://www.youtube.com/watch?v=-RFYJYzpT7w

Could you explain this to me then?
Or does he use 2 HUD crosshairs then?[/quote]

In his/her hudlayout.res file they have enables and made visible two crosshairs that are already in the hud (when you open hudlayout.res on a custom hud theres usually crosshairs there)
E.g he has enabled Crosshair_circle and Crosshair_dot

To animate only one of them hes gone into hudanimations_tf.txt and put in something like this:
[quote] event DamagedPlayer
{
Animate Crosshair_dot FgColor "255 0 0 255" Linear 0.0 0.00001
Animate Crosshair_dot FgColor "255 255 255 255" Linear 0.10 0.10001
}
[/quote]
Please sign in through STEAM to post a comment.