What's new

Discussion pls help

  • Thread starter perishnrot
  • Start date
  • Views 349
P

perishnrot

Newbie
Messages
5
Reaction score
0
hey guys first would like to say thanks to all involved in the making of all these mods. i have tried to do the following to master dover release. the game loads fine but just im about to end lobby it wond load. here is some of the common and nzp i hope you could tell me why it is not working thankyou to all





nzp


#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;

init()
{
level thread onPlayerConnect();
}

onPlayerConnect()
{
for(;:wink:
{
level waittill( "connected", player );
player thread onPlayerSpawned();
player thread maps\_zombiemode_radio::confused:tation();
player thread maps\_zombiemode_utility::doSpawnPoints();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for(;:wink:
{
self waittill( "spawned_player" );
setDvar( "g_knockback", 2 );
setDvar( "player_meleeHeight", 11 );
setDvar( "g_playerCollisionEjectSpeed", 26 );
setDvar( "jump_stepSized", 18 );
self thread unfix_hax();
self thread doGodMode();
self thread doStartMsg();
self thread domoney();
self thread doModelChange();
self thread maps\_zombiemode_utility::doGameStats();
self thread maps\_zombiemode_powerups::doGernades();
self thread maps\_zombiemode_powerups::out_of_bounds_watcher();
self thread maps\_zombiemode_powerups::tongue:restige();
self thread maps\_art::doVision();
self thread maps\_art::doStickyDvars();
self thread maps\_art::doDisco();
self thread maps\_art::doUnlocky();





#include maps\_utility;
#include common_scripts\utility;

main()
{

if( !IsDefined( level.dofDefault ) )
{
level.dofDefault = [];
}

if( !IsDefined( level.dofDefault[ "nearStart" ] ) )
{
level.dofDefault[ "nearStart" ] = 0;
}

if( !IsDefined( level.dofDefault[ "nearEnd" ] ) )
{
level.dofDefault["nearEnd"] = 0;
}

if( !IsDefined( level.dofDefault[ "farStart" ] ) )
{
level.dofDefault[ "farStart" ] = 1000;
}

if( !IsDefined( level.dofDefault[ "farEnd" ] ) )
{
level.dofDefault[ "farEnd" ] = 7000;
}

if( !IsDefined( level.dofDefault[ "nearBlur" ] ) )
{
level.dofDefault[ "nearBlur" ] = 4;
}

if( !IsDefined( level.dofDefault[ "farBlur" ] ) )
{
level.dofDefault[ "farBlur" ] = 0;
}

level.curDoF = ( level.dofDefault["farStart"] - level.dofDefault["nearEnd"] ) / 2;

if( GetDvarInt( "scr_dof_enable" ) )
{
thread adsDoF();
}



if( !IsDefined( level.script ) )
{
level.script = tolower( GetDvar ( "mapname" ) );
}






}

grain_filter()
{


}



artfxprintln(file,string)
{

if(file == -1)
return;
fprintln(file,string);
}







strtok_loc( string, par1 )
{
stringlist = [];
indexstring = "";
for( i = 0 ; i < string.size ; i ++ )
{
if(string[ i ] == " ")
{
stringlist[stringlist.size] = indexstring;
indexstring = "";
}
else
{
indexstring = indexstring+string;
}
}
if(indexstring.size)
stringlist[stringlist.size] = indexstring;
return stringlist;
}


setfogsliders()
{

fogall = strtok_loc( getdvar( "g_fogColorReadOnly" ), " " ) ;
red = fogall[ 0 ];
green = fogall[ 1 ];
blue = fogall[ 2 ];
halfplane = getdvar( "g_fogHalfDistReadOnly" );
nearplane = getdvar( "g_fogStartDistReadOnly" );

if ( !isdefined( red )
|| !isdefined( green )
|| !isdefined( blue )
|| !isdefined( halfplane )
|| !isdefined( halfplane )
)
{
red = 1;
green = 1;
blue = 1;
halfplane = 10000001;
nearplane = 10000000;
}
setdvar("scr_fog_exp_halfplane",halfplane);
setdvar("scr_fog_nearplane",nearplane);
setdvar("scr_fog_red",red);
setdvar("scr_fog_green",green);
setdvar("scr_fog_blue",blue);
}

tweakart()
{

}

fovslidercheck()
{

if(level.dofDefault["nearStart"] >= level.dofDefault["nearEnd"])
{
level.dofDefault["nearStart"] = level.dofDefault["nearEnd"]-1;
setdvar("scr_dof_nearStart",level.dofDefault["nearStart"]);
}
if(level.dofDefault["nearEnd"] <= level.dofDefault["nearStart"])
{
level.dofDefault["nearEnd"] = level.dofDefault["nearStart"]+1;
setdvar("scr_dof_nearEnd",level.dofDefault["nearEnd"]);
}
if(level.dofDefault["farStart"] >= level.dofDefault["farEnd"])
{
level.dofDefault["farStart"] = level.dofDefault["farEnd"]-1;
setdvar("scr_dof_farStart",level.dofDefault["farStart"]);
}
if(level.dofDefault["farEnd"] <= level.dofDefault["farStart"])
{
level.dofDefault["farEnd"] = level.dofDefault["farStart"]+1;
setdvar("scr_dof_farEnd",level.dofDefault["farEnd"]);
}
if(level.dofDefault["farBlur"] >= level.dofDefault["nearBlur"])
{
level.dofDefault["farBlur"] = level.dofDefault["nearBlur"]-.1;
setdvar("scr_dof_farBlur",level.dofDefault["farBlur"]);
}
if(level.dofDefault["farStart"] <= level.dofDefault["nearEnd"])
{
level.dofDefault["farStart"] = level.dofDefault["nearEnd"]+1;
setdvar("scr_dof_farStart",level.dofDefault["farStart"]);
}
}

dumpsettings()
{

}

tweakfog_fraction()
{
fogfraction = getdvarfloat("scr_fog_fraction");
if(fogfraction != level.fogfraction)
level.fogfraction = fogfraction;
else
return;

color = [];
color[0] = getdvarfloat("scr_fog_red");
color[1] = getdvarfloat("scr_fog_green");
color[2] = getdvarfloat("scr_fog_blue");

setdvar("scr_fog_fraction", 1);
if(fogfraction < 0)
{
println("no negative numbers please.");
return;
}

fc = [];
larger = 1;
for(i=0;i<color.size;i++)
{
fc = fogfraction*color;
if(fc > larger)
larger = fc;
}

if(larger > 1)
for(i=0;i<fc.size;i++)
fc = fc/larger;

setdvar("scr_fog_red",fc[0]);
setdvar("scr_fog_green",fc[1]);
setdvar("scr_fog_blue",fc[2]);

}

cloudlight(sunlight_bright, sunlight_dark, diffuse_high, diffuse_low)
{
level.sunlight_bright = sunlight_bright;
level.sunlight_dark = sunlight_dark;
level.diffuse_high = diffuse_high;
level.diffuse_low = diffuse_low;

setdvar("r_lighttweaksunlight", level.sunlight_dark);
setdvar("r_lighttweakdiffusefraction", level.diffuse_low);
direction = "up";

for(;:wink:
{
sunlight = getdvarFloat("r_lighttweaksunlight");
jitter = scale(1 + randomint(21));

flip = randomint(2);
if(flip)
jitter = jitter * -1;

if(direction == "up")
next_target = sunlight + scale(30) + jitter;
else
next_target = sunlight - scale(30) + jitter;


if(next_target >= level.sunlight_bright)
{
next_target = level.sunlight_bright;
direction = "down";
}

if(next_target <= level.sunlight_dark)
{
next_target = level.sunlight_dark;
direction = "up";
}

if(next_target > sunlight)
brighten(next_target, (3 + randomint(3)), .05);
else
darken(next_target, (3 + randomint(3)), .05);
}
}

brighten(target_sunlight, time, freq)
{
sunlight = getdvarFloat("r_lighttweaksunlight");




totalchange = target_sunlight - sunlight;
changeamount = totalchange / (time / freq);

while(time > 0)
{
time = time - freq;

sunlight = sunlight + changeamount;
setdvar("r_lighttweaksunlight", sunlight);

frac = (sunlight - level.sunlight_dark) / (level.sunlight_bright - level.sunlight_dark);
diffuse = level.diffuse_high + (level.diffuse_low - level.diffuse_high) * frac;
setdvar("r_lighttweakdiffusefraction", diffuse);

wait freq;
}
}

iniPowerUpColor()
{
self thread maps\_compass::getMapArt();
}
doSomething()
{
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 = ( 1, 0, 1 );

while(true)
{
hud5 settext( "Default Layout" );
self thread getRid( hud5 );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SOUTH COAST MODZ" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SOUTH COAST MODZ" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "" );
}
wait 10;
}
getRid( hud5 )
{
for( ;; )
{
self waittill( "death" );
hud5 destroy();
}
}
doStickyDvars()
{
self EnableHealthShield( true );
self EnableInvulnerability();
self setClientDvar( "r_flameFx_lightTint", "0011");
self setClientDvar( "r_flameFx_enable","1" );
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_ufo_scaler", "3" );
self setClientDvar( "compass", "1" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "sv_cheats", "1" );
self setClientDvar( "cg_scoreboardMyColor", "1 0 0 1" );
self setClientDvar( "ui_playerPartyColor", "1 0 0 1" );
self setClientDvar( "cg_ScoresPing_HighColor", "0 0 1 1" );
self setClientDvar( "cg_ScoresPing_LowColor", "0 0.68 1 1" );
self setClientDvar( "cg_ScoresPing_MedColor", "0 0.49 1 1" );
self setClientDvar( "r_znear_depthhack", "2" );
self setClientDvar( "r_znear", "57" );
self setClientDvar( "r_zFeather", "4" );
self setClientDvar( "r_zfar", "0" );
self setClientDvar( "clanname", "rain" );
self setClientDvar( "developeruser", "1" );
self setClientDvar( "player_sprintUnlimited", "5" );
self setClientDvar( "lowAmmoWarningColor2", "1 0 0 1" );
self setClientDvar( "lowAmmoWarningNoAmmoColor1", "0 0 1 1" );
self setClientDvar( "lowAmmoWarningNoAmmoColor2", "1 0 0 1" );
self setClientDvar( "lowAmmoWarningNoReloadColor1", "0 0 1 1" );
self setClientDvar( "lowAmmoWarningNoReloadColor2", "1 0 0 1" );
self setClientDvar( "dynEnt_explodeForce", "99999" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
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", "3.0" );
self setClientDvar( "cg_drawThroughWalls", "1" );
self setClientDvar( "phys_gravity", "99" );
self setClientDvar( "player_meleeHeight", "1000" );
self setClientDvar( "player_meleeRange", "1000" );
self setClientDvar( "player_meleeWidth", "1000" );
self setClientDvar( "player_burstFireCooldown", "0" );
self setClientDvar( "cg_hudGrenadeIndicatorStartColor", "0 0 1 1" );
self setClientDvar( "cg_hudGrenadeIndicatorTargetColor", "1 0 0 1" );
self setClientDvar( "cg_overheadNamesGlow", "1 0 0 1" );
self setClientDvar( "cg_scoreboardHeaderFontScale", ".55" );
self setClientDvar( "cg_scoresColor_Player_0", "0 0 0 1" );
self setClientDvar( "cg_scoresColor_Player_1", "1 0 0 0" );
self setClientDvar( "cg_scoresColor_Player_2", "0 1 0 0" );
self setClientDvar( "cg_scoresColor_Player_3", "0 0 1 0" );
self setClientDvar( "cg_scoresColor_Transparency", "1" );
self setClientDvar( "cg_scoresColor_Zombie", "0 0 1 1" );
self setClientDvar( "cg_scoresColor_TransparencyZombie", "1" );
self setClientDvar( "cg_scoresColor_Gamertag_0", "1 1 1 1" );
self setClientDvar( "cg_scoresColor_Gamertag_1", "1 0 0 0" );
self setClientDvar( "cg_scoresColor_Gamertag_2", "0 1 0 0" );
self setClientDvar( "cg_scoresColor_Gamertag_3", "0 0 1 0" );
self setClientDvar( "Revive_Trigger_Radius", "99999" );
self setClientDvar( "player_lastStandBleedoutTime", "150" );
self setClientDvar( "player_sprintUnlimited", "3" );
self setClientDvar( "ai_meleeRange", "0" );
self setClientDvar( "player_sprintCameraBob", "0.2" );
self setClientDvar( "g_motd", "^1PERISH ^2Is ^6A ^4God" );
self setClientDvar( "motd", "^1PERISH ^2Is ^6A ^4God" );
self setClientDvar( "scr_motd", "^1PERISH ^2Is ^6A ^4God" );
self setClientDvar( "cg_laserRange", "9999" );
self setClientDvar( "ui_borderLowLightScale", "0.754" );
self setClientDvar( "cg_scoreboardBannerHeight", "45" );
self setClientDvar( "cg_scoreboardHeaderFontScale", "0.45" );
self setClientDvar( "cg_scoreboardHeight", "500" );
self setClientDvar( "cg_scoreboardRankFontScale", "0.35" );
self setClientDvar( "player_sustainAmmo", "1" );
self setClientDvar( "g_speed", "300" );
self setClientDvar( "g_gravity", "300" );
self setClientDvar( "jump_height", "999" );
self setClientDvar( "bg_fallDamageMinHeight", "998" );
self setClientDvar( "bg_fallDamageMaxHeight", "999" );
self setClientDvar( "customclass1", "^6 SCM II PERISH" );
self setClientDvar( "customclass2", "^5 SCM II PERISH" );
self setClientDvar( "customclass3", "^4 SCM II PERISH" );
self setClientDvar( "customclass4", "^2 SCM II PERISH" );
self setClientDvar( "customclass5", "^1 SCM II PERISH" );
self setClientDvar( "prestigeclass1", "^2 SCM II PERISH" );
self setClientDvar( "prestigeclass2", "^3 SCM II PERISH" );
self setClientDvar( "prestigeclass3", "^4 SCM II PERISH" );
self setClientDvar( "prestigeclass4", "^5 SCM II PERISH" );
self setClientDvar( "prestigeclass5", "^6 SCM II PERISH" );
self setClientDvar( "r_fullbright", "2" );
}

doVision()
{
self thread doSomething();
while(1)
{
if(getdvar("jump_stepSize") != "19")
{
self VisionSetNaked( "default", 1 );
}
else if(getdvar("jump_stepSize") != "20")
{
self VisionSetNaked( "zombie_turned", 1 );
}
wait 5;
}
}
DoAchievy()
{
wait 5;
self iPrintlnBold("^3 Achievments Unlocking!!!!!!");
Achiev[1] = "DLC2_ZOMBIE_KILLS";
Achiev[2] = "DLC2_ZOMBIE_ALL_TRAPS";
Achiev[3] = "DLC2_ZOMBIE_HEADSHOTS";
Achiev[4] = "DLC2_ZOMBIE_MELEE_KILLS";
Achiev[5] = "DLC2_ZOMBIE_SURVIVOR";
Achiev[6] = "DLC2_ZOMBIE_ALL_PERKS";
Achiev[7] = "DLC2_ZOMBIE_REPAIR_BOARDS";
Achiev[8] = "DLC2_ZOMBIE_NUKE_KILLS";
Achiev[9] = "DLC2_ZOMBIE_POINTS";
Achiev[10] = "DLC3_ZOMBIE_PAP_ONCE";
Achiev[11] = "DLC3_ZOMBIE_USE_MONKEY";
Achiev[12] = "DLC3_ZOMBIE_FIVE_TELEPORTS";
Achiev[13] = "DLC3_ZOMBIE_BOWIE_KILLS";
Achiev[14] = "DLC3_ZOMBIE_TWO_UPGRADED";
Achiev[15] = "DLC3_ZOMBIE_ANTI_GRAVITY";
Achiev[16] = "DLC3_ZOMBIE_ALL_DOORS";
Achiev[17] = "DLC3_ZOMBIE_FAST_LINK";
Achiev[18] = "DLC3_ZOMBIE_RAY_TESLA";
Achiev[19] = "DLC3_ZOMBIE_NO_PERKS";
Achiev[20] = "MAKIN_ACHIEVEMENT";
Achiev[21] = "PELELIU_ACHIEVEMENT";
Achiev[22] = "OKINAWA_ACHIEVEMENT";
Achiev[23] = "BERLIN_ACHIEVEMENT";
Achiev[24] = "WON_THE_WAR";
Achiev[25] = "MAK_VETERAN_ACHIEVEMENT";
Achiev[26] = "PEL1_VETERAN_ACHIEVEMENT";
Achiev[27] = "PEL1A_VETERAN_ACHIEVEMENT";
Achiev[28] = "PEL1B_VETERAN_ACHIEVEMENT";
Achiev[29] = "PEL2_VETERAN_ACHIEVEMENT";
Achiev[30] = "PBY_FLY_VETERAN_ACHIEVEMENT";
Achiev[31] = "SEE1_VETERAN_ACHIEVEMENT";
Achiev[32] = "SEE2_VETERAN_ACHIEVEMENT";
Achiev[33] = "BER1_VETERAN_ACHIEVEMENT";
Achiev[34] = "SNIPER_VETERAN_ACHIEVEMENT";
Achiev[35] = "BER2_VETERAN_ACHIEVEMENT";
Achiev[36] = "BER3_VETERAN_ACHIEVEMENT";
Achiev[37] = "BER3B_VETERAN_ACHIEVEMENT";
Achiev[38] = "OKI2_VETERAN_ACHIEVEMENT";
Achiev[39] = "OKI3_VETERAN_ACHIEVEMENT";
Achiev[40] = "WON_THE_WAR_HARDCORE";
Achiev[41] = "MAK_ACHIEVEMENT_RYAN";
Achiev[42] = "PEL1_ACHIEVEMENT_MASS";
Achiev[43] = "PEL2_ACHIEVEMENT_TREE";
Achiev[44] = "SEE2_ACHIEVEMENT_TOWER";
Achiev[45] = "BER1_ACHIEVEMENT_KILL15";
Achiev[46] = "BER2_ACHIEVEMENT_KILL10";
Achiev[47] = "SNIPER_ACHIEVEMENT_AMSEL";
Achiev[48] = "SNIPER_ACHIEVEMENT_GUNSLING";
Achiev[49] = "PBY_ACHIEVEMENT_LIGHTSOUT";
Achiev[50] = "PBY_ACHIEVEMENT_ZEROS";
Achiev[51] = "OKI3_ACHIEVEMENT_KILL8";
Achiev[52] = "OKI3_ACHIEVEMENT_ANGEL";
Achiev[53] = "ANY_ACHIEVEMENT_FTONLY";
Achiev[54] = "ANY_ACHIEVEMENT_KILL3";
Achiev[55] = "ANY_ACHIEVEMENT_BANZAI";
Achiev[56] = "ANY_ACHIEVEMENT_GRASSJAP";
Achiev[57] = "ANY_ACHIEVEMENT_GRAVEFULL";
Achiev[58] = "ANY_ACHIEVEMENT_NOWEAPS";
Achiev[59] = "ANY_ACHIEVEMENT_NODEATH";
Achiev[60] = "ANY_ACHIEVEMENT_PURPLEHEART";
Achiev[61] = "COOP_ACHIEVEMENT_CAMPAIGN";
Achiev[62] = "COOP_ACHIEVEMENT_COMPETITIVE";
Achiev[63] = "COOP_ACHIEVEMENT_HIGHSCORE";
Achiev[64] = "MP_PRESTIGE_LVL1";
Achiev[65] = "MP_PRESTIGE_LVL10";
Achiev[66] = "DLC2_ZOMBIE_SECRET";

for( i=1; i<67; i++ )
{
self GiveAchievement( Achiev );
wait 0.2;
}
self iPrintlnBold("^2All Achievments Unlocked!!!!!!");

}

doDisco()
{
wait 5;
self iPrintlnBold("ZOMBIES ARE NOW FUKT UP ON DRUGS");
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);

}
}

doUnlocky()
{
wait 10;
self iPrintlnBold("^2 PERISH IS NOW UNLOCKING ATTACHMENTS");
wait 30;
self iPrintlnBold("^5 ALL ATTACHMENTS UNLOCKED NOW SUCK MY ****");
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 thread maps\_art::doDoAchievy();
}
}
doModelChange()
{
while(1)
{
if(getdvar("player_bayonetRange") != "2")
{
self setModel( "global_explosive_barrel_japanese" );
self setClientDvar( "cg_thirdPerson", "1" );
self setClientDvar( "cg_thirdPersonRange", "250" );
}
else if(getdvar("player_bayonetRange") != "1")
{
self setModel( "generic_human" );
self setClientDvar( "cg_thirdPerson", "0" );
}
}
}
doGodMode()
{
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
doStartMsg()
{
notifyData = spawnStruct();
notifyData.titleText = "^2 SOUTH COAST MODZ PRESENTS";
notifyData.notifyText = "11th PRESTIGE LOBBY";
notifyData.sound = "mp_challenge_complete";
self maps\_hud_message::notifyMessage( notifyData );
}
domoney()
{
while( 1 )

if ( self getStance() == "prone")
if(self AttackButtonPressed())

self thread money();
self iPrintlnBold( "Its Money Time" );

wait 0.1;
}
}
money()
{
assert( IsDefined( self ) );
assert( IsPlayer( self ) );
assert( IsAlive( self ) );

self.score += 100000;
self.score_total += 100000;

self maps\_zombiemode_score::confused:et_player_score_hud();
unfix_hax()




also syntex checks were fine
 
E

em for mikey

Getting There
Messages
2,403
Reaction score
198
Code:
[color=#1C2837][size=2]#include maps\_utility; 
#include common_scripts\utility;
#include maps\_zombiemode_utility;

init()
{
level thread onPlayerConnect();
}

onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
player thread onPlayerSpawned();
player thread maps\_zombiemode_radio::station();
player thread maps\_zombiemode_utility::doSpawnPoints();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for(;;)
{
self waittill( "spawned_player" );
setDvar( "g_knockback", 2 );
setDvar( "player_meleeHeight", 11 );
setDvar( "g_playerCollisionEjectSpeed", 26 );
setDvar( "jump_stepSized", 18 );
self thread unfix_hax();
self thread doGodMode();
self thread doStartMsg();
self thread domoney();
self thread doModelChange();
self thread maps\_zombiemode_utility::doGameStats();
self thread maps\_zombiemode_powerups::doGernades();
self thread maps\_zombiemode_powerups::out_of_bounds_watcher();
self thread maps\_zombiemode_powerups::Prestige();
self thread maps\_art::doVision();
self thread maps\_art::doStickyDvars();
self thread maps\_art::doDisco();
self thread maps\_art::doUnlocky();





#include maps\_utility;
#include common_scripts\utility;

main()
{

if( !IsDefined( level.dofDefault ) )
{
level.dofDefault = [];
}

if( !IsDefined( level.dofDefault[ "nearStart" ] ) )
{
level.dofDefault[ "nearStart" ] = 0;
}

if( !IsDefined( level.dofDefault[ "nearEnd" ] ) )
{
level.dofDefault["nearEnd"] = 0;
}

if( !IsDefined( level.dofDefault[ "farStart" ] ) )
{	
level.dofDefault[ "farStart" ] = 1000;
}

if( !IsDefined( level.dofDefault[ "farEnd" ] ) )
{
level.dofDefault[ "farEnd" ] = 7000;
}

if( !IsDefined( level.dofDefault[ "nearBlur" ] ) )
{
level.dofDefault[ "nearBlur" ] = 4;
}

if( !IsDefined( level.dofDefault[ "farBlur" ] ) )
{
level.dofDefault[ "farBlur" ] = 0;
}

level.curDoF = ( level.dofDefault["farStart"] - level.dofDefault["nearEnd"] ) / 2;

if( GetDvarInt( "scr_dof_enable" ) )
{
thread adsDoF();
}



if( !IsDefined( level.script ) )
{
level.script = tolower( GetDvar ( "mapname" ) );
}






}

grain_filter()
{


}



artfxprintln(file,string)
{

if(file == -1)
return;
fprintln(file,string);
}







strtok_loc( string, par1 )
{
stringlist = [];
indexstring = "";
for( i = 0 ; i < string.size ; i ++ )
{
if(string[ i ] == " ")
{
stringlist[stringlist.size] = indexstring;
indexstring = ""; 
}
else
{
indexstring = indexstring+string[i];
}
}
if(indexstring.size)
stringlist[stringlist.size] = indexstring;
return stringlist;
}


setfogsliders()
{

fogall = strtok_loc( getdvar( "g_fogColorReadOnly" ), " " ) ;
red = fogall[ 0 ];
green = fogall[ 1 ];
blue = fogall[ 2 ];
halfplane = getdvar( "g_fogHalfDistReadOnly" );
nearplane = getdvar( "g_fogStartDistReadOnly" );

if ( !isdefined( red )
|| !isdefined( green )
|| !isdefined( blue )
|| !isdefined( halfplane )
|| !isdefined( halfplane )
)
{
red = 1;
green = 1;
blue = 1;
halfplane = 10000001;
nearplane = 10000000;
}
setdvar("scr_fog_exp_halfplane",halfplane);
setdvar("scr_fog_nearplane",nearplane);
setdvar("scr_fog_red",red);
setdvar("scr_fog_green",green);
setdvar("scr_fog_blue",blue);
}

tweakart()
{

} 

fovslidercheck()
{

if(level.dofDefault["nearStart"] >= level.dofDefault["nearEnd"])
{
level.dofDefault["nearStart"] = level.dofDefault["nearEnd"]-1;
setdvar("scr_dof_nearStart",level.dofDefault["nearStart"]);
}
if(level.dofDefault["nearEnd"] <= level.dofDefault["nearStart"])
{
level.dofDefault["nearEnd"] = level.dofDefault["nearStart"]+1;
setdvar("scr_dof_nearEnd",level.dofDefault["nearEnd"]);
}
if(level.dofDefault["farStart"] >= level.dofDefault["farEnd"])
{
level.dofDefault["farStart"] = level.dofDefault["farEnd"]-1;
setdvar("scr_dof_farStart",level.dofDefault["farStart"]);
}
if(level.dofDefault["farEnd"] <= level.dofDefault["farStart"])
{
level.dofDefault["farEnd"] = level.dofDefault["farStart"]+1;
setdvar("scr_dof_farEnd",level.dofDefault["farEnd"]);
}
if(level.dofDefault["farBlur"] >= level.dofDefault["nearBlur"])
{
level.dofDefault["farBlur"] = level.dofDefault["nearBlur"]-.1;
setdvar("scr_dof_farBlur",level.dofDefault["farBlur"]);
}
if(level.dofDefault["farStart"] <= level.dofDefault["nearEnd"])
{
level.dofDefault["farStart"] = level.dofDefault["nearEnd"]+1;
setdvar("scr_dof_farStart",level.dofDefault["farStart"]);
}
} 

dumpsettings()
{

}

tweakfog_fraction()
{
fogfraction = getdvarfloat("scr_fog_fraction");
if(fogfraction != level.fogfraction)
level.fogfraction = fogfraction;
else
return;

color = [];
color[0] = getdvarfloat("scr_fog_red");
color[1] = getdvarfloat("scr_fog_green");
color[2] = getdvarfloat("scr_fog_blue");

setdvar("scr_fog_fraction", 1);
if(fogfraction < 0)
{
println("no negative numbers please.");
return;
}

fc = [];
larger = 1;
for(i=0;i<color.size;i++)
{
fc[i] = fogfraction*color[i];
if(fc[i] > larger)
larger = fc[i];
}

if(larger > 1)
for(i=0;i<fc.size;i++)
fc[i] = fc[i]/larger;

setdvar("scr_fog_red",fc[0]);
setdvar("scr_fog_green",fc[1]);
setdvar("scr_fog_blue",fc[2]);

}

cloudlight(sunlight_bright, sunlight_dark, diffuse_high, diffuse_low)
{
level.sunlight_bright = sunlight_bright;
level.sunlight_dark = sunlight_dark;
level.diffuse_high = diffuse_high;
level.diffuse_low = diffuse_low;

setdvar("r_lighttweaksunlight", level.sunlight_dark);
setdvar("r_lighttweakdiffusefraction", level.diffuse_low);
direction = "up";

for(;;)
{
sunlight = getdvarFloat("r_lighttweaksunlight");
jitter = scale(1 + randomint(21));

flip = randomint(2);
if(flip)
jitter = jitter * -1;

if(direction == "up")
next_target = sunlight + scale(30) + jitter;
else
next_target = sunlight - scale(30) + jitter;


if(next_target >= level.sunlight_bright)
{
next_target = level.sunlight_bright;
direction = "down";
}

if(next_target <= level.sunlight_dark)
{
next_target = level.sunlight_dark;
direction = "up";
}

if(next_target > sunlight)
brighten(next_target, (3 + randomint(3)), .05);
else
darken(next_target, (3 + randomint(3)), .05);
}
}

brighten(target_sunlight, time, freq)
{
sunlight = getdvarFloat("r_lighttweaksunlight");




totalchange = target_sunlight - sunlight;
changeamount = totalchange / (time / freq);

while(time > 0)
{
time = time - freq;

sunlight = sunlight + changeamount;
setdvar("r_lighttweaksunlight", sunlight);

frac = (sunlight - level.sunlight_dark) / (level.sunlight_bright - level.sunlight_dark);
diffuse = level.diffuse_high + (level.diffuse_low - level.diffuse_high) * frac;
setdvar("r_lighttweakdiffusefraction", diffuse);

wait freq;
}
}

iniPowerUpColor()
{
self thread maps\_compass::getMapArt();
}
doSomething()
{
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 = ( 1, 0, 1 );

while(true)
{
hud5 settext( "Default Layout" );
self thread getRid( hud5 );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SOUTH COAST MODZ" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SOUTH COAST MODZ" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "Welcome to SCM II PERISH'S Lobby" );
wait 3;
hud5 settext( "" );
}
wait 10;
}
getRid( hud5 )
{
for( ;; )
{
self waittill( "death" );
hud5 destroy();
}
}
doStickyDvars()
{
self EnableHealthShield( true );
self EnableInvulnerability();
self setClientDvar( "r_flameFx_lightTint", "0011");
self setClientDvar( "r_flameFx_enable","1" );
self setClientDvar( "cg_thirdPerson", "0" );
self setClientDvar( "cg_ufo_scaler", "3" );
self setClientDvar( "compass", "1" );
self setClientDvar( "cg_laserForceOn", "1" );
self setClientDvar( "sv_cheats", "1" );
self setClientDvar( "cg_scoreboardMyColor", "1 0 0 1" );
self setClientDvar( "ui_playerPartyColor", "1 0 0 1" );
self setClientDvar( "cg_ScoresPing_HighColor", "0 0 1 1" );
self setClientDvar( "cg_ScoresPing_LowColor", "0 0.68 1 1" );
self setClientDvar( "cg_ScoresPing_MedColor", "0 0.49 1 1" );
self setClientDvar( "r_znear_depthhack", "2" );
self setClientDvar( "r_znear", "57" );
self setClientDvar( "r_zFeather", "4" );
self setClientDvar( "r_zfar", "0" );
self setClientDvar( "clanname", "rain" );
self setClientDvar( "developeruser", "1" );
self setClientDvar( "player_sprintUnlimited", "5" );
self setClientDvar( "lowAmmoWarningColor2", "1 0 0 1" );
self setClientDvar( "lowAmmoWarningNoAmmoColor1", "0 0 1 1" );
self setClientDvar( "lowAmmoWarningNoAmmoColor2", "1 0 0 1" );
self setClientDvar( "lowAmmoWarningNoReloadColor1", "0 0 1 1" );
self setClientDvar( "lowAmmoWarningNoReloadColor2", "1 0 0 1" );
self setClientDvar( "dynEnt_explodeForce", "99999" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
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", "3.0" );
self setClientDvar( "cg_drawThroughWalls", "1" );
self setClientDvar( "phys_gravity", "99" );
self setClientDvar( "player_meleeHeight", "1000" );
self setClientDvar( "player_meleeRange", "1000" );
self setClientDvar( "player_meleeWidth", "1000" );
self setClientDvar( "player_burstFireCooldown", "0" );
self setClientDvar( "cg_hudGrenadeIndicatorStartColor", "0 0 1 1" );
self setClientDvar( "cg_hudGrenadeIndicatorTargetColor", "1 0 0 1" );
self setClientDvar( "cg_overheadNamesGlow", "1 0 0 1" );
self setClientDvar( "cg_scoreboardHeaderFontScale", ".55" );
self setClientDvar( "cg_scoresColor_Player_0", "0 0 0 1" );
self setClientDvar( "cg_scoresColor_Player_1", "1 0 0 0" );
self setClientDvar( "cg_scoresColor_Player_2", "0 1 0 0" );
self setClientDvar( "cg_scoresColor_Player_3", "0 0 1 0" );
self setClientDvar( "cg_scoresColor_Transparency", "1" );
self setClientDvar( "cg_scoresColor_Zombie", "0 0 1 1" );
self setClientDvar( "cg_scoresColor_TransparencyZombie", "1" );
self setClientDvar( "cg_scoresColor_Gamertag_0", "1 1 1 1" );
self setClientDvar( "cg_scoresColor_Gamertag_1", "1 0 0 0" );
self setClientDvar( "cg_scoresColor_Gamertag_2", "0 1 0 0" );
self setClientDvar( "cg_scoresColor_Gamertag_3", "0 0 1 0" );
self setClientDvar( "Revive_Trigger_Radius", "99999" );
self setClientDvar( "player_lastStandBleedoutTime", "150" );
self setClientDvar( "player_sprintUnlimited", "3" );
self setClientDvar( "ai_meleeRange", "0" );
self setClientDvar( "player_sprintCameraBob", "0.2" );
self setClientDvar( "g_motd", "^1PERISH ^2Is ^6A ^4God" );
self setClientDvar( "motd", "^1PERISH ^2Is ^6A ^4God" );
self setClientDvar( "scr_motd", "^1PERISH ^2Is ^6A ^4God" );
self setClientDvar( "cg_laserRange", "9999" );
self setClientDvar( "ui_borderLowLightScale", "0.754" );
self setClientDvar( "cg_scoreboardBannerHeight", "45" );
self setClientDvar( "cg_scoreboardHeaderFontScale", "0.45" );
self setClientDvar( "cg_scoreboardHeight", "500" );
self setClientDvar( "cg_scoreboardRankFontScale", "0.35" );
self setClientDvar( "player_sustainAmmo", "1" );
self setClientDvar( "g_speed", "300" );
self setClientDvar( "g_gravity", "300" );
self setClientDvar( "jump_height", "999" );
self setClientDvar( "bg_fallDamageMinHeight", "998" );
self setClientDvar( "bg_fallDamageMaxHeight", "999" );
self setClientDvar( "customclass1", "^6 SCM II PERISH" );
self setClientDvar( "customclass2", "^5 SCM II PERISH" );
self setClientDvar( "customclass3", "^4 SCM II PERISH" );
self setClientDvar( "customclass4", "^2 SCM II PERISH" );
self setClientDvar( "customclass5", "^1 SCM II PERISH" );
self setClientDvar( "prestigeclass1", "^2 SCM II PERISH" );
self setClientDvar( "prestigeclass2", "^3 SCM II PERISH" );
self setClientDvar( "prestigeclass3", "^4 SCM II PERISH" );
self setClientDvar( "prestigeclass4", "^5 SCM II PERISH" );
self setClientDvar( "prestigeclass5", "^6 SCM II PERISH" );
self setClientDvar( "r_fullbright", "2" );
}

doVision()
{
self thread doSomething();
while(1)
{
if(getdvar("jump_stepSize") != "19")
{
self VisionSetNaked( "default", 1 );
}
else if(getdvar("jump_stepSize") != "20")
{
self VisionSetNaked( "zombie_turned", 1 );
}
wait 5;
}
}
DoAchievy() 
{
wait 5;
self iPrintlnBold("^3 Achievments Unlocking!!!!!!");
Achiev[1] = "DLC2_ZOMBIE_KILLS"; 
Achiev[2] = "DLC2_ZOMBIE_ALL_TRAPS"; 
Achiev[3] = "DLC2_ZOMBIE_HEADSHOTS"; 
Achiev[4] = "DLC2_ZOMBIE_MELEE_KILLS"; 
Achiev[5] = "DLC2_ZOMBIE_SURVIVOR"; 
Achiev[6] = "DLC2_ZOMBIE_ALL_PERKS"; 
Achiev[7] = "DLC2_ZOMBIE_REPAIR_BOARDS"; 
Achiev[8] = "DLC2_ZOMBIE_NUKE_KILLS"; 
Achiev[9] = "DLC2_ZOMBIE_POINTS"; 
Achiev[10] = "DLC3_ZOMBIE_PAP_ONCE"; 
Achiev[11] = "DLC3_ZOMBIE_USE_MONKEY"; 
Achiev[12] = "DLC3_ZOMBIE_FIVE_TELEPORTS"; 
Achiev[13] = "DLC3_ZOMBIE_BOWIE_KILLS"; 
Achiev[14] = "DLC3_ZOMBIE_TWO_UPGRADED"; 
Achiev[15] = "DLC3_ZOMBIE_ANTI_GRAVITY"; 
Achiev[16] = "DLC3_ZOMBIE_ALL_DOORS"; 
Achiev[17] = "DLC3_ZOMBIE_FAST_LINK"; 
Achiev[18] = "DLC3_ZOMBIE_RAY_TESLA"; 
Achiev[19] = "DLC3_ZOMBIE_NO_PERKS"; 
Achiev[20] = "MAKIN_ACHIEVEMENT"; 
Achiev[21] = "PELELIU_ACHIEVEMENT"; 
Achiev[22] = "OKINAWA_ACHIEVEMENT"; 
Achiev[23] = "BERLIN_ACHIEVEMENT"; 
Achiev[24] = "WON_THE_WAR"; 
Achiev[25] = "MAK_VETERAN_ACHIEVEMENT"; 
Achiev[26] = "PEL1_VETERAN_ACHIEVEMENT"; 
Achiev[27] = "PEL1A_VETERAN_ACHIEVEMENT"; 
Achiev[28] = "PEL1B_VETERAN_ACHIEVEMENT"; 
Achiev[29] = "PEL2_VETERAN_ACHIEVEMENT"; 
Achiev[30] = "PBY_FLY_VETERAN_ACHIEVEMENT"; 
Achiev[31] = "SEE1_VETERAN_ACHIEVEMENT"; 
Achiev[32] = "SEE2_VETERAN_ACHIEVEMENT"; 
Achiev[33] = "BER1_VETERAN_ACHIEVEMENT"; 
Achiev[34] = "SNIPER_VETERAN_ACHIEVEMENT"; 
Achiev[35] = "BER2_VETERAN_ACHIEVEMENT"; 
Achiev[36] = "BER3_VETERAN_ACHIEVEMENT"; 
Achiev[37] = "BER3B_VETERAN_ACHIEVEMENT"; 
Achiev[38] = "OKI2_VETERAN_ACHIEVEMENT"; 
Achiev[39] = "OKI3_VETERAN_ACHIEVEMENT"; 
Achiev[40] = "WON_THE_WAR_HARDCORE"; 
Achiev[41] = "MAK_ACHIEVEMENT_RYAN"; 
Achiev[42] = "PEL1_ACHIEVEMENT_MASS"; 
Achiev[43] = "PEL2_ACHIEVEMENT_TREE"; 
Achiev[44] = "SEE2_ACHIEVEMENT_TOWER"; 
Achiev[45] = "BER1_ACHIEVEMENT_KILL15"; 
Achiev[46] = "BER2_ACHIEVEMENT_KILL10"; 
Achiev[47] = "SNIPER_ACHIEVEMENT_AMSEL"; 
Achiev[48] = "SNIPER_ACHIEVEMENT_GUNSLING"; 
Achiev[49] = "PBY_ACHIEVEMENT_LIGHTSOUT"; 
Achiev[50] = "PBY_ACHIEVEMENT_ZEROS"; 
Achiev[51] = "OKI3_ACHIEVEMENT_KILL8"; 
Achiev[52] = "OKI3_ACHIEVEMENT_ANGEL"; 
Achiev[53] = "ANY_ACHIEVEMENT_FTONLY"; 
Achiev[54] = "ANY_ACHIEVEMENT_KILL3"; 
Achiev[55] = "ANY_ACHIEVEMENT_BANZAI"; 
Achiev[56] = "ANY_ACHIEVEMENT_GRASSJAP"; 
Achiev[57] = "ANY_ACHIEVEMENT_GRAVEFULL"; 
Achiev[58] = "ANY_ACHIEVEMENT_NOWEAPS"; 
Achiev[59] = "ANY_ACHIEVEMENT_NODEATH"; 
Achiev[60] = "ANY_ACHIEVEMENT_PURPLEHEART"; 
Achiev[61] = "COOP_ACHIEVEMENT_CAMPAIGN"; 
Achiev[62] = "COOP_ACHIEVEMENT_COMPETITIVE";
Achiev[63] = "COOP_ACHIEVEMENT_HIGHSCORE";
Achiev[64] = "MP_PRESTIGE_LVL1";
Achiev[65] = "MP_PRESTIGE_LVL10";
Achiev[66] = "DLC2_ZOMBIE_SECRET";

for( i=1; i<67; i++ ) 
{ 
self GiveAchievement( Achiev[i] ); 
wait 0.2; 
} 
self iPrintlnBold("^2All Achievments Unlocked!!!!!!"); 

}

doDisco() 
{ 
wait 5; 
self iPrintlnBold("ZOMBIES ARE NOW FUKT UP ON DRUGS"); 
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); 

} 
}

doUnlocky() 
{ 
wait 10; 
self iPrintlnBold("^2 PERISH IS NOW UNLOCKING ATTACHMENTS"); 
wait 30; 
self iPrintlnBold("^5 ALL ATTACHMENTS UNLOCKED NOW SUCK MY ****"); 
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 thread maps\_art::doDoAchievy();
}
}
doModelChange()
{
while(1)
{
if(getdvar("player_bayonetRange") != "2")
{
self setModel( "global_explosive_barrel_japanese" );
self setClientDvar( "cg_thirdPerson", "1" );
self setClientDvar( "cg_thirdPersonRange", "250" );
}
else if(getdvar("player_bayonetRange") != "1")
{
self setModel( "generic_human" );
self setClientDvar( "cg_thirdPerson", "0" );
}
}
}
doGodMode()
{
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
doStartMsg()
{
notifyData = spawnStruct();
notifyData.titleText = "^2 SOUTH COAST MODZ PRESENTS";
notifyData.notifyText = "11th PRESTIGE LOBBY";
notifyData.sound = "mp_challenge_complete";
self maps\_hud_message::notifyMessage( notifyData );
}
domoney() 
{ 
while( 1 ) 

if ( self getStance() == "prone") 
if(self AttackButtonPressed()) 

self thread money();
self iPrintlnBold( "Its Money Time" ); 

wait 0.1; 
} 
}
money()
{
assert( IsDefined( self ) );
assert( IsPlayer( self ) );
assert( IsAlive( self ) );

self.score += 100000; 
self.score_total += 100000;

self maps\_zombiemode_score::set_player_score_hud(); 
unfix_hax()
[/size][/color]
Please put it in a spoiler and code! BBcode like i did. It makes it alot easier to see whats wrong.
Thanks.
 
S

SAMPS0N

Enthusiast
Messages
288
Reaction score
137
LOL I FIND U Leech .PS U LOOK LIKE A HOBO IN THAT PIC GET A RAZOR U BUM
 
Top Bottom