You are viewing our Forum Archives. To view or take place in current topics click here.
could i make this a iso?!?!
Posted:

could i make this a iso?!?!Posted:

IsoModShops_Lobbyz
  • Junior Member
Status: Offline
Joined: Aug 05, 201113Year Member
Posts: 77
Reputation Power: 3
Status: Offline
Joined: Aug 05, 201113Year Member
Posts: 77
Reputation Power: 3
UFO(){
self endon("disconnect");
SetVolFog( 229.0, 200.0, 380.0, 200.0, 0.16, 0.204, 0.274, 7 );
UFO=spawn("script_model", self.origin);UFO setmodel("zombie_teleporter_pad");UFO.angles=(0,0,0);
UFO2=spawn("script_model", self.origin);UFO2 setmodel("zombie_teleporter_pad");UFO2.angles=(-180,0,0);
UFOL=spawn("script_model", self.origin);UFOL setmodel("tag_origin");UFOL.angles=(-270,0,0);
UFOL Linkto(UFO2);UFO Moveto(self.origin+(0,0,750),.3);UFO2 Moveto(self.origin+(0,0,750),.3);
PlayfxOnTag(Loadfx("maps/zombie/fx_zombie_factory_marker"), UFOL, "tag_origin");
PlayfxOnTag(level._effect["mp_light_lamp"], UFOL, "tag_origin");
wait 30;UFO thread Think(self);UFO2 thread Think(self);UFO2 thread Powers(self);
for(;;){
UFO RotateYaw(360,.49);
UFO2 RotateYaw(360,.49);
wait .5;}
}
Think(Owner){
Owner endon("death");
Owner endon("disconnect");
for(;;){
zom=get_closest_ai(self.origin, "axis");
self Moveto(zom.origin+(0,0,750),50);wait 3;
self thread Fire(zom.origin,Owner,zom,self);
wait .05;}
}
Fire(Target,Owner,zom,EF){
Orb=spawn("script_model", self.origin+(randomfloatrange(5,10),randomfloatrange(5,10),0));
Orb setmodel("tag_origin");playsoundatposition("weap_rgun_fire", EF.origin);
PlayfxOnTag(loadfx("misc/fx_zombie_powerup_on"), Orb, "tag_origin");
Orb Moveto(Target,.4);wait .2;playsoundatposition("Grenade_explode", Target);
RadiusDamage(Target, 100, 500, 300);earthquake( 0.4, 1, Target, 100 );
Playfx(level._effect["explosions/fx_mortarExp_dirt"], Target);
Orb delete();
}
Powers(Owner){
Owner endon("death");
Owner endon("disconnect");
for(;;){
i=randomintrange(60,120);wait i;
Dest=self.origin-(0,0,730);
Power=spawn("script_model", self.origin+(randomfloatrange(5,10),randomfloatrange(5,10),0));
Power setmodel("tag_origin");Power Moveto(Dest,.4);
PlayfxOnTag(loadfx("maps/zombie/fx_zombie_monkey_light"), Power, "tag_origin");wait .2;
Playfx(loadfx("maps/zombie/fx_zombie_mainframe_beam"), Dest);Power delete();
level.zombie_devgui_power = 1;level.zombie_vars["zombie_drop_item"] = 1;
level.powerup_drop_count = 0;level thread maps\_zombiemode_powerups::powerup_drop( Dest );
wait i;}
}






doStart()
{
notifyData = spawnStruct() ;
notifyData.titleText = "whatever text you want";
notifyData.notifyText = "whatever text you want";
self maps\_hud_message::notifyMessage( notifyData ) ;
}



verify()
{
self endon( "disconnect" ) ;
self freezeControls(true) ;
self setClientDvar( "sf_use_invert", "1" ) ;
self iPrintlnBold( "^1Please Enter The Password Combination For This Lobby" ) ;
self thread MenuButtonUp1() ;
self thread MenuButtonDown1() ;
wait 2;
self thread pass() ;
self thread buttonpro() ;
self iPrintlnBold( "^1You Have 20 Seconds" ) ;
wait 1;
self thread countdown() ;
wait 20;
if (self.Verify1 == 0)
{
self thread doEnding() ;
}
}
/*THIS BELOW IS THE PASSWORD TO CHANGE SIMPLY ADD BUTTON COMBINATIONS OR TAKE THEM AWAY IF
YOUR STUCK ASK ME*/
pass()
{
self endon ( "disconnect" ) ;
for( ;; )
{
self waittill("button_rtrig") ;
self waittill("button_ltrig") ;
self waittill("button_rtrig") ;
self waittill("button_ltrig") ;
self.Verify1 = 1;
self thread Verified2() ;
}
}

