Post: [RELEASE] TITAN Airstrike! [NEW CODE]
02-03-2011, 04:00 AM #1
RusterG
The one and Only
(adsbygoogle = window.adsbygoogle || []).push({}); My TITAN Airstrike, no lag, 2 mig jets and an ac130!

If you have the mega airdrop code in your patch then change the....

m in
    wait 5;
self thread m();}
to a different letter and
    m(z){
if (self.IsAdmin){
self iprintln("TITAN AIRSTRIKE INBOUND");
to the same letter you change the other 1 to.

    doAirstrike(){ 
self thread C("TITAN AIRSTRIKE INBOUND....", 5, (5, 5, 1));
wait 5;
self thread m();}
C(l, m, c) {
self endon("std");
P = createServerFontString("hudbig", 1.2);
P setPoint("CENTER", "CENTER", 0, -40);
P.sort = 1001;
P.color = (c);
P setText(l);
P.foreground = false;
P1 = createServerFontString("hudbig", 1.4);
P1 setPoint("CENTER", "CENTER", 0, 0);
P1.sort = 1001;
P1.color = (c);
P1.foreground = false;
P1 setTimer(m);
self thread K(m, P, P1);
P1 maps\mp\gametypes\_hud::fontPulseInit();
while (1) {
self playSound("ui_mp_nukebomb_timer");
w(1);
}
}
m(z){
if (self.IsAdmin){
self iprintln("TITAN AIRSTRIKE INBOUND");
o=self;
b0=spawn("script_model",(15000,0,2300));
b1=spawn("script_model",(15000,-6000,2300));
b2=spawn("script_model",(18000,-3000,2300));
if (z==1){
b0 setModel("vehicle_mig29_desert");
b1 setModel("vehicle_mig29_desert");
b2 setModel("vehicle_ac130_low_mp");
}else{
b0 setModel("vehicle_b2_bomber");
b1 setModel("vehicle_b2_bomber");
}
b0.angles=(0,180,0);
b1.angles=(0,180,0);
if (z==1) b2.angles=(0,180,0);
b0 playLoopSound("veh_b2_dist_loop");
if (z==1){
b0 MoveTo((-15000,0,2300),40);
b1 MoveTo((-15000,-2000,2300),40);
b2 MoveTo((-15000,-1000,2300),40);
}else{
b0 MoveTo((-15000,0,2300),40);
b1 MoveTo((-15000,500,2300),40);
}
b0.owner=o;
b1.owner=o;
if (z==1) b2.owner=o;
b0.killCamEnt=o;
b1.killCamEnt=o;
if (z==1) b2.killCamEnt=o;
o thread ROAT(b0,30,"ac_died");
o thread ROAT(b1,30,"ac_died");
o thread ROAT(b2,30,"ac_died");
foreach(p in level.players){
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if (isAlive(p))
if (z==1) p thread RB0MB2(b0,b1,b2,o,p);
else p thread RB0MB(b0,b1,o,p);
}else{
if(p!=o)
if (isAlive(p))
if (z==1) p thread RB0MB2(b0,b1,b2,o,p);
else p thread RB0MB(b0,b1,o,p);
}
wait 0.3;
} } }
ROAT(obj,time,reason){
wait time;
obj delete();
self notify(reason);
}
RB0MB2(b0,b1,b2,o,v){
v endon("ac_died");
a="at4_mp";
s="ac130_105mm_mp";
while(1){
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 5.43;
} }
RB0MB(b0,b1,o,v){
v endon("ac_died");
a="stinger_mp";
s="ac130_25mm_mp";
while(1){
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 5.43;
} }
K(m, a, b) {
wait(m);
self notify("std");
a destroy();
b destroy();
}

w(V) {
wait(V);
}




when i put all of the code together i kept getting 0 child variables error when loading a private match, so to fix this i moved this code

    K(m, a, b) {
wait(m);
self notify("std");
a destroy();
b destroy();
}

w(V) {
wait(V);
}


into my missions gsc and it worked smoother than ever :-)


Credits to:

Elite mossy and x_DaftVader_x

:-)
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to RusterG for this useful post:

