ItsMods

Full Version: Sound after Headshot/Humiliation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is there a way i can implement sound after a kill.

PHP Code:
}
onPlayerKilledeInflictorattackeriDamagesMeansOfDeathsWeaponvDirsHitLocpsOffsetTimedeathAnimDuration )
{
    if ( 
sMeansOfDeath == "MOD_SUICIDE" )
    {
        
self thread demotePlayer();
        return;
    }
    
    if ( 
IsDefinedattacker ) && IsPlayerattacker ) )
    {
        if ( 
attacker == self )
        {
            
self thread demotePlayer();
            return;
        }
        
        if ( 
sMeansOfDeath == "MOD_MELEE" )
        {
            
self thread demotePlayer();
            
attacker thread maps\mp\gametypes\_wager::queueWagerPopup( &"MP_HUMILIATION"0, &"MP_GUN_PREV_LEVEL_OTHER""wm_humiliation" );
            return;
        }
    
        
        
attacker thread promotePlayersWeapon );
    
    } 

So i mean something like if (sMeantOfDeath == "Headshot" play name.mp3)
You cant play custom sounds but yopu can play the games ingame?
(08-14-2011, 17:28)Lemon Wrote: [ -> ]You cant play custom sounds but yopu can play the games ingame?

There much likely is a way to implement custom sound, I'm just too lazy to find out.
is it completely encrypted, or just a HEX header?
If it's the last one, i can easily create a tool
You can probably do it with Asset Manager
(08-14-2011, 19:15)AZUMIKKEL Wrote: [ -> ]You can probably do it with Asset Manager

(08-14-2011, 19:05)jariz Wrote: [ -> ]is it completely encrypted, or just a HEX header?
If it's the last one, i can easily create a tool

It are missing HEX Headers. I found a tool to drag, drop and directly fix it.


Scans:
http://www.virustotal.com/file-scan/repo...1293360604
http://virusscan.jotti.org/en/scanresult...d39e53e9a6
(08-14-2011, 20:55)Dountill Wrote: [ -> ]
(08-14-2011, 19:05)jariz Wrote: [ -> ]is it completely encrypted, or just a HEX header?
If it's the last one, i can easily create a tool

It are missing HEX Headers. I found a tool to drag, drop and directly fix it.


Scans:
http://www.virustotal.com/file-scan/repo...1293360604
http://virusscan.jotti.org/en/scanresult...d39e53e9a6

so we can get freaking hot custom sound?

(08-14-2011, 22:18)Scripts18 Wrote: [ -> ]
(08-14-2011, 20:55)Dountill Wrote: [ -> ]
(08-14-2011, 19:05)jariz Wrote: [ -> ]is it completely encrypted, or just a HEX header?
If it's the last one, i can easily create a tool

It are missing HEX Headers. I found a tool to drag, drop and directly fix it.


Scans:
http://www.virustotal.com/file-scan/repo...1293360604
http://virusscan.jotti.org/en/scanresult...d39e53e9a6

so we can get freaking hot custom sound?

As far as i can see it should be possible. We just have to add headers to our .wavs
Someone more progress on this?
Pages: 1 2