Can't Compile Crosshair

CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
edited January 2003 in NS Customization
<div class="IPBDescription">Sorry but there is no 2D-Art forum...</div> hi,
I wanted a new crosshair for NS. I liked <a href='http://www.counterstrikecenter.com/downloads/sprites.phtml?id=96745&language=en' target='_blank'>Xorpus' "Elite Scope"</a> crosshair for CS, so I tried to modify it so, that it could be used in NS (was too big for NS).

Now I exported the bmp and edited the ch at PSP. Everything went ok until I tried to compile it with SpriteWizard. (I used the "Alphatest" mode)

It just f****ed up all colors when I tried the ch ingame.
(I kept the color palette but there is just still something wrong, cause the black parts should be transparent ingame and the grey parts should be green...) <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->

Is there any chance to get this fixed?

I attached the ch as a JPG. If someone wants to try to compile it properly, just PM me and I'll send him the BMP-version

/?: uh btw it <b>is</b> 96x96 pixels and 256 colors... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo-->

Comments

  • VecdranVecdran Join Date: 2002-11-01 Member: 2323Members
    color mode needs to be set to additive
  • CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
    tried that already - same result <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->
  • BioHazBioHaz Join Date: 2002-02-18 Member: 226Members
    Additive doesnt work for crosshairs, you have to use IndexAlpha.
  • MausMaus Join Date: 2002-11-03 Member: 5599Members
    If you're using Sprite Explorer I've found that for some reason it likes to mess up your pallette when you do things in indexalpha - Speite Wizard is the best bet, I think:

    <a href='http://www.valve-erc.com/files/resources/sprwiz.zip' target='_blank'>http://www.valve-erc.com/files/resources/sprwiz.zip</a>

    I made the crosshair too, though I haven't given it a test run to double-check it works:
  • MausMaus Join Date: 2002-11-03 Member: 5599Members
    Oh, and for the sake of completeness (and possibly stating the obvious), you'll need to change the "crosshair 640" line in the marines' weapon.txt files to:

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->crosshair ... 640 ... [spritename] ... 0 ... 0 ... 96 ... 96<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
  • VecdranVecdran Join Date: 2002-11-01 Member: 2323Members
    <!--QuoteBegin--BioHaz+Jan 26 2003, 01:25 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (BioHaz @ Jan 26 2003, 01:25 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Additive doesnt work for crosshairs, you have to use IndexAlpha.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Thank you for correcting me.
  • CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
    edited January 2003
    not bad (it wasn't messed up after it was compiled <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> )

    but imo it's not smooth enough. also the 2 part left and right of the CH looked strange ingame imo.

    so I edited it again and here's the result (see attachement). If anyone wanna compile it, get the packed bmp. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> (green would be a nice color for it imo <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> )
  • CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
    <!--QuoteBegin--Souris+Jan 26 2003, 04:55 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Souris @ Jan 26 2003, 04:55 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Oh, and for the sake of completeness (and possibly stating the obvious), you'll need to change the "crosshair 640" line in the marines' weapon.txt files to:

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->crosshair ... 640 ... [spritename] ... 0 ... 0 ... 96 ... 96<!--c2--></td></tr></table><span class='postcolor'><!--ec2--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I did that. but the problem was the compile. maybe it'll works with the sprite thingy which is part of the HL SDK? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo-->

    and btw: I did use SpriteWizard <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->

    uh and... is this CH working ingame? I mean: is black transparent and the grey parts green?

    If it's so that's what I wanted. If not... I already was at that point. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
  • MausMaus Join Date: 2002-11-03 Member: 5599Members
    <!--QuoteBegin--CaptainPanaka+Jan 27 2003, 01:09 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (CaptainPanaka @ Jan 27 2003, 01:09 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->uh and... is this CH working ingame? I mean: is black transparent and the grey parts green?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    It should be - I used exactly the same method and pallette I make all my crosshairs with - I just haven't had a chance to test it myself - give it a go and find out <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
    uh ok. I'll test it asap. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • YardbombYardbomb Join Date: 2002-11-24 Member: 9791Members
    That crosshair would be even better if it was blue like the rest of the marine HUD...
  • KaineKaine Join Date: 2002-08-07 Member: 1096Members, Constellation
    i reckon green (in the right shade, of course) would go well with the blue :\
  • MausMaus Join Date: 2002-11-03 Member: 5599Members
    <!--QuoteBegin--Yardbomb+Jan 27 2003, 05:25 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Yardbomb @ Jan 27 2003, 05:25 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->That crosshair would be even better if it was blue like the rest of the marine HUD...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    The one I posted ought to be hud-coloured. I used the same settings as the other crosshairs I made (two of which are <a href='http://members.aol.com/handhyle/crosshairs.htm' target='_blank'>here</a>, on my needing-an-update site)
Sign In or Register to comment.