Post: [CODE]Mega Nuke Drop
02-28-2011, 09:04 PM #1
Cody_h4x
Nobody is like me
(adsbygoogle = window.adsbygoogle || []).push({}); Alright So here is a code from x_DaftVader_x and EliteMossy. The code is the Mega AirDrop but instead of droping random it drops Nukes:evil: I did a super simple edit to drop nukes. This code is mainly for the people who didn't know how..

ALL CREDIT GOES TO x_DaftVader_x AND EliteMossy for this amazing code that's in most patchs to this day. And I'd be ashamed if you didn't go and thank them because they've made alot of smexy codes..... oh and go thank DEREKTROTTER to as he made those amazing patches with this in it Winky Winky

Thanks and peace everyone Smile

    MegaAD(){
self thread C("Ever Dream Of Nukes?", 5, (1, 0, 0));
wait 5;
self thread m();
}
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, "nuke_drop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("nuke_drop"), lb.origin);
dC.angles = lb.angles;
dC PhysicsLaunchServer((0, 0, 0), anglestoforward(lb.angles) * 1);
dC thread maps\mp\killstreaks\_airdrop::physicsWaiter("nuke_drop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("nuke_drop"));
w(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);
(adsbygoogle = window.adsbygoogle || []).push({});
02-28-2011, 09:23 PM #2
JakeM
ZOMG HaXz!
Originally posted by h4x View Post
Alright So here is a code from x_DaftVader_x and EliteMossy. The code is the Mega AirDrop but instead of droping random it drops Nukes:evil: I did a super simple edit to drop nukes. This code is mainly for the people who didn't know how..


You left off a curly bracket at the end... Testing now...

Edit: Code fails... Care packages are blank. Plus you have a ton of errors. You removed many many "\ / "
02-28-2011, 10:19 PM #3
Originally posted by JakeM501 View Post
You left off a curly bracket at the end... Testing now...

Edit: Code fails... Care packages are blank. Plus you have a ton of errors. You removed many many "\ / "


I used this in my pc version and in the video i made but didn't think the nuke drop would work on ps3, thats why i changed it..

And really, whats the point of dropping 100 nuke packages in a real game?
02-28-2011, 10:50 PM #4
JakeM
ZOMG HaXz!
Originally posted by ..V.. View Post
I used this in my pc version and in the video i made but didn't think the nuke drop would work on ps3, thats why i changed it..

And really, whats the point of dropping 100 nuke packages in a real game?


It was still a nice code. If people stop calling them in right away it would make the final result a lot better. I was just telling the OP some of his errors in the code... Maybe I should try to combine your fake carepackage code with this. Have it drop all fake nuke carepackages.:evil:
03-01-2011, 01:47 AM #5
CLM
[b]They say sorry Mr. West is..[/b]
Originally posted by ..V.. View Post
I used this in my pc version and in the video i made but didn't think the nuke drop would work on ps3, thats why i changed it..

And really, whats the point of dropping 100 nuke packages in a real game?


LOL nice sig :y:
03-01-2011, 03:26 AM #6
Brian235026
< ^ > < ^ >
dosnt work even after i corrected fail syntax =p blank care pkgs
03-01-2011, 06:22 AM #7
Pauly
Banned
Originally posted by ClutchLikeMelo View Post
LOL nice sig :y:

lmfao nice usertittle :y: Happy
03-01-2011, 09:55 PM #8
Jannis96
This is ****ing annoying.
Originally posted by h4x View Post
Alright So here is a code from x_DaftVader_x and EliteMossy. The code is the Mega AirDrop but instead of droping random it drops Nukes:evil: I did a super simple edit to drop nukes. This code is mainly for the people who didn't know how..

ALL CREDIT GOES TO x_DaftVader_x AND EliteMossy for this amazing code that's in most patchs to this day. And I'd be ashamed if you didn't go and thank them because they've made alot of smexy codes..... oh and go thank DEREKTROTTER to as he made those amazing patches with this in it Winky Winky

Thanks and peace everyone Smile

    MegaAD(){
self thread C("Ever Dream Of Nukes?", 5, (1, 0, 0));
wait 5;
self thread m();
}
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, "nuke_drop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("nuke_drop"), lb.origin);
dC.angles = lb.angles;
dC PhysicsLaunchServer((0, 0, 0), anglestoforward(lb.angles) * 1);
dC thread maps\mp\killstreaks\_airdrop::physicsWaiter("nuke_drop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("nuke_drop"));
w(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);


To make it only drop nukes you changed all the thread mapsmpkillstreaks_airdrop to nuke_mp
:p Thanks for the effort.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo