Forum
DamagedPlayer HUD item
Created 2nd February 2012 @ 22:32
Add A Reply Pages: 1 2 3 Next »
So basically hitmarker for TF2? I want my HUD crosshair (M0recross) to pulse in red when I hit someone! Someone do it for me cause I can’t. :(
Edit: Quote from the update.
Added “DamagedPlayer” animation event for the HUD, fired when the local player damages other players
You already have dingaling and damage numbers. How hard is it to tell if you hit someone? :P
I think thats not possible to do in tf2.
nvm
Quoted from murje
You already have dingaling and damage numbers. How hard is it to tell if you hit someone? :P
Need… More… Proof… Of… AIM!!
(And bad hitreg)
Quoted from MIndYe
So basically hitmarker for TF2? I want my HUD crosshair (M0recross) to pulse in red when I hit someone! Someone do it for me cause I can’t. :(
Edit: Quote from the update.
Added “DamagedPlayer” animation event for the HUD, fired when the local player damages other players
Go to tf folder, open scripts/hudAnimations_tf.txt
go to where it has
event DamagedPlayer
{
//empty
}
replace with
event DamagedPlayer
{
Animate M0rexhairCross FgColor "255 0 0 255" Linear 0.0 0.00001
Animate M0rexhairCross FgColor "255 255 255 255" Linear 0.15 0.15001
}
If you want to change the length of time of the flash, it’s the 0.15 0.15001, just change them until you like it. E.g. 0.5 0.5001 etc.
Edit for grammar
Quoted from Bryn
[…]
Go to tf folder, open scripts/hudAnimations_tf.txtgo to where it has
event DamagedPlayer
{
//empty
}replace with
event DamagedPlayer
{
Animate M0rexhairCross FgColor "255 0 0 255" Linear 0.0 0.00001
Animate M0rexhairCross FgColor "255 255 255 255" Linear 0.15 0.15001
}If you want to change the length of time of the flash, it’s the 0.15 0.15001, just change them until you like it. E.g. 0.5 0.5001 etc.
Edit for grammar
I love you!!!!
Flashing hud crosshair http://www.youtube.com/watch?v=BmdG7xtBQb8
Flashing crosshair superimposed on in-game crosshair http://www.youtube.com/watch?v=bUWuQvKV8XY
Same but with default crosshair, superimposed with a dot http://www.youtube.com/watch?v=hp4JzyMel4I
Crosshair “growing” when damage http://www.youtube.com/watch?v=DdUg0sAZer4
With Bryn’s event.
How would you do this with PVhud and the default crosshair?
Quoted from atmo
How would you do this with PVhud and the default crosshair?
You can’t. This works with HUD crosshairs because the animation is triggered by an event in the HUD animations file, whereas the color of regular crosshairs is altered with cvars (which can not be called at a HUD event).
Hmm..
well I got the xHairCircle to flash red on pvhud with
event DamagedPlayer
{
Animate xHairCircle FgColor “255 0 0 255”
Linear 0.0 0.00001
Animate xHairCircle FgColor “255 255 255 48”
Linear 0.15 0.15001
}
I’m streaming live if you want to see what it looks like – http://twitch.tv/atmo_
Quoted from broesel
[…]
You can’t. This works with HUD crosshairs because the animation is triggered by an event in the HUD animations file, whereas the color of regular crosshairs is altered with cvars (which can not be called at a HUD event).
could you superimpose something over the normal xhair though?
Feel like this is only useful if your teammates could see the people getting damaged so they know who you’re damaging straight away.
I don’t really see how this is useful :/
For me it would just probably be super distracting.
Add A Reply Pages: 1 2 3 Next »