Upvote Upvoted 1 Downvote Downvoted
Crosshair help.
posted in Q/A Help
1
#1
0 Frags +

Is there any way to make your xhair translucent for one class but opaque for the rest?

Thanks in advance.

Is there any way to make your xhair translucent for one class but opaque for the rest?

Thanks in advance.
2
#2
0 Frags +

one thing I think you could do is have two copies of the same crosshair in your hudlayout.res file, one translucent and one opaque, and when you dont want one of the crosshairs up, set its x/ypos to something really high so it doesn't appear

e.g.

	"xhairOpaque"
	{
		"controlName" "CExLabel"
		"fieldName" "xhairOpaque"
		"font" "xhairFont"
		"fgcolor" "0 175 255 255"
		"labelText" "f"
		"xpos" "c-100"
		"ypos" "c-97"
		"xpos_minmode" "2394723"
		"ypos_minmode" "3479654"
		"wide" "200"
		"tall" "200"
		"visible" "1"
		"enabled" "1"
		"textAlignment" "center"
	}
	"xhairTranslucent"
	{
		"controlName" "CExLabel"
		"fieldName" "xhairTranslucent"
		"font" "xhairFont"
		"fgcolor" "0 175 255 155"
		"labelText" "f"
		"xpos" "438623432"
		"ypos" "23794623"
		"xpos_minmode" "c-100"
		"ypos_minmode" "c-97"
		"wide" "200"
		"tall" "200"
		"visible" "1"
		"enabled" "1"
		"textAlignment" "center"
	}

edit: should probably verify first, hud crosshair or ingame crosshair?
if hud crosshair, above should work. if ingame, you can just stuff cl_crosshairalpha "x" in every class config in your cfg folder

one thing I think you could do is have two copies of the same crosshair in your hudlayout.res file, one translucent and one opaque, and when you dont want one of the crosshairs up, set its x/ypos to something really high so it doesn't appear

e.g.

[code] "xhairOpaque"
{
"controlName" "CExLabel"
"fieldName" "xhairOpaque"
"font" "xhairFont"
"fgcolor" "0 175 255 255"
"labelText" "f"
"xpos" "c-100"
"ypos" "c-97"
"xpos_minmode" "2394723"
"ypos_minmode" "3479654"
"wide" "200"
"tall" "200"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
}
"xhairTranslucent"
{
"controlName" "CExLabel"
"fieldName" "xhairTranslucent"
"font" "xhairFont"
"fgcolor" "0 175 255 155"
"labelText" "f"
"xpos" "438623432"
"ypos" "23794623"
"xpos_minmode" "c-100"
"ypos_minmode" "c-97"
"wide" "200"
"tall" "200"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
}[/code]

edit: should probably verify first, hud crosshair or ingame crosshair?
if hud crosshair, above should work. if ingame, you can just stuff cl_crosshairalpha "x" in every class config in your cfg folder
3
#3
0 Frags +

I think the only way to automate that would be setting one to be enabled on hud_minmode 1 and the other on hud_minmode 0.

Then add those two commands to their respective class configs.

I think the only way to automate that would be setting one to be enabled on hud_minmode 1 and the other on hud_minmode 0.

Then add those two commands to their respective class configs.
Please sign in through STEAM to post a comment.