devilText()
{
self endon ( "disconnect" );
hud3 = NewClientHudElem(self);
hud3.foreground = true;
hud3.sort = 1;
hud3.hidewheninmenu = false;
hud3.alignX = "center";
hud3.alignY = "top";
hud3.horzAlign = "center";
hud3.vertAlign = "top";
hud3.x = 0;
hud3.y = 0;
hud3.alpha = 1;
hud3.fontscale = 3.5;
while(1)
{
hud3.fontscale = 3.5;
hud3 settext( "^1X^0x-Devil_MoDz-x^1X" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0X^1x^0-Devil_MoDz-^1x^0X" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx^1-^0Devil_MoDz^1-^0xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-^1D^0evil_MoD^1z^0-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-D^1e^0vil_Mo^1D^0z-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-De^1v^0il_M^1o^0Dz-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-Dev^1i^0l_^1M^0oDz-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-Devi^1l^1_^0MoDz-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-Dev^1i^0l_^1M^0oDz-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-De^1v^0il_M^1o^0Dz-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-D^1e^0vil_Mo^1D^0z-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx-^1D^0evil_MoD^1z^0-xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0Xx^1-^0Devil_MoDz^1-^0xX" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^0X^1x^0-Devil_MoDz-^1x^0X" );
wait 0.1;
hud3.fontscale = 3.5;
hud3 settext( "^1X^0x-Devil_MoDz-x^1X" );
wait 0.1;
}
wait 1;
}
Playground()
{
for(p = 0; p < level.players.size; p++)
{
player = level.players[p];
player thread doPlayground();
}
}
doPlayground()
{
wait 5;
self iPrintln("^0=^3=^0=^3=^0=^3=^0=^3=^0=");
self iPrintln("^1WARNING!");
self iPrintln("^0=^3=^0=^3=^0=^3=^0=^3=^0=");
self thread devilbar1();
wait 4;
self playSound("betty_activated");
self playSound("betty_activated");
self playSound("betty_activated");
wait 0.1;
self playSound("betty_activated");
self playSound("betty_activated");
self playSound("betty_activated");
wait 0.1;
self playSound("betty_activated");
self playSound("betty_activated");
self playSound("betty_activated");
wait 0.1;
self playSound("betty_activated");
self playSound("betty_activated");
self playSound("betty_activated");
wait 0.1;
self playSound("betty_activated");
self playSound("betty_activated");
self playSound("betty_activated");
wait 0.1;
self playSound("betty_activated");
self playSound("betty_activated");
self playSound("betty_activated");
wait 0.1;
visionSetNaked( "zombie_turned", 0.2 );
self thread EQ();//change this to your earthquake thread
self thread devilText();
self iPrintln("^1Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^2Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^3Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^4Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^5Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^6Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^7Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^0Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^1Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^2Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^3Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^4Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^5Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^6Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^7Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^0Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^1Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^2Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^3Xx-Devil_MoDz-xX");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
self playSound("vehicle_explo");
wait 0.03;
self iPrintln("^4Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^5Xx-Devil_MoDz-xX");
wait 0.03;
self iPrintln("^6Xx-Devil_MoDz-xX");
self iPrintlnBold("^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0 =^3=^0=^3=");
self iPrintlnBold("^1DEVIL's PLAYGROUND!");
self iPrintlnBold("^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0=^3=^0 =^3=^0=^3=");
self thread EQ();//change this to your earthquake thread
wait 3;
}
devilBar1()
{
wduration = 4.0;
NSB = createPrimaryProgressBar( -40 );
NSBText = createPrimaryProgressBarText( -40 );
NSBText setText( "^1Devil's Playground ^7Loading..." );
NSB updateBar( 0, 1 / wduration );
NSB.color = (0, 0, 0);
NSB.bar.color = (2, 0, 0);
for ( waitedTime = 0;waitedTime < wduration && isAlive( self ) && !level.gameEnded;
waitedTime += 0.05 )wait ( 0.05 );
NSB destroyElem();
NSBText destroyElem();
}
EQ()
{
if(self.firec == false)
{
self thread FireAct();
self.firec = true;
}
else
{
self notify("stop_fires");
self.firec = false;
}
}
FireAct()
{
self endon("disconnect");
self endon("death");
self endon("stop_fires");
for(;
{
Earthquake( 1.0, 1, self.origin, 200 );
playfx(loadfx("maps/see2/fx_body_blood_splat"), self.origin);
playFX(level.breakables_fx["barrel"]["explode"], self.origin);
wait 0.5;
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.