Help With Colored Crosshair

the_holethe_hole Join Date: 2004-01-03 Member: 25019Members, Constellation
<div class="IPBDescription">Solid green dot</div> I took Fana's crosshair that was posted a while ago, and tried to edit it to my liking (smaller and green) but when I use spritewizard to create the sprite, and put it in game, the grey is transparent, and the crosshair itself is translucent. Look.

Here is the crosshair:
<img src='http://xs12.xs.to/pics/05031/651.jpg' border='0' alt='user posted image' />
(It is a JPG for anyone trying to copy it)

and in game:
<img src='http://xs12.xs.to/pics/05031/ns_veil0017.jpg' border='0' alt='user posted image' />

<img src='http://xs12.xs.to/pics/05031/ns_veil0016.jpg' border='0' alt='user posted image' />


If anyone could tell me what to do to make solid colored crosshairs, or link me to a tutorial, I'd greatly appreciate it. Attached is the pack with the bmp of the crosshair included.

Comments

  • ObstObst Join Date: 2003-03-12 Member: 14436Members, Constellation
    If you want a solid crosshair you should colour the area you want invisible with the last colour of the palette (modify the palette if needed), then select "Alphatest" in the Sprite Wiz when compiling it.
    Bang, you should have it.
  • the_holethe_hole Join Date: 2004-01-03 Member: 25019Members, Constellation
    That's what I did if you download the pack... and still the green is translucent.
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    You're already compiling the crosshair properly with the correct transparency method. It works as expected at 1280x1024, so the problem probably lies in the resolution you play at, or the graphics quality setting. At low display resolution/quality, very small sprites with supposedly sharp edges will 'bleed' their colors slightly, causing a translucent effect.
  • the_holethe_hole Join Date: 2004-01-03 Member: 25019Members, Constellation
    edited January 2005
    So my options are:

    Greaten the crosshair size, and deal with a solid middle and bleeding edges, as well as a large crosshair

    Increase my ingame resolution to my desktop resolution...? 1280x1024

    Decrease my desktop resolution to my game resolution...? 800x600


    Also, if you look at Fana's shotgun crosshair, in game it is a solid white... and doesn't show any translucency, same with the previous regular crosshair, it was a solid white, but was too big, and I wanted green. Do I just have to deal with using white?
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    Try a higher resolution, it works perfectly at 1280x1024.

    If it still looks translucent, increase the size a little at a time until it's acceptable. The color shouldn't make a difference.
Sign In or Register to comment.