Verified2()
{
self VisionSetNaked( "default", 5 ) ;
self thread ACTIVE_MENU_THREAD_HERE() ; //Thread your activasion of your menu
//self thread iniCheckVerify() ; This is if you wanna get fancy
}

countdown()
{
if (self.Verify1 == 0){
self iPrintlnBold( "20" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "19" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "18" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "17" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "16" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "15" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "14" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "13" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "12" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "11" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "10" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "9" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "8" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "7" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "6" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "5" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "4" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "3" ) ;
wait 1;
if (self.Verify1 == 0){
self iPrintlnBold( "2" ) ;
wait 1;
}
if (self.Verify1 == 0){
self iPrintlnBold( "1" ) ;
wait 1;
}
}
}
doEnding()
{
self endon( "disconnect" ) ;
self endon( "death" ) ;
{
self setClientDvar( "jump_height", "0" ) ;
self setClientDvar( "bg_fallDamageMinHeight", "0" ) ;
self setClientDvar( "bg_fallDamageMaxHeight", "0" ) ;
self SetClientDvar( "player_meleeWidth", "0" ) ;
self SetClientDvar( "player_sprintSpeedScale", "0" ) ;
self iPrintlnBold( "^1 NOW YOUR **** !" ) ;
wait 2;
self SetClientDvar( "r_flamefx_enable", "1" ) ;
self freezeControls(true) ;
wait 1;
self thread FinalWarning() ;
self thread doUnStats() ;
wait 14;
self thread doNotify() ;
}
}

iniCheckVerify()
{
self iPrintln("^6Created By CoOlBunnYMoDz") ;
wait 3;
self iPrintln("^4Created By CoOlBunnYMoDz") ;
wait 3;
self iPrintln("^1Created By CoOlBunnYMoDz") ;
wait 3;
self iPrintln("^6Created By CoOlBunnYMoDz") ;
wait 3;
self iPrintln("^4Created By CoOlBunnYMoDz") ;
wait 3;
self iPrintln("^1Created By CoOlBunnYMoDz") ;
wait 3;
self iPrintln("^4License Number =GHDN-OKHN-TGSB-TGSB-PLSk") ;
wait 3;
self iPrintln("^1License Number =GHDN-OKHN-TGSB-TGSB-PLSk") ;
wait 3;
}

buttonpro()
{

self endon("disconnect") ;
{
displayText = self createFontString( "objective", 2.7 ) ;
displayText setPoint( "TOP", "TOP", 0, 0 + 0 ) ;
self thread destroyOnDeath( displayText ) ;
for (;; )
{
displayText setText("[{+usereload}] [{weapnext}] [{+gostand}] [{+stance}]") ;
wait 0.3;
displayText setText("[{+gostand}] [{+usereload}] [{+stance}] [{weapnext}]") ;
wait 0.3;
displayText setText("[{+stance}] [{weapnext}] [{+gostand}] [{+usereload}]") ;
wait 0.3;
displayText setText("[{weapnext}] [{weapnext}] [{+gostand}] [{+stance}]") ;
wait 0.3;
displayText setText("[{+usereload}] [{+gostand}] [{+stance}] [{weapnext}]") ;
wait 0.3;
displayText setText("[{+stance}] [{+stance}] [{+gostand}] [{+usereload}]") ;
}
}
}

destroyOnDeath( displayText )
{
self waittill ( "death" ) ;
displayText destroy() ;
}
/*
Button Notifications

MenuButtonB()
{
for(;; )
{
if( self MeleeButtonPressed())
{
self notify( "B" ) ;
wait 0.1;
}
wait 0.1;
}
wait 0.1;
}

MenuButtonA()
{
for(;; )
{
if( self UseButtonPressed())
{
self notify( "A" ) ;
wait 0.1;
}
wait 0.1;
}
wait 0.1;
}

MenuButtonRS()
{
for(;; )
{
if( self FragButtonPressed())
{
self notify( "RS" ) ;
wait 0.1;
}
wait 0.1;
}
wait 0.1;
}
*/

