Crosshair Colour

g0t_w00tg0t_w00t Join Date: 2004-07-29 Member: 30233Members, Constellation
<div class="IPBDescription">how to change it</div> id really love to get a crosshair which is the negative of whatever colour its on top of, it would greatly help on some maps where it all but disappears against the background. is this possible?

g0t.w00t?

Comments

  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    Probably not - sprites have to be one color to my knowledge. It would be quite handy though...
  • KisanKisan Join Date: 2003-07-30 Member: 18564Members
    edited August 2004
    You can have more than one color.

    <a href='http://kisan.100free.com/spredit.zip' target='_blank'>http://kisan.100free.com/spredit.zip</a> <span style='color:red'>(clicking the link may not work, copy and paste it in browser)</span>

    This program will let you edit the sprites. If you don't get how to use it or just don't want to, explain more how you want it and I'll make it for you.
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin-Kisan+Aug 1 2004, 08:20 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Kisan @ Aug 1 2004, 08:20 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> You can have more than one color. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Let me rephrase what I said a little more clearly - I believe a sprite cannot have it's colors changed in-game. Your crosshair must always be the color it starts as in the beginning of the match. It can't shift colors, to my knowledge.
  • KisanKisan Join Date: 2003-07-30 Member: 18564Members
    Ah, I see what he means now. I thought he wanted something like a blue crosshair outlined in its negative(red) or something to that effect. D:
  • g0t_w00tg0t_w00t Join Date: 2004-07-29 Member: 30233Members, Constellation
    edited August 2004
    actually, that would be quite handy. almost solid red (just enuff to see thru) main part, and a solid blue outline would be good. id need it for all weapons and both alien and rine
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited August 2004
    <!--QuoteBegin-Kisan+Aug 1 2004, 10:38 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Kisan @ Aug 1 2004, 10:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Ah, I see what he means now.  I thought he wanted something like a blue crosshair outlined in its negative(red) or something to that effect. D:<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    I think blue's negative is yellow...

    <!--QuoteBegin-g0t.w00t?+Aug 1 2004, 11:27 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (g0t.w00t? @ Aug 1 2004, 11:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->actually, that would be quite handy. almost solid red (just enuff to see thru) main part, and a solid blue outline would be good. id need it for all weapons and both alien and rine<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Should be quite a complicated process. For the crosshairs, it doesn't seem to be possible to mix multiple colors (e.g. red and blue) with partial transparency (like the current crosshairs), using the conventional transparency methods.

    A way to work around it, is to create a color mesh for the areas that require transparency (i.e. alternating between the color you want and the transparency color) and then use AlphaTest during compilation. I'll try it out right now.

    <i>edit: The attached file should fit the description. To install, extract 'mesh_xhair.zip' to your \nsp\sprites folder. If it's not to your taste and you want to roll back, just unzip the contents of 'default.zip' to the same directory. Oh, and remember to tell me what you think of it. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--></i>
  • g0t_w00tg0t_w00t Join Date: 2004-07-29 Member: 30233Members, Constellation
    thats damn good job! i dont wanna sound picky or ungrateful though, but maybe have the meshed area a little less fine, some slightly bigger holes would be cool.

    like, make holes 4 times larger than they are now?

    if you dont want to it ok cause the xhairs are damn awesome anyway

    g0t.w00t?
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    I updated the above attachment. The 1:4 mesh was the one you tried out already, the 1:8 mesh should be slightly more 'transparent'.
  • g0t_w00tg0t_w00t Join Date: 2004-07-29 Member: 30233Members, Constellation
    thats awesome Verth. 10 outta 10, perfect, great job and all other compliments for such good work.
  • kgthewhippkgthewhipp Join Date: 2004-10-01 Member: 32030Members
    how do i install this?
    (haha lol, cool smilies <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html//emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif' /><!--endemo--> <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html//emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif' /><!--endemo--> <!--emo&::hive::--><img src='http://www.unknownworlds.com/forums/html//emoticons/hive5.gif' border='0' style='vertical-align:middle' alt='hive5.gif' /><!--endemo-->)
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    Open the main ZIP file, and there should be three more ZIP files inside it.

    Extract the contents of <b>one</b> of the files, to <span style='color:green'><b>\ns\sprites</span></b>, to achieve the following effect:
    <span style='color:gold'><b>1-4_mesh</span></b>: installs the crosshair (less transparent)
    <span style='color:gold'><b>1-8_mesh</span></b>: installs the crosshair (more transparent)
    <span style='color:gold'><b>default</span></b>: reverts all crosshairs to the NS defaults

    You can also just install the crosshairs for certain weapons, by extracting the crosshair sprite (mesh_xhair.spr) and only the appropriate weapon text files.
Sign In or Register to comment.