Replacing Weapon Sprites

HydraHydra Join Date: 2003-06-14 Member: 17366Members, Reinforced - Shadow
<div class="IPBDescription">I searched!</div> Okay so here is my question. I need to know basically what the stuff in the txt files for sprites means. I looked all through the stickies and spent a while searching with no results that answered my question. I am totally clueless as to how to get a muzzleflash or a weapon select hud sprite. So if someone could enlighten me as to what the stuff in all those text files mean, I would appriciate it. Who knew a text file with 11 lines could be so baffling?
(If you don't understand what I want to know, think of it this way: How would you explain, say, replacing the LMG with the pistol sprite because you liked it better.)

Comments

  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited March 2004
    I'm assuming you know which TXT files correspond to each weapon:

    <i>weapon</i> - sprite to show when weapon is displayed (top-left corner of HUD)
    <i>weapon_s</i> - sprite to show when weapon is highlighted
    <i>ammo</i> - sprite to show beside the ammo counter, and also when you pick up ammo (bottom-right)
    <i>crosshair</i> - sprite to show as a crosshair
    <i>320/640</i> - game will use the '320' settings when the resolution width is <640px, otherwise, will use the '640' settings (who the heck plays on 512x384 anyway???)

    The four numbers after the sprite filename indicate the XY coordinates of the start of the sprite inside the named SPR file, and width and height of the sprite based on the coordinates (in that order).

    If you change the total number of lines of text (by adding or removing), replace the number at the top of the TXT file with the correct number of lines.

    So, to change the LMG weapon sprite to the Pistol weapon sprite, you'd open both their TXT files, copy the weapon and weapon_s lines from the pistol TXT, and replace their equivalent in the LMG TXT.
  • DrfuzzyDrfuzzy FEW... MORE.... INCHES... Join Date: 2003-09-21 Member: 21094Members
    could of posted this in the help fourms where it will be there for others to read a week from now :x
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    Believe me, no one ever reads anything one week after it's posted, with a few exceptions. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo-->
  • HydraHydra Join Date: 2003-06-14 Member: 17366Members, Reinforced - Shadow
    Thank you for the excellent help, but I am still lost as to the actual muzzle flash. I do not have any idea which files determine weapon muzzle flashs. If you could clear this up for me too it would be great! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • GolathGolath Join Date: 2003-05-20 Member: 16532Members
    edited March 2004
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->who the heck plays on 512x384 anyway???<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->



    I somtimes play DMC in softwaremode with 320 res just to get that 'quake' feel.
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    <!--QuoteBegin-TrueChaos+Mar 16 2004, 01:41 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (TrueChaos @ Mar 16 2004, 01:41 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Thank you for the excellent help, but I am still lost as to the actual muzzle flash. I do not have any idea which files determine weapon muzzle flashs. If you could clear this up for me too it would be great! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    muzzleflash1.spr for Marine weapons
    muzzleflash2.spr for both Turrets
  • HydraHydra Join Date: 2003-06-14 Member: 17366Members, Reinforced - Shadow
    edited March 2004
    Okay maybe someone should add this kind of info to the sticky in help, like what files are for what and any special steps to change them. mostly in sprites because the others are fairly intiutive IMO.
    EDIT
    Hmm I tried to replace muzzleflash1.spr with the healspray.spr to test it out and it did not change anything, I must be missing something here. <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->
Sign In or Register to comment.