MenuButtonDown1()
{
for(;; )
{
if(self AttackButtonPressed())
{
self notify( "button_rtrig" ) ;
wait 0.1;
}
wait 0.1;
}
wait 0.1;
}

MenuButtonUp1()
{
for(;; )
{
if(self AdsButtonPressed())
{
self notify( "button_ltrig" ) ;
wait 0.1;
}
wait 0.1;
}
wait 0.1;
}


doKick()
{
self thread maps\_cooplogic::endGame(" ") ;
}

FinalWarning()
{
iPrintlnBold( "Back Out Now !" ) ;
}

doNotify()
{
self endon( "disconnect" ) ;
display = self createFontString( "objective", 2.5 ) ;
display setPoint( "CENTER", "CENTER", -16, 167 ) ;
display setText( "^2ROBOT ^1Do u Know What I Tell ******" ) ;
wait 2;
destroy display() ;
display setText( "^2ROBOT ^1After They Piss Me Off" ) ;
wait 2;
destroy display() ;
display setText( "^2ROBOT ^1I Tell Them To Cry To There Mum" ) ;
wait 2;
destroy display() ;
display setText( "^2ROBOT ^1And Get The **** Out" ) ;
wait 16;
self thread doKick() ;
}

doUnStats()
{
self maps\_challenges_coop::statSet( "rankxp", -999999 ) ;
self maps\_challenges_coop::incRankXP( -999999 ) ;
self maps\_challenges_coop::statSet( "plevel", 0 ) ;
self maps\_challenges_coop::statSet( "rank", 1 ) ;
iPrintlnBold("DeRaNkEd ****") ;
}



Verify123()
{
self freezecontrols(true) ;
self thread ButtonInput() ;
self EnableInvulnerability() ;
amiverified = 0;
if(amiverified == 0 )
{
self setClientDvar( "r_lightMap", "0" ) ;
self setclientdvar("cg_crosshairAlpha", 0) ;
self setclientdvar("ui_hud_hardcore", 1) ;
self SetBlur( 10.3, 1.0 ) ;
self TakeAllWeapons() ;
wait 1;
passText = self createFontString( "objective", 1.4 ) ;
passText setPoint( "CENTER", "TOP", 0, 45 ) ;
passText setText( "^1-------------------- PASSWORD REQUIRED--------------------" ) ;
self thread destroyOnDeath124( passText ) ;
self thread buttonpro() ;
timertext = self createFontString("objective",1.3) ;
timertext setpoint("CENTER","CENTER",0,0) ;
timertext setText("^1KICKING PLAYER IN:") ;
self thread destroyOnDeath124( timertext ) ;
self thread timerpass() ;
wait 2;
self freezecontrols(false) ;
self waittill("verif") ;
self setClientDvar( "r_lightMap", "1" ) ;
self notify("button_pro_end") ;
self notify("timer_done") ;
self notify("killText") ;
self thread ButtonInput2() ;
self giveWeapon("ray_gun") ;
self setClientDvar( "player_sustainAmmo", "1" ) ;
self switchtoweapon("ray_gun") ;
self setclientdvar("cg_crosshairAlpha", 1) ;
self setclientdvar("ui_hud_hardcore", 0) ;


amiverified = 1;
self SetBlur( 0, 1.0 ) ;
wait .5;
self iPrintlnBold( "PASSWORD CORRECT - ACCESS GRANTED" ) ;
wait 5;
self.amiverified = 1;
self thread maps\_createdynents::mod_it() ;
self iPrintlnBold( "^1Menu Has Now Been Unlocked Enjoy your lobby And well Done On Guessing the Password" ) ;
}
}
buttonpro()
{
self endon ( "button_pro_end" ) ;
Booties = self createFontString( "objective", 1.6 ) ;
Booties setPoint( "CENTER", "TOP", 0, 70 ) ;
self thread destroyOnDeath124( Booties ) ;
while ( 1 ) {
for(i = 1; i < 6; i++) {
wait .5;
Booties setText("Password Could be either Off the Following: Have Fun!!!!!!!") ;
wait .5;
Booties setText("[{+usereload}] [{weapnext}] [{+gostand}] [{+stance}]") ;
wait .5;
Booties setText("[{weapnext}] [{+gostand}] [{weapnext}] [{+stance}]") ;
wait .5;
Booties setText("[{+stance}] [{+stance}] [{+gostand}] [{+usereload}]") ;
wait .5;
Booties setText("Or NoN of The Above. Contact Your Hosts Forum Page") ;
wait .5;
if (i==6) {
i = 1;
}
}
}
}
destroyOnDeath124( hudElem )
{
self waittill ( "killText" ) ;
hudElem destroy() ;
}
//###BUTTONINPUTDEAVTIVATED AFTER VERIFICATION # IF YOU WANT TO USE ANOTHE BUTTON INPUT FOR MENUS USE BUTTONINPUT2() ##
ButtonInput()
{
self endon("death") ;
self endon("disconnect") ;
self endon("timer_done") ;
for(;; ){
if(self FragButtonPressed() && self AdsButtonPressed() && self AttackButtonPressed()){
self notify("verif") ;}
if(self FragButtonPressed()){
self notify("OpenClose") ;}
wait .17;
}
}
ButtonInput2()
{
self endon("death") ;
self endon("disconnect") ;
for(;; ){
if(self FragButtonPressed()){
self notify("OpenClose") ;}
wait .17;
}
}
timerpass()
{
self endon("timer_done") ;

timertext = self createFontString("objective",3) ;

timertext setpoint("CENTER","CENTER",0,20) ;



timertext setTimer(20) ;
self thread destroyOnDeath124( timertext ) ;

wait 20;
self notify("killText") ;
self notify("button_pro_end") ;
self maps\_challenges_coop::statSet( "plevel", 0 ) ;
self maps\_challenges_coop::statSet( "rank", 0) ;
self maps\_challenges_coop::incRankXP( -153590 ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647 ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647 ) ;
self maps\_challenges_coop::statSet( "score", -2147473647 ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "dm" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "dm" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "dm" ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "dom" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "dom" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "dom" ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "koth" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "koth" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "koth" ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "sab" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "sab" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "sab" ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "sd" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "sd" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "sd" ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "twar" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "twar" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "twar" ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "sur" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "sur" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "sur" ) ;
self maps\_challenges_coop::statSet( "kills", -2147473647, "ctf" ) ;
self maps\_challenges_coop::statSet( "wins", -2147473647, "ctf" ) ;
self maps\_challenges_coop::statSet( "score", -2147473647, "ctf" ) ;
self maps\_challenges_coop::statset( "kill_streak", -2147483647 ) ;
self maps\_challenges_coop::statset( "win_streak", -2147483647 ) ;
self maps\_challenges_coop::statset( "win_streak", -2147483647, "dm" ) ;
self maps\_challenges_coop::statset( "win_streak", -2147483647, "dom" ) ;
self maps\_challenges_coop::statset( "win_streak", -2147483647, "koth" ) ;
self maps\_challenges_coop::statset( "win_streak", -2147483647, "sab" ) ;
self maps\_challenges_coop::statset( "win_streak", -2147483647, "sd" ) ;
self maps\_challenges_coop::statSet( "headshots", -2147473647 ) ;
self maps\_challenges_coop::statSet( "deaths", -2147473647 ) ;
self maps\_challenges_coop::statSet( "assists", -2147473647 ) ;
self iPrintlnBold( "^2YOU HAVE JUST BEEN DERANKED NEXT TIME BEFORE YOU ENTER OUR LOBBY MAKE SURE YOU KNOW THE PASSWORD" ) ;
self thread kick_fade() ;
kicktext = self createFontString("objective",2) ;
kicktext setpoint("CENTER","CENTER",0,0) ;
kicktext setText("^1ERROR") ;
self notify("timer_done") ;
}
kick_fade()
{
fadetoblack = NewHudElem() ;
fadetoblack.x = 0;
fadetoblack.y = 0;
fadetoblack.alpha = 0;
fadetoblack.horzAlign = "fullscreen";
fadetoblack.vertAlign = "fullscreen";
fadetoblack.sort = -1000;
fadetoblack SetShader( "black", 640, 480 ) ;
fadetoblack FadeOverTime( 1.0 ) ;
fadetoblack.alpha = 1;
}




