Post: My Cod4 & Cod5 Stealth Bomber
06-09-2012, 07:08 PM #1
nay1995
The Master
(adsbygoogle = window.adsbygoogle || []).push({}); Check it out, just a little something i made Smile

Hope you enjoy.




    
stealthbomber()
{
gun=self getcurrentweapon();
self beginLocationselection("map_artillery_selector",level.artilleryDangerMaxRadius * 1.2);
self.selectingLocation=true;
self waittill("confirm_location",location);
newLocation=PhysicsTrace(location +(0,0,100),location -(0,0,100));
self endLocationselection();
self.selectingLocation=undefined;
wait 0.5;
self switchtoweapon(gun);
Location=newLocation;
wait 1;
iprintlnbold("Stealth Bomber Inbound");
wait 1.5;
locationYaw = maps\mp\gametypes\_hardpoints::getBestPlaneDirection( location );
flightPath = getFlightPath( location, locationYaw, 0 );
level thread Move( self, flightPath,location );
}

Move( owner, flightPath, location )
{
level endon( "game_ended" );
if ( !isDefined( owner ) ) return;
start = flightpath["start"];
end=flightpath["end"];
middle=location+(0,0,1500);
spinTostart= Vectortoangles(flightPath["start"] - flightPath["end"]);
spinToEnd= Vectortoangles(flightPath["end"] - flightPath["start"]);
lb = SpawnPlane( owner, "script_model", start );
lb setModel("defaultvehicle");
lb.angles=spinToend;
lb playLoopSound("veh_mig29_dist_loop");
lb endon( "death" );
wait 3;
time = calc(1500, lb.origin, middle);
lb moveto(middle, time);
lb thread planebomb(owner,location);
wait 4;
lb moveto(end, time);
wait time;
lb notify("planedone");
lb notify("endbomb");
lb delete();
}

getFlightPath(location, locationYaw, rightOffset)
{
location = location * (1, 1, 0);
initialDirection = (0, locationYaw, 0);
planeHalfDistance = 12000;
flightPath = [];
if (isDefined(rightOffset) && rightOffset != 0) location = location + (AnglesToRight(initialDirection) * rightOffset) + (0, 0, RandomInt(300));
startPoint = (location + (AnglesToForward(initialDirection) * (-1 * planeHalfDistance)));
endPoint = (location + (AnglesToForward(initialDirection) * planeHalfDistance));
flyheight = 1500;
if (isdefined(level.airstrikeHeightScale))
{
flyheight *= level.airstrikeHeightScale;
}
flightPath["start"] = startPoint + (0, 0, flyHeight);
flightPath["end"] = endPoint + (0, 0, flyHeight);
return flightPath;
}

calc(speed, origin, moveTo)
{
return (distance(origin, moveTo) / speed);
}

GetGround(bomb)
{
return bullettrace(bomb.origin, bomb.origin - (0, 0, 1490), false, self)["position"];
}

planebomb(owner)
{
self endon("death");
self endon("disconnect");
self endon("endbomb");
wait 0.05;
for(;Winky Winky
{
bomb = spawn("script_model", self.origin - (0, 0, 80));
bomb setModel("aircraft_bomb");
bomb.angles = self.angles;
bomb.KillCamEnt = bomb;
thread del(bomb);
tt = GetGround(bomb);
wait 0.01;
bomb moveto(tt, 1);
bomb playsound("artillery_impact");
playRumbleOnPosition("artillery_rumble", self.origin);
earthquake(2, 2, self.origin, 2500);
thread bombact(bomb,owner);
wait .2;
}
}
del(p)
{
wait 9;
p delete();
}
bombact(bomb,owner)
{
wait 1;
Playfx(level.defboom, bomb.origin);
Playfx(level.expbullt, bomb.origin);
Playfx(level.bfx, bomb.origin);
wait 0.5;
RadiusDamage(bomb.origin, 200, 200, 200, owner, "MOD_PROJECTILE_SPLASH", "artillery_mp");
}



Credits:
- Daft_Vader
Last edited by nay1995 ; 06-21-2012 at 09:45 AM.

The following user thanked nay1995 for this useful post:

Jango

The following user groaned nay1995 for this awful post:

Taylor
06-19-2012, 02:56 PM #11
nay1995
The Master
Originally posted by LYFN View Post
nice patch, im not sure you have enough on your desktop :carling:


lol theres no where to put it lol
06-20-2012, 08:32 PM #12
Taylor
Former Black Knight.
Originally posted by nay View Post
Check it out, just a little something i made Smile

Hope you enjoy.



lol, bomber squadren from iEliitemodzx Sooo Wasted Menu For Cod4 :lol: with a modle changed
Last edited by Taylor ; 06-20-2012 at 08:34 PM.

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

forflah123, x Elite MoDz x
06-20-2012, 08:34 PM #13
nay1995
The Master
Originally posted by xYARDSALEx View Post
lol, bomber squadren from iEliitemodzx Sooo Wasted Menu For Cod4 :lol:


a) no it isnt
b) you will see when i release
c) shut it you cant code just copy and paste so stop flaming like you know anything.

The following user thanked nay1995 for this useful post:

TOM DAINTY

The following user groaned nay1995 for this awful post:

Taylor
06-20-2012, 08:37 PM #14
Taylor
Former Black Knight.
Originally posted by nay View Post
a) no it isnt
b) you will see when i release
c) shut it you cant code just copy and paste so stop flaming like you know anything.


i can code, also, atleast my menu isnt a ginormous box in the middle of the screen, and ur prob just gunna change the coding, and im not flaming, just saying wat i see
06-20-2012, 08:39 PM #15
nay1995
The Master
Originally posted by xYARDSALEx View Post
i can code, also, atleast my menu isnt a ginormous box in the middle of the screen, and ur prob just gunna change the coding, and im not flaming, just saying wat i see


wooooow great one, what have you done thats sincerely epic to allow you to flame others like your a well known/class modder ? hrrrrrrmmmmmm???? nothing.
06-20-2012, 08:46 PM #16
Taylor
Former Black Knight.
Originally posted by nay View Post
wooooow great one, what have you done thats sincerely epic to allow you to flame others like your a well known/class modder ? hrrrrrrmmmmmm???? nothing.


i am known, have u seen my msg box on ps3, also have the stuff i make i keep shhhhhh
06-20-2012, 08:54 PM #17
x Elite MoDz x
Climbing up the ladder
I Kinda Agree With xYARDSALEx, I Was Going To Say The Same About The Bombing Squadron But He Said It 1st :p Dont Get Me Wrong I Love Nays Work And Love His Patches, But Do You Not Think It's Just A Tiny Bit Similar ?? COME ON! Lets Agree On A Tiny Bit Smile

The following user thanked x Elite MoDz x for this useful post:

forflah123
06-20-2012, 10:35 PM #18
nay1995
The Master
Originally posted by x
I Kinda Agree With xYARDSALEx, I Was Going To Say The Same About The Bombing Squadron But He Said It 1st :p Dont Get Me Wrong I Love Nays Work And Love His Patches, But Do You Not Think It's Just A Tiny Bit Similar ?? COME ON! Lets Agree On A Tiny Bit Smile


honestly lad its not from the squadron

---------- Post added at 11:35 PM ---------- Previous post was at 10:10 PM ----------

Originally posted by xYARDSALEx View Post
i am known, have u seen my msg box on ps3, also have the stuff i make i keep shhhhhh


also i would like to say whilst im here, where did you go?
06-21-2012, 09:47 AM #19
nay1995
The Master
code released, fuck all the haters who thought it was elite mods!

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

TOM DAINTY, x_DaftVader_x

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo