Help Me...
pants
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
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
<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)
wink wink wink*wink wiwnak*wink
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"
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.