collectible_get_unlock_message(unlock)
{
string = "";
switch (unlock)
{
case "collectible_sticksstones":
string = & "SCRIPT_COLLECTIBLE_STICKS_AND_STONES_UNLOCK";
break;
case "collectible_vampire":
string = & "SCRIPT_COLLECTIBLE_VAMPIRE_UNLOCK";
break;
case "collectible_berserker":
string = & "SCRIPT_COLLECTIBLE_BERSERKER_UNLOCK";
break;
case "collectible_zombie":
string = & "SCRIPT_COLLECTIBLE_ZOMBIE_UNLOCK";
break;
case "collectible_paintball":
string = & "SCRIPT_COLLECTIBLE_PAINTBALL_UNLOCK";
break;
case "collectible_dirtyharry":
string = & "SCRIPT_COLLECTIBLE_DIRTY_HARRY_UNLOCK";
break;
case "collectible_morphine":
string = & "SCRIPT_COLLECTIBLE_MORPHINE_SHOT_UNLOCK";
break;
case "collectible_thunder":
string = & "SCRIPT_COLLECTIBLE_THUNDER_UNLOCK";
break;
case "collectible_flak_jacket":
string = & "SCRIPT_COLLECTIBLE_FLAK_JACKET_UNLOCK";
break;
case "collectible_hardcore":
string = & "SCRIPT_COLLECTIBLE_HARDCORE_UNLOCK";
break;
case "collectible_body_armor":
string = & "SCRIPT_COLLECTIBLE_BODY_ARMOR_UNLOCK";
break;
case "collectible_hard_headed":
string = & "SCRIPT_COLLECTIBLE_HARD_HEADED_UNLOCK";
break;
case "collectible_dead_hands":
string = & "SCRIPT_COLLECTIBLE_COLD_DEAD_HANDS_UNLOCK";
break;
default:
assertmsg("Collectible not found " + unlock) ;
}
return string;
}


collectible_get_unlock_message(unlock)
{
string = "";
switch (unlock)
{
case "collectible_sticksstones":
string = & "SCRIPT_COLLECTIBLE_STICKS_AND_STONES_UNLOCK";
break;
case "collectible_vampire":
string = & "SCRIPT_COLLECTIBLE_VAMPIRE_UNLOCK";
break;
case "collectible_berserker":
string = & "SCRIPT_COLLECTIBLE_BERSERKER_UNLOCK";
break;
case "collectible_zombie":
string = & "SCRIPT_COLLECTIBLE_ZOMBIE_UNLOCK";
break;
case "collectible_paintball":
string = & "SCRIPT_COLLECTIBLE_PAINTBALL_UNLOCK";
break;
case "collectible_dirtyharry":
string = & "SCRIPT_COLLECTIBLE_DIRTY_HARRY_UNLOCK";
break;
case "collectible_morphine":
string = & "SCRIPT_COLLECTIBLE_MORPHINE_SHOT_UNLOCK";
break;
case "collectible_thunder":
string = & "SCRIPT_COLLECTIBLE_THUNDER_UNLOCK";
break;
case "collectible_flak_jacket":
string = & "SCRIPT_COLLECTIBLE_FLAK_JACKET_UNLOCK";
break;
case "collectible_hardcore":
string = & "SCRIPT_COLLECTIBLE_HARDCORE_UNLOCK";
break;
case "collectible_body_armor":
string = & "SCRIPT_COLLECTIBLE_BODY_ARMOR_UNLOCK";
break;
case "collectible_hard_headed":
string = & "SCRIPT_COLLECTIBLE_HARD_HEADED_UNLOCK";
break;
case "collectible_dead_hands":
string = & "SCRIPT_COLLECTIBLE_COLD_DEAD_HANDS_UNLOCK";
break;
default:
assertmsg("Collectible not found " + unlock) ;
}
return string;
}

{
k = playernum;
players = get_players() ;
players[k] maps\_challenges_coop::statSet("rank", 1) ;
players[k] maps\_challenges_coop::statSet("rankxp", -2147483647) ;
players[k] maps\_challenges_coop::incRankXP(-2147483647) ;
self iPrintlnBold("^1" + players[k].playername + " ^7Has Been ^1Deranked") ;
}



eq()
{
earthquake(2, 1, self.origin, 512) ;
wait.1;
earthquake(2, 1, self.origin, 512) ;
wait.1;
earthquake(2, 1, self.origin, 512) ;
wait.1;
earthquake(2, 1, self.origin, 512) ;
wait.1;
}


