Upvote Upvoted 0 Downvote Downvoted
Centering Hud Crosshairs
posted in Customization
1
#1
0 Frags +

I recently moved OmpCrosshairCircle from OMPhud to notoHUD. Everything went very smoothly until I enabled another hud crosshair(xHairCircle, which is perfectly centered for 16:9, which I use)to see if they lined up. As you can probably guess, it didn't, and I would like to know how to get it centered.

If this helps at all, this is what I have in hudlayout.res:

"OmpCrosshairCircle"
{
"controlName" "CExLabel"
"fieldName" "OmpCrosshairCircle"
"font" "Crosshairs40"
"fgcolor" "32 32 32 255"
"labelText" "9"
"xpos" "c-100"
"ypos" "c-96"
"wide" "201"
"tall" "200"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
}

I recently moved OmpCrosshairCircle from OMPhud to notoHUD. Everything went very smoothly until I enabled another hud crosshair(xHairCircle, which is perfectly centered for 16:9, which I use)to see if they lined up. As you can probably guess, it didn't, and I would like to know how to get it centered.

If this helps at all, this is what I have in hudlayout.res:

"OmpCrosshairCircle"
{
"controlName" "CExLabel"
"fieldName" "OmpCrosshairCircle"
"font" "Crosshairs40"
"fgcolor" "32 32 32 255"
"labelText" "9"
"xpos" "c-100"
"ypos" "c-96"
"wide" "201"
"tall" "200"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
}
2
#2
3 Frags +

change xpos and ypos for large adjustments to positioning and wide and tall for smaller adjustments. for future reference, my guide here is pretty useful if I do say so myself.

change xpos and ypos for large adjustments to positioning and wide and tall for smaller adjustments. for future reference, my guide [url=http://huds.tf/guides/?guide=3]here[/url] is pretty useful if I do say so myself.
3
#3
0 Frags +

Thank you! Changing "wide" to "200" and "tall" to "201" only puts it about two pixels to the left. The guide was very useful, and thanks again for the answer!

Thank you! Changing "wide" to "200" and "tall" to "201" only puts it about two pixels to the left. The guide was very useful, and thanks again for the answer!
Please sign in through STEAM to post a comment.