Upvote Upvoted 1 Downvote Downvoted
How to change HUD crosshair colour?
posted in Q/A Help
1
#1
0 Frags +

Hello! I'm using the CircleDot crosshair on my new Rayshud, and it's currently at a dull gray right now. Can someone help me change this to a brighter colour, like teal or lime? Really, anything that doesn't blend to tf2 easily.

Also, is it possible to change the size of the crosshair, or change the circle and dot individually?

Thank you for reading and thanks for helpin! ^_^

Hello! I'm using the CircleDot crosshair on my new Rayshud, and it's currently at a dull gray right now. Can someone help me change this to a brighter colour, like teal or lime? Really, anything that doesn't blend to tf2 easily.

Also, is it possible to change the size of the crosshair, or change the circle and dot individually?

Thank you for reading and thanks for helpin! ^_^
2
#2
-1 Frags +

didnt realize you meant hud crosshairs lol

didnt realize you meant hud crosshairs lol
3
#3
0 Frags +

I tried to change the colour, but this was the result: http://prntscr.com/3aazwo

I put the crosshair to show that it only changes the in-game crosshair, not the hud one D:

I tried to change the colour, but this was the result: http://prntscr.com/3aazwo

I put the crosshair to show that it only changes the in-game crosshair, not the hud one D:
4
#4
3 Frags +

Find the circledot crosshair in hudlayout.res then change the fgcolor to what you want it to be.
Green is 0 255 0 255

Find the circledot crosshair in hudlayout.res then change the fgcolor to what you want it to be.
Green is 0 255 0 255
5
#5
1 Frags +

Nope, I tried and it still hasn't changed D:

http://prntscr.com/3ab85r

Nope, I tried and it still hasn't changed D:

http://prntscr.com/3ab85r
6
#6
5 Frags +

It follows RGBO values, respectively,

Red Green Blue Opacity

255 0 0 255 - Red
0 255 0 255 - Green
0 0 255 255 - Blue

Make sure to hud_reloadscheme!

It follows RGBO values, respectively,

Red Green Blue Opacity

255 0 0 255 - Red
0 255 0 255 - Green
0 0 255 255 - Blue

Make sure to hud_reloadscheme!
7
#7
2 Frags +

"enabled" needs to be 1

"enabled" needs to be 1
8
#8
1 Frags +

cuando lo guarda ud ten cuidado que no está "read-only". más que eso, está ud. seguro que usas el "circledot"? hay muchos, y la pictura que pusó ud. falta una "{" al principio, después de "circledot" y antes de "visible". si no tuviera la "{", rompería muchas aspectas del hud... también "enabled" debe tener "1", no "0". debe ser así, creo. reemplaza lo que tiene ud. ahora con lo que pusé debajo, y si no funciona dame un mandato de amigos (friend-request, no sé como so dice :P), y puedo ayudarle a ud. más.

CircleDot
	{
		"controlName"	"CExLabel"
		"fieldName"	 	"CircleDot"
		"visible"		"1"
		"enabled"		"1"
		"zpos"			"2"

		"xpos"			"c-100"
		"ypos"			"c-96"
		"wide"			"200"
		"tall"			"200"

		//"font"			"CrosshairsOutline34"
		"font"			"Crosshairs34"
		"labelText"		"8"
		"textAlignment"	"center"	

		"fgcolor"		"0 255 0 255"
	}

cuando lo guarda ud ten cuidado que no está "read-only". más que eso, está ud. seguro que usas el "circledot"? hay muchos, y la pictura que pusó ud. falta una "{" al principio, después de "circledot" y antes de "visible". si no tuviera la "{", rompería muchas aspectas del hud... también "enabled" debe tener "1", no "0". debe ser así, creo. reemplaza lo que tiene ud. ahora con lo que pusé debajo, y si no funciona dame un mandato de amigos (friend-request, no sé como so dice :P), y puedo ayudarle a ud. más.

[code]CircleDot
{
"controlName" "CExLabel"
"fieldName" "CircleDot"
"visible" "1"
"enabled" "1"
"zpos" "2"

"xpos" "c-100"
"ypos" "c-96"
"wide" "200"
"tall" "200"

//"font" "CrosshairsOutline34"
"font" "Crosshairs34"
"labelText" "8"
"textAlignment" "center"

"fgcolor" "0 255 0 255"
}
[/code][s][/s]
9
#9
1 Frags +

Do this, google "rgb color scale codes" and it'll give you the codes necessary for a large variety of colors. In the huds it's setup like this: "0 0 0 0" the first three 0's are for the color code you want and last one is transparency. Example: "255 0 255 192"

Do this, google "rgb color scale codes" and it'll give you the codes necessary for a large variety of colors. In the huds it's setup like this: "0 0 0 0" the first three 0's are for the color code you want and last one is transparency. Example: "255 0 255 192"
10
#10
2 Frags +

Nokk is right; chances are that you have only either visible or enabled set to one, causing it to appear a dull grey color regardless of the RGBA value given in the fgcolor section.

Changing both to 1 should fix the issue.

Nokk is right; chances are that you have only either visible or enabled set to one, causing it to appear a dull grey color regardless of the RGBA value given in the fgcolor section.

Changing both to 1 should fix the issue.
11
#11
-2 Frags +

aw yis thanks guys, putting the enable thing solved the problem.

Lol, I guess it was really simple, I'm just not that much of a code nerd :P

Thanks!

aw yis thanks guys, putting the enable thing solved the problem.

Lol, I guess it was really simple, I'm just not that much of a code nerd :P

Thanks!
12
#12
1 Frags +
HasssassinIt follows RGBO values

god damnit its rgba
alpha, not opacity
/rant

to answer the rest of your questions:

1. changing size:
see the "font" property? the entry there determines the font (typeface & size). you can make it bigger or smaller by changing the number at the end of the entry (currently 34) to a bigger or smaller number AS LONG AS the size is already defined in clientscheme.res (if not, you have to define it yourself then restart tf2). you may need to realign afterwards.

2. changing the circle and dot individually:
you can't change them seperately with CircleDot as they are part of the same glyph; however, rays does include the circle and the dot separately as xHairCircle and BasicDot, respectively. disable circledot and enable these two if you want to edit them separately.

[quote=Hasssassin]It follows RGBO values[/quote]
god damnit its rgba
alpha, not opacity
/rant

to answer the rest of your questions:

1. changing size:
see the "font" property? the entry there determines the font (typeface & size). you can make it bigger or smaller by changing the number at the end of the entry (currently 34) to a bigger or smaller number AS LONG AS the size is already defined in clientscheme.res (if not, you have to define it yourself then restart tf2). you may need to realign afterwards.

2. changing the circle and dot individually:
you can't change them seperately with CircleDot as they are part of the same glyph; however, rays does include the circle and the dot separately as xHairCircle and BasicDot, respectively. disable circledot and enable these two if you want to edit them separately.
Please sign in through STEAM to post a comment.