Post: [CODE] Mother of all Bomb's
12-26-2010, 11:30 PM #1
DEREKTROTTER
You're Goddamn Right
(adsbygoogle = window.adsbygoogle || []).push({});
Mother of all Bomb's


Taken from the PC mod - Nemesis v2. Just call useMOAB from your menu :y:

Credit to 4funplayin

[WS]xGNH2HTUxUY[/WS]
Ignore the mouse indicators, screencast fail

    useMOAB()
{
self endon ( "disconnect" );
self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
NapalmLoc = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
NapalmLoc += (0, 0, 400); // fixes the gay low ground glitch
self endLocationSelection();
self.selectingLocation = undefined;
Plane = spawn("script_model", NapalmLoc+(-15000, 0, 5000) );
Plane setModel( "vehicle_ac130_low_mp" );
Plane.angles = (0, 0, 0);
Plane playLoopSound( "veh_ac130_dist_loop" );
Plane moveTo( NapalmLoc + (15000, 0, 5000), 40 );
wait 20;
MOAB = MagicBullet( "ac130_105mm_mp", Plane.origin, NapalmLoc, self );
wait 1.6;
Plane playsound( "nuke_explosion" );
Plane playsound( "nuke_explosion" );
Plane playsound( "nuke_explosion" );
MOAB delete();
RadiusDamage( NapalmLoc, 1400, 5000, 4999, self );
Earthquake( 1, 4, NapalmLoc, 4000 );
level.napalmx["explode"]["medium"] = loadfx ("explosions/aerial_explosion");

x= 0;
y = 0;
for(i = 0;i < 60; i++)
{
if(i < 20 && i > 0)
{
playFX(level.chopper_fx["explode"]["medium"], NapalmLoc+(x, y, 0));
playFX(level.chopper_fx["explode"]["medium"], NapalmLoc-(x, y, 0));
x = RandomInt(550);
y = RandomInt(550);
z = RandomInt(1);
if (z == 1)
{
x = x * -1;
z = z * -1;
}
}

if(i < 40 && i > 20)
{
playFX(level.chopper_fx["explode"]["medium"], NapalmLoc+(x, y, 150));
playFX(level.chopper_fx["explode"]["medium"], NapalmLoc-(x, y, 0));
x = RandomInt(500);
y = RandomInt(500);
z = RandomInt(1);
if (z == 1)
{
x = x * -1;
z = z * -1;
}
}

if(i < 60 && i > 40)
{
playFX(level.chopper_fx["explode"]["medium"], NapalmLoc+(x, y, 300));
playFX(level.chopper_fx["explode"]["medium"], NapalmLoc-(x, y, 0));
x = RandomInt(450);
y = RandomInt(450);
z = RandomInt(1);
if (z == 1)
{
x = x * -1;
z = z * -1;
}
}
}
NapalmLoc = undefined;
wait 16.7;
Plane delete();

wait 30;
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 10 users say thank you to DEREKTROTTER for this useful post:

CleanMODSHD, DR-Dizzy, Drackos, frankaugurk, JakeM, manster, Mr. Aimbot, Lopez., Shaarpy, UMD
12-28-2010, 10:58 AM #11
Janiboy
☆ janiboy95 ☆
Nice idea. Good coder^^ :angel:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo