Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement