Replacing Weapon Sprites
Hydra
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.)
(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
<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.
I somtimes play DMC in softwaremode with 320 res just to get that 'quake' feel.
muzzleflash1.spr for Marine weapons
muzzleflash2.spr for both Turrets
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-->