Upvote Upvoted 14 Downvote Downvoted
crosshair flash on hit
posted in Customization
1
#1
0 Frags +

i feel like an asshole but i spent a while digging through old threads/using google and reading various steam/etf2l threads and cannot get this to work again. i remember pre steam pipe update or w/e that shit was called it worked fine. just want my hud crosshair to flash red on hit.

using broesel hud blue edit,

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 “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001

doesnt work

please help, thanks friends

i feel like an asshole but i spent a while digging through old threads/using google and reading various steam/etf2l threads and cannot get this to work again. i remember pre steam pipe update or w/e that shit was called it worked fine. just want my hud crosshair to flash red on hit.

using broesel hud blue edit,

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 “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001

doesnt work

please help, thanks friends
2
#2
10 Frags +

Somehow you seem to have deleted a value in the 2nd line of the bottom 2 lines

replace your current code from what's below

Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
 Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001

to this

Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
 Animate “Crosshair11” FgColor "0 255 0 255" Linear 0.2 0.200001

and it should work

Somehow you seem to have deleted a value in the 2nd line of the bottom 2 lines

replace your current code from what's below
[code]Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001[/code]
to this
[code]Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0.2 0.200001[/code]

and it should work
3
#3
4 Frags +

fixed, still doesnt work

fixed, still doesnt work
4
#4
1 Frags +
marmadukeGRYLLSfixed, still doesnt work

is it just not flashing? Did you also reload your hud once you had saved the file with the changes?

Just making sure that all bases are being covered

[quote=marmadukeGRYLLS]fixed, still doesnt work[/quote]

is it just not flashing? Did you also reload your hud once you had saved the file with the changes?

Just making sure that all bases are being covered
5
#5
2 Frags +

Not flashing at all. Yeah hud reloadschemed and restarted my game, still a no go

Not flashing at all. Yeah hud reloadschemed and restarted my game, still a no go
6
#6
4 Frags +

Please someone

Please someone
7
#7
6 Frags +

Not an expert about huds by any means, but there is an option to enable crosshair flash on hit in rayshud. If you enable it using the installer, then take the code and paste it into your crosshair or whatever, it might work?

Not an expert about huds by any means, but there is an option to enable crosshair flash on hit in rayshud. If you enable it using the installer, then take the code and paste it into your crosshair or whatever, it might work?
8
#8
0 Frags +

Koncepts code should work, and not to be a dick but are you sure you're using Crosshair11 and not a different one?

Koncepts code should work, and not to be a dick but are you sure you're using Crosshair11 and not a different one?
9
#9
2 Frags +
marmadukeGRYLLSfixed, still doesnt workKonceptSomehow you seem to have deleted a value in the 2nd line of the bottom 2 lines

replace your current code from what's below
Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
 Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001
to this
Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
 Animate “Crosshair11” FgColor "0 255 0 255" Linear 0.2 0.200001

and it should work

Did you straight copy paste this? If so, the quotes around Crosshair11 are shitty fancy quotes rather than normal ones. replace “ ” with " and see if that fixes it.

[quote=marmadukeGRYLLS]fixed, still doesnt work[/quote]
[quote=Koncept]Somehow you seem to have deleted a value in the 2nd line of the bottom 2 lines

replace your current code from what's below
[code]Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001[/code]
to this
[code]Animate “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0.2 0.200001[/code]

and it should work[/quote]

Did you straight copy paste this? If so, the quotes around Crosshair11 are shitty fancy quotes rather than normal ones. replace “ ” with " and see if that fixes it.
10
#10
0 Frags +
_KermitKoncepts code should work, and not to be a dick but are you sure you're using Crosshair11 and not a different one?

I actually tested the code on a vanilla version of brosel blue and it worked, so unless you're missing a bracket at the end of the event (granted that all of the event DamagedPlayer field was posted), then I'm honestly not sure why it's not working.

Have you tried another color like yellow or orange? I'm trying my best but there's only so much that I can really help without getting my hands on the physical files themselves and checking what the problem could be

[quote=_Kermit]Koncepts code should work, and not to be a dick but are you sure you're using Crosshair11 and not a different one?[/quote]
I actually tested the code on a vanilla version of brosel blue and it worked, so unless you're missing a bracket at the end of the event (granted that all of the event DamagedPlayer field was posted), then I'm honestly not sure why it's not working.

Have you tried another color like yellow or orange? I'm trying my best but there's only so much that I can really help without getting my hands on the physical files themselves and checking what the problem could be
11
#11
2 Frags +
marmadukeGRYLLSi feel like an asshole but i spent a while digging through old threads/using google and reading various steam/etf2l threads and cannot get this to work again. i remember pre steam pipe update or w/e that shit was called it worked fine. just want my hud crosshair to flash red on hit.

using broesel hud blue edit,

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 “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001

doesnt work

please help, thanks friends

This might sound dumb but u need a bracket ( } ) to close the code lines.

[quote=marmadukeGRYLLS]i feel like an asshole but i spent a while digging through old threads/using google and reading various steam/etf2l threads and cannot get this to work again. i remember pre steam pipe update or w/e that shit was called it worked fine. just want my hud crosshair to flash red on hit.

using broesel hud blue edit,

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 “Crosshair11” FgColor "255 0 0 255" Linear 0.0 0.1
Animate “Crosshair11” FgColor "0 255 0 255" Linear 0. 0.200001

doesnt work

please help, thanks friends[/quote]

This might sound dumb but u need a bracket ( [b]} [/b]) to close the code lines.
12
#12
4 Frags +

yeah i just missed the closing bracket when copy/pasting. it's there.

fixed the curly quotations, still no go. also tried a diff color, nothin.

THE FUCK

yeah i just missed the closing bracket when copy/pasting. it's there.

fixed the curly quotations, still no go. also tried a diff color, nothin.

THE FUCK
13
#13
6 Frags +

did a fresh install of the updated broeselhud and it works now. not sure what the issue was, but thanks for all the help folks

did a fresh install of the updated broeselhud and it works now. not sure what the issue was, but thanks for all the help folks
Please sign in through STEAM to post a comment.