Post: [Release] Circling Plane of Death (AMAZING!)
01-30-2012, 05:55 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Everyone made their own vehicle, type of thing, and I though "so should I" and that's just what I did.

Free to use my code... But Credit Me Happy (imma nice guy arn't I? Winky Winky)

What does it do?
* A stealth bomber circles the map like a uav
* it shoots everyone on the map Happy
* after 60 seconds it goes away

map change some stuff up later, but this is sick atm Happy



add this to your menu where you want to spawn it:
    
self thread circlingPlane();


Now the beauty itself Happy

V1 (B2 Bomber, shoots stinger)

    
circlingPlane()
{
Center = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );

level.satanicHispanic = spawn( "script_model", Center );
level.satanicHispanic setModel( "c130_zoomrig" );
level.satanicHispanic.angles = (0,115,0);
level.satanicHispanic hide();

level.satanicHispanic thread rotateSH();
self thread launchSB();
}

rotateSH()
{
for (;Winky Winky
{
self rotateyaw( -360, 30 );
wait ( 30 );
}
}

launchSB()
{
self endon("cpdone");
o = self;
bullet = "javelin_mp"; //bullet to shoot
timeout = 60; //time in seconds plane stays alive
Plane = spawn( "script_model", level.satanicHispanic getTagOrigin( "tag_origin" ) );

Plane setModel( "vehicle_b2_bomber" );

zOffset = randomIntRange( 3000, 5000 );

angle = randomInt( 360 );
radiusOffset = randomInt( 2000 ) + 5000;

xOffset = cos( angle ) * radiusOffset;
yOffset = sin( angle ) * radiusOffset;

angleVector = vectorNormalize( (xOffset,yOffset,zOffset) );
angleVector = vector_multiply( angleVector, randomIntRange( 6000, 7000 ) );

Plane linkTo( level.satanicHispanic, "tag_origin", angleVector, (0,angle - 90,0) );
self thread timeLimit(plane,timeout);
for(;Winky Winky
{

foreach(p in level.players){
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if (isAlive(p)) MagicBullet(bullet,Plane.origin,p.origin,o);;
}else{
if(p!=o)
if (isAlive(p)) MagicBullet(bullet,Plane.origin,p.origin,o);;
}
wait 0.3;
}

}
}

timeLimit(obj,time)
{
wait time;
obj delete();
level notify("cpdone");
}



V2 (ac130 instead of B2 and shoots flares when done) //shorter code Smile

    
circlingPlane()
{
Center = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );

level.satanicHispanic = spawn( "script_model", Center );
level.satanicHispanic setModel( "c130_zoomrig" );
level.satanicHispanic.angles = (0,115,0);
level.satanicHispanic hide();
self thread launchSB();
for(;Winky Winky
{
level.satanicHispanic rotateyaw( -360, 30);
wait ( 30 );
}

}

launchSB()
{
self endon("cpdone");
o = self;
bullet = "ac130_40mm_mp"; //bullet to shoot
timeout = 60; //time in seconds plane stays alive

Plane = spawn( "script_model", level.satanicHispanic getTagOrigin( "tag_origin" ) );

Plane setModel( "vehicle_ac130_low_mp" ); //vehicle_b2_bomber vehicle_ac130_low_mp

zOffset = randomIntRange( 3000, 5000 );

angle = randomInt( 360 );
radiusOffset = randomInt( 2000 ) + 5000;

xOffset = cos( angle ) * radiusOffset;
yOffset = sin( angle ) * radiusOffset;

angleVector = vectorNormalize( (xOffset,yOffset,zOffset) );
angleVector = vector_multiply( angleVector, randomIntRange( 6000, 7000 ) );

Plane linkTo( level.satanicHispanic, "tag_origin", angleVector, (0,angle - 90,0) );
self thread timeLimit(plane,timeout);
for(;Winky Winky
{

foreach(p in level.players){
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if (isAlive(p)) MagicBullet(bullet,Plane.origin,p.origin,o);;
}else{
if(p!=o)
if (isAlive(p)) MagicBullet(bullet,Plane.origin,p.origin,o);;
}
wait 0.3;
}

}
}

timeLimit(obj,time)
{
wait time;
self notify("cpdone");
level._effect[ "cloud" ] = loadfx( "misc/ac130_cloud" );
level._effect[ "ac130_flare" ] = loadfx( "misc/flares_cobra" );
num = 10;
for(i = 0; i < num + 1; i++)
{
playFXOnTag( level._effect[ "ac130_flare" ], obj, "tag_flash_flares" );
wait 1;
if(i >= num)
{
obj delete();
break;
}
}
}


creds:
* me
* IW for angles


Got an idea on what to add to this? reply with it here!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 17 users say thank you to Jakes625 for this useful post:

aerosoul94, Baby-panama, Blackstorm, BvB-09r-_-N!c0, zL_j8hnb, KCxFTW, mattyjkilledme, PussayPatrol, Rainbow Gravity, T_m_b07, Uk_ViiPeR, VizKah, xChronicModz, xMrSuperMoDzZ--
01-31-2012, 03:07 AM #11
Originally posted by tr0j4n View Post
try this with the seanight model :O


what is that? (being srs)

also you got msn?
01-31-2012, 03:16 AM #12
ZypeOG
Do a barrel roll!
WOW I Have Never Seen Anything Like That :L Sick !

The following user thanked ZypeOG for this useful post:

01-31-2012, 03:18 AM #13
i have skype here i found this in the scrapyard gsc im not 100% it should work and this is a seaknight

    vehicle_ch46e


i just did it and it worked exttremly sexy better then the old zoomrig bomber
Originally posted by SatanicHispanic View Post
what is that? (being srs)

also you got msn?
01-31-2012, 03:20 AM #14
I hope it's not a 1 model map type of thing :/
01-31-2012, 03:30 AM #15
Can you make the bullet automatic or is there always a 4 second delay
01-31-2012, 03:33 AM #16
Choco
Respect my authoritah!!
:yuno: come to cod4 section too? We could use stuff like this :p

The following user thanked Choco for this useful post:

01-31-2012, 03:37 AM #17
Originally posted by deathpwnag3 View Post
Can you make the bullet automatic or is there always a 4 second delay


not a 4 second delay, its just shots at them if they are alive, and the killcam is 4 seconds Winky Winky

---------- Post added at 11:37 PM ---------- Previous post was at 11:37 PM ----------

Originally posted by .Choco View Post
:yuno: come to cod4 section too? We could use stuff like this :p


you got daftVader down there, you don't need me :p

The following user thanked Jakes625 for this useful post:

Pro Era
01-31-2012, 03:59 AM #18
yes it is but if you want to in your patch just create a precache.gsc and do that for all the maps you want it on
Originally posted by SatanicHispanic View Post
I hope it's not a 1 model map type of thing :/


---------- Post added at 10:59 PM ---------- Previous post was at 10:44 PM ----------

create a skype i wanna show you something i think you'll like Happy
Originally posted by SatanicHispanic View Post
not a 4 second delay, its just shots at them if they are alive, and the killcam is 4 seconds Winky Winky

---------- Post added at 11:37 PM ---------- Previous post was at 11:37 PM ----------



you got daftVader down there, you don't need me :p
01-31-2012, 04:13 AM #19
I can't download it.

you have to be a user to download it.

you can't be a user, unless you have skype.

wanna pm me it? or msn?

---------- Post added at 12:13 AM ---------- Previous post was at 12:10 AM ----------

nvm skype fixed it.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo