ok so another solution I thought of would be to remove all the lines of
code for next bleeptime and bleep frequence as I don't want that(this code:)
m_flNextBlipTime = gpGlobals->curtime + FRAG_GRENADE_BLIP_FREQUENCY;
funny thing now is that it seems stuck in between wanting to play the default
blip sound(even though it should be my name sound: holycountdown) but then it
only plays it half(the sound starts then cuts of in a few milliseconds before
end) or it doesn't play it all.
The sound its supposed to play right after the throw(instead of the bleep) is
the holycountdown but it plays that sound AFTER the grenade explodes(so you
first hear the explosion then it starts counting down-.-)
anyway bit of code:
void BlipSound() { EmitSound( "HolyGrenade.HolyCountdown" ); }
that was orignally EmitSound( "Grenade.Blip" )
and blipsound is what starts the sound (see the code that BEaST mailed)
also some additional info that may be handy:
I copied grenade_frag.cpp and the header file and named them
grenade_superfrag.cpp and grenade_superfrag.h , for my weapon_superfrag.cpp I
changed the include to grenade_superfrag.h
and renamed classes and functions to match.
is it possible grenade_superfrag changed sound is conflicting with another file
such as basegrenade_shared.h?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders