Help Me...

pantspants Join Date: 2002-12-20 Member: 11188Members
<div class="IPBDescription">with sprites</div> Yeha i was editing a sprite, trying to make it transparent. But its just a black and white square (attatched).

I'm guessing this is something to do with the text file:
<!--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-->10
weapon   320 320w 80 120 80 20
weapon_s  320 320w-s 80 120 80 20
ammo   320 320hud2 0 16 18 18
crosshair  320 spikegun 0 0 32 32
autoaim   320 crosshairs 0 72 24 24
weapon   640 640aw2 0 0 170 45
weapon_s  640 640aw2-s 0 0 170 45
ammo   640 640hud7 0 72 24 24
crosshair  640 spikegun 0 0 32 32
autoaim   640 crosshairs 0 72 24 24
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

Can someone tell me what i need to change to make it transparent and yellow? thank you

Comments

  • SnO0PySnO0Py Join Date: 2003-02-27 Member: 14092Members
    edited April 2003
    EDIT: crap I didnt read your post right, yes I think what you posted has something to do with it.
  • pantspants Join Date: 2002-12-20 Member: 11188Members
    as do i <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • SnO0PySnO0Py Join Date: 2003-02-27 Member: 14092Members
    Wait the old post was right, check this first
    <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=19&t=27728' target='_blank'>http://www.unknownworlds.com/forums/in...ST&f=19&t=27728</a>

    If that dosent work...Try making the black into full blue(0,0,255)
  • pantspants Join Date: 2002-12-20 Member: 11188Members
    yeah but i dont want jsut one transparent colour, i want black to be fully transparent, then the lighter it gets, the less transparent. if you know what i mean *wink, wink* <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> *wink, wink* wink wwink wink

    wink wink wink*wink wiwnak*wink
  • auto354auto354 Join Date: 2003-01-26 Member: 12750Members
    edited April 2003
    Try getting some other colored crosshiars (old HL crosshairs or TFC if necessary) and work off of/remake them.

    Oh in order to use them you have to edit the text file that goes with the weapon and rename the word crosshairs with the "S" after 640 whatever your resolution is in the text file like so:

    "note that it says autorifle due to the fact that I'm using a crosshair thats named autorifle"
  • auto354auto354 Join Date: 2003-01-26 Member: 12750Members
    DOOOOOOH!!!!!!!!!!!!!!!!!!!!!!1111
    1.jpg 16.2K
  • pantspants Join Date: 2002-12-20 Member: 11188Members
    whats the difference?
  • BioHazBioHaz Join Date: 2002-02-18 Member: 226Members
    That text file has nothing to do with the transparancy, it deals with what file is referenced for what and what dimensions it is. How you compile the sprite allows for the different kinds of transparency. The kind of transparency option you are looking for is IndexAlpha. Additive will not work.

    The pallet of the sprite is important. You want the image to be basically grayscale, however the last color of the pallet is the color the engine will replace the degrees of white with the desired color inengine.
  • pantspants Join Date: 2002-12-20 Member: 11188Members
Sign In or Register to comment.