What Are The File Names Of The Crosshairs?

0dy0dy Join Date: 2004-01-31 Member: 25788Members
ive got custom guns, buldings and sounds. now id like to change the crosshairs. i have the old installs from 1.0 and a friend said that he was gonna try them because they are better. i dont remember what those crosshairs look like and would like to try them. do you know what the file names are for all of the weapon crosshairs (pistol, lmg, hmg, shotgun, gl maybe).


thanks for anyone that may know. if others want ill host the crosshairs so other people can make this change too.

Comments

  • DrfuzzyDrfuzzy FEW... MORE.... INCHES... Join Date: 2003-09-21 Member: 21094Members
    Im wondering how you missed crosshairs.spr.....
  • 0dy0dy Join Date: 2004-01-31 Member: 25788Members
    edited April 2004
    dont see it in the 1.0 folder, only cursors.spr


    EDIT: i looked in the sprites, folder and the models folder and i didnt see them in there, it should be in the sprites folder right?
  • DrfuzzyDrfuzzy FEW... MORE.... INCHES... Join Date: 2003-09-21 Member: 21094Members
    it uses the pak0 in your valve folder, gotta open the pak and get the sprite file out. There is your little hiding sprite


    Thought you ment 2.0+ <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • 0dy0dy Join Date: 2004-01-31 Member: 25788Members
    well im trying to find the crosshiars in the 1.0 folder and put it in the right spot in the steam folder, you say its in the valve folder?
  • DrfuzzyDrfuzzy FEW... MORE.... INCHES... Join Date: 2003-09-21 Member: 21094Members
    yea its in your C:\sierra\half-life\valve\pak0.pak file
  • UrdUrd Join Date: 2003-05-25 Member: 16696Members, Constellation
    the only mod in which i have seen a crosshairs.spr is counter-strike. The ns files are named:

    xhairacid.spr - acid rocket
    xhairalien.spr - parasite
    xhairbile.spr - bile bomb
    xhairgl.spr - grenade launcher
    xhairhmg.spr - hmg
    xhairmg.spr - lmg
    xhairp.spr - pistol
    xhairsg.spr - shotgun
    xhairspit.spr - spit
    xhairweb.spr - web
  • 0dy0dy Join Date: 2004-01-31 Member: 25788Members
    ok i found the crosshairs in steam, and the pak file for regular ns. does anyone know how i can get the crosshairs out of the .pak file, and convert them into .spr files?
  • ChronoChrono Local flyboy Join Date: 2003-08-05 Member: 18989Members
    i think you can use winrar to open up the pak files but im not sure
  • 0dy0dy Join Date: 2004-01-31 Member: 25788Members
    winrar says its damaged or not able to open it
  • UrdUrd Join Date: 2003-05-25 Member: 16696Members, Constellation
    edited April 2004
    To extract files from a .pak use PakExplorer:

    <a href='http://quakestuff.telefragged.com/pakexplr.zip' target='_blank'>PakExplorer Download</a>
  • 0dy0dy Join Date: 2004-01-31 Member: 25788Members
    edited April 2004
    thanks for everyone who replied, now i think i can find the 1.0 crosshairs and replace my 3.0 ones.





    EDIT: all i found was crosshairs.spr, was there only one crosshair in 1.0, because im not finding any others. is there a way to view the sprites without joining a hl game?



    EDIT2: i see that xhairmg.spr is 5kb, and crosshiars.spr is 17. i believe the other crosshairs are in that single file, is there anyway i can "extract" them to individual files like they are in 3.0?
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited April 2004
    crosshairs.spr has <b>all</b> the HL weapon crosshairs in it, but it's not packed like a ZIP file. If you open crosshairs.spr, you'll notice that all the crosshairs are neatly organized together in harmony. What you need to do now, is to change the references in xhairblahblahblah.txt for whatever weapon you want to change the crosshair for.

    For example, if you want to change the NS shotgun crosshair into the HL shotgun crosshair (the small circle), open up weapon_shotgun.txt change the 'crosshair' line from
    <!--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-->crosshair  640 xhairsg 0 0 64 64<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    to
    <!--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-->crosshair  640 crosshairs 32 16 16 16<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    <i>'crosshair' indicates that this line is for crosshair references
    '640' means these references will be used at 640x480 resolution or above (otherwise, use the '320' references)
    'crosshairs' means to look in 'crosshairs.spr' for the sprites
    '32' and the first '16' refers to where inside 'crosshairs.spr' the sprite is located (kinda like coordinates, but flipped upside down; 32 pixels across, 16 pixels down)
    The next two '16's refer to how wide and how tall the sprite is</i>
Sign In or Register to comment.