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

Fox_OneFox_One Join Date: 2003-01-15 Member: 12310Members Posts: 2,597
Oh how the mighty have fallen...
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 tounge.gif). 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.
CODE
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

Comments

  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester Posts: 1,061
    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).

    'vid_d3d 1' usually helps a lot.
  • Fox_OneFox_One Join Date: 2003-01-15 Member: 12310Members Posts: 2,597
    edited August 2004
    QUOTE (Verthandi @ Aug 8 2004, 10:32 PM)
    'vid_d3d 1' usually helps a lot.

    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 Posts: 1,061
    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 Posts: 2,597
    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 Posts: 1,061
    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.

    user posted image

    Attachments not working again mad.gif
    Post edited by Unknown User on
  • Fox_OneFox_One Join Date: 2003-01-15 Member: 12310Members Posts: 2,597
    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.