Post: Release: EliteMossy's Super AC-130
12-24-2010, 12:16 AM #1
EliteMossy
TheDigitalBoard.com
(adsbygoogle = window.adsbygoogle || []).push({}); I thought i would share this code, and see what other people can come up with.

It is fully functional and works as seen in my video:
[ame=https://www.youtube.com/watch?v=HbupBiW7oP8]YouTube - Attack Littlebird and AC-130[/ame]

    
SuperAC130(){
/* Created by EliteMossy - Do not remove */
owner=self;
startNode=level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
heliOrigin=startnode.origin;
heliAngles=startnode.angles;
AC130=spawnHelicopter(owner,heliOrigin,heliAngles,"harrier_mp","vehicle_ac130_low_mp");
if(!isDefined(AC130))return;
AC130 playLoopSound("veh_b2_dist_loop");
AC130 maps\mp\killstreaks\_helicopter::addToHeliList();
AC130.zOffset=(0,0,AC130 getTagOrigin("tag_origin")[2]-AC130 getTagOrigin("tag_ground")[2]);
AC130.team=owner.team;
AC130.attacker=undefined;
AC130.lifeId=0;
AC130.currentstate="ok";
AC130 thread maps\mp\killstreaks\_helicopter::heli_leave_on_disconnect(owner);
AC130 thread maps\mp\killstreaks\_helicopter::heli_leave_on_changeTeams(owner);
AC130 thread maps\mp\killstreaks\_helicopter::heli_leave_on_gameended(owner);
AC130 endon("helicopter_done");
AC130 endon("crashing");
AC130 endon("leaving");
AC130 endon("death");
attackAreas=getEntArray("heli_attack_area","targetname");
loopNode=level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
AC130 maps\mp\killstreaks\_helicopter::heli_fly_simple_path(startNode);
AC130 thread leave_on_timeou(100);
AC130 thread maps\mp\killstreaks\_helicopter::heli_fly_loop_path(loopNode);
AC130 thread DropDaBomb(owner);
}
DropDaBomb(owner){
/* Created by EliteMossy - Do not remove */
self endon("death");
self endon("helicopter_done");
level endon("game_ended");
self endon("crashing");
self endon("leaving");
waittime=5;
for(;Winky Winky{
wait(waittime);
AimedPlayer=undefined;
foreach(player in level.players){
if((player==owner)||(!isAlive(player))||(level.teamBased&&owner.pers["team"]==player.pers["team"])||(!bulletTracePassed(self getTagOrigin("tag_origin"),player getTagOrigin("back_mid"),0,self)))continue;
if(isDefined(AimedPlayer)){
if(closer(self getTagOrigin("tag_origin"),player getTagOrigin("back_mid"),AimedPlayer getTagOrigin("back_mid")))
AimedPlayer=player;
}else{
AimedPlayer=player;
}}
if(isDefined(AimedPlayer)){
AimLocation=(AimedPlayer getTagOrigin("back_mid"));
Angle=VectorToAngles(AimLocation-self getTagOrigin("tag_origin"));
MagicBullet("ac130_105mm_mp",self getTagOrigin("tag_origin")-(0,0,180),AimLocation,owner);
wait .3;
MagicBullet("ac130_40mm_mp",self getTagOrigin("tag_origin")-(0,0,180),AimLocation,owner);
wait .3;
MagicBullet("ac130_40mm_mp",self getTagOrigin("tag_origin")-(0,0,180),AimLocation,owner);
}
}}
leave_on_timeou(T){
/* Created by EliteMossy - Do not remove */
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread ac130_leave();
}
ac130_leave(){
/* Created by EliteMossy - Do not remove */
self notify("leaving");
leaveNode=level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(100,45);
self setvehgoalpos(leaveNode.origin,1);
self waittillmatch("goal");
self notify("death");
wait .05;
self stopLoopSound();
self delete();
}


Please give credit if you use it.

Best regards
(adsbygoogle = window.adsbygoogle || []).push({});

The following 46 users say thank you to EliteMossy for this useful post:

-SilverSurfer-, ᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟ, ADAM594, Adamâ„¢, Beta-, Carbon0x, Codi360, CraZoY, Crazyde123, D4RK_M4ST3R, damntheluck, DEREKTROTTER, divybc, DR-Dizzy, Dreamcather, Fifa97, frankaugurk, GaLaXy98-q8, GangsterDean, i weed i, iCroW--, ImTrippinHoes, infogamer, islanda73, IWRecK708, jammie01, JNA_SNIPA, KamikazeOnCrack, legitmod, User23434, QsM, RaverBoy, rico4u2day2, Scrumilation, ShAdoW_RiDa, silsil, Skyl1n3, smd, Swavely, TheJaRniBoi, TONEY777, uhChad, UMD, Vampytwistッ, ViiZiiKz
12-25-2010, 05:27 PM #29
nice i like this... your the beast elite...
12-25-2010, 05:31 PM #30
Looking good mate :y: keep up the good work.
12-25-2010, 06:31 PM #31
kisezer
Pokemon Trainer
Looks sick cant w8 for the final patch =D
12-25-2010, 07:27 PM #32
whiterain18
Im BACK!!!!
Originally posted by EliteMossy View Post
300 views? Proves people on here only care about patches because they can't make there own.


wow mossy ive always used and loved your patches cause u were the best now you are replying on your own thread about people only care about patches cause we cant make our own thats what this site basically is your getting to be more and more stuck up why?? everybody loves your patches telling you ur awesome now ur just being mean if you hate it why do it why make patches if you hate people caring or using patches????:cry: but i do repect your work!!
12-25-2010, 07:41 PM #33
-Luis7uarez-
Previously fer9dotorres
Your just saying you cant code because some trollers criticised you for copy and pasting. Keep up the good work and remember haters will hate!
12-25-2010, 11:19 PM #34
ADAM594
[B] Bazookin' [/B]
Mossy u revolutionized MW2 hacking You must login or register to view this content. ......are you going 2 release the attack lil bird? let me know THX!
12-26-2010, 04:12 AM #35
RavagedBoom
Sing My Guitar
You are too good.
12-26-2010, 04:25 AM #36
fukin sick man =D
12-26-2010, 06:01 AM #37
Alfa
Banned
Originally posted by EliteMossy View Post
I thought i would share this code, and see what other people can come up with.

It is fully functional and works as seen in my video:
You must login or register to view this content.

    
SuperAC130(){
/* Created by EliteMossy - Do not remove */
owner=self;
startNode=level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
heliOrigin=startnode.origin;
heliAngles=startnode.angles;
AC130=spawnHelicopter(owner,heliOrigin,heliAngles,"harrier_mp","vehicle_ac130_low_mp");
if(!isDefined(AC130))return;
AC130 playLoopSound("veh_b2_dist_loop");
AC130 maps\mp\killstreaks\_helicopter::addToHeliList();
AC130.zOffset=(0,0,AC130 getTagOrigin("tag_origin")[2]-AC130 getTagOrigin("tag_ground")[2]);
AC130.team=owner.team;
AC130.attacker=undefined;
AC130.lifeId=0;
AC130.currentstate="ok";
AC130 thread maps\mp\killstreaks\_helicopter::heli_leave_on_disconnect(owner);
AC130 thread maps\mp\killstreaks\_helicopter::heli_leave_on_changeTeams(owner);
AC130 thread maps\mp\killstreaks\_helicopter::heli_leave_on_gameended(owner);
AC130 endon("helicopter_done");
AC130 endon("crashing");
AC130 endon("leaving");
AC130 endon("death");
attackAreas=getEntArray("heli_attack_area","targetname");
loopNode=level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
AC130 maps\mp\killstreaks\_helicopter::heli_fly_simple_path(startNode);
AC130 thread leave_on_timeou(100);
AC130 thread maps\mp\killstreaks\_helicopter::heli_fly_loop_path(loopNode);
AC130 thread DropDaBomb(owner);
}
DropDaBomb(owner){
/* Created by EliteMossy - Do not remove */
self endon("death");
self endon("helicopter_done");
level endon("game_ended");
self endon("crashing");
self endon("leaving");
waittime=5;
for(;Winky Winky{
wait(waittime);
AimedPlayer=undefined;
foreach(player in level.players){
if((player==owner)||(!isAlive(player))||(level.teamBased&&owner.pers["team"]==player.pers["team"])||(!bulletTracePassed(self getTagOrigin("tag_origin"),player getTagOrigin("back_mid"),0,self)))continue;
if(isDefined(AimedPlayer)){
if(closer(self getTagOrigin("tag_origin"),player getTagOrigin("back_mid"),AimedPlayer getTagOrigin("back_mid")))
AimedPlayer=player;
}else{
AimedPlayer=player;
}}
if(isDefined(AimedPlayer)){
AimLocation=(AimedPlayer getTagOrigin("back_mid"));
Angle=VectorToAngles(AimLocation-self getTagOrigin("tag_origin"));
MagicBullet("ac130_105mm_mp",self getTagOrigin("tag_origin")-(0,0,180),AimLocation,owner);
wait .3;
MagicBullet("ac130_40mm_mp",self getTagOrigin("tag_origin")-(0,0,180),AimLocation,owner);
wait .3;
MagicBullet("ac130_40mm_mp",self getTagOrigin("tag_origin")-(0,0,180),AimLocation,owner);
}
}}
leave_on_timeou(T){
/* Created by EliteMossy - Do not remove */
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread ac130_leave();
}
ac130_leave(){
/* Created by EliteMossy - Do not remove */
self notify("leaving");
leaveNode=level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(100,45);
self setvehgoalpos(leaveNode.origin,1);
self waittillmatch("goal");
self notify("death");
wait .05;
self stopLoopSound();
self delete();
}


Please give credit if you use it.

Best regards


i wanna see what you would be able to come up with if you tried making a "fun" patch with all the newest mods and probably some new ones you would think of xD

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo