I Need A Little Sprite Help. ^.^;;

Fox_OneFox_One Join Date: 2003-01-15 Member: 12310Members
<div class="IPBDescription">Oh how the mighty have fallen...</div> Alright, I've decided to step up from making lowly inventory, death, and miscellaneous sprites into the wonderful world of crosshairs. My only problem is...well I'm not sure, but I sure am having one. Take a quick looksee at the attached image. On the left is the sprite I made in PhotoShop (some of you will notice that I based it heavily on a currently existing knife xhair <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->). Now look on the right. Somehow it went from 1337 to crap. None of the other crosshairs I use have this problem, trying to figure out why it's happening, and how to fix it. Here's the weapon_knife .txt, since I figure the problem lies somewhere therein.<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->10
weapon   320 320w 160 140 80 20
weapon_s  320 320w-s 160 140 80 20
ammo   320 320hud2 0 16 18 18
weapon   640 640mw1 0 135 170 45
weapon_s  640 640mw1-s 0 135 170 45
ammo   640 640hud7 0 72 24 24
crosshair  320 xhairknife 0 0 48 48
crosshair  640 xhairknife 0 0 48 48<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

Comments

  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited August 2004
    This seems to be a problem within the Half-Life Engine and the way sprites are rendered(?). The colors 'leak' into adjacent pixels, creating little blobs of color. The effect is most apparent on the areas of the sprite that are single-pixel wide (thin, diagonal lines are a prime example).

    <span style='color:gold'><b>'vid_d3d 1' usually helps a lot.</b></span>
  • Fox_OneFox_One Join Date: 2003-01-15 Member: 12310Members
    edited August 2004
    <!--QuoteBegin-Verthandi+Aug 8 2004, 10:32 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Verthandi @ Aug 8 2004, 10:32 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <span style='color:gold'><b>'vid_d3d 1' usually helps a lot.</b></span> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Nope...I've had that on...bleh, this sprite was just a boredom project anyway, guess I'll scrap it.
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    It appears that something (probably a recent Steam update) has screwed up the functionality of 'vid_d3d'. Have you tried turning it off and seeing whether it made a difference?
  • Fox_OneFox_One Join Date: 2003-01-15 Member: 12310Members
    Of course...and it didn't help at all...Also tried several different versions of the xhair, each with different transparencies...no go.
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited August 2004
    But does vid_d3d 0 make it worse? If there wasn't any difference, that means it no longer has any functionality.

    I don't think it has anything to do with the transparency method. I made a similar one from scratch, and it appears to work fine.

    <img src='http://sjc.edu.hk/~verthandi/knife.gif' border='0' alt='user posted image' />

    <a href='http://sjc.edu.hk/~verthandi/knife.zip' target='_blank'>Attachments not working again</a> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html//emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif' /><!--endemo-->
  • Fox_OneFox_One Join Date: 2003-01-15 Member: 12310Members
    Wierd...maybe SprWiz just hates me? I followed the same pattern I've always done, *shrug* Lucky me, eh?
Sign In or Register to comment.