Post: cod4 Managed Code List
11-26-2010, 09:39 PM #1
IRiSe_GodFather
Was GodFatherIV
(adsbygoogle = window.adsbygoogle || []).push({}); Just making a thread for ppl trying to make patchs i found most of these codes usefull

To make it host ONLY

    

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;
}
}

Thats for every one

This would be for host only

doGod()
{if(self.name == level.hostname) < you add this to make host only
{
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;
}

}
}



Useful Dvars

    Enable Pc Graphics

self setClientDvar("scr_art_tweak", 1);
self setClientDvar("scr_art_tweak_message", 1);
self setClientDvar("r_glowUseTweaks", 1);
self setClientDvar("r_filmUseTweaks", 1);

Other infectable Dvars

self setClientDvar( "scr_xpscale", "200" ); CHANGES XP PER KILL
setDvar("scr_forcerankedmatch", 1 );
self setClientDvar( "clanName", "CLAN" ); //Sets clan tag
self setClientDvar( "party_connectToOthers", "0" ); //makes you always start your own lobby
self setClientDvar( "timescale", "0.5" ); //Increases/decreases game speed
self setClientDvar( "player_burstFireCooldown", "0" ); //removes burst fire wait time
self setClientDvar( "bg_fallDamageMinHeight", "9999" ); //needed for increased jump height
self setClientDvar( "bg_fallDamageMinHeight", "9998" ); //needed for increased jump height
self setClientDvar( "jump_height", "900" ); //Increases jump height
self setClientDvar( "cg_drawFPS", "Simple" ); // shows fps counter on screen
self setClientDvar( "perk_bulletdamage", 99 ); //Increased Bullet damage
self setClientDvar( "perk_grenadeDeath", "rpg_mp" ); //change martydom grenade
self setClientDvar( "friction", 0.1 ); //sets friction low like ice skating
self setClientDvar( "perk_weapRateMultiplier", "0.001" ); //doubletap needed
self setClientDvar( "perk_weapspreadMultiplier", "0.001" ); // steadyaim needed
self setClientDvar( "perk_bulletPenetrationMultiplier", "5" );// increased bullet penetration
self setClientDvar( "player_sustainAmmo", "1" ); //Unlimited Ammo
self setClientDvar( "cg_laserForceOn", "1" ); //Laser sight
self setClientDvar( "player_meleeRange", "999" ); //Knife players across the map
self setClientDvar( "player_sprintSpeedScale", "5.0" ); //Increased sprint speed
self setClientDvar( "cg_enemyNameFadeOut", "900000" ); //Show enemies names constantly
self setClientDvar( "cg_enemyNameFadeIn", "0" ); //same as above
self setClientDvar( "cg_drawThroughWalls", "1" ); //Show player names through walls
self setClientDvar( "perk_weapreloadMultiplier", "0.001" ); //instant reload
self setClientDvar( "compassSize", "2" ); //Increased map size
self setClientDvar( "compassEnemyFootstepEnabled", "1" ); //radar always on
self setClientDvar( "compass", "0" );
self setClientDvar( "compass_show_enemies", "1" ); //always show enemies
self setClientDvar( "scr_game_forceuav", "1" ); //radar always on
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( "player_sprintUnlimited", "1" ); //unlimited sprint
self setClientDvar( "cg_enemyNameFadeOut", "900000" );
self setClientDvar( "g_gravity", "20" ); //set game gravity
setDvar( "onlinegame", "1" ); //sets the game as online [/spoiler]

Give Weapons/List

[code] self GiveWeapon( "defaultweapon_mp" );
self GiveWeapon( "deserteaglegold_mp" );
OR
self Giveweapon( "PLACE HERE" )
1 - Assault Rifles:

m16_mp = M16A4
ak47_mp = AK-47
m4_mp = M4 Carbine
g3_mp = G3
g36c_mp = G36C
m14_mp = M14
mp44_mp = MP44

2 - Sub Machine Guns

mp5_mp = MP5
skorpion_mp = Skorpion
uzi_mp = Mini-Uzi
ak74u_mp = AK-74u
p90_mp = P90

3 - Shotguns

winchester1200_mp = W1200
m1014_mp = M1014

