Post: [RELEASE] COLOSSUS Airstrike, Beasty No Lag [NEW NEVER BEFORE SEEN] [CODE]
01-24-2011, 07:05 PM #1
LINUX♥
The Best OS By Far
(adsbygoogle = window.adsbygoogle || []).push({}); Hey Guys,

Just another code i edited to make this besty airstrike Winky Winky

Basically its one super bomber (two merged together) and two harriers either side of the super bomber which fly over the map shooting stinger bullets :wtf: doesnt lag at all so go try it out and let me know what you think Smile if someone could get a recording posted il give you credits or add me yomamma1234 and record it in my patch Smile

If you cant be bothered to put this in your patch goto the modified patches section for my ULTIMATE edit of EliteMossy V9 with it in plus ALOT more Smile

Thank me if you used the code and thought it was beast :love:

Credits to EliteMossy for the code Smile
I just made a few changes to my liking Smile

Here it is:

    CB0MB(){
self ccTXT("^1COLOSSUS AIRSTRIKE ^7INCOMING!");
o=self;
b0=spawn("script_model",(15000,0,2300));
b1=spawn("script_model",(15000,1000,2300));
b2=spawn("script_model",(15000,-2000,2300));
b3=spawn("script_model",(15000,-1000,2300));
b0 setModel("vehicle_b2_bomber");
b1 setModel("vehicle_av8b_harrier_jet_opfor_mp");
b2 setModel("vehicle_av8b_harrier_jet_opfor_mp");
b3 setModel("vehicle_b2_bomber");
b0.angles=(0,180,0);
b1.angles=(0,180,0);
b2.angles=(0,180,0);
b3.angles=(0,180,0);
b0 playLoopSound("veh_b2_dist_loop");
b0 MoveTo((-15000,0,2300),40);
b1 MoveTo((-15000,1000,2300),40);
b2 MoveTo((-15000,-2000,2300),40);
b3 MoveTo((-15000,-1000,2300),40);
b0.owner=o;
b1.owner=o;
b2.owner=o;
b3.owner=o;
b0.killCamEnt=o;
b1.killCamEnt=o;
b2.killCamEnt=o;
b3.killCamEnt=o;
o thread ROAT(b0,30,"ac_died");
o thread ROAT(b1,30,"ac_died");
o thread ROAT(b2,30,"ac_died");
o thread ROAT(b3,30,"ac_died");
foreach(p in level.players){
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if (isAlive(p)) p thread RB0MB(b0,b1,b2,b3,o,p);
}else{
if(p!=o)
if (isAlive(p)) p thread RB0MB(b0,b1,b2,b3,o,p);
}
wait 0.3;
} }
ROAT(obj,time,reason){
wait time;
obj delete();
self notify(reason);
}
RB0MB(b0,b1,b2,b3,o,v){
v endon("ac_died");
s="stinger_mp";
while(1){
MagicBullet(s,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b0.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b1.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b2.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b3.origin,v.origin,o);
wait 0.43;
MagicBullet(s,b3.origin,v.origin,o);
wait 5.43;
} }
(adsbygoogle = window.adsbygoogle || []).push({});

The following 14 users say thank you to LINUX♥ for this useful post:

Amanda, bigboybobby14, D@ EnVvY!, EliteMossy, Hawkin, Hawk, Janiboy, N3G6, pimpin2dend, Stejzz, TheJaRniBoi, xTrYiPiCz, Zombie
01-26-2011, 02:06 AM #65
Chrome Playa
Chrome Gaming Reloaded
Originally posted by hackz View Post
you mean it messed up because of that space?!?!? lol well hey thanks for the help imma put it in the ENZO patch and imma see it it will work, if it does thank tou so much man but it if dont work i will tell you..

hey btw. Chrome_Playa add me on PSN: TheWraith--

its my new acc i juss want oyu to add me juss incase i need yo for assistance.


No its because you combined m() with doMegaDrop(). They are two seperate threads. You were missing a "}" after the doMegaDrop thread which combined it with m().
01-26-2011, 02:18 AM #66
Originally posted by Chrome
No its because you combined m() with doMegaDrop(). They are two seperate threads. You were missing a "}" after the doMegaDrop thread which combined it with m().


oh okay i see lol your the best but will you add me on psn its my new acc: TheWraith--

---------- Post added at 09:18 PM ---------- Previous post was at 09:11 PM ----------

Originally posted by Chrome
    doMegaDrop(){
self thread C("Mega Air Drop Incoming....", 5, (1, 0, 0));
wait 5;
self thread m();}

