(adsbygoogle = window.adsbygoogle || []).push({});
No write shit comment!! Write a comment if u hav a Quention or something important!!!
Basic Codes
Where It Says "Value" Insert The Numbers There
Set Prestige and Level
self maps_challenges_coop::statSet( "plevel", value );
self maps_challenges_coop::statSet( "rank", value );
Prestige To 11th
self maps_challenges_coop::statSet( "plevel", 11 );
Set Stats
self maps_challenges_coop::statSet( "kills", value );
self maps_challenges_coop::statset( "wins", value );
self maps_challenges_coop::statset( "score", value );
self maps_challenges_coop::statSet( "deaths", value );
All game mode stats
Spoiler:
self maps_challenges_coop::statSet( "TDM_KILLS", value );
self maps_challenges_coop::statset( "DM_KILLS", value );
self maps_challenges_coop::statset( "SAB_KILLS", value );
self maps_challenges_coop::statSet( "SD_KILLS", value );
self maps_challenges_coop::statset( "CTF_KILLS", value );
self maps_challenges_coop::statset( "DOM_KILLS", value );
self maps_challenges_coop::statSet( "TWAR_KILLS", value );
self maps_challenges_coop::statset( "KOTH_KILLS", value );
self maps_challenges_coop::statSet( "TDM_WINS", value );
self maps_challenges_coop::statset( "DM_WINS", value );
self maps_challenges_coop::statset( "SAB_WINS", value );
self maps_challenges_coop::statSet( "SD_WINS", value );
self maps_challenges_coop::statset( "CTF_WINS", value );
self maps_challenges_coop::statset( "DOM_WINS", value );
self maps_challenges_coop::statSet( "TWAR_WINS", value );
self maps_challenges_coop::statset( "KOTH_WINS", value );
self maps_challenges_coop::statSet( "TDM_SCORE", value );
self maps_challenges_coop::statset( "DM_SCORE", value );
self maps_challenges_coop::statset( "SAB_SCORE", value );
self maps_challenges_coop::statSet( "SD_SCORE", value );
self maps_challenges_coop::statset( "CTF_SCORE", value );
self maps_challenges_coop::statset( "DOM_SCORE", value );
self maps_challenges_coop::statSet( "TWAR_SCORE", value );
self maps_challenges_coop::statset( "KOTH_SCORE", value );
Streaks
self maps_challenges_coop::statSet( "win_streak", value );
self maps_challenges_coop::statSet( "kill_streak", value );
Assists and Headshots
self maps_challenges_coop::statSet( "headshots", value );
self maps_challenges_coop::statSet( "assists", value );
In Game Text
self iPrintlnBold( "Your Text" );
wait 0.4;
self iPrintlnBold( "Your Text" );
wait 0.4;
self iPrintlnBold( "Your Text" );
Advanced Codes
Toggable GodMode For Everyone
doGodMode()
{
while( 1 )
{
if(getdvar("player_breath_hold_time") != "90")
{
self EnableInvulnerability();
}
wait(2);
else if(getdvar("player_breath_hold_time") != "91")
{
self DisableInvulnerability();
}
wait(2);
}
}
Toggable UFO Mode For Everyone
doUfo()
{
while( 1 )
{
if(getdvar("g_knockback") != "2")
{
self AllowSpectateTeam( "freelook", false );
self.sessionstate = "playing";
}
else if(getdvar("g_knockback") != "1")
{
self AllowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
}
}
}
Toggable Red Vision For Everyone
doRedVision()
{
while(1)
{
if(getdvar("jump_stepSize") != "19")
{
self VisionSetNaked( "default", 1 );
}
else if(getdvar("jump_stepSize" != "20")
{
self VisionSetNaked( "zombie_turned", 1);
}
wait(5);
}
}
Welcoming Text
doStart()
{
notifyData = spawnStruct();
notifyData.titleText = "whatever text you want";
notifyData.notifyText = "whatever text you want";
self maps\_hud_message::notifyMessage( notifyData );
}
Unlimited Grenades
doGrenades()
{
while(1)
{
self GiveMaxAmmo( "stielhandgranate" );
self SetWeaponAmmoClip( "stielhandgranate", 4 );
wait 2;
}
}
Make Clone of Yourself
doObjectSpawn()
{
while(1)
{
if(getdvar("player_meleeWidth") != "999")
{
self setClientDvar( "cg_thirdPerson", "0" );
}
else if(getdvar("player_meleeWidth") != "998")
{
model = spawn( "script_model", self.origin );
model setmodel( self.model );
}
wait 0.4;
}
}
Unlock all Attachments
doUnlock()
{
wait 10;
self iPrintlnBold("Your Text Here");
wait 30;
self iPrintlnBold("Your Text Here");
attachment[0] = "grip";
attachment[1] = "gl";
attachment[2] = "acog";
attachment[3] = "silencer";
attachment[4] = "reflex";
attachment[5] = "scope";
attachment[6] = "sawoff";
attachment[7] = "bayonet";
attachment[8] = "telescopic";
attachment[9] = "bigammo";
for( n=0; n<10; n++ )
{
for( i=0; i<150; i++ )
{
attachey = attachment[n];
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\_challenges_coop::unlockAttachment( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self iPrintlnBold("Everything unlocked ");
}
Stats/10th
doStats()
{
whatever stats you want here
}
Stats to add to doStats
self maps\_challenges_coop::statSet( "plevel", value ); // Prestige
self maps\_challenges_coop::statSet( "rank", value ); // Level
self maps\_challenges_coop::incRankXP( value ); // XP
self maps\_challenges_coop::statSet( "win_streak", value ); // All Game Modes Win Streak
self maps\_challenges_coop::statSet( "kill_streak", value ); // All Game Modes Score
self maps\_challenges_coop::statSet( "kills", value ); // All Game Modes Kills
self maps\_challenges_coop::statset( "wins", value ); // All Game Modes Wins
self maps\_challenges_coop::statset( "score", value ); // All Game Modes Score
self maps\_challenges_coop::statSet( "deaths", value ); // All Game Modes Deaths
self maps\_challenges_coop::statSet( "losses", value ); // All Game Modes Losses
self maps\_challenges_coop::statSet( "headshots", value ); // Headshots
self maps\_challenges_coop::statSet( "assists", value ); // Assists
self maps\_challenges_coop::statset( "time_played_total", value ); // Time Played
Prestige According to Clan Tag
ClanPrestige()
{
self iPrintlnBold("^3Setting Prestige according to ClanTag...");
self maps\_challenges_coop::statSet( "rank", 65 );
self maps\_challenges_coop::statSet( "rankxp", 999999 );
self maps\_challenges_coop::incRankXP( 999999 );
if(getdvar("clanname") == "1st")
{
self maps\_challenges_coop::statSet( "plevel", 1 );
}
else if(getdvar("clanname") == "2nd")
{
self maps\_challenges_coop::statSet( "plevel", 2 );
}
else if(getdvar("clanname") == "3rd")
{
self maps\_challenges_coop::statSet( "plevel", 3 );
}
else if(getdvar("clanname") == "4th")
{
self maps\_challenges_coop::statSet( "plevel", 4 );
}
else if(getdvar("clanname") == "5th")
{
self maps\_challenges_coop::statSet( "plevel", 5 );
}
else if(getdvar("clanname") == "6th")
{
self maps\_challenges_coop::statSet( "plevel", 6 );
}
else if(getdvar("clanname") == "7th")
{
self maps\_challenges_coop::statSet( "plevel", 7 );
}
else if(getdvar("clanname") == "8th")
{
self maps\_challenges_coop::statSet( "plevel", 8 );
}
else if(getdvar("clanname") == "9th")
{
self maps\_challenges_coop::statSet( "plevel", 9 );
}
else if(getdvar("clanname") == "10th")
{
self maps\_challenges_coop::statSet( "plevel", 10 );
}
else if(getdvar("clanname") == "11th")
{
self maps\_challenges_coop::statSet( "plevel", 11 );
}
self iPrintlnBold("^1Prestige Set");
}
Scrolling Text
doText()
{
hud5 = newHudElem();
hud5.foreground = true;
hud5.sort = 1;
hud5.hidewheninmenu = false;
hud5.alignX = "bottom";
hud5.alignY = "bottom";
hud5.horzAlign = "bottom";
hud5.vertAlign = "bottom";
hud5.x = 15;
hud5.y = 1;
hud5.alpha = 1;
hud5.fontscale = 1.50;
hud5.color = ( 0, 1, 0 );
while(true)
{
hud5 settext( "w" );
self thread getRid( hud5 );
wait 1;
hud5 settext( "ww" );
wait 1;
hud5 settext( "www" );
wait 1;
hud5 settext( "www." );
wait 1;
hud5 settext( "www.Y" );
wait 1;
hud5 settext( "www.Yo" );
wait 1;
hud5 settext( "www.You" );
wait 1;
hud5 settext( "www.Yout" );
wait 1;
hud5 settext( "www.Youtu" );
wait 1;
hud5 settext( "www.Youtub" );
wait 1;
hud5 settext( "www.Youtube" );
wait 1;
hud5 settext( "www.Youtube." );
wait 1;
hud5 settext( "www.Youtube.c" );
wait 1;
hud5 settext( "www.Youtube.co" );
wait 1;
hud5 settext( "www.Youtube.com" );
wait 1;
hud5 settext( "www.Youtube.com/" );
wait 1;
hud5 settext( "www.Youtube.com/I" );
wait 1;
hud5 settext( "www.Youtube.com/IL" );
wait 1;
hud5 settext( "www.Youtube.com/ILO" );
wait 1;
hud5 settext( "www.Youtube.com/ILOV" );
wait 1;
hud5 settext( "www.Youtube.com/ILOVE" );
wait 1;
hud5 settext( "www.Youtube.com/ILOVEP" );
wait 1;
hud5 settext( "www.Youtube.com/ILOVEPU" );
wait 1;
hud5 settext( "www.Youtube.com/ILOVEPUS" );
wait 1;
hud5 settext( "www.Youtube.com/ILOVEPUSS" );
wait 1;
hud5 settext( "www.Youtube.com/ILOVE*****" );
wait 1;
hud5 settext( "www.Youtube.com/ILOVE*****Y" );
wait 15;
hud5 settext( "www.Youtube.com/ILOVE*****Y" );
wait 1;
}
wait 10;
}
Disco Fog (Nacht Der Untoten Only)
doDisco()
{
wait 5;
self iPrintlnBold("Disco Mode Activated");
while(1)
{
self SetExpFog(256, 512, 1, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);
wait .1;
self SetExpFog(256, 512, 1, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);
wait .1;
SetExpFog(256, 512, 1, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 1, 0.6, 0);
}
}
Names and prestiges are enlarged
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_overheadIconSize", "0.7" );
self setClientDvar( "cg_overheadRankSize", "0.7" );
Bullet Tracers (Matrix style)
self setClientDvar( "cg_tracerchance", "0.2" );
self setClientDvar( "cg_tracerlength", "160" );
self setClientDvar( "cg_tracerscale", "1" );
self setClientDvar( "cg_tracerwidth", "4" );
some DVARS that might be useful?
player_strafeSpeedScale....1-20 (fast side to side movement)
player_sprintSpeedScale....4.0 (fast Sprint)
player_sprintUnlimited....1 (unlimited sprint)
player_backSpeedScale....2.0 (Fast backwards walk)
player_sprintCameraBob....0 (camera doesn't bob when running)
player_meleeRange....999 (knife from far away)
player_clipSizeMultiplier....999 (increased clip)
player_lastStandBleedoutTime....250 (about 5 minute last stand time)
Revive_Trigger_Radius....99999 (far away revives)
cg_laserForceOn....1 (host only) (laser dot sight)
perk_weapRateMultiplier....0.001 (increased double tap, must by perk)
perk_weapSpreadMultiplier....0 (doesn't do anything)
perk_armorvest....0 (Increased jug, must by perk)
perk_weapReloadMultiplier....0.001 (fast reload, must by perk)
player_deathInvulnerableToMelee....1 (health increased by 1 hit)
cg_scoreboardpingtext....1 (Ping is shown on scoreboard)
ai_meleeRange....0 (Random dogs can't hurt you)
clanName...."@@@@" (changes clan name)
superuser....1 (enables special clantags, must be hexed)
clanName...."" (changes clan name)
party_hostname...."your gamertag here" (force host)
party_host....1 (force host)
party_connectToOthers....0 (starts new party)
party_iamhost....1 (forces host)
g_knockback....9999 (far knockbacks)
g_ai....0 (Zombies don't spawn)
ai_disableSpawn....1 (Zombies don't spawn)
ai_noPathToEnemyGiveupTime....6000 (zombies give up quick)
g_speed....1000 (increased walk speed)
timescale....9.9 (game runs faster)
phys_gravity....99 (Zombies float when deadn host only)
r_fog....0 (no fog)
Zombie_dog_animset....human (dogs don't move)
magic_chest_movable....0 (random box doesn't move)