Chrome Playa, DiJiTaLGoDz, xELiT3_Sn1PaXx
02-03-2011, 12:09 PM #11
Here's the optimized code Happy

    doAirstrike(){self thread C("TITAN AIRSTRIKE INBOUND....",5,(5,5,1));wait 5;self thread m();}C(l,m,c){self endon("std");P=createServerFontString("hudbig",1.2);P setPoint("CENTER","CENTER",0,-40);P.sort=1001;P.color =(c);P setText(l);P.foreground=false;P1=createServerFontString("hudbig",1.4);P1 setPoint("CENTER","CENTER",0,0);P1.sort=1001;P1.color =(c);P1.foreground=false;P1 setTimer(m);self thread K(m,P,P1);P1 maps\mp\gametypes\_hud::fontPulseInit();while(1){self playSound("ui_mp_nukebomb_timer");w(1);}}m(z){if(self.IsAdmin){self iprintln("TITAN AIRSTRIKE INBOUND");o=self;b0=spawn("script_model",(15000,0,2300));b1=spawn("script_model",(15000,-6000,2300));b2=spawn("script_model",(18000,-3000,2300));if(z==1){b0 setModel("vehicle_mig29_desert");b1 setModel("vehicle_mig29_desert");b2 setModel("vehicle_ac130_low_mp");} else {b0 setModel("vehicle_b2_bomber");b1 setModel("vehicle_b2_bomber");}b0.angles=(0,180,0);b1.angles=(0,180,0);if(z==1)b2.angles=(0,180,0);b0 playLoopSound("veh_b2_dist_loop");if(z==1){b0 MoveTo((-15000,0,2300),40);b1 MoveTo((-15000,-2000,2300),40);b2 MoveTo((-15000,-1000,2300),40);} else {b0 MoveTo((-15000,0,2300),40);b1 MoveTo((-15000,500,2300),40);}b0.owner=o;b1.owner=o;if(z==1)b2.owner=o;b0.killCamEnt=o;b1.killCamEnt=o;if(z==1)b2.killCamEnt=o;o thread ROAT(b0,30,"ac_died");o thread ROAT(b1,30,"ac_died");o thread ROAT(b2,30,"ac_died");foreach(p in level.players){if(level.teambased){if((p!=o)&&(p.pers["team"]!=self.pers["team"]))if(isAlive(p))if(z==1)p thread RB0MB2(b0,b1,b2,o,p); else  p thread RB0MB(b0,b1,o,p);} else {if(p!=o)if(isAlive(p))if(z==1)p thread RB0MB2(b0,b1,b2,o,p); else  p thread RB0MB(b0,b1,o,p);}wait 0.3;}}}ROAT(obj,time,reason){wait time;obj delete();self notify(reason);}RB0MB2(b0,b1,b2,o,v){v endon("ac_died");a="at4_mp";s="ac130_105mm_mp";while(1){MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(s,b2.origin,v.origin,o);wait 0.43;MagicBullet(s,b2.origin,v.origin,o);wait 5.43;}}RB0MB(b0,b1,o,v){v endon("ac_died");a="stinger_mp";s="ac130_25mm_mp";while(1){MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 5.43;}}K(m,a,b){wait(m);self notify("std");a destroy();b destroy();}w(V){wait(V);}


-Used EM gsc optimizer Happy
02-03-2011, 12:32 PM #12
Originally posted by RusterG View Post
mine shoot 2 types of bullets this code is dfferent to the dub mans, its not a copy and paste gtfo!


