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-24-2010, 01:17 AM #11
D4RK_M4ST3R
Pokemon Catcher
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


thanks for release it your the best Claps
12-24-2010, 01:26 AM #12
Mr.Azoz
I’m too L33T
Originally posted by EliteMossy View Post
I can't code, i had to copy and paste this. All my patches are just "Copy and Paste"


:wtf::wtf::wtf::wtf:
12-24-2010, 01:27 AM #13
Originally posted by EliteMossy View Post
I can't code, i had to copy and paste this. All my patches are just "Copy and Paste"


Orly Kind Sir?

Nice Dude looks quality Smile
12-24-2010, 03:08 AM #14
divybc
Former Staff
Originally posted by EliteMossy View Post
I can't code, i had to copy and paste this. All my patches are just "Copy and Paste"


You cant code my arse mossy, You do well with all your code nice release and work + reppd ya

The following user thanked divybc for this useful post:

Moreton
12-24-2010, 04:27 AM #15
SpanksZ
Save Point
For some reason I get Syntax error when I add it to the patch. All I did was add it as a option to Admin menu then add the code to _events.gsc
12-24-2010, 06:58 AM #16
EliteMossy
TheDigitalBoard.com
300 views? Proves people on here only care about patches because they can't make there own.

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

legitmod, ownagex1
12-24-2010, 07:05 AM #17
smd
Zombie Disco Squad
Yup because I have a mac and can't make a patch/ :n:
12-24-2010, 07:10 AM #18
beryce
Goal 500 Posts!
pshhhh i code this in my sleep

jk nice work mossy
12-24-2010, 08:55 AM #19
ownagex1
Do a barrel roll!
thats badass man i cant wait to check out live in a lobby sweet work dude. Claps

BTW can u help me mossy everytime i try to do small edits to patchs when i use your tool xbox to ps3 patch converter it gives me a patch i edited previously and not the current one i edited any help plz

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo