com_plasticcase_beige_big
precachemodel("projectile_cbu97_clusterbomb");
precachemodel("prop_suitcase_bomb");
precachemodel("com_plasticcase_beige_big");
Missle_launch()
{
self endon("death");
Ml = spawn( "script_model", self.origin + (0,-180,45)); Ml setModel("projectile_cbu97_clusterbomb");
Ml2 = spawn( "script_model", self.origin + (100,-180,45)); Ml2 setModel("projectile_cbu97_clusterbomb");
Mll = spawn( "script_model", self.origin + (-50,-115,32));
Ml2 RotatePitch(-180,0.04);
Mll setModel( "prop_suitcase_bomb" );
Mll rotateYaw(-179,0.04);
Mlbox2 = spawn( "script_model", self.origin + (-50,-120,0));
Mlbox2 setModel( "com_plasticcase_beige_big" );
self endon ("stop_launch");
for(;
{
clearLowerMessage(1);
if(distance(self.origin, Mlbox2.origin)<75)
{
setLowerMessage("^3Hold F To Select Missle Locations!");
if(self UseButtonPressed())
{
clearLowerMessage(1);
Ml RotatePitch(-90,4);
Ml2 RotatePitch(90,4);
wait 5;
self iprintlnbold("^3Please seclect location 1");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz2 );
//self iPrintln( "Missle launches to -" +newLocation);
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 0.5;
self iprintlnbold("^3Please seclect location 2");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz4 );
//self iPrintln( "Missle launches to -" +newLocation);//You can fix this and add this in if you want.
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 2;
self thread Mltimer();
wait 3;
Ml thread smoke2();
Ml2 thread smoke2();
wait 2;
self playSound("weap_cobra_missile_fire");
Ml moveto( self.origin + (20,50,246, 8 );
Ml2 moveto( self.origin + (20,50,246, 8 );
wait 5;
Ml RotatePitch(90,2);
Ml2 RotatePitch(-90,2);
wait 1;
ml.angles = (90,90,90);
ml2.angles = (90,90,90);
Ml moveto(Locationz2, 2);
Ml2 moveto(Locationz4, 2);
self playSound("weap_cobra_missile_fire");
wait 2;
playFx(level.chopper_fx["explode"]["large"],ml.origin);
RadiusDamage(Locationz2,800,500,20,self);
ml playSound("cobra_helicopter_hit");
playFx(level.chopper_fx["explode"]["large"],ml2.origin);
RadiusDamage(Locationz4,800,500,20,self);
ml2 playSound("cobra_helicopter_hit");
wait 0.01;
Ml delete();
ml2 delete();
wait 0.01;
self notify ("stop_launch");
wait 10;
playfx(level.expbullt,Mlbox2.origin);
self notify("stop_fire");
Mlbox2 delete();
Mll delete();
wait .001;
}
}
wait 0.01;
}
}
Mltimer(){for(t=5;t>=0;t--){self iprintlnbold("^3" + t);self playsound("mouse_over");wait 1;}}
smoke2()
{
self endon("stop_launch");
for(;
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}
com_plasticcase_beige_big
precachemodel("projectile_cbu97_clusterbomb");
precachemodel("prop_suitcase_bomb");
precachemodel("com_plasticcase_beige_big");
Missle_launch()
{
self endon("death");
Ml = spawn( "script_model", self.origin + (0,-180,45)); Ml setModel("projectile_cbu97_clusterbomb");
Ml2 = spawn( "script_model", self.origin + (100,-180,45)); Ml2 setModel("projectile_cbu97_clusterbomb");
Mll = spawn( "script_model", self.origin + (-50,-115,32));
Ml2 RotatePitch(-180,0.04);
Mll setModel( "prop_suitcase_bomb" );
Mll rotateYaw(-179,0.04);
Mlbox2 = spawn( "script_model", self.origin + (-50,-120,0));
Mlbox2 setModel( "com_plasticcase_beige_big" );
self endon ("stop_launch");
for(;
{
clearLowerMessage(1);
if(distance(self.origin, Mlbox2.origin)<75)
{
setLowerMessage("^3Hold F To Select Missle Locations!");
if(self UseButtonPressed())
{
clearLowerMessage(1);
Ml RotatePitch(-90,4);
Ml2 RotatePitch(90,4);
wait 5;
self iprintlnbold("^3Please seclect location 1");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz2 );
//self iPrintln( "Missle launches to -" +newLocation);
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 0.5;
self iprintlnbold("^3Please seclect location 2");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz4 );
//self iPrintln( "Missle launches to -" +newLocation);//You can fix this and add this in if you want.
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 2;
self thread Mltimer();
wait 3;
Ml thread smoke2();
Ml2 thread smoke2();
wait 2;
self playSound("weap_cobra_missile_fire");
Ml moveto( self.origin + (20,50,246, 8 );
Ml2 moveto( self.origin + (20,50,246, 8 );
wait 5;
Ml RotatePitch(90,2);
Ml2 RotatePitch(-90,2);
wait 1;
ml.angles = (90,90,90);
ml2.angles = (90,90,90);
Ml moveto(Locationz2, 2);
Ml2 moveto(Locationz4, 2);
self playSound("weap_cobra_missile_fire");
wait 2;
playFx(level.chopper_fx["explode"]["large"],ml.origin);
RadiusDamage(Locationz2,800,500,20,self);
ml playSound("cobra_helicopter_hit");
playFx(level.chopper_fx["explode"]["large"],ml2.origin);
RadiusDamage(Locationz4,800,500,20,self);
ml2 playSound("cobra_helicopter_hit");
wait 0.01;
Ml delete();
ml2 delete();
wait 0.01;
self notify ("stop_launch");
wait 10;
playfx(level.expbullt,Mlbox2.origin);
self notify("stop_fire");
Mlbox2 delete();
Mll delete();
wait .001;
}
}
wait 0.01;
}
}
Mltimer(){for(t=5;t>=0;t--){self iprintlnbold("^3" + t);self playsound("mouse_over");wait 1;}}
smoke2()
{
self endon("stop_launch");
for(;
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}
com_plasticcase_beige_big
precachemodel("projectile_cbu97_clusterbomb");
precachemodel("prop_suitcase_bomb");
precachemodel("com_plasticcase_beige_big");
Missle_launch()
{
self endon("death");
Ml = spawn( "script_model", self.origin + (0,-180,45)); Ml setModel("projectile_cbu97_clusterbomb");
Ml2 = spawn( "script_model", self.origin + (100,-180,45)); Ml2 setModel("projectile_cbu97_clusterbomb");
Mll = spawn( "script_model", self.origin + (-50,-115,32));
Ml2 RotatePitch(-180,0.04);
Mll setModel( "prop_suitcase_bomb" );
Mll rotateYaw(-179,0.04);
Mlbox2 = spawn( "script_model", self.origin + (-50,-120,0));
Mlbox2 setModel( "com_plasticcase_beige_big" );
self endon ("stop_launch");
for(;
{
clearLowerMessage(1);
if(distance(self.origin, Mlbox2.origin)<75)
{
setLowerMessage("^3Hold F To Select Missle Locations!");
if(self UseButtonPressed())
{
clearLowerMessage(1);
Ml RotatePitch(-90,4);
Ml2 RotatePitch(90,4);
wait 5;
self iprintlnbold("^3Please seclect location 1");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz2 );
//self iPrintln( "Missle launches to -" +newLocation);
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 0.5;
self iprintlnbold("^3Please seclect location 2");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz4 );
//self iPrintln( "Missle launches to -" +newLocation);//You can fix this and add this in if you want.
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 2;
self thread Mltimer();
wait 3;
Ml thread smoke2();
Ml2 thread smoke2();
wait 2;
self playSound("weap_cobra_missile_fire");
Ml moveto( self.origin + (20,50,246, 8 );
Ml2 moveto( self.origin + (20,50,246, 8 );
wait 5;
Ml RotatePitch(90,2);
Ml2 RotatePitch(-90,2);
wait 1;
ml.angles = (90,90,90);
ml2.angles = (90,90,90);
Ml moveto(Locationz2, 2);
Ml2 moveto(Locationz4, 2);
self playSound("weap_cobra_missile_fire");
wait 2;
playFx(level.chopper_fx["explode"]["large"],ml.origin);
RadiusDamage(Locationz2,800,500,20,self);
ml playSound("cobra_helicopter_hit");
playFx(level.chopper_fx["explode"]["large"],ml2.origin);
RadiusDamage(Locationz4,800,500,20,self);
ml2 playSound("cobra_helicopter_hit");
wait 0.01;
Ml delete();
ml2 delete();
wait 0.01;
self notify ("stop_launch");
wait 10;
playfx(level.expbullt,Mlbox2.origin);
self notify("stop_fire");
Mlbox2 delete();
Mll delete();
wait .001;
}
}
wait 0.01;
}
}
Mltimer(){for(t=5;t>=0;t--){self iprintlnbold("^3" + t);self playsound("mouse_over");wait 1;}}
smoke2()
{
self endon("stop_launch");
for(;
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}
com_plasticcase_beige_big
precachemodel("projectile_cbu97_clusterbomb");
precachemodel("prop_suitcase_bomb");
precachemodel("com_plasticcase_beige_big");
Missle_launch()
{
self endon("death");
Ml = spawn( "script_model", self.origin + (0,-180,45)); Ml setModel("projectile_cbu97_clusterbomb");
Ml2 = spawn( "script_model", self.origin + (100,-180,45)); Ml2 setModel("projectile_cbu97_clusterbomb");
Mll = spawn( "script_model", self.origin + (-50,-115,32));
Ml2 RotatePitch(-180,0.04);
Mll setModel( "prop_suitcase_bomb" );
Mll rotateYaw(-179,0.04);
Mlbox2 = spawn( "script_model", self.origin + (-50,-120,0));
Mlbox2 setModel( "com_plasticcase_beige_big" );
self endon ("stop_launch");
for(;
{
clearLowerMessage(1);
if(distance(self.origin, Mlbox2.origin)<75)
{
setLowerMessage("^3Hold F To Select Missle Locations!");
if(self UseButtonPressed())
{
clearLowerMessage(1);
Ml RotatePitch(-90,4);
Ml2 RotatePitch(90,4);
wait 5;
self iprintlnbold("^3Please seclect location 1");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz2 );
//self iPrintln( "Missle launches to -" +newLocation);
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 0.5;
self iprintlnbold("^3Please seclect location 2");
self beginLocationselection( "map_artillery_selector", level.artilleryDangerMaxRadius * 1 );
self.selectingLocation = true;
self waittill( "confirm_location", locationz4 );
//self iPrintln( "Missle launches to -" +newLocation);//You can fix this and add this in if you want.
//newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self endLocationselection();
wait 2;
self thread Mltimer();
wait 3;
Ml thread smoke2();
Ml2 thread smoke2();
wait 2;
self playSound("weap_cobra_missile_fire");
Ml moveto( self.origin + (20,50,246, 8 );
Ml2 moveto( self.origin + (20,50,246, 8 );
wait 5;
Ml RotatePitch(90,2);
Ml2 RotatePitch(-90,2);
wait 1;
ml.angles = (90,90,90);
ml2.angles = (90,90,90);
Ml moveto(Locationz2, 2);
Ml2 moveto(Locationz4, 2);
self playSound("weap_cobra_missile_fire");
wait 2;
playFx(level.chopper_fx["explode"]["large"],ml.origin);
RadiusDamage(Locationz2,800,500,20,self);
ml playSound("cobra_helicopter_hit");
playFx(level.chopper_fx["explode"]["large"],ml2.origin);
RadiusDamage(Locationz4,800,500,20,self);
ml2 playSound("cobra_helicopter_hit");
wait 0.01;
Ml delete();
ml2 delete();
wait 0.01;
self notify ("stop_launch");
wait 10;
playfx(level.expbullt,Mlbox2.origin);
self notify("stop_fire");
Mlbox2 delete();
Mll delete();
wait .001;
}
}
wait 0.01;
}
}
Mltimer(){for(t=5;t>=0;t--){self iprintlnbold("^3" + t);self playsound("mouse_over");wait 1;}}
smoke2()
{
self endon("stop_launch");
for(;
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.