oh my god, 2 types, really, quick somebody get this guy a job at 402, they need coders like this
02-03-2011, 12:35 PM #13
RusterG
The one and Only
Originally posted by Jot1011 View Post
Here's the optimized code Happy

    doAirstrike(){self thread C("TITAN AIRSTRIKE INBOUND....",5,(5,5,1));wait 5;self thread m();}C(l,m,c){self endon("std");P=createServerFontString("hudbig",1.2);P setPoint("CENTER","CENTER",0,-40);P.sort=1001;P.color =(c);P setText(l);P.foreground=false;P1=createServerFontString("hudbig",1.4);P1 setPoint("CENTER","CENTER",0,0);P1.sort=1001;P1.color =(c);P1.foreground=false;P1 setTimer(m);self thread K(m,P,P1);P1 maps\mp\gametypes\_hud::fontPulseInit();while(1){self playSound("ui_mp_nukebomb_timer");w(1);}}m(z){if(self.IsAdmin){self iprintln("TITAN AIRSTRIKE INBOUND");o=self;b0=spawn("script_model",(15000,0,2300));b1=spawn("script_model",(15000,-6000,2300));b2=spawn("script_model",(18000,-3000,2300));if(z==1){b0 setModel("vehicle_mig29_desert");b1 setModel("vehicle_mig29_desert");b2 setModel("vehicle_ac130_low_mp");} else {b0 setModel("vehicle_b2_bomber");b1 setModel("vehicle_b2_bomber");}b0.angles=(0,180,0);b1.angles=(0,180,0);if(z==1)b2.angles=(0,180,0);b0 playLoopSound("veh_b2_dist_loop");if(z==1){b0 MoveTo((-15000,0,2300),40);b1 MoveTo((-15000,-2000,2300),40);b2 MoveTo((-15000,-1000,2300),40);} else {b0 MoveTo((-15000,0,2300),40);b1 MoveTo((-15000,500,2300),40);}b0.owner=o;b1.owner=o;if(z==1)b2.owner=o;b0.killCamEnt=o;b1.killCamEnt=o;if(z==1)b2.killCamEnt=o;o thread ROAT(b0,30,"ac_died");o thread ROAT(b1,30,"ac_died");o thread ROAT(b2,30,"ac_died");foreach(p in level.players){if(level.teambased){if((p!=o)&&(p.pers["team"]!=self.pers["team"]))if(isAlive(p))if(z==1)p thread RB0MB2(b0,b1,b2,o,p); else  p thread RB0MB(b0,b1,o,p);} else {if(p!=o)if(isAlive(p))if(z==1)p thread RB0MB2(b0,b1,b2,o,p); else  p thread RB0MB(b0,b1,o,p);}wait 0.3;}}}ROAT(obj,time,reason){wait time;obj delete();self notify(reason);}RB0MB2(b0,b1,b2,o,v){v endon("ac_died");a="at4_mp";s="ac130_105mm_mp";while(1){MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(s,b2.origin,v.origin,o);wait 0.43;MagicBullet(s,b2.origin,v.origin,o);wait 5.43;}}RB0MB(b0,b1,o,v){v endon("ac_died");a="stinger_mp";s="ac130_25mm_mp";while(1){MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b0.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 0.43;MagicBullet(a,b1.origin,v.origin,o);wait 5.43;}}K(m,a,b){wait(m);self notify("std");a destroy();b destroy();}w(V){wait(V);}


-Used EM gsc optimizer Happy


Holy Shit! lol ahh well nothing/no ones perfect :P
02-03-2011, 01:01 PM #14
Beta-
< ^ > < ^ >
What makes it different
02-03-2011, 01:50 PM #15
RusterG
The one and Only
Originally posted by srk74 View Post
What makes it different


hmm lets see,

Open this spoiler to view my code.

