Post: [SCRIPT]Missle Launch!
06-22-2013, 11:31 PM #1
Jacob-And-Britt
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); I have spent hours on this script and its finally done! I hope everyone has allot of fun with this.
Bugs:Not any as far as i know. The explosion is a timed explosion so its not going to be as accurate as the not timed explosion. If any body wants to give me the codes to make it explode if its hits anything like a building or the ground please give me them, When i get them i will edit the script with the codes someone has given me.
This was a edit of my rocketship script.



Precache these!
    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(;Winky Winky
{
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,246Cool Man (aka Tustin), 8 );
Ml2 moveto( self.origin + (20,50,246Cool Man (aka Tustin), 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(;Winky Winky
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}


Credits:To who ever made the smoke script.

The following 5 users say thank you to Jacob-And-Britt for this useful post:

codybenti, Devastation, FM|T xR3PMz, FutureOps,

The following user groaned Jacob-And-Britt for this awful post:

HosterModz_
06-22-2013, 11:35 PM #2
Devastation
Can’t trickshot me!
not the most convenient thing ever, but cheers on your work. Hope to see more from you in the near future.
06-23-2013, 01:06 AM #3
Originally posted by Britt View Post
I have spent hours on this script and its finally done! I hope everyone has allot of fun with this.
Bugs:Not any as far as i know. The explosion is a timed explosion so its not going to be as accurate as the not timed explosion. If any body wants to give me the codes to make it explode if its hits anything like a building or the ground please give me them, When i get them i will edit the script with the codes someone has given me.
This was a edit of my rocketship script.



Precache these!
    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(;Winky Winky
{
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,246Cool Man (aka Tustin), 8 );
Ml2 moveto( self.origin + (20,50,246Cool Man (aka Tustin), 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(;Winky Winky
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}


Credits:To who ever made the smoke script.


Nice!!!:y:
I'm glad to see cool stuff still being released on COD4!Happy
06-23-2013, 01:10 AM #4
Devastation
Can’t trickshot me!
Originally posted by codybenti View Post
Nice!!!:y:
I'm glad to see cool stuff still being released on COD4!Happy


cody cod4 has been active this past month man. good for you on keeping this section alive with your patches. Just wanna say a proper thanks out of respect haha Winky Winky

The following user thanked Devastation for this useful post:

codybenti
06-23-2013, 03:35 AM #5
This is amazing!
Im moving this right into my patch!
I will make sure to credit you :ThumbsUp:
06-23-2013, 07:29 PM #6
philipeininger
Treasure hunter
You Are in My Credits <3
06-24-2013, 04:47 PM #7
FutureOps
Little One
Originally posted by Britt View Post
I have spent hours on this script and its finally done! I hope everyone has allot of fun with this.
Bugs:Not any as far as i know. The explosion is a timed explosion so its not going to be as accurate as the not timed explosion. If any body wants to give me the codes to make it explode if its hits anything like a building or the ground please give me them, When i get them i will edit the script with the codes someone has given me.
This was a edit of my rocketship script.



Precache these!
    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(;Winky Winky
{
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,246Cool Man (aka Tustin), 8 );
Ml2 moveto( self.origin + (20,50,246Cool Man (aka Tustin), 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(;Winky Winky
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}


Credits:To who ever made the smoke script.


Good stuff man keep em coming! Im working on some stuff myself Winky Winky
06-24-2013, 05:10 PM #8
JackMods-
Can’t trickshot me!
Sick Bro nice Job Be using this for my patch Smile
*Preview later*
09-01-2013, 07:47 AM #9
FM|T xR3PMz
French Modding | Team
Originally posted by Britt View Post
I have spent hours on this script and its finally done! I hope everyone has allot of fun with this.
Bugs:Not any as far as i know. The explosion is a timed explosion so its not going to be as accurate as the not timed explosion. If any body wants to give me the codes to make it explode if its hits anything like a building or the ground please give me them, When i get them i will edit the script with the codes someone has given me.
This was a edit of my rocketship script.



Precache these!
    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(;Winky Winky
{
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,246Cool Man (aka Tustin), 8 );
Ml2 moveto( self.origin + (20,50,246Cool Man (aka Tustin), 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(;Winky Winky
{
playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
wait .05;
}
}


Credits:To who ever made the smoke script.


Good work Smile
Nice!

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo