Changing Xhair Sprites
Renegade.
Join Date: 2003-01-15 Member: 12313Members, Constellation
<div class="IPBDescription">Exactly how is it done?</div> Well after having been Onos for exactly 6.4 seconds before I died due to a 5 time devour miss I decided "man wouldnt it be cool to have some dam crosshairs on devour". So I set off to the wonderful folder of nsp/sprites. Here I found simple text files that I thought would set things right. I opened up a few with crosshairs in them (I.E. weapon_sg.txt) and copied the crosshair lines (crosshair 320 xhairsg 0 0 64 64) into another weapon that didnt have them (I.E. weapon_devour.txt). Problem solved? no. When I went to test it out it was a disappointing failure. So does anyone know the true, surefire way of changing your xhairsprites and making new ones (besides downloading a custom package)?
Comments
Note by the way hat your crosshair might be prone to mistakes as the actual aim of the devour is usually below the screens middle.
If you wanted to offset the crosshair, you'd have to modify the sprite file directly.
weapon 320 320w 0 20 80 20
weapon_s 320 320w-s 0 20 80 20
ammo 320 640hud7 96 96 24 24
weapon 640 640aw2 0 135 170 45
weapon_s 640 640aw2-s 0 135 170 45
ammo 640 640hud7 96 96 24 24
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->Default.
<!--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-->6
weapon 320 320w 0 20 80 20
weapon_s 320 320w-s 0 20 80 20
ammo 320 640hud7 96 96 24 24
crosshair 320 xhairsg 0 0 64 64
weapon 640 640aw2 0 135 170 45
weapon_s 640 640aw2-s 0 135 170 45
ammo 640 640hud7 96 96 24 24
crosshair 640 xhairsg 0 0 64 64<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->What you probably did.
<!--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-->8
weapon 320 320w 0 20 80 20
weapon_s 320 320w-s 0 20 80 20
ammo 320 640hud7 96 96 24 24
crosshair 320 xhairsg 0 0 64 64
weapon 640 640aw2 0 135 170 45
weapon_s 640 640aw2-s 0 135 170 45
ammo 640 640hud7 96 96 24 24
crosshair 640 xhairsg 0 0 64 64<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->What it needs to be. This will work and add the shotgun crosshair to devour. First line must be 8, not 6.
I got the shotgun crosshairs to work with the knife by accident so I was comparing Line for Line the knife txt with the devour txt and was wondering what that number did on the top (but did not dare change it!!!). Now I know thanks to you. Never will I miss eating another crouching HA. Welcome days of picking jetpackers out of midair! Thank you guys, I owe ya one!
P.S. I reaaallly owe you one especially because I thought having a post in this forum was as good as posting in the off-topic! Its good to know people actually read posts in the barren land of the forums. Once again thanks!!!
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->Default.
<!--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-->Xhair file<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->What you probably did.
<!--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-->Xhairfile<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->What it needs to be. This will work and add the shotgun crosshair to devour. First line must be 8, not 6. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
I would really appreciate if you could explain why this works and what it does. I want to try my hand at making some crosshairs, and If I can't understand this file, it will be useless.
[Edit] I assume that the number at top tells how many lines you have? So, 6 means it doesn't check for sprite or autoaim, 8 doesn't check for autoaim, and 10 checks everything? Then what do the others do?[/Edit]