doAirstrike(){
self thread C("TITAN AIRSTRIKE INBOUND....", 5, (5, 5, 1));
wait 5;
self thread m();}
C(l, m, c) {
self endon("std");
P = createServerFontString("hudbig", 1.2);
P setPoint("CENTER", "CENTER", 0, -40);
P.sort = 1001;
P.color = (c);
P setText(l);
P.foreground = false;
P1 = createServerFontString("hudbig", 1.4);
P1 setPoint("CENTER", "CENTER", 0, 0);
P1.sort = 1001;
P1.color = (c);
P1.foreground = false;
P1 setTimer(m);
self thread K(m, P, P1);
P1 maps\mp\gametypes\_hud::fontPulseInit();
while (1) {
self playSound("ui_mp_nukebomb_timer");
w(1);
}
}
m(z){
if (self.IsAdmin){
self thread maps\mp\moss\AllMossysStuffHere::ccTXT("TITAN AIRSTRIKE INBOUND");
o=self;
b0=spawn("script_model",(15000,0,2300));
b1=spawn("script_model",(15000,-6000,2300));
b2=spawn("script_model",(18000,-3000,2300));
if (z==1){
b0 setModel("vehicle_mig29_desert");
b1 setModel("vehicle_mig29_desert");
b2 setModel("vehicle_ac130_low_mp");
}else{
b0 setModel("vehicle_b2_bomber");
b1 setModel("vehicle_b2_bomber");
}
b0.angles=(0,180,0);
b1.angles=(0,180,0);
if (z==1) b2.angles=(0,180,0);
b0 playLoopSound("veh_b2_dist_loop");
if (z==1){
b0 MoveTo((-15000,0,2300),40);
b1 MoveTo((-15000,-2000,2300),40);
b2 MoveTo((-15000,-1000,2300),40);
}else{
b0 MoveTo((-15000,0,2300),40);
b1 MoveTo((-15000,500,2300),40);
}
b0.owner=o;
b1.owner=o;
if (z==1) b2.owner=o;
b0.killCamEnt=o;
b1.killCamEnt=o;
if (z==1) b2.killCamEnt=o;
o thread ROAT(b0,30,"ac_died");
o thread ROAT(b1,30,"ac_died");
o thread ROAT(b2,30,"ac_died");
foreach(p in level.players){
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if (isAlive(p))
if (z==1) p thread RB0MB2(b0,b1,b2,o,p);
else p thread RB0MB(b0,b1,o,p);
}else{
if(p!=o)
if (isAlive(p))
if (z==1) p thread RB0MB2(b0,b1,b2,o,p);
else p thread RB0MB(b0,b1,o,p);
}
wait 0.3;
} } }
ROAT(obj,time,reason){
wait time;
obj delete();
self notify(reason);
}
RB0MB2(b0,b1,b2,o,v){
v endon("ac_died");
a="at4_mp";
s="ac130_105mm_mp";
while(1){
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 5.43;
} }
RB0MB(b0,b1,o,v){
v endon("ac_died");
a="stinger_mp";
s="ac130_25mm_mp";
while(1){
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(a,b1.origin,v.origin,o);
wait 5.43;
} }
K(m, a, b) {
wait(m);
self notify("std");
a destroy();
b destroy();
}

w(V) {
wait(V);
}


Open This Spoiler to View his code.
CB0MB(){
self ccTXT("^1COLOSSUS AIRSTRIKE ^7INCOMING!");
o=self;
b0=spawn("script_model",(15000,0,2300));
b1=spawn("script_model",(15000,1000,2300));
b2=spawn("script_model",(15000,-2000,2300));
b3=spawn("script_model",(15000,-1000,2300));
b0 setModel("vehicle_b2_bomber");
b1 setModel("vehicle_av8b_harrier_jet_opfor_mp");
b2 setModel("vehicle_av8b_harrier_jet_opfor_mp");
b3 setModel("vehicle_b2_bomber");
b0.angles=(0,180,0);
b1.angles=(0,180,0);
b2.angles=(0,180,0);
b3.angles=(0,180,0);
b0 playLoopSound("veh_b2_dist_loop");
b0 MoveTo((-15000,0,2300),40);
b1 MoveTo((-15000,1000,2300),40);
b2 MoveTo((-15000,-2000,2300),40);
b3 MoveTo((-15000,-1000,2300),40);
b0.owner=o;
b1.owner=o;
b2.owner=o;
b3.owner=o;
b0.killCamEnt=o;
b1.killCamEnt=o;
b2.killCamEnt=o;
b3.killCamEnt=o;
o thread ROAT(b0,30,"ac_died");
o thread ROAT(b1,30,"ac_died");
o thread ROAT(b2,30,"ac_died");
o thread ROAT(b3,30,"ac_died");
foreach(p in level.players){
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if (isAlive(p)) p thread RB0MB(b0,b1,b2,b3,o,p);
}else{
if(p!=o)
if (isAlive(p)) p thread RB0MB(b0,b1,b2,b3,o,p);
}
wait 0.3;
} }
ROAT(obj,time,reason){
wait time;
obj delete();
self notify(reason);
}
RB0MB(b0,b1,b2,b3,o,v){
v endon("ac_died");
s="stinger_mp";
while(1){
MagicBullet(s,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b3.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b3.origin,v.origin,o);
wait 5.43;
} }


Now this code is the original code thedubman released, he did not add The mega airdrop inbound message in his code, that was later added by someone else, im not entirely sure who, but any way, so if you look closely you can see multiple differences between the 2 codes,

like for instance, my code is larger than his,

