1 MW2 Patch Code List C++ Sat Nov 20, 2010 7:50 pm
xFLAMeHD
Contributor
MW2 Patch Code List C++
I compiled this together as it helps me find codes easily when patch editing. I will update the thread regularly, and if there are any i'm missing - feel free to PM me or post the codes.
You can see there are some names i give credits for this i didint find them i compiled them :')
If you need to find something quickly, press CTRL+F and use the special code in [].
[C000] Contents
[C001] Complete All Challenges
[C002] Instant Level 70
[C003] Toggle UFO Mode
[C004] Godmode
[C005] Unlimited Ammo
[C006] Toggle Red Boxes
[C007] Teleport
[C008] No Recoil
[C009] Invisibility
[C010] Advanced Aimbot by Lost4468
[C011] Unfair Aimbot
[C012] Spawn/Move Care Packages
[C013] Create Money
[C014] Write Text On Screen
[C015] Enable Mods for Occasions
[C016] Set Stats
[C017] Add Stats
[C018] End Game
[C019] Change Vision
[C020] Change Model
[C021] Shoot Projectiles
[C022] Hidden Gamemodes
[C023] Earthquake
[C024] Explosive Bullets
[C025] Freeze/Unfreeze Players
[C026] Care Package Bunker by TheUnkn0wn
[C027] Skybase
[C028] Artillery Gun
[C029] Change Appearance by TheUnkn0wn
[C030] Adding Bots
[C031] Flyable Harrier
[C032] Deranking Scripts
[C033] Display Cardicon on Welcome Message
[C034] Give any Killstreak
[C035] Disable Functions
[C036] Spawn Merry-Go Round
[C037] Teleport Everyone to Position
[C038] Floating / Flying
[C039] Toggle Pro Mod
[C040] Bouncy Grenades
[C041] Kamikaze Bomber
[C042] All Infection's Package
[C043] Jetpack by Lost4468
[C044] Death Machine
[C045] Diving Airstrike
[C046] Human Torch
[C047] Suicide Bomber
[C048] Disco
[C049] Save + load Position
[C050] Auto Dropshot
[C051] Mines
[C052] Clan Tag Verification
[C053] Clan Tag Editor (in-game)
[C054] Class Name Editor (in-game)
[C055] Stinger SPAS by DEREKTROTTER
[C001] Complete All Challenges
- Code:
completeAllChallenges()
{
self endon( "disconnect" );
self endon( "death" );
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
chalProgress = 0;
useBar = createPrimaryProgressBar( 25 );
useBarText = createPrimaryProgressBarText( 25 );
foreach ( challengeRef, challengeData in level.challengeInfo )
{
finalTarget = 0;
finalTier = 0;
for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId + 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, finalTarget );
self setPlayerData( "challengeState", challengeRef, finalTier );
}
chalProgress++;
chalPercent = ceil( ((chalProgress/480)*100) );
useBarText setText( chalPercent + " percent done" );
useBar updateBar( chalPercent / 100 );
wait ( 0.04 );
}
useBar destroyElem();
useBarText destroyElem();
}
[C002] Instant Level 70
- Code:
self setPlayerData( "experience" , 2516000 );
[C003] Toggle UFO
- Code:
doUfo()
{
self notifyOnPlayerCommand( "down", "+actionslot 2" );
maps\mp\gametypes\_spectating::setSpectatePermissions();
for(;;)
{
self waittill("down");
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self waittill("down");
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
}
}
[C004] 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;
}
}
[C005] Unlimited Ammo
- Code:
doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
[C006] Toggle Red Boxes
- Code:
doWallhack()
{
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for(;;)
{
self waittill("up");
self ThermalVisionFOFOverlayOn();
self waittill("up");
self ThermalVisionFOFOverlayOff();
}
}
[C007] Teleport
- Code:
doTeleport()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("dpad_up", "+actionslot 1");
for(;;)
{
self waittill( "dpad_up" );
self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
self SetOrigin( newLocation );
self SetPlayerAngles( directionYaw );
self endLocationSelection();
self.selectingLocation = undefined;
}
}
[C008] No Recoil
- Code:
self player_recoilScaleOn(0);
I Will update this thread.