Crosshair Sprites...

Blood_OathBlood_Oath Join Date: 2002-12-17 Member: 10946Members
<div class="IPBDescription">alil help please...</div> alright i made my own crosshair sprite for the knife...i used the sprite wizard, past all that stuff, made it successfully, added it in the sprites folder, wento the knife.txt thingy added the title, but in game it shows me this..

Comments

  • TacoSupremeTacoSupreme Join Date: 2002-11-01 Member: 2562Members
    A found the right thread for this reply now:

    Blood Oath, I checked your sprite out and it works fine for me.

    Here is a screenshot in game: <a href='http://www.microwizard.com/ian/knife_x255.jpg' target='_blank'>http://www.microwizard.com/ian/knife_x255.jpg</a>

    If you dont see any crosshairs: type "crosshairs 1" in console

    Did you make a mistake in your weapons_knife.txt file?
    You should change this line:
    <!--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 crosshairs 24 0 24 24<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->


    to this:
    <!--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 knife_x255 0 0 256 256<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->


    It looks like you forgot to change the dimensions of your sprite and proboably the starting pixels too. You can see in the corrected line where I have the 0,0 (start at the 0,0 pixel locaiton, since there is only 1 sprite in the file) and the 256,256 for the size of your file.
Sign In or Register to comment.