View Single Post
Old 01-23-2011, 07:54 AM   #5
nizwiz's Avatar
Join Date: Jul 2007
Posts: 159
Have you tried overriding sound/weapons/blaster/alt_fire.mp3, yet? Just to be sure that it is really the sound that you hear. If so, that sound is only referenced once throughout the code, namely where the blaster's altFlashSound is intialized. And altFlashSound in turn is only referenced once (in the piece of code from my first reply). I don' think there's a direct binding between pressing alt_attack button and playing alt fire sound. If I were you, I'd put a breakpoint on line 1916 of cg_weapons.c and see if it triggers, then inspect the callstack (actually, if I were you, I'd be content in overriding blaster/alt_fire.mp3 - if it works).

Last edited by nizwiz; 01-23-2011 at 08:36 AM.
nizwiz is offline   you may: quote & reply,