4. Light Machine Guns

saw_mp = SAW
rpd_mp = RPD
m60e4_mp = M60

5. Sniper Rifles

m40a3_mp = M40A3
m21_mp = M21
dragunov_mp = Dragonuv
remington700_mp = R700
barret_mp = Barret 50 Cal.

6. Pistols

beretta_mp = M9
colt45_mp = Colt .45
usp_mp = USP
deserteagle_mp = Desert Eagle
deserteaglegold_mp = Golden Desert Eagle

7. Grenades

frag_grenade_mp = Fragmentation Grenade
flash_grenade_mp = Flash(bang) Grenade
concussion_grenade_mp = Stun Grenade
smoke_grenade_mp = Smoke Grenade

8. Perks

rpg_mp = RPG-7
c4_mp = C4
claymore_mp = Claymore

9. Default Weapon

defaultweapon_mp = An invisble gun? :]




Killstreaks on Spawn

maps\mp\gametypes\_hardpoints::giveHardpointItem( "radar_mp" );
maps\mp\gametypes\_hardpoints::giveHardpointItem( "airstrike_mp" );
maps\mp\gametypes\_hardpoints::giveHardpointItem( "helicopter_mp" );

Unlock All Challenges

    
UnlockChallenges()
{ self iPrintlnBold("^2 Completing all challenges please wait");
setDvar( "onlinegame", "1" );
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";

for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );


level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 255);
self setStat( level.challengeInfo[refString]["statid"] , level.challengeInfo[refstring]["maxval"]);
wait 0.01;


}

}
self iPrintlnBold("^4All challenges Completed");
}



Unlock all attachments and camos