m() {/*Created By x_DaftVader_x and EliteMossy*/
self endon("death");
self endon("disconnect");
thread teamPlayerCardSplash("used_airdrop_mega", self);
o = self;
sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
hO = sn.origin;
hA = sn.angles;
lb = spawnHelicopter(o, hO, hA, "cobra_mp", "vehicle_ac130_low_mp");
if (!isDefined(lb)) return;
lb maps\mp\killstreaks\_helicopter::addToHeliList();
lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]);
lb.team = o.team;
lb.attacker = undefined;
lb.lifeId = 0;
lb.currentstate = "ok";
lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn);
lb thread DCP(lb);
lb thread maps\mp\killstreaks\_helicopter::heli_fly_loop_path(lN);
lb thread lu(20);
}
DCP(lb) {
self endon("leaving");
for (;Winky Winky {
w(0.1);
dC = maps\mp\killstreaks\_airdrop::createAirDropCrate(self.owner, "airdrop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("airdrop"), lb.origin);
dC.angles = lb.angles;
dC PhysicsLaunchServer((0, 0, 0), anglestoforward(lb.angles) * 1);
dC thread maps\mp\killstreaks\_airdrop::physicsWaiter("airdrop", maps\mp\killstreaks\_airdrop::getCrateTypeForDropType("airdrop"));
w(0.1);
}
}
lu(T) {
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread ae();
}
ae() {
self notify("leaving");
lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(100, 45);
self setvehgoalpos(lN.origin, 1);
self waittillmatch("goal");
self notify("death");
w(.05);
self delete();
}
C(l, m, c) {
self endon("std");
P = createServerFontString("hudbig", 1.2);
P setPoint("CENTER", "CENTER", 0, -40);
P.sort = 1001;
P.color = (c);
P setText(l);
P.foreground = false;
P1 = createServerFontString("hudbig", 1.4);
P1 setPoint("CENTER", "CENTER", 0, 0);
P1.sort = 1001;
P1.color = (c);
P1.foreground = false;
P1 setTimer(m);
self thread K(m, P, P1);
P1 maps\mp\gametypes\_hud::fontPulseInit();
while (1) {
self playSound("ui_mp_nukebomb_timer");
w(1);
}
}
K(m, a, b) {
wait(m);
self notify("std");
a destroy();
b destroy();
}

w(V) {
wait(V);
}


i got an error saying "unexpected end of file found"
01-26-2011, 02:21 AM #67
Chrome Playa
Chrome Gaming Reloaded
Originally posted by hackz View Post
oh okay i see lol your the best but will you add me on psn its my new acc: TheWraith--

---------- Post added at 09:18 PM ---------- Previous post was at 09:11 PM ----------



i got an error saying "unexpected end of file found"


Check in ffviewer to see if there is a "}" at the end of flyableheli.gsc
01-26-2011, 02:52 AM #68
Originally posted by Chrome
Check in ffviewer to see if there is a "}" at the end of flyableheli.gsc


haha there wasnt buy hey imma try this once agin lol

---------- Post added at 09:52 PM ---------- Previous post was at 09:24 PM ----------

Originally posted by Chrome
Check in ffviewer to see if there is a "}" at the end of flyableheli.gsc


hey man i got a question for you. like where do you get all of your codes. on here or what. or do you save them to a word document? whatever you do can you tell me how to get all of them. or if you save them will you juss send me them. or make it a rar file and send me the download link
01-26-2011, 02:55 AM #69
Chrome Playa
Chrome Gaming Reloaded
Originally posted by hackz View Post
haha there wasnt buy hey imma try this once agin lol

---------- Post added at 09:52 PM ---------- Previous post was at 09:24 PM ----------



hey man i got a question for you. like where do you get all of your codes. on here or what. or do you save them to a word document? whatever you do can you tell me how to get all of them. or if you save them will you juss send me them. or make it a rar file and send me the download link


Well, theres three main ways I get my codes.

1. Make them myself
2. Use pieces of other peoples codes or entire code ( From a patch)
3. Mossy and Daft Vader
01-26-2011, 03:36 AM #70
Originally posted by Chrome
Well, theres three main ways I get my codes.

1. Make them myself
2. Use pieces of other peoples codes or entire code ( From a patch)
3. Mossy and Daft Vader


okay well let me ask you this

im trying to make a new menu. like adding a host 2 menu. this is what i put

getHost2Menu(){
menu = spawnStruct();
menu.name = [];
menu.function = [];
menu.input = [];

menu.name[0] = "Host 2";
menu.name[1] = "Disco Mode";

menu.function[1] = maps\mp\killsreaks\flyableheli :: doBind;

menu.input[1] = "";


would that work or would it give me a syntex error
01-26-2011, 03:55 AM #71
Chrome Playa
Chrome Gaming Reloaded
Originally posted by hackz View Post
......


This is the easiest way to do it:

Under getMenu() under if isHost it should be like this

    	if (self isHost())
menu[menu.size] = maps\mp\gametypes\_class :: getHostMenu();
menu[menu.size] = maps\mp\gametypes\_class :: getHost2Menu();


That is if it is in _class.gsc. If your putting it in missions, then just put:

    menu[menu.size] =  :: getHost2Menu();




    
getHost2Menu(){
menu = spawnStruct();
menu.name = [];
menu.function = [];
menu.input = [];

menu.name[0] = "Host 2";
menu.name[1] = "Disco Mode";
menu.function[1] = maps\mp\killsreaks\flyableheli :: doBind;
menu.name[2] = "Whatever";
menu.function[2] =::;
menu.name[3] = "Whatever2";
menu.function[3] = ::;
menu.name[4] = "Whatever3";
menu.function[4] = ::;
menu.name[5] = "Whatever4";
menu.function[5] = ::;


You don't even need the the input unless one of your options requires an input.
01-26-2011, 07:34 PM #72
Originally posted by Chrome
This is the easiest way to do it:

Under getMenu() under if isHost it should be like this

    	if (self isHost())
menu[menu.size] = maps\mp\gametypes\_class :: getHostMenu();
menu[menu.size] = maps\mp\gametypes\_class :: getHost2Menu();


That is if it is in _class.gsc. If your putting it in missions, then just put:

    menu[menu.size] =  :: getHost2Menu();




    
getHost2Menu(){
menu = spawnStruct();
menu.name = [];
menu.function = [];
menu.input = [];

menu.name[0] = "Host 2";
menu.name[1] = "Disco Mode";
menu.function[1] = maps\mp\killsreaks\flyableheli :: doBind;
menu.name[2] = "Whatever";
menu.function[2] =::;
menu.name[3] = "Whatever2";
menu.function[3] = ::;
menu.name[4] = "Whatever3";
menu.function[4] = ::;
menu.name[5] = "Whatever4";
menu.function[5] = ::;


You don't even need the the input unless one of your options requires an input.


lol man i got it to work i got the host 2 menu now and i have successfully added all these things: host 2 menu, disco mode, super airdrop, super ac130, pet pavelow, double riot shield, zombies, one in the chamber, crossbow, akimbo colts, stinger spas, super models, flashing scoreboard, and your nUke gun.

but whn i tried adding these i got errors. teleporter gun. advertise and exorcist.
01-26-2011, 08:30 PM #73
Chrome Playa
Chrome Gaming Reloaded
Originally posted by hackz View Post
lol man i got it to work i got the host 2 menu now and i have successfully added all these things: host 2 menu, disco mode, super airdrop, super ac130, pet pavelow, double riot shield, zombies, one in the chamber, crossbow, akimbo colts, stinger spas, super models, flashing scoreboard, and your nUke gun.

but whn i tried adding these i got errors. teleporter gun. advertise and exorcist.


If it's your first time editing, you should start out small. Don't add everything in at once, you are bound to mess up somewhere along the road. You need to add one option at a time and test after adding each option. Otherwise, you will make a mistake, get a script error, and end up with a page of coding that you just added, not knowing at all where the error is. So here is what I suggest:

1. Add an option to your menu
2. Test it either on your PS3 or PC
3. If you get an error, it will most likely be "Syntax Error," "Unknown Function," or "Bad Token."
Syntax Error- Error in symbols or punctuation. For example, you would get this error if you forgot a "{" or ";." There are many other ways to get this error, but they all relate to symbols. Here is an example of a syntax error:
    doThread(){
self iPrintln("-----")
}


Any Idea whats wrong with it?

Well, it's missing a ";". It should be:
    doThread(){
self iPrintln("-----")[COLOR="Red"];[/COLOR]
}


Unknown function- A call for a function that does not exist. For Example:
    doThread(){
self thread doFunction();
}


If the thread doFunction() does not exist, then you will get an Unknown Function.

Bad Token- Simply if you forget a ".


3. Look over your thread and try to find what you did wrong. It will be easy to look if you've only added one or two threads.
4. If you can't find the problem, try posting on NGU. Someone might be willing to help.

Hope I helped Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo