I Dont Understand...

mirrodinmirrodin Join Date: 2004-06-29 Member: 29621Members
<div class="IPBDescription">hud.txt</div> For example here is the knife kill sprite line:

d_knife 320 640aw3-s 100 232 64 24

Can anyone explain what each part means?

d_knife is knife kill, i get that.
640aw3-s is the name of the knife kill sprite, i get that.

there is another line in hud.txt:

d_knife 640 640aw3-s 100 232 64 24

The exact same except instead of 320 it has 640. What does that do? Any help is greatly appreciated.

Comments

  • CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
    <!--QuoteBegin-mirrodin+Sep 7 2004, 03:54 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (mirrodin @ Sep 7 2004, 03:54 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> For example here is the knife kill sprite line:

    d_knife 320 640aw3-s 100 232 64 24

    Can anyone explain what each part means?

    d_knife is knife kill, i get that.
    640aw3-s is the name of the knife kill sprite, i get that.

    there is another line in hud.txt:

    d_knife 640 640aw3-s 100 232 64 24

    The exact same except instead of 320 it has 640. What does that do? Any help is greatly appreciated. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    well....
    <!--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-->
    d_knife    640 640aw3-s 100 232 64 24
    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    from left to right:
    killsprite for - for 320/640 (or higher res) - spritename - x-position - y-position - and the size of the sprite <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->

    the 320/640 ist mostly because of the old HL engine. If you use software mode and run NS in 320 (what would be very.... *sigh* well... strange... <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo--> ) than that sprite would be used. Because NS will only work perfect on D3D/Open GL and software mode isn't supported any more by NS, they just kept the entry for 640 <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
  • mirrodinmirrodin Join Date: 2004-06-29 Member: 29621Members
    Oh, kewl. This makes is incredibly simple to make custom kill sprites. Thank you, much appreiacted (spelling's off, I know)
Sign In or Register to comment.