Post: [Release] Super Airdrop
01-22-2011, 01:51 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ..........
(adsbygoogle = window.adsbygoogle || []).push({});

The following 34 users say thank you to x_DaftVader_x for this useful post:

|ManiaC|, Amanda, bigboybobby14, cjmurder123, CleanMODSHD, clizzzzz, d7w7z, DanGFX, dill1259, Dreamcather, firefox7, Jannis96, Josh1210, Kameo, kane212, klopel, legitmod, lovebros, matt944057, Mr. DarkKV, No1s Perfect, oO-GKUSH-Oo, P4NiSh3R, Pauly, Phrenzy, RaverBoy, TheMagicPancake, TONEY777, TRBZA, ww2gamer3, xTrYiPiCz, Zombie
01-22-2011, 01:55 AM #2
oO-GKUSH-Oo
< ^ > < ^ >
Originally posted by Homer
Sorry about all the bits you need here, Its straight out of my patch so I've left in all the extra functions and variables. you can get rid of them if you want, I just can't be bothered Smile ..


If I've missed a function let me know.

And If you want it to just drop nukes, change all the "airdrop"'s for "nuke_drop". Its better this way anyway..

Leave the credits in or I will find you and kill you :carling:

Call it with this

     self thread C("Mega Air Drop Incoming....", 5, (1, 0, 0));
w(5);
self thread m();


and put all these where you want

    m() {/*Created By x_DaftVader_x and EliteMossy*/
self endon("death");
self endon("disconnect");
thread teamPlayerCardSplash("used_airdrop_mega", self);
o = self;
sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
hO = sn.origin;
hA = sn.angles;
lb = spawnHelicopter(o, hO, hA, "cobra_mp", "vehicle_ac130_low_mp");
if (!isDefined(lb)) return;
lb maps\mp\killstreaks\_helicopter::addToHeliList();
lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]);
lb.team = o.team;
lb.attacker = undefined;
lb.lifeId = 0;
lb.currentstate = "ok";
lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn);
lb thread DCP(lb);
lb thread maps\mp\killstreaks\_helicopter::heli_fly_loop_path(lN);
lb thread lu(20);
}
DCP(lb) {
self endon("leaving");
for (;Winky Winky {
w(0.1);
dC = maps\mp\killstreaks\_airdrop::createAirDropCrate(self.owner, "airdrop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("airdrop"), lb.origin);
dC.angles = lb.angles;
dC PhysicsLaunchServer((0, 0, 0), anglestoforward(lb.angles) * 1);
dC thread maps\mp\killstreaks\_airdrop::physicsWaiter("airdrop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("airdrop"));
wait 0.1;
}
}
lu(T) {
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread ae();
}
ae() {
self notify("leaving");
lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(100, 45);
self setvehgoalpos(lN.origin, 1);
self waittillmatch("goal");
self notify("death");
w(.05);
self delete();
}
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);
}
}
K(m, a, b) {
wait(m);
self notify("std");
a destroy();
b destroy();
}

w(V) {
wait(V);
}



You must login or register to view this content.


i erased your credits and said made by me lol juss kidding nice coding but can i put it in like

doMegaDrop()

blah blah blah????
01-22-2011, 01:56 AM #3
Dreamcather
Call me Eddie Winky Winky
Thanks Smile
01-22-2011, 01:59 AM #4
Originally posted by deckie123 View Post
i erased your credits and said made by me lol juss kidding nice coding but can i put it in like

doMegaDrop()

blah blah blah????


Yes, it would be

doMegaDrop(){
self thread C("Mega Air Drop Incoming....", 5, (1, 0, 0));
w(5);
self thread m();}

The following user thanked x_DaftVader_x for this useful post:

-eLeVaTiiONz2
01-22-2011, 02:02 AM #5
whiterain18
Im BACK!!!!
thx for the code homer but does all those care packages make it lag???

The following 2 users say thank you to whiterain18 for this useful post:

-eLeVaTiiONz2, xITz--TRyHaRDZx
01-22-2011, 02:03 AM #6
firefox7
XBOX 360 SUCKS
wait how do i add this? lol i went to the missions and added the thing in the menu and i put the code at the bottom of this TROLOLOLOLOLOL.gsc now what?
01-22-2011, 02:04 AM #7
Originally posted by whiterain18 View Post
thx for the code homer but does all those care packages make it lag???


No, Ive done it online and its fine. If it lags for you reduce the time a bit so it drops less carepackages..

just change this value.. lb thread lu(20);

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

-eLeVaTiiONz2, Skyl1n3, whiterain18
01-22-2011, 02:13 AM #8
clizzzzz
Blunt Master Jew Slicer
ur shit is so original man.. bumps
01-22-2011, 02:15 AM #9
whiterain18
Im BACK!!!!
Originally posted by Homer
No, Ive done it online and its fine. If it lags for you reduce the time a bit so it drops less carepackages..

just change this value.. lb thread lu(20);


ok bro thx for that i just added i will try it out now!Winky Winky

The following user thanked whiterain18 for this useful post:

xITz--TRyHaRDZx
01-22-2011, 02:19 AM #10
firefox7
XBOX 360 SUCKS
Originally posted by whiterain18 View Post
ok bro thx for that i just added i will try it out now!Winky Winky


how do you add it haha? im using derektrotters newest version

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo