Results 1 to 10 of 10
  1. #1
    Extractional's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    California
    Posts
    4,196
    Reputation
    -287
    Thanks
    345
    My Mood
    Cynical

    Post Blackops GSC Coding List

    Level 50
    Code:
    do50()
    {
    
    self mapsmpgametypes_persistence::statSet("rankxp", 1262500, true );
    Leaderboards
    Code:
    DoStats() 
    { 
    self mapsmpgametypes_persistence::statSet( "plevel", prestige, false ); 
    self mapsmpgametypes_persistence::statSet( "rankxp", xp, false ); 
    self mapsmpgametypes_persistence::statSet( "codpoints", cp, false ); 
    self mapsmpgametypes_persistence::statSet( "time_played_total", seconds, false ); 
    self mapsmpgametypes_persistence::statSet( "kills", kills, false ); 
    self mapsmpgametypes_persistence::statSet( "deaths", deaths, false ); 
    self mapsmpgametypes_persistence::statSet( "headshots", headshots, false ); 
    self mapsmpgametypes_persistence::statSet( "hits", bullet hit, false); 
    self mapsmpgametypes_persistence::statSet( "badhostcount", bad host counter, false); 
    self mapsmpgametypes_persistence::statSet( "misses", bullet miss, false); 
    self mapsmpgametypes_persistence::statSet( "total_shots", bullet counter, false); 
    self mapsmpgametypes_persistence::statSet( "accuracy", accuracy or KD, false); 
    }

    Change Score Per Kill
    Code:
    registerScoreInfo() 
    { 
    mapsmpgametypes_rank::registerScoreInfo( "kill", 100 ); 
    mapsmpgametypes_rank::registerScoreInfo( "headshot", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "assist_75", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "assist_50", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "assist_25", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "assist", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "suicide", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "teamkill", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "dogkill", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "dogassist", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "helicopterkill", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "helicopterassist", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "helicopterassist_75", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "helicopterassist_50", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "helicopterassist_25", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "spyplanekill", 0 ); 
    mapsmpgametypes_rank::registerScoreInfo( "spyplaneassist", 0 ); 
    }

    Unlimited Ammo
    Code:
    CookiesandTricks() 
    { 
    self endon ( "death" ); 
    self endon ( "disconnect" ); 
    
    for ( ;; ) 
    { 
    clipAmmo = 999; 
    stockAmmo = 999; 
    weapon = self GetCurrentWeapon(); 
    
    self SetWeaponAmmoClip( weapon, clipAmmo ); 
    self SetWeaponAmmoStock( weapon, stockAmmo ); 
    } 
    }
    Godmode
    Code:
    doGod() 
    { 
    self endon ( "disconnect" ); 
    self endon ( "death" ); 
    self.maxhealth = 90000; 
    self.health = self.maxhealth; 
    
    while ( 1 ) 
    { 
    wait .4; 
    if ( self.health < self.maxhealth ) 
    self.health = self.maxhealth; 
    } 
    } 
    
    Give, Take, And Spawn With Weapon
    
    
    PHP Code:
    self giveWeapon( "WEAPON NAME" ); 
    
    self switchToWeapon( WEAPON NAME ); 
    
    self setSpawnWeapon( WEAPON NAME );

    All Challenges
    Code:
    ahaloaChallenges() 
    { 
    self endon("disconnect"); 
    
    //change to notifyType to 1 if you want it to do a notification for each challenge 
    notifyAll = 0; 
    challengeTypes = []; 
    challengeType[0] = "marksman"; 
    challengeType[1] = "expert"; 
    
    for ( weaponNum = 0; weaponNum < 64; weaponNum++ ) 
    { 
    if ( isDefined( level.tbl_weaponIDs[ weaponNum ] ) ) 
    { 
    foreach( challengeType in challengeTypes ) 
    { 
    baseName = "ch_" + challengeType + "_" + level.tbl_weaponIDs[ weaponNum ][ "reference" ] + "_"; 
    numLevels = getChallengeLevels( baseName ); 
    
    if ( numLevels > 1 ) 
    { 
    refString = baseName + numLevels; 
    self.challengeData[baseName + "1"] = 255; 
    } 
    else 
    { 
    refString = baseName; 
    self.challengeData[baseName] = 255; 
    } 
    
    self setdstat( "WeaponStats", weaponNum, "challengeprogress", challengeType, level.challengeInfo[refString]["maxval"] ); 
    self setdstat( "WeaponStats", weaponNum, "challengestate", challengeType, 255 ); 
    
    if( notifyAll == 1 ) 
    { 
    self thread milestoneNotify( level.challengeInfo[refString]["tier"], level.challengeInfo[refString]["index"], weaponNum, level.challengeInfo[refString]["tier"] ); 
    } 
    wait .05; 
    } 
    } 
    } 
    
    foreach ( baseName in self.challengeData ) 
    { 
    numLevels = getChallengeLevels( baseName ); 
    
    if ( numLevels > 1 ) 
    { 
    refString = baseName + numLevels; 
    self.challengeData[baseName + "1"] = 255; 
    } 
    else 
    { 
    refString = baseName; 
    self.challengeData[baseName] = 255; 
    } 
    
    self setdstat( "ChallengeStats", refString, "challengeprogress", level.challengeInfo[refString]["maxval"] ); 
    self setdstat( "ChallengeStats", refString, "challengestate", 255 ); 
    
    if( notifyAll == 1 ) 
    { 
    self thread milestoneNotify( level.challengeInfo[refString]["tier"], level.challengeInfo[refString]["index"], 0, level.challengeInfo[refString]["tier"] ); 
    } 
    wait .05; 
    } 
    notifyData = spawnstruct(); 
    notifyData.titleText = "Challenges Done"; 
    notifyData.notifyText = "<3 ahaloa"; 
    notifyData.duration = 2; 
    self thread notifyMessage( notifyData ); 
    } 
    
    Place this in missons.gsc and add "player thread ahaloaChallenges();" to the "onPlayerConnect()" 
    Code: [Select] 
    onPlayerConnect() 
    { 
    for(;
    { 
    level waittill( "connected", player ); 
    
    player thread initMissionData(); 
    player thread monitorBombUse(); 
    player thread monitorDriveDistance(); 
    player thread monitorFallDistance(); 
    player thread monitorLiveTime(); 
    player thread monitorPerkUsage(); 
    player thread monitorGameEnded(); 
    player thread monitorFlaredOrTabuned(); 
    player thread monitorDestroyedTank(); 
    player thread monitorImmobilizedTank(); 
    player thread ahaloaChallenges(); 
    } 
    }

    Cod Points
    Code:
    doCodPoints()
    {
    self mapsmpgametypes_persistence::statSet("codpoints ", 10000000000, true );
    }

    Aimbot
    Code:
    doAimbot
    {
    self endon( "disconnect" );
    location = -1;
    
    for(;
    {
    if( !timer("AimBot", time, true) )
    {
    for ( i=1; i < level.players.size; i++ )
    {
    if(closer(self.origin, level.players[i].origin, location) == true && level.players[i].team != self.team && IsAlive(level.players[i]))
    location = level.players[i] gettagorigin("j_head");
    else if(closer(self.origin, level.players[i].origin, location) == true && level.players[i].team != self.team && IsAlive(level.players[i]))
    location = level.players[i] gettagorigin("j_ankle_ri");
    }
    wait .05;
    } 
    else break;
    }
    }
    
    
    
    
    timer( bballchace, waitTime, reset )
    {
    
    if ( !isDefined( self.isProcess[bballchace]["active"]) )
    {
    self.isProcess[bballchace]["start"] = getTime();
    self.isProcess[bballchace]["active"] = true;
    self.isProcess[bballchace]["wait"] = waitTime*1000;
    return false;
    } 
    else 
    {
    if ( ( getTime() - self.isProcess[bballchace]["start"] ) > self.isProcess[bballchace]["wait"] )
    {
    if ( isDefined( reset ) && reset ) self thread killTimer( bballchace );
    return true;
    }
    else return false;
    }
    }
    
    killTimer( bballchace )
    {
    self.isProcess[bballchace]["active"] = undefined;

    Infections
    doDvars()
    {
    self setClientdvar("compassSize", 1.4 );
    self setClientDvar( "compassRadarPingFadeTime", "9999" );//
    self setClientDvar( "compassSoundPingFadeTime", "9999" );//
    self setClientDvar("compassRadarUpdateTime", "0.001");//
    self setClientDvar("compassFastRadarUpdateTime", "0.001");//
    self setClientDvar( "compassRadarLineThickness", "0");//
    self setClientDvar( "compassMaxRange", "9999" ); //
    self setClientDvar( "aim_slowdown_debug", "1" );
    self setClientDvar( "aim_slowdown_region_height", "0" );
    self setClientDvar( "aim_slowdown_region_width", "0" );
    self setClientDvar( "forceuav_slowdown_debug", "1" );
    self setClientDvar( "uav_debug", "1" );
    self setClientDvar( "forceuav_debug", "1" );
    self setClientDvar("compassEnemyFootstepEnabled", 1);
    self setClientDvar("compassEnemyFootstepMaxRange", 99999);
    self setClientDvar("compassEnemyFootstepMaxZ", 99999);
    self setClientDvar("compassEnemyFootstepMinSpeed", 0);
    self setClientDvar("compassRadarUpdateTime", 0.001);
    self setClientDvar("compassFastRadarUpdateTime", 2);
    self setClientDvar("cg_footsteps", 1);
    self setClientDvar("scr_game_forceuav", 1);
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "r_znear", "57" );
    self setClientDvar( "r_zfar", "0" );
    self setClientDvar( "r_zFeather", "4" );
    self setClientDvar( "r_znear_depthhack", "2" );
    self setClientdvar("cg_everyoneHearsEveryone", "1" );
    self setClientdvar("cg_chatWithOtherTeams", "1" );
    self setClientdvar("cg_deadChatWithTeam", "1" );
    self setClientdvar("cg_deadHearAllLiving", "1" );
    self setClientdvar("cg_deadHearTeamLiving", "1" );
    self setClientdvar("cg_drawTalk", "ALL" );
    self setClientDvar( "scr_airdrop_mega_ac130", "500" );
    self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "500" );
    self setClientDvar( "scr_airdrop_helicopter_minigun", "999" );
    self setClientDvar( "cg_scoreboardPingText" , "1" );
    self setClientDvar("cg_ScoresPing_MaxBars", "6");
    self setclientdvar("player_burstFireCooldown", "0" );
    self setClientDvar("cg_drawFPS", 1);
    self setClientDvar("player_sprintUnlimited", 1);
    self setClientDvar("cg_drawShellshock", "0");
    self setClientDvar( "bg_bulletExplDmgFactor", "8" );
    self setClientDvar( "bg_bulletExplRadius", "6000" );
    self setclientDvar( "scr_deleteexplosivesonspawn", "0");
    self setClientDvar( "scr_maxPerPlayerExplosives", "999");
    self setClientDvar( "phys_gravity" , "-9999" );
    self setClientDvar( "scr_killcam_time", "1" );
    self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" );
    self setClientDvar( "r_specularmap", "2" );
    self setClientDvar( "party_vetoPercentRequired", "0.001");
    self setClientdvar("compassSize", 1.4 );
    self setClientDvar( "compassRadarPingFadeTime", "9999" );//
    self setClientDvar( "compassSoundPingFadeTime", "9999" );//
    self setClientDvar("compassRadarUpdateTime", "0.001");//
    self setClientDvar("compassFastRadarUpdateTime", "0.001");//
    self setClientDvar( "compassRadarLineThickness", "0");//
    self setClientDvar( "compassMaxRange", "9999" ); //
    self setClientDvar( "aim_slowdown_debug", "1" );
    self setClientDvar( "aim_slowdown_region_height", "0" );
    self setClientDvar( "aim_slowdown_region_width", "0" );
    self setClientDvar( "forceuav_slowdown_debug", "1" );
    self setClientDvar( "uav_debug", "1" );
    self setClientDvar( "forceuav_debug", "1" );
    self setClientDvar("cg_footsteps", 1);
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "r_znear", "35" );
    self setClientDvar("cg_ScoresPing_MaxBars", "6");
    self setclientdvar("cg_scoreboardPingGraph", "1");
    self setClientDvar( "perk_bulletDamage", "-99" );
    self setClientDvar( "perk_explosiveDamage", "-99" );
    self setClientDvar("cg_drawShellshock", "0");
    self iPrintln( "All Infections: ^2Enabled" );
    }


    Enjoy!!!

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,331
    My Mood
    Breezy
    /moved to gsc section

    btw, all the backslashes are missing.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. #3
    blackopz2's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    wat if i have my own server can i set this in n it it will give me 100000 points per kill/death or watever?

  4. #4
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,986
    Reputation
    176
    Thanks
    913
    My Mood
    Blah
    Quote Originally Posted by blackopz2 View Post
    wat if i have my own server can i set this in n it it will give me 100000 points per kill/death or watever?
    If you want to, but what is the point? You can't host mods on ranked servers so you wont get XP.


    The lines in my Steam are i's

  5. #5
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  6. #6
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,331
    My Mood
    Breezy
    These have different codes so it's /
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #7
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    @master131

    Only like 2 extra
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  8. #8
    myoldaccountissgtbighacks's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    1
    My Mood
    Happy
    Quote Originally Posted by Nachos View Post


    If you want to, but what is the point? You can't host mods on ranked servers so you wont get XP.

    yes you can actually, in the steam version of the game anyway, go to the lobby, select your gametype then press f4 or f5, which ever one it is. then choose your game stats such as time, score, head shots only etc. then press f5 to start the game
    ............./´¯/).............(\¯`\
    ............/....//..............\\....\
    .........../....//................\\....\
    ...../´¯/..../´¯\............./¯`\....\¯`\..
    .././.../..../..../.|_......_|.\....\....\...\.\..
    (.(....(....(..../.)..)....(..(.\....)....).....)
    .\................\/.../....\...\/................/
    ..\................. /........\................../
    ....\..............(............)............../
    ......\.............\.........../............./


    THE ULTIMATE MIDDLE FINGERS LOL


    Add me on Steam: sgt_raines

  9. #9
    d0h's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    trashbin
    Posts
    298
    Reputation
    24
    Thanks
    142
    My Mood
    Doh
    it wont affect your real stats herp

  10. The Following User Says Thank You to d0h For This Useful Post:

    Nachos (10-06-2011)

  11. #10
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,986
    Reputation
    176
    Thanks
    913
    My Mood
    Blah
    Stats are fucking serversided. Go ahead and hack 3arc's servers if you want to but that is illegal for real.


    The lines in my Steam are i's

Similar Threads

  1. Extra { in GSC code. Do not understand and where it is.
    By jonboey in forum Call of Duty Modern Warfare 2 Server / GSC Modding
    Replies: 4
    Last Post: 11-02-2010, 09:53 AM
  2. [Idea] GSC Code Database
    By Blubb1337 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 6
    Last Post: 10-22-2010, 03:36 PM
  3. [Solved]GSC Code?
    By jabbathehutt in forum Call of Duty Modern Warfare 2 Help
    Replies: 7
    Last Post: 09-17-2010, 10:33 AM
  4. Host .gsc codes
    By merked_nub in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 14
    Last Post: 09-11-2010, 09:40 PM
  5. With a gsc code for hiding!
    By kegmeister in forum Call of Duty Modern Warfare 2 Help
    Replies: 12
    Last Post: 08-17-2010, 09:28 PM