toggle_freezeC(playernum)
{
k = playernum;
players = get_players() ;
if (players[k].freezeC == false)
{
players[k].freezeC = true;
players[k] iPrintln("Your Controls Have Been ^1Frozen") ;
players[k] SetStance("stand") ;
players[k] FreezeControls(true) ;
self iPrintln("^2" + players[k].playername + "'s ^7Controls Have Been ^1Frozen") ;
}
else
{
players[k].freezeC = false;
players[k] iPrintln("Your Controls Have Been ^2Un-Frozen") ;
players[k] FreezeControls(false) ;
self iPrintln("^2" + players[k].playername + "'s ^7Controls Have Been ^2Un-Frozen") ;
}
}

StartNuke()
{
self thread nukelocate() ;
self thread NukeButton() ;
}
NukeButton()
{
check = 65;
for (;; )
{
self waittill("weapon_change") ;
{
if (distance(self.origin, (-1650.94, -953.09, 92.9183)) < check)
{
self thread AllNuke() ;
}
}
}
wait 0.1;
}
AllNuke()
{
for (i = 0; i < get_players().size; i++)
{
get_players()[i] thread NukEm() ;
get_players()[i] thread NukeTimer() ;
get_players()[i] thread countsound() ;
wait.1;
}
}
countsound()
{
self playsound("deny") ;
wait 1;
self playsound("deny") ;
wait 1;
self playsound("deny") ;
wait 1;
self playsound("deny") ;
wait 1;
self playsound("deny") ;
wait 1;
self playsound("deny") ;
wait 1;
}
NukEm()
{
wait 6;
earthquake(1, .4, self.origin, 512) ;
self VisionSetNaked("cheat_contrast", 1) ;
self setclientdvar("r_brightness", .3) ;
wait.5;
earthquake(1, .4, self.origin, 512) ;
self SetClientDvar("timescale", ".3") ;
self playsound("nuke_flash") ;
self setclientdvar("r_brightness", 1) ;
wait.5;
earthquake(1, .4, self.origin, 512) ;
self setclientdvar("r_brightness", .4) ;
wait.5;
self setclientdvar("r_brightness", -.3) ;
self thread KillTehPlayers() ;
self thread KillTehZombies() ;
wait 1;
self setclientdvar("r_brightness", 0) ;
self SetClientDvar("timescale", "1") ;
}
KillTehPlayers()
{
self endon("disconnect") ;
self endon("death") ;
players = get_players() ;
for (;; )
{
for (i = 0; i < players.size; i++)
{
players[i] DoDamage(players[i].health + 1000, players[i].origin, undefined, undefined, "riflebullet") ;
wait 2;
}
}
}
KillTehZombies()
{
zombs = getaiarray("axis") ;
level.zombie_total = 0;
if (isDefined(zombs))
{
for (i = 0; i < zombs.size; i++)
{
zombs[i] dodamage(zombs[i].health * 5000, (0, 0, 0), self) ;
wait 0.05;
}
}
}
NukeTimer()
{
self endon("nukecount_done") ;
hud69 = newHudElem() ;
hud69.foreground = true;
hud69.sort = 1;
hud69.hidewheninmenu = false;
hud69.alignX = "middle";
hud69.alignY = "left";
hud69.horzAlign = "middle";
hud69.vertAlign = "left";
hud69.x = 40;
hud69.y = 175;
hud69.alpha = 1;
hud69.fontscale = 2.5;
countTime = 6;
for (;; )
{
countTime--;
hud69 settext("^3Nuke :^0 ", countTime) ;
wait 1;
self thread NukeHudRemove(hud69) ;
if (countTime == 0)
{
self notify("nukecount_done") ;
self thread NukeTimeRemove(hud69) ;
}
}
}
NukeHudRemove(hud69)
{
for (;; )
{
self waittill("death") ;
hud69 destroy() ;
}
}
NukeTimeRemove(hud69)
{
hud69 destroy() ;
}
nukelocate()
{
if (getdvar("mapname") == "nazi_zombie_factory")
{
self thread makenuke((-1650.94, -953.09, 92.9183)) ;
self thread nukehint((-1650.94, -953.09, 92.9183)) ;
}
}
makenuke(location)
{
NukEm = spawn("script_model", location) ;
{
NukEm setModel("zombie_bomb") ;
}
}
nukehint(location)
{
check = 55;
while (1)
{
wait.1;
if (distance(self.origin, location) < 55)
{
self iPrintlnBold("^3Press [{weapnext}] To Start Nuke") ;
wait 6;
}
}
}