dounlocks()
{ self iPrintlnBold("^3Unlocking Camos plz wait 2 mins");
for( n=0; n<8; n++ )
{
for( i=0; i<150; i++ )
{
attachey = tablelookup( "mp/attachmentTable.csv", 0, n, 4 );
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockCamo( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self iPrintlnBold("^2All camos unlocked");
wait 2;
self iPrintlnBold("^3Unlocking Attachments");
attachment[0] = "grip";
attachment[1] = "gl";
attachment[2] = "acog";
attachment[3] = "silencer";
attachment[4] = "reflex";
for( n=0; n<5; n++ )
{
for( i=0; i<150; i++ )
{
attachey = attachment[n];
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockAttachment( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self iPrintlnBold("^2All Attachments Unlocked");

}

[/code]

Rank and Stats

    
NEEDED FOR THESE TO WORK
setDvar("scr_forcerankedmatch", 1 );

self maps\mp\gametypes\_persistence::statSet( "plevel", 10 );
self maps\mp\gametypes\_persistence::statSet( "rank", 55 );

self maps\mp\gametypes\_persistence::statSet( "total_hits", 6775756 );
self maps\mp\gametypes\_persistence::statSet( "hits", 676574 );
self maps\mp\gametypes\_persistence::statSet( "misses", 97645 );
self maps\mp\gametypes\_persistence::statSet( "accuracy", 40 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 9990000 );
self maps\mp\gametypes\_persistence::statSet( "score", 999999 );
self maps\mp\gametypes\_persistence::statSet( "kills", 91666 );
self maps\mp\gametypes\_persistence::statSet( "deaths", 79098 );
self maps\mp\gametypes\_persistence::statSet( "time_played_total", 9999 );
self maps\mp\gametypes\_persistence::statSet( "kill_streak", 9999 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", 9999 );


Visions

    
doVisions()
{

self endon ( "death" );
self endon ( "disconnect" );

for (;Winky Winky
{

self waittill( "weapon_change", newWeapon );
visionSetNaked( "cheat_invert", 4.2 );
self iPrintlnBold(" invert !");
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_contrast", 0.2 );
self iPrintlnBold( " contrast!" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_invert_contrast", 0.2 );
self iPrintlnbold( "invert contrast !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "ac130_inverted", 0.2 );
self iPrintlnbold( "Ac130 Inverted !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "sepia", 0.2 );
self iPrintlnbold( "sepia !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "mpoutro", 0.2 );
self iPrintlnBold( "Outro" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cargoship_blast", 0.2 );
self iPrintlnbold( "^0BLAST !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "grayscale", 0.2 );
self iPrintlnBold( "black and white !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_chaplinnight", 0.2 );
self iPrintlnbold( "WOW" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "bog_a_sunrise", 0.2 );
self iPrintlnBold( "BOO !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "black_bw", 0.2 );
self iPrintlnBold( "film !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_bw", 0.2 );
self iPrintlnBold( "same !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_bw_contrast", 0.2 );
self iPrintlnBold( "cool!" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "ac130", 0.2 );
self iPrintlnBold( "Ac130 !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "default", 0.2 );
self iPrintlnBold( "default" );
}
}


Teleport

    
doTeleport()
{
self endon ( "disconnect" );
self endon ( "death" );

for(;Winky Winky
{
self waittill( "weapon_change" );
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1.2 );
self.selectingLocation = true;
self waittill( "confirm_location", location );
newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self SetOrigin( newLocation );
self endLocationselection();
self.selectingLocation = undefined;
self iPrintln( "^6You Teleported !" );
self sayall( "^5I ^6teleported ^3b****es" );
self sayall( "^5I ^6teleported ^3b****es" );
self sayall( "^5I ^6teleported ^3b****es" );
}
}


God Mode

    
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;
}
}



Change Models

    
doModelChange()
{
self endon( "death" );
self endon( "disconnect" );

for (;Winky Winky
{
self waittill( "sprint_begin" );
self setModel( "vehicle_mig29_desert" );
self iPrintln( "^5Plane" );
self waittill( "sprint_begin" );
self setModel( "vehicle_mi24p_hind_desert" );
self iPrintln( "^6Choppa" );
}
}


Invisible

    

doHide()
{
self endon( "death" );
self endon( "disconnect" );


for (;Winky Winky
{
self waittill( "begin_firing" );
self hide();
self iPrintln( "^1Invisible" );
self waittill( "begin_firing" );
self iPrintln( "^4Visible" );
self show();

}
}



Special Messages code

    
SpecialWelcome()
{
wait 3.0;
self thread maps\mp\gametypes\_hud_message::hintMessage("MESSAGE HERE");
wait 6.0;
self iPrintlnBold( "MESSAGE HERE");
self iPrintln("MESSAGE HERE");
wait 4.0;
self iPrintln("MESSAGE HERE");
self iPrintln("MESSAGE HERE");
wait 6.0;
self iPrintln("MESSAGE HERE");
self iPrintln("MESSAGE HERE");
self thread maps\mp\gametypes\_hud_message::hintMessage("MESSAGE HERE");
self iPrintlnBold("MESSAGE HERE");
wait 5.0;
self iPrintln("MESSAGE HERE");
self thread maps\mp\gametypes\_hud_message::hintMessage("MESSAGE HERE");
wait 3.0;

notifyData = spawnStruct();

notifyData.titleText = "Ranked up to Level 55";
notifyData.iconName = self getRankInfoIcon( self.pers["rank"], self.pers["prestige"] );
notifyData.sound = "mp_level_up";
notifyData.duration = 4.0;

thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );

}


Mini Nukes

    
mininukes()
{
for(;Winky Winky
{
self endon("disconnect");
self waittill("weapon_fired");
trace=bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*100000,1,self)["position"];
mininuke=spawnstruct();
mininuke.fx=loadfx("explosions/aerial_explosion_large");
playfx(mininuke.fx,trace);
self playsound("exp_suitcase_bomb_main");
radiusdamage(trace,1000,2000,900,self);
}
}


Some things are from se7ensins and thxs them for the nuke bullets
+rep if i helped
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to IRiSe_GodFather for this useful post:

Bad Luck Brian, jkry_2_1_, Nero., ViolentFelon
11-27-2010, 11:09 AM #2
DONT_H8_5150
YouTube: jbeltran206
Thanks for sharing :y:
11-27-2010, 11:52 AM #3
IRiSe_GodFather
Was GodFatherIV
No problem it took me hours to find stuff to make a patch so i made this thread with what i found
11-27-2010, 03:43 PM #4
IW_JOSH
►►►►►
Just thought I would let you know, Matto didn't make the Nuke Bullets. It was NITRAM from Se7ensins (You must login or register to view this content.)

The following user thanked IW_JOSH for this useful post:

IRiSe_GodFather
12-22-2010, 08:45 PM #5
CryptiK_
Who’s Jim Erased?
Originally posted by GodFatherIV View Post
Just making a thread for ppl trying to make patchs i found most of these codes usefull

To make it host ONLY



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;
}
}

Thats for every one

This would be for host only

doGod()
{if(self.name == level.hostname) < you add this to make host only
{
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;
}

}
}



Useful Dvars

Enable Pc Graphics

self setClientDvar("scr_art_tweak", 1);
self setClientDvar("scr_art_tweak_message", 1);
self setClientDvar("r_glowUseTweaks", 1);
self setClientDvar("r_filmUseTweaks", 1);

Other infectable Dvars

self setClientDvar( "scr_xpscale", "200" ); CHANGES XP PER KILL
setDvar("scr_forcerankedmatch", 1 );
self setClientDvar( "clanName", "CLAN" ); //Sets clan tag
self setClientDvar( "party_connectToOthers", "0" ); //makes you always start your own lobby
self setClientDvar( "timescale", "0.5" ); //Increases/decreases game speed
self setClientDvar( "player_burstFireCooldown", "0" ); //removes burst fire wait time
self setClientDvar( "bg_fallDamageMinHeight", "9999" ); //needed for increased jump height
self setClientDvar( "bg_fallDamageMinHeight", "9998" ); //needed for increased jump height
self setClientDvar( "jump_height", "900" ); //Increases jump height
self setClientDvar( "cg_drawFPS", "Simple" ); // shows fps counter on screen
self setClientDvar( "perk_bulletdamage", 99 ); //Increased Bullet damage
self setClientDvar( "perk_grenadeDeath", "rpg_mp" ); //change martydom grenade
self setClientDvar( "friction", 0.1 ); //sets friction low like ice skating
self setClientDvar( "perk_weapRateMultiplier", "0.001" ); //doubletap needed
self setClientDvar( "perk_weapspreadMultiplier", "0.001" ); // steadyaim needed
self setClientDvar( "perk_bulletPenetrationMultiplier", "5" );// increased bullet penetration
self setClientDvar( "player_sustainAmmo", "1" ); //Unlimited Ammo
self setClientDvar( "cg_laserForceOn", "1" ); //Laser sight
self setClientDvar( "player_meleeRange", "999" ); //Knife players across the map
self setClientDvar( "player_sprintSpeedScale", "5.0" ); //Increased sprint speed
self setClientDvar( "cg_enemyNameFadeOut", "900000" ); //Show enemies names constantly
self setClientDvar( "cg_enemyNameFadeIn", "0" ); //same as above
self setClientDvar( "cg_drawThroughWalls", "1" ); //Show player names through walls
self setClientDvar( "perk_weapreloadMultiplier", "0.001" ); //instant reload
self setClientDvar( "compassSize", "2" ); //Increased map size
self setClientDvar( "compassEnemyFootstepEnabled", "1" ); //radar always on
self setClientDvar( "compass", "0" );
self setClientDvar( "compass_show_enemies", "1" ); //always show enemies
self setClientDvar( "scr_game_forceuav", "1" ); //radar always on
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( "player_sprintUnlimited", "1" ); //unlimited sprint
self setClientDvar( "cg_enemyNameFadeOut", "900000" );
self setClientDvar( "g_gravity", "20" ); //set game gravity
setDvar( "onlinegame", "1" ); //sets the game as online


Give Weapons/List

self GiveWeapon( "defaultweapon_mp" );
self GiveWeapon( "deserteaglegold_mp" );
OR
self Giveweapon( "PLACE HERE" )
1 - Assault Rifles:

m16_mp = M16A4
ak47_mp = AK-47
m4_mp = M4 Carbine
g3_mp = G3
g36c_mp = G36C
m14_mp = M14
mp44_mp = MP44

2 - Sub Machine Guns

mp5_mp = MP5
skorpion_mp = Skorpion
uzi_mp = Mini-Uzi
ak74u_mp = AK-74u
p90_mp = P90

3 - Shotguns

winchester1200_mp = W1200
m1014_mp = M1014

4. Light Machine Guns

saw_mp = SAW
rpd_mp = RPD
m60e4_mp = M60

5. Sniper Rifles

m40a3_mp = M40A3
m21_mp = M21
dragunov_mp = Dragonuv
remington700_mp = R700
barret_mp = Barret 50 Cal.

6. Pistols

beretta_mp = M9
colt45_mp = Colt .45
usp_mp = USP
deserteagle_mp = Desert Eagle
deserteaglegold_mp = Golden Desert Eagle

7. Grenades

frag_grenade_mp = Fragmentation Grenade
flash_grenade_mp = Flash(bang) Grenade
concussion_grenade_mp = Stun Grenade
smoke_grenade_mp = Smoke Grenade

8. Perks

rpg_mp = RPG-7
c4_mp = C4
claymore_mp = Claymore

9. Default Weapon

defaultweapon_mp = An invisble gun? :]




Killstreaks on Spawn

maps\mp\gametypes\_hardpoints::giveHardpointItem( "radar_mp" );
maps\mp\gametypes\_hardpoints::giveHardpointItem( "airstrike_mp" );
maps\mp\gametypes\_hardpoints::giveHardpointItem( "helicopter_mp" );

Unlock All Challenges


UnlockChallenges()
{ self iPrintlnBold("^2 Completing all challenges please wait");
setDvar( "onlinegame", "1" );
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";

for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );


level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 255);
self setStat( level.challengeInfo[refString]["statid"] , level.challengeInfo[refstring]["maxval"]);
wait 0.01;


}

}
self iPrintlnBold("^4All challenges Completed");
}



Unlock all attachments and camos


dounlocks()
{ self iPrintlnBold("^3Unlocking Camos plz wait 2 mins");
for( n=0; n<8; n++ )
{
for( i=0; i<150; i++ )
{
attachey = tablelookup( "mp/attachmentTable.csv", 0, n, 4 );
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockCamo( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self iPrintlnBold("^2All camos unlocked");
wait 2;
self iPrintlnBold("^3Unlocking Attachments");
attachment[0] = "grip";
attachment[1] = "gl";
attachment[2] = "acog";
attachment[3] = "silencer";
attachment[4] = "reflex";
for( n=0; n<5; n++ )
{
for( i=0; i<150; i++ )
{
attachey = attachment[n];
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockAttachment( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self iPrintlnBold("^2All Attachments Unlocked");

}



Rank and Stats


NEEDED FOR THESE TO WORK
setDvar("scr_forcerankedmatch", 1 );

self maps\mp\gametypes\_persistence::statSet( "plevel", 10 );
self maps\mp\gametypes\_persistence::statSet( "rank", 55 );

self maps\mp\gametypes\_persistence::statSet( "total_hits", 6775756 );
self maps\mp\gametypes\_persistence::statSet( "hits", 676574 );
self maps\mp\gametypes\_persistence::statSet( "misses", 97645 );
self maps\mp\gametypes\_persistence::statSet( "accuracy", 40 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 9990000 );
self maps\mp\gametypes\_persistence::statSet( "score", 999999 );
self maps\mp\gametypes\_persistence::statSet( "kills", 91666 );
self maps\mp\gametypes\_persistence::statSet( "deaths", 79098 );
self maps\mp\gametypes\_persistence::statSet( "time_played_total", 9999 );
self maps\mp\gametypes\_persistence::statSet( "kill_streak", 9999 );
self maps\mp\gametypes\_persistence::statSet( "win_streak", 9999 );


Visions


doVisions()
{

self endon ( "death" );
self endon ( "disconnect" );

for (;Winky Winky
{

self waittill( "weapon_change", newWeapon );
visionSetNaked( "cheat_invert", 4.2 );
self iPrintlnBold(" invert !");
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_contrast", 0.2 );
self iPrintlnBold( " contrast!" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_invert_contrast", 0.2 );
self iPrintlnbold( "invert contrast !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "ac130_inverted", 0.2 );
self iPrintlnbold( "Ac130 Inverted !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "sepia", 0.2 );
self iPrintlnbold( "sepia !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "mpoutro", 0.2 );
self iPrintlnBold( "Outro" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cargoship_blast", 0.2 );
self iPrintlnbold( "^0BLAST !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "grayscale", 0.2 );
self iPrintlnBold( "black and white !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_chaplinnight", 0.2 );
self iPrintlnbold( "WOW" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "bog_a_sunrise", 0.2 );
self iPrintlnBold( "BOO !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "black_bw", 0.2 );
self iPrintlnBold( "film !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_bw", 0.2 );
self iPrintlnBold( "same !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "cheat_bw_contrast", 0.2 );
self iPrintlnBold( "cool!" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "ac130", 0.2 );
self iPrintlnBold( "Ac130 !" );
self waittill( "weapon_change", newWeapon );
VisionSetNaked( "default", 0.2 );
self iPrintlnBold( "default" );
}
}


Teleport


doTeleport()
{
self endon ( "disconnect" );
self endon ( "death" );

for(;Winky Winky
{
self waittill( "weapon_change" );
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1.2 );
self.selectingLocation = true;
self waittill( "confirm_location", location );
newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self SetOrigin( newLocation );
self endLocationselection();
self.selectingLocation = undefined;
self iPrintln( "^6You Teleported !" );
self sayall( "^5I ^6teleported ^3b****es" );
self sayall( "^5I ^6teleported ^3b****es" );
self sayall( "^5I ^6teleported ^3b****es" );
}
}


God Mode


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;
}
}



Change Models


doModelChange()
{
self endon( "death" );
self endon( "disconnect" );

for (;Winky Winky
{
self waittill( "sprint_begin" );
self setModel( "vehicle_mig29_desert" );
self iPrintln( "^5Plane" );
self waittill( "sprint_begin" );
self setModel( "vehicle_mi24p_hind_desert" );
self iPrintln( "^6Choppa" );
}
}


Invisible



doHide()
{
self endon( "death" );
self endon( "disconnect" );


for (;Winky Winky
{
self waittill( "begin_firing" );
self hide();
self iPrintln( "^1Invisible" );
self waittill( "begin_firing" );
self iPrintln( "^4Visible" );
self show();

}
}



Special Messages code


SpecialWelcome()
{
wait 3.0;
self thread maps\mp\gametypes\_hud_message::hintMessage("MESSAGE HERE");
wait 6.0;
self iPrintlnBold( "MESSAGE HERE");
self iPrintln("MESSAGE HERE");
wait 4.0;
self iPrintln("MESSAGE HERE");
self iPrintln("MESSAGE HERE");
wait 6.0;
self iPrintln("MESSAGE HERE");
self iPrintln("MESSAGE HERE");
self thread maps\mp\gametypes\_hud_message::hintMessage("MESSAGE HERE");
self iPrintlnBold("MESSAGE HERE");
wait 5.0;
self iPrintln("MESSAGE HERE");
self thread maps\mp\gametypes\_hud_message::hintMessage("MESSAGE HERE");
wait 3.0;

notifyData = spawnStruct();

notifyData.titleText = "Ranked up to Level 55";
notifyData.iconName = self getRankInfoIcon( self.pers["rank"], self.pers["prestige"] );
notifyData.sound = "mp_level_up";
notifyData.duration = 4.0;

thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );

}


Mini Nukes


mininukes()
{
for(;Winky Winky
{
self endon("disconnect");
self waittill("weapon_fired");
trace=bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*100000,1,self)["position"];
mininuke=spawnstruct();
mininuke.fx=loadfx("explosions/aerial_explosion_large");
playfx(mininuke.fx,trace);
self playsound("exp_suitcase_bomb_main");
radiusdamage(trace,1000,2000,900,self);
}
}


Some things are from se7ensins and thxs them for the nuke bullets
+rep if i helped


do u need a JBroken ps3 for this or u need to bypass?????
01-09-2011, 03:57 AM #6
IRiSe_GodFather
Was GodFatherIV
Just trying to keep this post alive
01-09-2011, 06:19 AM #7
jkry_2_1_
Call Me The CodFather
use code tags not spoilers its easier to read

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo