Hello everybody !
I know, there is alot of tutorials, guides, ways to do that, but im still confused and im looking for days for this
Hello everybody !
I know, there is alot of tutorials, guides, ways to do that, but im still confused and im looking for days for this
Open hudanimations.txt in /scripts and use Ctrl+F to find "event DamagedPlayer" (no quotations), then paste the following lines into the bracketed section:
Animate Crosshair?? FgColor "255 0 0 255" Linear 0.0 0.00001
Animate Crosshair?? FgColor "0 255 0 255" Linear 0.10 0.10001
What you also need to do is change the ?? to the number that corresponds to your Crosshair; I can't tell which of broeselhud's several cross-shaped crosshairs you are using, but you should know since you enabled it. Find it in hudlayout.res and scroll all the way to the right, and you should find "fieldName" "Crosshair??", with the specific crosshair's number in place of the question marks. Copy the number into the lines I've posted above for you to paste into hudanimations.txt.
The whole section should look something like this:
event DamagedPlayer
{
Animate DamageAccountValue Alpha "255" linear 0.0 0.0
Animate DamageAccountValue Alpha "0" linear 10.0 0.2
Animate DamageAccountValueBG Alpha "255" linear 0.0 0.0
Animate DamageAccountValueBG Alpha "0" linear 10.0 0.2
Animate Crosshair01 FgColor "255 0 0 255" Linear 0.0 0.00001
Animate Crosshair01 FgColor "0 255 0 255" Linear 0.10 0.10001
}
ControlopeOpen hudanimations.txt in /scripts and use Ctrl+F to find "event DamagedPlayer" (no quotations), then paste the following lines into the bracketed section:
Animate Crosshair?? FgColor "255 0 0 255" Linear 0.0 0.00001 Animate Crosshair?? FgColor "0 255 0 255" Linear 0.10 0.10001
What you also need to do is change the ?? to the number that corresponds to your Crosshair; I can't tell which of broeselhud's several cross-shaped crosshairs you are using, but you should know since you enabled it. Find it in hudlayout.res and scroll all the way to the right, and you should find "fieldName" "Crosshair??", with the specific crosshair's number in place of the question marks. Copy the number into the lines I've posted above for you to paste into hudanimations.txt.
The whole section should look something like this:
event DamagedPlayer { Animate DamageAccountValue Alpha "255" linear 0.0 0.0 Animate DamageAccountValue Alpha "0" linear 10.0 0.2 Animate DamageAccountValueBG Alpha "255" linear 0.0 0.0 Animate DamageAccountValueBG Alpha "0" linear 10.0 0.2 Animate Crosshair01 FgColor "255 0 0 255" Linear 0.0 0.00001 Animate Crosshair01 FgColor "0 255 0 255" Linear 0.10 0.10001 }
Thanks for the help, but there is no "event Damaged Player" in the broeselhud, i already checked, but i will try to copy-paste the "whole section" in the hud animations. I will let you know if it worked :)
EDIT : YEP, IT WORKS ! Thanks alot !
ctrl+f "DamagedPlayer"
Trust me, it's there. Just copy what #2 told you to.
Don't copy the "whole section" either. That will most likely break your HUD.
Zimmyctrl+f "DamagedPlayer"
Trust me, it's there. Just copy what #2 told you to.
Don't copy the "whole section" either. That will most likely break your HUD.
Thanks, but it worked well
Rambadiliansorry for bumping an older thread, but i'm sorta having issues with this. the crosshair i use is "small Cross." In the actual font it's letter e, and neither of those worked (nor did 05). here's what stuff looks like right now
http://puu.sh/4FtA8.png
anyone have help? and sorry again for bumping
You're on the right path however "CrosshairsmallCross" isn't actually the name of the crosshair. Broesel has a funny way of formatting things that hides some of the more important information (Fieldname) The actual fieldname SHOULD be "crosshair5" you can find the fieldname by scrolling far to the left in your hudlayout.res file.
EDIT: a bit more here + pictures
http://teamfortress.tv/forum/thread/12381-crosshair-damage-broeselhud#post-8