ItsMods

Full Version: CS addon for MW2(Sounds,show damage)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,
I wanted to release it, i think that's funny to play,its remember me CS.

Features :

Code:
Headshot sound when you hs someone(ofc)
Monster kill sound when triple kill
Multi kill sound when multi kill
Humilation sound when you cut someone
Headshot = one shot
Show damage when you hit someone

Tutorial(if you have any _events.gsc and _damage.gsc in your mod download the addons below the tut)
So first go to maps\mp\gametypes\_damage.gsc and search for :

Code:
Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )

and above this :
Code:
    if ( !isReallyAlive( victim ) )
        return

copy this :

Code:
    if( sMeansOfDeath == "MOD_MELEE" )
    eAttacker playLocalSound("mp_bonus_end"); // humilation sound
    
    if( sHitLoc == "head" ) {
    iDamage = 100; // headshot = kill
    eAttacker playLocalSound("mp_killstreak_airdrop"); // headshot sound
    }
    
    eAttacker iPrintLnBold("^1" + iDamage + " ^7HP"); // show damage

then go to maps\mp\_events.gsc and search for this :

Code:
    else if ( killCount == 3 )
    {
        self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "triplekill", maps\mp\gametypes\_rank::getScoreInfoValue( "triple" ) );
        self thread giveAdrenaline( "triple" );
        thread teamPlayerCardSplash( "callout_3xkill", self );

    }

modify to this :
Code:
    else if ( killCount == 3 )
    {
        self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "triplekill", maps\mp\gametypes\_rank::getScoreInfoValue( "triple" ) );
        self thread giveAdrenaline( "triple" );
        thread teamPlayerCardSplash( "callout_3xkill", self );
        self playLocalSound("mp_killstreak_ac130"); // monster kill sound
    }

then search for this :
Code:
    else
    {
        self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "multikill", maps\mp\gametypes\_rank::getScoreInfoValue( "multi" ) );
        self thread giveAdrenaline( "multi" );
        thread teamPlayerCardSplash( "callout_3xpluskill", self );
    }

and modify to this :
Code:
    else
    {
        self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "multikill", maps\mp\gametypes\_rank::getScoreInfoValue( "multi" ) );
        self thread giveAdrenaline( "multi" );
        thread teamPlayerCardSplash( "callout_3xpluskill", self );
        self playLocalSound("mp_bonus_start"); // multi kill sound
    }

then download this : http://www.mediafire.com/?48uveb4i51miq4b
and drag and drop the sound folder to your mod.

____________________________________________________________________________

If you haven't mod or haven't _events.gsc and _damage.gsc in your mod,download this : http://www.mediafire.com/?a784baba0xtzxjv
Private version(with bot) : http://www.mediafire.com/?wewc8c7cx5mjxg5


To modify the numbers of the bots in the private version go to scripts\bots.gsc and modify the file like this :
Code:
init()
{
self thread initTestClients(number of bot);
}

for example :

init()
{
self thread initTestClients(8);
}


Video :



Credits(thanks to) :
Fl0w for the modding
Creator of the cs sounds
MarshallRawR for the video


Enjoy Smile

Cordially,
Fl0w
Nice idea!