i'm remaking
my old crosshair changing mod since the download link died, but i'm trying to add support for different sized crosshairs
what i have right now is
function Crosshair5_Switch()
{
Crosshair.setBitmap("Add-ons/Client_CrosshairChooser/crossHair5");
Crosshair.setExtent = "64 64";
Crosshair.setPosition = "292 202";
}
(the numbers are adjusted for a 64x64 crosshair on an 800x600 screen)
for whatever reason, the extent and position aren't properly adjusted, so i just end up with a funny looking squished version of the crosshair
also, is there a way i can have the position set relative to the screen size, since almost no one plays in 800x600 (eg.
Crosshair.setPosition = "display.Width / 2 + 16, display.Height / 2 + 16";
or something to that effect)