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
01-08-2011, 06:29 AM #56
.::xAtO omIC::.
Bounty hunter
it's not funny :/
01-08-2011, 06:49 AM #57
i got jailbroke ps3 where do i put codes...
01-08-2011, 06:55 AM #58
xRaz0r
Banned
nice bro im lovin it! :black:
01-08-2011, 01:41 PM #59
angelpig1
Little One
i dont like it to much, and i hate when people use this in my lobby. its so so so loud. if it were a little quiet it would be ok. it realy doesent kill to many people like you would think

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo