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-26-2010, 09:41 AM #38
makes me wanna try it....saweeet! you da "bomb", sir!
12-26-2010, 06:40 PM #39
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"


Yep already posted on S7, you just copy pasta this, just like your patches Smile
12-26-2010, 07:06 PM #40
lmao I added this to TheUnkn0wns patch, but it doesnt work :(
No errors, just when I press that nothing happens
12-26-2010, 07:16 PM #41
MidgetGangBang
I sell sex for vBux
Originally posted by clubba View Post
You Sir, are a LEGEND !


Dont call elite mossy a Foot :carling:

Just kiding he is a legend.:love::love:
12-26-2010, 07:38 PM #42
Kif
Kush Friendly
OMFG!! I want my friend to put this in his patch and invite me!!! THIS IS EPIC!!!! OMFG!! LoL
12-27-2010, 11:24 AM #43
Da-_LUky
Pokemon Trainer
Awesome Code
12-27-2010, 01:28 PM #44
bigboybobby14
Bounty hunter
wow looks prety cool
12-27-2010, 07:55 PM #45
EliteMossy
TheDigitalBoard.com
Originally posted by chris2k7mas View Post
Yep already posted on S7, you just copy pasta this, just like your patches Smile


Err right ok... How is this on S7.. When i wrote it...
12-28-2010, 10:17 PM #46
i am new too this hole thing mossy were do i put the codes into MP? coz if so i cant get it too work :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo