1
Modification Help / Re: Overriding the default 32x32 cross-hair size
« on: September 21, 2017, 12:38:04 AM »The crosshair on your screen is a GUI object. Its name is "Crosshair".
To accomplish what you're trying to do you'll need to resize the object. You can do this by calling resize(x, y, w, h) on it.
Example: Crosshair.resize( getWord(Crosshair.position, 0), getWord(Crosshair.position, 1), 128, 128);
The first two arguments are the position of the object, all I did was make it stay where it already was but keep in mind if you're resizing the object it's not going to be centered how you want it anymore. You'll have to offset it. You're also going to have to figure out when to run this code, look into when the crosshair is added (hint: onAdd).
I have absolutely next to no modding experience, but I'm gonna give this a swing. I've been trying to read up on how to go about scripting this, I'm only worried that this is too much effort for a cross-hair design! XD