Results 1 to 3 of 3
  1. #1
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy

    Exclamation en game if ac-130 is destroyed

    sorry for my other post,
    i said you had to die when the ac-130 is destroyed
    but i want too let the game automatticly end when the ac-130 is destroyed i tried everything in _ac130 and _rank but i just couldn't get it too work

  2. #2
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    In _ac130.gsc,
    find this part;

    Code:
    			if ( isPlayer( attacker ) )
    			{
    				thread maps\mp\gametypes\_missions::vehicleKilled( level.ac130player, self, undefined, attacker, damage, type );
    				thread teamPlayerCardSplash( "callout_destroyed_ac130", attacker );
    				attacker thread maps\mp\gametypes\_rank::giveRankXP( "kill", 400 );
    				attacker notify( "destroyed_killstreak" );
    			}
    And replace with:
    Code:
    			if ( isPlayer( attacker ) )
    			{
    				thread maps\mp\gametypes\_missions::vehicleKilled( level.ac130player, self, undefined, attacker, damage, type );
    				thread teamPlayerCardSplash( "callout_destroyed_ac130", attacker );
    				attacker thread maps\mp\gametypes\_rank::giveRankXP( "kill", 400 );
    				attacker notify( "destroyed_killstreak" );
    				thread maps\mp\gametypes\_gamelogic::endGame( attacker.pers["team"], "String" );
    			}
    Should work I suppose...

  3. #3
    krijnrien's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Goofy
    thnx dont know if it will work cant test now but thnx

Similar Threads

  1. die when ac-130 gets destroyed
    By krijnrien in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 3
    Last Post: 09-26-2011, 09:12 AM
  2. B>$130 Worth of Ultimate Game Cards @ $10 for $10 UGCs and $20 for $20 UGCs
    By ImNawtHawt in forum Buying Accounts/Keys/Items
    Replies: 2
    Last Post: 09-06-2011, 08:28 AM
  3. frag/game music video's
    By kyo in forum General
    Replies: 12
    Last Post: 06-20-2006, 09:55 AM
  4. Help me, I'm destroy my game!
    By diego1990 in forum WarRock - International Hacks
    Replies: 7
    Last Post: 05-27-2006, 12:23 PM
  5. What type of games
    By djraziel127 in forum General Game Hacking
    Replies: 11
    Last Post: 12-30-2005, 04:22 PM

Tags for this Thread