Upvote Upvoted 1 Downvote Downvoted
Crosshair color help?
posted in Customization
1
#1
0 Frags +

So I am using notohud, and I have the xhair circle enabled. I dont remember the last time I enabled a crosshair because I used the same hud for so long. How can I make the color of it black?

So I am using notohud, and I have the xhair circle enabled. I dont remember the last time I enabled a crosshair because I used the same hud for so long. How can I make the color of it black?
2
#2
huds.tf
2 Frags +

I didn't add customization for the circle crosshair, so open up scripts/HudLayout.res and the first thing you'll see is xHairCircle. Change fgcolor to "0 0 0 255" if you want it pure black, or if you want it transparent, change the last number and make it lower, for example "0 0 0 150"

I didn't add customization for the circle crosshair, so open up scripts/HudLayout.res and the first thing you'll see is xHairCircle. Change fgcolor to "0 0 0 255" if you want it pure black, or if you want it transparent, change the last number and make it lower, for example "0 0 0 150"
3
#3
-2 Frags +

where it says "fgcolor" change the values next to it to "0 0 0 255" and mess with the 255 value to change the transparency, 255 is totally solid, 0 is invisible, 128 is semi, etc

where it says "fgcolor" change the values next to it to "0 0 0 255" and mess with the 255 value to change the transparency, 255 is totally solid, 0 is invisible, 128 is semi, etc
4
#4
1 Frags +

while we're on the subject of crosshair color, does anyone know if crosshair alpha works and how i can make my crosshair more transparent?

while we're on the subject of crosshair color, does anyone know if crosshair alpha works and how i can make my crosshair more transparent?
5
#5
-1 Frags +
Chrom3w0lfwhile we're on the subject of crosshair color, does anyone know if crosshair alpha works and how i can make my crosshair more transparent?

I think this is the answer you want

when there are numbers underneath a crosshair in your config (such as 255 255 255 255), they go in this order: R G B A(red, green, blue, alpha). The max values these numbers can reach is 255.
So to edit the color, mess with the first 3 numbers. To mess with transparency, mess with the fourth number value. I believe brandbrand already explained it but maybe you didn't get it.
Hope this helps

[quote=Chrom3w0lf]while we're on the subject of crosshair color, does anyone know if crosshair alpha works and how i can make my crosshair more transparent?[/quote]

I think this is the answer you want

when there are numbers underneath a crosshair in your config (such as 255 255 255 255), they go in this order: R G B A(red, green, blue, alpha). The max values these numbers can reach is 255.
So to edit the color, mess with the first 3 numbers. To mess with transparency, mess with the fourth number value. I believe brandbrand already explained it but maybe you didn't get it.
Hope this helps
6
#6
2 Frags +
PurpleeeeeeeeChrom3w0lfwhile we're on the subject of crosshair color, does anyone know if crosshair alpha works and how i can make my crosshair more transparent?
I think this is the answer you want

when there are numbers underneath a crosshair in your config (such as 255 255 255 255), they go in this order: R G B A(red, green, blue, alpha). The max values these numbers can reach is 255.
So to edit the color, mess with the first 3 numbers. To mess with transparency, mess with the fourth number value. I believe brandbrand already explained it but maybe you didn't get it.
Hope this helps

yea i know all this im not fucking stupid but i just dont know if changing the alpha does anything because when i do change it, it doesnt do anything.

[quote=Purpleeeeeeee][quote=Chrom3w0lf]while we're on the subject of crosshair color, does anyone know if crosshair alpha works and how i can make my crosshair more transparent?[/quote]

I think this is the answer you want

when there are numbers underneath a crosshair in your config (such as 255 255 255 255), they go in this order: R G B A(red, green, blue, alpha). The max values these numbers can reach is 255.
So to edit the color, mess with the first 3 numbers. To mess with transparency, mess with the fourth number value. I believe brandbrand already explained it but maybe you didn't get it.
Hope this helps[/quote]
yea i know all this im not fucking stupid but i just dont know if changing the alpha does anything because when i do change it, it doesnt do anything.
7
#7
1 Frags +
Chrom3w0lfyea i know all this im not fucking stupid but i just dont know if changing the alpha does anything because when i do change it, it doesnt do anything.

The fourth value in fgcolor doesn't work for fonts correctly I believe. At least, it never has for me either. It works fine for image panels but I would assume it simply isn't supported for CExLabels (basically text boxes).

[quote=Chrom3w0lf]
yea i know all this im not fucking stupid but i just dont know if changing the alpha does anything because when i do change it, it doesnt do anything.[/quote]

The fourth value in fgcolor doesn't work for fonts correctly I believe. At least, it never has for me either. It works fine for image panels but I would assume it simply isn't supported for CExLabels (basically text boxes).
8
#8
1 Frags +

Sorry im retarded, i meant in game crosshairs.

Sorry im retarded, i meant in game crosshairs.
9
#9
0 Frags +

There's an in-game command for that but I've never used it. You should try it and see if it works I guess.

cl_crosshairalpha
There's an in-game command for that but I've never used it. You should try it and see if it works I guess. [code]cl_crosshairalpha[/code]
Please sign in through STEAM to post a comment.