Forum
Small Version of m0res Crosshair
Created 3rd November 2011 @ 15:29
Add A Reply Pages: « Previous 1 2
Quoted from GibbZ
It feels like the crosshair isnt in the dead centre of the screen. I used the changes and used the numbers for 1024×768. Is it because there is no direct centre of the crosshair to be on the most centre pixel?
Adjust xpos
and wide
to move it horizontally – xpos
to move it 1 unit, wide
to move it 1/2 unit. Use ypos
and tall
respectively to move it vertically.
As you can see, it’s not possible to move HUD elements on a per-pixel basis, only with vgui units which are constant on the y-axis (480) and variable on the x-axis (480 / y-value of screen aspect ratio * x-value of aspect ratio = 640 in your case).
Last edited by broesel,
Add A Reply Pages: « Previous 1 2