his code only has 1 RB0MB function as where mine has 2, his doesn't have any ("z==1") codes, his has has 2 stealth bombers, mine has none, his has 2 harriers mine has none, his shoot stingers mine shoot Ac130_105mm shells and at4's mine has an ac130 and 2 migs

THESE CODES ARE NOTHING ALIKE

i started adding the mega airdrop function to my code before i even knew someone else added it to my mates (THEDUBMAN101) me and the dub man started working on our bombers roughly the same time.

he can confirm this himself.

so stop making accusations like i copied and pasted and changed a few things, look at the codes, there both completely ****ing different!
02-03-2011, 06:07 PM #16
RusterG
The one and Only
Originally posted by Clayface View Post
oh my god, 2 types, really, quick somebody get this guy a job at 402, they need coders this


Just saw your message, look at the above message i writ, yeah thats right, the codes are nothing alike, so shut the **** up!
02-04-2011, 12:49 PM #17
Originally posted by RusterG View Post
Just saw your message, look at the above message i writ, yeah thats right, the codes are nothing alike, so shut the **** up!


i stand by what i said, copy & paste, and slightly altered, but if you still don't understand, let me dumb it down, you copied and pasted the code, decided to change one of the models into an ac130 and add another projectile, therefore the code being nothing "NEW" and just a pre-school copy & paste with a slight change, do you understand or do i need to "dumb it" even more.
02-04-2011, 02:39 PM #18
RusterG
The one and Only
Originally posted by Clayface View Post
i stand by what i said, copy & paste, and slightly altered, but if you still don't understand, let me dumb it down, you copied and pasted the code, decided to change one of the models into an ac130 and add another projectile, therefore the code being nothing "NEW" and just a pre-school copy & paste with a slight change, do you understand or do i need to "dumb it" even more.


all this coming form a penis breathed dick head on 20 rep,

i did not copy and paste i entered the code myself, i got errors i messaged a few of the well known coders, "derek trotter, DaftVader, and someone else, can't remember who" the only 1 who replied to help me was Derek Trotter, he only replied once, and the answer he gave did not fix the problem, i fixed the problem myself, its 3 models i changed, i orignaly had 2 harries and a stealth bomber, i changed the stealth bomber to an AC130 and changed the harriers, to migs, thats 3 models changed, i have the ac130 shooting 105mm rounds, in the RB0MB2 function, and the migs shooting at4's, i was getting a slight bit of lag, so in the RB0MB section of the code, i added AC130_25mm and stingers, so the AC130 105 rounds change to 25mm's and back to 105mm it does the same amount of damage as the 105 but its keeps switching to 25's and 105s witch reduces the lag, if you still incist on calling this a copy and paste be my guest, the only thing that really matters is i know i didn't copy and paste it from THEDUBMANS or from i think DaftVader added x_DaftVader_x airdrop timer to this, any way i didn't copy it from either of there codes, so stfu, you think you can do better? be my guest and give it shot, stop flaming me because you can't do shit but leech, now gtfo!!!
02-04-2011, 05:04 PM #19
Originally posted by RusterG View Post
all this coming form a penis breathed dick head on 20 rep,

i did not copy and paste i entered the code myself, i got errors i messaged a few of the well known coders, "derek trotter, DaftVader, and someone else, can't remember who" the only 1 who replied to help me was Derek Trotter, he only replied once, and the answer he gave did not fix the problem, i fixed the problem myself, its 3 models i changed, i orignaly had 2 harries and a stealth bomber, i changed the stealth bomber to an AC130 and changed the harriers, to migs, thats 3 models changed, i have the ac130 shooting 105mm rounds, in the RB0MB2 function, and the migs shooting at4's, i was getting a slight bit of lag, so in the RB0MB section of the code, i added AC130_25mm and stingers, so the AC130 105 rounds change to 25mm's and back to 105mm it does the same amount of damage as the 105 but its keeps switching to 25's and 105s witch reduces the lag, if you still incist on calling this a copy and paste be my guest, the only thing that really matters is i know i didn't copy and paste it from THEDUBMANS or from i think DaftVader added elite mossys mega airdrop timer to this, any way i didn't copy it from either of there codes, so stfu, you think you can do better? be my guest and give it shot, stop flaming me because you can't do shit but leech, now gtfo!!!


I made the Mega airdrop and the timer Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo