2 color crosshair?

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Postby Summer Willow » Thu Dec 20, 2007 1:01 pm

Heres what I use, it shows up extremely well on all maps and is 2 coloured in a sense:

crosshair_color_blue "0.0"
crosshair_color_green "0.75"
crosshair_size "0.3" //For the Circle with an X intersecting, where the circle is black (non-defineable) and X is orange
crosshair "10" // For the circle with an X intersecting

Try putting the above into your config file and you may wish to resize the crosshair.

summer
Boinkin Beaver is my best nexuiz friend so you better leave him alone or face the wrath of the =^Kitty^= :D
Summer Willow
Member
 
Posts: 30
Joined: Fri Sep 07, 2007 11:38 pm

Postby Urbanshenkie » Thu Dec 20, 2007 2:07 pm

some crosshairs i found dont think there is a copyright on dots made 20 years ago

http://rapidshare.com/files/77871959/crosshairs.pk3

put it in /data and use crosshair 11-29
Urbanshenkie
Alien
 
Posts: 145
Joined: Tue Dec 04, 2007 11:15 am

Postby Spaceman » Fri Mar 28, 2008 1:10 am

http://rapidshare.com/files/102911655/c ... l.pk3.html

Contains the 11 crosshairs in 2.4.1 plus three others, one from Blµb and two from me.

I've resized them all to fit a 32 x 32 pixel grid and cleaned them up a bit.

Use the console command crosshair plus the number of the crosshair you want.

e.g. crosshair 11 will display Esteel's new two-tone crosshair.

If you use 12, 13 or 14 you'll need to set your red, green and blue sliders to 1.

Code: Select all
crosshair0   blank
crosshair1   cross, thick, blended
crosshair2   cross, dotted  thin, blended
crosshair3   plus, dotted  thin, solid
crosshair4   L, lower right, thin, solid
crosshair5   plus, dotted, thin, solid
crosshair6   solid centre dot
crosshair7   plus, thick, solid
crosshair8   circle with a centre dot, solid
crosshair9   cross white, gradient plus black centre dot
crosshair10   cross white, gradient, plus circle and centre dot black
crosshair11 (Esteel's)   circle with a centre dot, white and black, solid
crosshair12 (Blµb's)   plus, multi-coloured
crosshair13 (victim's)   plus, red and yellow
crosshair14 (victim's)   plus, multi-coloured


Ideally crosshairs should be 1 x 1, 2 x 2, 4 x 4, 8 x 8, 16 x 16, 32 x 32, 64 x 64 etc pixels, i.e. a power of 2.

Crosshairs can be saved as a TGA or a PNG. I haven't tried any other formats, but JPG or GIF may work :!:

Save the above file to your hidden .nexuiz/data folder or your Nexuiz game folder nexuiz-2.4/data
Last edited by Spaceman on Sun May 25, 2008 4:41 pm, edited 1 time in total.
Spaceman
Alien trapper
 
Posts: 264
Joined: Tue Aug 28, 2007 10:53 am

Postby KadaverJack » Fri Mar 28, 2008 1:44 am

victim wrote:II haven't tried any other formats, but JPG or GIF may work

GIF won't work, since the engine doesn't support GIF and JPEG doesn't have alpha channel support, so unless you want to make a square crosshair it's rather useless...
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Bundy » Fri Mar 28, 2008 3:34 am

Wait a second. Can I make a crosshair which is red on blue enemys and blue on red enemys? oO
Bundy
Alien
 
Posts: 230
Joined: Sat Jun 23, 2007 10:47 am

Postby Spaceman » Fri Mar 28, 2008 10:45 pm

KadaverJack wrote:
victim wrote:II haven't tried any other formats, but JPG or GIF may work

GIF won't work, since the engine doesn't support GIF and JPEG doesn't have alpha channel support, so unless you want to make a square crosshair it's rather useless...

Two very good points. I only found out about PNGs by accident, I saved a file as a PMG instead of TGA and it worked in game :D

It would nice if different sized crosshairs could be automatically resized to fit. I created this masterpiece
Image
use crosshair_size 3.5 to see its full glory (it only took 30 seconds) :wink:

Bundy wrote:Wait a second. Can I make a crosshair which is red on blue enemys and blue on red enemys? oO

That is an excellent idea, but I don't think it can currently happen. However, if you show team names. all the players names appear after a few seconds in their appropiate colours.

You could change the time delay to 0 seconds and the game could autoselect a crosshair depending upon the team colour.

You will need to have two (or more KH) different crosshairs with appropiate console variable names or maybe change the three colour controls :idea:
Spaceman
Alien trapper
 
Posts: 264
Joined: Tue Aug 28, 2007 10:53 am

Previous

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron