I Dont Understand...

mirrodinmirrodin Members Join Date: 2004-06-29 Member: 29621Posts: 503
hud.txt
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 Members Join Date: 2002-11-02 Member: 4718Posts: 3,541
    QUOTE (mirrodin @ Sep 7 2004, 03:54 AM)
    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.

    well....
    QUOTE

    d_knife    640 640aw3-s 100 232 64 24

    from left to right:
    killsprite for - for 320/640 (or higher res) - spritename - x-position - y-position - and the size of the sprite smile-fix.gif

    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... wink-fix.gif ) 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 wink-fix.gif
    user posted image
    HLPortal.de|CaptainPanaka
    user posted imageQuakenet: #hlportal
  • mirrodinmirrodin Members Join Date: 2004-06-29 Member: 29621Posts: 503
    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.