Upvote Upvoted 7 Downvote Downvoted
Pulsing crosshair request
posted in Q/A Help
1
#1
6 Frags +

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

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
}
Open hudanimations.txt in /scripts and use Ctrl+F to find "event DamagedPlayer" (no quotations), then paste the following lines into the bracketed section:

[code] Animate Crosshair?? FgColor "255 0 0 255" Linear 0.0 0.00001
Animate Crosshair?? FgColor "0 255 0 255" Linear 0.10 0.10001[/code]

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:

[code]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
}[/code]
3
#3
0 Frags +
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 !

[quote=Controlope]Open hudanimations.txt in /scripts and use Ctrl+F to find "event DamagedPlayer" (no quotations), then paste the following lines into the bracketed section:

[code] Animate Crosshair?? FgColor "255 0 0 255" Linear 0.0 0.00001
Animate Crosshair?? FgColor "0 255 0 255" Linear 0.10 0.10001[/code]

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:

[code]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
}[/code][/quote]

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 !
4
#4
0 Frags +

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.

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

[quote=Zimmy]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.[/quote]

Thanks, but it worked well
6
#6
1 Frags +

.

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

[quote=Rambadilian]sorry 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

[img]http://puu.sh/4FtA8.png[/img]

anyone have help? and sorry again for bumping[/quote]

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

.

.
Please sign in through STEAM to post a comment.