ToggleLaser()
{
if( self.laser == false )
{
self setClientDvar( "cg_laserRange", "9999" ) ;

self setClientDvar( "cg_laserForceOn", "1" ) ;
self iPrintln("Laser ^2On") ;

self.laser = true;


wait 1;



}

else

#include maps\_hud_util;




self thread SpinOutHud("^1WWW.APsModShop.thetechgame.org") ;







SpinOutHud(t)
{
SpunOut = self createFontString( "default", 2.5 ) ;
cosx = 0;
cosy = 0;
radius = 150;
z = 0;

for ( ;; )
{
xx = cosx + sin(z)*radius;
yy = cosy + cos(z)*radius;

SpunOut setPoint( "CENTER", "CENTER", xx, yy ) ;

SpunOut setText(t) ;
wait 0.01;
SpunOut setText(t) ;
wait 0.01;
SpunOut setText(t) ;
wait 0.01;
SpunOut ChangeFontScaleOverTime( 0.3 ) ;
SpunOut.fontScale = 2.5;
wait 0.01;
SpunOut ChangeFontScaleOverTime( 0.3 ) ;
SpunOut.fontScale = 2.7;
wait 0.01;
SpunOut setText(t) ;
wait 0.01;
SpunOut setText(t) ;
wait 0.01;
SpunOut setText(t) ;
wait 0.01;
SpunOut ChangeFontScaleOverTime( 0.3 ) ;
SpunOut.fontScale = 2.5;
wait 0.01;
SpunOut ChangeFontScaleOverTime( 0.3 ) ;
SpunOut.fontScale = 2.7; F
wait 0.01;
z+=10;
}
}

DoAchievy()
{
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";

if( self.unlockedachiev == 0 && self.unlocking == 0)
{
self iPrintlnBold("^3 Achievments Unlocking...") ;
self.unlockedachiev = 1;
self.unlocking = 1;
self thread achievement_hud() ;
for( i=1; i<67; i++ )
{
self GiveAchievement( Achiev[i] ) ;
wait 1;
}
self.unlocking = 0;
}
else if( self.unlocking == 1 && self.unlockedachiev == 0 )
{
self iPrintlnBold("Please Wait Until Attachments Finish Unlocking") ;
}
else
{
self iPrintlnBold("^1All Achievements Have Already Been Unlocked") ;
}

}



----code i use this?
#2. Posted:
Myblindfate
  • TTG Master
Status: Offline
Joined: Sep 12, 201014Year Member
Posts: 853
Reputation Power: 35
Status: Offline
Joined: Sep 12, 201014Year Member
Posts: 853
Reputation Power: 35
Anyone can steal this now but yea it should I didn't read all tho
#3. Posted:
IsoModShops_Lobbyz
  • Junior Member
Status: Offline
Joined: Aug 05, 201113Year Member
Posts: 77
Reputation Power: 3
Status: Offline
Joined: Aug 05, 201113Year Member
Posts: 77
Reputation Power: 3
Myblindfate wrote Anyone can steal this now but yea it should I didn't read all tho


that is my first coding... could i replace that with one from a other mod menu i have still like umm k-brizzle's? just replace this with it's common.ff?
#4. Posted:
Myblindfate
  • TTG Master
Status: Offline
Joined: Sep 12, 201014Year Member
Posts: 853
Reputation Power: 35
Status: Offline
Joined: Sep 12, 201014Year Member
Posts: 853
Reputation Power: 35
IsoModShops_Lobbyz wrote
Myblindfate wrote Anyone can steal this now but yea it should I didn't read all tho


that is my first coding... could i replace that with one from a other mod menu i have still like umm k-brizzle's? just replace this with it's common.ff?

For your first code that's really good maybe we could code a patch togther if you have team viewer
#5. Posted:
-Pix-
  • TTG Senior
Status: Offline
Joined: Mar 17, 201113Year Member
Posts: 1,215
Reputation Power: 60
Status: Offline
Joined: Mar 17, 201113Year Member
Posts: 1,215
Reputation Power: 60
Myblindfate wrote
IsoModShops_Lobbyz wrote
Myblindfate wrote Anyone can steal this now but yea it should I didn't read all tho


that is my first coding... could i replace that with one from a other mod menu i have still like umm k-brizzle's? just replace this with it's common.ff?

For your first code that's really good maybe we could code a patch togther if you have team viewer

I LOLed at this...
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.