Page 1 of 2

Built-in customizable crosshairs

Posted: Tue Feb 19, 2013 6:33 pm UTC
by Forty-Two

I haven't found the ability to modify your crosshair in Unvanquished. In Tremulous, I used dot xhairs by using a modified HUD (which I further modified because the default was a microscopic red dot), but in my opinion a larger selection of crosshair styles should be available from the start, as most contemporary games will allow you to do. I'm personally enjoying dot crosshairs a lot, but people's preferences can differ.. At any rate, I was wondering if there was some particular reason for not putting the option in, and if not, would like to suggest giving the option to players :)

Some more common designs:

Image
Image


Re: Built-in customizable crosshairs

Posted: Wed Feb 20, 2013 10:57 am UTC
by ViruS

I wonder how people use those semi-semi-quater arcs as crosshairs for guns, one of the shooters that I have has it...

Maybe a folder to put jpeg/tga images and a README file that states something like "shove your custom drawn crosshairs here"...


Re: Built-in customizable crosshairs

Posted: Wed Feb 20, 2013 12:30 pm UTC
by Forty-Two

That might be nice for extra customization, but I was thinking to make it a section in the HUD options, like 'customize crosshair', where you can select basic designs and see a preview or something.


Re: Built-in customizable crosshairs

Posted: Wed Feb 20, 2013 4:50 pm UTC
by kharnov

This doesn't seem like a bad idea. It's minor, but we could try to find a way to do it.


Re: Built-in customizable crosshairs

Posted: Wed Feb 20, 2013 10:55 pm UTC
by Khaoz

Oh yes this, I used to pretty much just edit superpies crosshair .pk3 file to whatever I wanted on tremulous, an easier way would be awesome for Unvanquished.


Re: Built-in customizable crosshairs

Posted: Wed Feb 20, 2013 11:51 pm UTC
by Ishq

Very possible. Maybe even in this release.


Re: Built-in customizable crosshairs

Posted: Wed Feb 20, 2013 11:53 pm UTC
by kharnov

Well. That was fast.


Re: Built-in customizable crosshairs

Posted: Thu Feb 21, 2013 2:40 am UTC
by Ishq

https://github.com/Unvanquished/Unvanqu ... 0a16ff8acd

Added. This will be in this release.

Just set cg_crosshairFile to the file which contains the settings. File format is:

Ex:
<name of weapon> <size of crosshair> <path to image>
blaster 24 gfx/crosshair/cross.tga
rifle 30 gfx/crosshair/myCoolCrosshair.png
level1 20 gfx/crosshair/basi.webp


Re: Built-in customizable crosshairs

Posted: Thu Feb 21, 2013 10:20 am UTC
by ViruS

<3


Re: Built-in customizable crosshairs

Posted: Fri Feb 22, 2013 7:32 am UTC
by Forty-Two

Awesome, thanks for adding it so quickly! :)