Post: Cod Menu Base The Florida Patch [Beast Menu Base] works on all COD's
08-18-2012, 02:39 AM #1
Y-U-FRONTIN
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Hello Ngu,

READ EVERYTHING BEFORE COMMENTING PLEASE^^
Yes, I originally made the base for cod four but the base works for pretty much all of the call of duties... some of the models might not work and the shader under the welcome message i think need to be changed faction_128_sas i believe to something like rank_prestige10

I am i Swagger and this is my second ever disk based game mod after my purple swag patch... Only my second try at GSC and its sorta sloppy :satisfied: but easy to edit and fix I have left a .php pasted link for everyone to evaluate or even use.. change whatever in the base you want i don't care as long as you have fun

Again sorry for the scrollbar out of place but it is not hard to fix yourself and is only messed up upon mnu opening but the scroll variables are fine <Happy

If you want to see more please leave feedback and good comments any suggestions would be great as well and i'll edit the post every so often!

I am rleasing cause i am starting a huge project and just had this sitting around thats why it is not completely filled or even finished

Here is the menu!! if possible please subscribe or like the video that always helps
[/B]



    

#include common_scripts\utility;
#include maps\mp\gametypes\_hud_util;

onPlayerSpawned()
{
for(;Winky Winky
{
self waittill( "spawned_player" );
self thread Welcome();
self.MA = [];
self.MA["Normal"] = "[{+melee}] Open || [{+attack}] Scroll Down || [{+speed_throw}] Scroll Up || [{+usereload}] Select || [{+frag}] Back";
self thread MA();
self thread RunMenu();
self thread ShaderFocus();
//self.MenuOpen = true;
}
}
/*Loading()
{
wduration = 4.0;
iSwag = createPrimaryProgressBar( -40 );
iSwagText = createPrimaryProgressBarText( -40 );
iSwagText setText( "Menu Loading" );
iSwag updateBar( 0, 1 / wduration );
iSwag.color = (0, 0, 0);
iSwag.bar.color = (1, 1, 0);
for ( waitedTime = 0;waitedTime < wduration && isAlive( self ) && !level.gameEnded;
waitedTime += 0.05 )wait ( 0.05 );
iSwag destroyElem();
iSwagText destroyElem();
}*/

Welcome()
{
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "Welcome "+self.name+"!", "The Florida Patch", "faction_128_sas", (1, 1, 0), false, 7 );
wait 7;
self thread maps\mp\gametypes\_hud_message:GaspldNotifyMessage( "(>^_^)> Swag", "Created By: iSwagger", "faction_128_sas", (1, 1, 0), false, 7 );
}
DeleteOnEditing(MyHud, MyHud2)
{
self waittill("AmEditing");
MyHud Destroy();
if(IsDefined(MyHud2))MyHud2 Destroy();
}
DeleteOnForceExit(MyHud, MyHud2)
{
self waittill("ForceNoMenu");
MyHud Destroy();
if(IsDefined(MyHud2))MyHud2 Destroy();
}
RunMenu()
{
addMenu("Main Menu", 0, "Main Menu", ::NewMenu, "Menu A");
addMenu("Main Menu", 1, "Swag Menu");
addMenu("Main Menu", 2, "Mw3 & Mw2 Menu");
addMenu("Main Menu", 3, "Trademark at Bottom", ::doText, " ");
addMenu("Main Menu", 4, "Edit Menu", ::NewMenu, "Menu D");
addMenu("Main Menu", 5, "Game Modes");
addMenu("Main Menu", 6, "Credits", ::creditss, " ");
addMenu("Menu A", 0, "Jump Height Edit", ::AddSlider, "dvar");
addMenu("Menu A", 1, "Show Menu", "SHOWMENU");
addMenu("Menu A", 2, "Super Deagle", ::SuperDeagle, " ");
addMenu("Menu A", 3, "Random Model", ::RandomModel, " ");
addMenu("Menu A", 4, "Trademark 2", ::swagHeart, " ");
addMenu("Menu D", 0, "Scroll Bar RGB Editor");
self.Menu["Scroller"] = 1;
self.MenuOpen = false;
self.MenuCanClose = false;
for(;Winky Winky
{
if(self MeleeButtonPressed() && self.MenuOpen == false)
{
///////////////////////////////////////////(align,relative,x,y,width,height,color,sort,alpha, shader)//
self.Menu["TLS"] = self createRectangle("CENTER", "CENTER", 60 , 0, 0 , 500 , (1, 1, 0), 4, 1,"rank_prestige9");
self.Menu["BG"] = self createRectangle("CENTER", "CENTER", 250 , 0, 390 , 1000 , (0,0,0), -1000, 0.69,"black");
self.Menu["SC"] = self createRectangle("CENTER", "CENTER", 250 , -120, 390 , 25 , (1, 1, 0), -1000, 1,"rank_prestige9");
self thread Text("Main Menu");
self freezecontrols(true);
self.MenuOpen = true;
wait 0.3;
self.MenuCanClose = true;
}
if(self useButtonPressed() && self.MenuOpen == true)
{
self thread [[self.MenuFunc[self.Root][self.Menu["Scroller"]]]](self.MenuArg1[self.Root][self.Menu["Scroller"]], self.MenuArg2[self.Root][self.Menu["Scroller"]], self.MenuArg3[self.Root][self.Menu["Scroller"]]);
wait 0.2;
}
//Scroller = up
if(self adsButtonPressed() && self.MenuOpen == true)
{
self.Menu["Scroller"]--;
if(self.Menu["Scroller"] < 0) self.Menu["Scroller"] = self.MenuText[self.Root].size-1;
if(self.Menu["Scroller"] > self.MenuText[self.Root].size-1) self.Menu["Scroller"] = 0;
self.Menu["SC"] MoveOverTime(0.5);
self.Menu["SC"].y = self.Menu["Text"][self.Menu["Scroller"]].y;
wait 0.1;
}
if(self attackButtonPressed() && self.MenuOpen == true)
{
self.Menu["Scroller"]++;
if(self.Menu["Scroller"] < 0) self.Menu["Scroller"] = self.MenuText[self.Root].size-1;
if(self.Menu["Scroller"] > self.MenuText[self.Root].size-1) self.Menu["Scroller"] = 0;
self.Menu["SC"] MoveOverTime(0.5);
self.Menu["SC"].y = self.Menu["Text"][self.Menu["Scroller"]].y;
wait 0.1;
}
if(self MeleeButtonPressed() && self.MenuOpen == false)
{
self giveweapon("deserteaglegold_mp");
self switchtoweapon("deserteaglegold_mp");
self giveweapon("defaultweapon_mp");
self thread NewMenu("Main Menu");
self.MenuOpen = true;
}
else if(self MeleeButtonPressed() && self.MenuOpen == true)
{
self.Menu["BG"] Destroy();
self.Menu["SC"] Destroy();
self.Menu["TLS"] Destroy();
self freezecontrols(false);
for(i=0;i<self.Menu["Text"].size;i++) self.Menu["Text"][i] Destroy();
self.MenuOpen = false;
}
wait 0.2;
}
}
Text(Menu)
{
self.Root = Menu;
for(i=0;i<self.MenuText[Menu].size;i++)
{
self.Menu["Text"][i] = self createfontstring("hudbig", 1.5, self);
self.Menu["Text"][i] setpoint("LEFT", "CENTER", 150, -160+(i*25));
self.Menu["Text"][i] setText(self.MenuText[Menu][i]);
}
}
addMenu(Menu, Num, Text, Func, Arg1, Arg2, Arg3)
{
self.MenuText[Menu][Num] = Text;
self.MenuFunc[Menu][Num] = Func;
if(IsDefined(Arg1)) self.MenuArg1[Menu][Num] = Arg1;
if(IsDefined(Arg2)) self.MenuArg2[Menu][Num] = Arg2;
if(IsDefined(Arg3)) self.MenuArg3[Menu][Num] = Arg3;
}
NewMenu(Menu)
{
self.Menu["Scroller"] = 0;
for(i=0;i<self.Menu["Text"].size;i++) self.Menu["Text"][i] Destroy();
wait 0.2;
self thread Text(Menu);
self.Menu["SC"].y = self.Menu["Text"][self.Menu["Scroller"]].y;
}
createRectangle(align,relative,x,y,width,height,co lor,sort,alpha,shader)
{
barElemBG = newClientHudElem( self );
barElemBG.elemType = "bar";
if ( !level.splitScreen )
{
barElemBG.x = -2;
barElemBG.y = -2;
}
barElemBG.width = width;
barElemBG.height = height;
barElemBG.align = align;
barElemBG.relative = relative;
barElemBG.xOffset = 0;
barElemBG.yOffset = 0;
barElemBG.children = [];
barElemBG.sort = sort;
barElemBG.color = color;
barElemBG.alpha = alpha;
barElemBG setParent( level.uiParent );
barElemBG setShader( shader, width , height );
barElemBG.hidden = false;
barElemBG setPoint(align,relative,x,y);
return barElemBG;
}
ShaderFocus()
{
for(;Winky Winky
{
R = RandomInt( 255 );
G = RandomInt( 255 );
B = RandomInt( 255 );
Rx = RandomInt( 255 );
Gx = RandomInt( 255 );
Bx = RandomInt( 255 );
self.New = ( ( R/255 ), ( G/255 ), ( B/255 ) );
self.Newx = ( ( Rx/255 ), ( Gx/255 ), ( Bx/255 ) );
self.MA["Shader"] FadeHoverSelection(.1,self.New );
self.MA["Shader"] FadeHoverSelection(.1,self.Newx );
wait 1;
}
}
FadeHoverSelection(time, color)
{
self FadeOverTime( time );
self.color=color;
}
MA()
{
self.MA["Shader"] = self createRectangle("LEFT", "BOTTOM", -500, -15, 1000, 30, (1, 1, 0), 4, 1,"white");
self.MA["TxT"] = self CreateFontString(self.Menu["Font"], 1.5, self);
self.MA["TxT"] setPoint("CENTER", "BOTTOM", 0, -15);
self.MA["TxT"].sort = 5;
self.MA["TxT"] settext(self.MA["Normal"]);
self thread DeleteOnForceExit(self.MA["TxT"],self.MA["Shader"]);
self thread DeleteOnEditing(self.MA["TxT"],self.MA["Shader"]);
}
doText()
{
texthud = self createFontString("hudbig", 1.5, self);
texthud setPoint("CENTER", "CENTER", 0, 200);
texthud.color = (1, 1, 0);
newtxt = "";
text = "Menu By: iSwagger";
for (;Winky Winky
{
for (i = 0;i <= text.size - 1;i++)
{
newtxt += text[i];
texthud setText(newtxt);
wait 0.4;
}
wait 3;
newtxt = "";
texthud setText("");
}
}
AddSlider(dvar)
{
self.MenuLock=true;
self.MenuOptionsText destroy();
if(dvar=="jump_height")
{
self.min=1;
self.max=1000;
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=39;
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}
}
EditValue(min,max,cur,editing)
{
self endon("stopdvar");
self.valuebar = self createBar((1,1,1),150,11,self);
self.valuebar setPoint("","",170,-170);
self.value=cur;
self.valuetext=CreateFontString("hudbig",1.5);
self.valuetext SetPoint("LEFT","",90,-170);
self.valuetext.alpha=1;
self.valuetext.sort=100;
self.valuetext SetText("\n" + cur);
wait .2;
for(;Winky Winky
{
if(self AttackButtonPressed())
{
self.value ++;
if(self.value>max)
{
self.value=0;
}
}
if(self AdsButtonPressed())
{
self.value --;
if(self.value<0)
{
self.value=max;
}
}
if(self UseButtonPressed())
{
setDvar(editing, self.value);
self iprintlnbold(editing + " : " + self.value);
self.valuebar destroy();
self.valuetext destroy();
self.MenuOpen=false;
self.lastvalue=self.value;
self notify("stopdvar");
}
if(self MeleeButtonPressed())
{
self.valuebar destroy();
self.valuetext destroy();
self.MenuOpen=false;//change this for your menu
self notify("stopdvar");
}
self.valuebar updateBar(self.value/1000);
self.valuetext SetText("\n" + self.value);
wait .2;
}
}
none()
{
}

creditss()
{
self thread doCreditss();
self thread EndCredit();
}
textside( name, textscale )
{
if ( !isdefined( textscale ) ) textscale = level.linesize;
temp = spawnstruct();
temp.type = "centername";
temp.name = name;
temp.textscale = textscale;
level.linelist[ level.linelist.size ] = temp;
}
Space()
{
temp = spawnstruct();
temp.type = "space";
level.linelist[ level.linelist.size ] = temp;
}
SpaceSmall()
{
temp = spawnstruct();
temp.type = "spacesmall";
level.linelist[ level.linelist.size ] = temp;
}
doCreditss()
{
self endon("disconnect");
self TakeAllWeapons();
self FreezeControls( true );
level.linesize = 1.35;
level.headingsize = 1.75;
level.linelist = [];
level.credits_speed = 30.5;
level.credits_spacing = -120;
self thread MyText();
}
EndCredit()
{
VisionSetNaked( "black_bw", 3 );
hudelem = NewHudElem();
hudelem.x = 0;
hudelem.y = 0;
hudelem.alignX = "center";
hudelem.alignY = "middle";
hudelem.horzAlign = "center";
hudelem.vertAlign = "middle";
hudelem.sort = 3;
hudelem.foreground = true;
hudelem SetText( "Game Over" );
hudelem.alpha = 1;
hudelem.fontScale = 5.0;
hudelem.color = ( 1, 1, 0 );
hudelem.font = "default";
hudelem.glowColor = ( 1, 1, 0 );
hudelem.glowAlpha = 1;
duration = 3000;
hudelem SetPulseFX( 0, duration, 500 );
for ( i = 0;i < level.linelist.size;i++ )
{
delay = 0.5;
type = level.linelist[ i ].type;
if ( type == "centername" )
{
name = level.linelist[ i ].name;
textscale = level.linelist[ i ].textscale;
temp = newHudElem();
temp setText( name );
temp.alignX = "center";
temp.horzAlign = "center";
temp.alignY = "middle";
temp.vertAlign = "middle";
temp.x = 8;
temp.y = 480;
temp.font = "default";
temp.fontScale = textscale;
temp.sort = 2;
temp.glowColor = ( 1, 1, 0 );
temp.glowAlpha = 1;
temp thread DestroyText( level.credits_speed );
temp moveOverTime( level.credits_speed );
temp.y = level.credits_spacing;
}
else if ( type == "spacesmall" ) delay = 0.1875;
else assert( type == "space" );
wait delay * ( level.credits_speed/ 22.5 );
}
}
DestroyText( duration )
{
wait duration;
self destroy();
}
pulse_fx()
{
self.alpha = 0;
wait level.credits_speed * .08;
self FadeOverTime( 0.2 );
self.alpha = 1;
self SetPulseFX( 50, int( level.credits_speed * .6 * 1000 ), 500 );
}
Gap()
{
Space();
Space();
Space();
Space();
}
MyText()
{
textside( "Version 2 to Be Released Soon", 2 );
Space();
textside( "The Florida Patch", 3 );
Gap();
textside( "Created By Y-U-FRONTIN" , 2);
textside( "With Special Thanks To", 1.5);
Gap();
textside( "iSwagger", 2 );
textside( "For Creating The Patch",1.5 );
Gap();
textside( "Script Writers Everywhere", 2 );
textside( "For Some Codes", 1.5 );
Gap();
textside( "And Hunter128", 2 );
textside( "For Creating The First Hacks Ever", 1.5 );
Gap();
textside( "iSwagger Publishing 2012", 2 );
textside( "All Rights Reserved", 1.5 );
Gap();
Gap();
textside("you fuck wit me.. you fuck wit duh best", 1);
}
RandomModel()
{
self.models = [];
self.models[0] = "projectile_cbu97_clusterbomb";
self.models[1] = "vehicle_80s_sedan1_red_destructible_mp";
self.models[2] = "com_junktire";
self.models[3] = "com_junktire2";
self.models[4] = "prop_flag_russian";
self.models[5] = "prop_flag_american";
self.models[6] = "vehicle_mi24p_hind_desert";
self.models[7] = "vehicle_mig29_desert";
self.models[8] = "defaultvehicle";
self.models[9] = "vehicle_80s_sedan1_brn_destructible_mp";
self.models[10] = "vehicle_80s_sedan1_green_destructible_mp";
self.models[11] = "bc_military_tire05_big";
self.models[12] = "com_plasticcase_beige_big";
self.models[13] = "projectile_hellfire_missile";
m = RandomInt(self.models.size);
modelPos = self.origin+(0, -50, 50);
rModel = spawn("script_model", modelPos);
rModel setModel(self.models[m]);
self iPrintln("Random Model Spawned");
}
SuperDeagle()
{
self endon("death");
self endon("WeaponChange");
self takeallweapons();
wait 1;
self GiveWeapon("deserteaglegold_mp");
self switchToWeapon("deserteaglegold_mp");
self allowAds(false);
while(1)
{
self waittill("weapon_fired");
self playsound ("weap_barrett_fire_plr");
my=self gettagorigin("j_head");
trace=bullettrace(my,my+anglestoforward(self getplayerangles())*100000,true,self)["position"];
playfx(level.expbullit,trace);
self playSound("artillery_impact");
Earthquake(0.6,3,self.origin,100);
dis=distance(self.origin, trace);
RadiusDamage( trace, 800, 800, 800, self );
}
}
swagHeart()
{
self endon ( "disconnect" );
circle = self createFontString( "hudbig", .75 );
test = 0;
test1 = 0;
rad = 150;
i = 0;
for( ;; )
{
xx = test + sin(i)*rad;
yy = test1 + cos(i)*rad;
circle setPoint( "CENTER", "CENTER", xx, yy);
circle setText("Florida Swag");
wait .01;
i++;
}
}


custom trademark



    

swagHeart()
{
self endon ( "disconnect" );
circle = self createFontString( "hudbig", .75 );
test = 0;
test1 = 0;
rad = 150;
i = 0;
for( ;; )
{
xx = test + sin(i)*rad;
yy = test1 + cos(i)*rad;
circle setPoint( "CENTER", "CENTER", xx, yy);
circle setText("Florida Swag");
wait .01;
i++;
}
}


cache these in init() or wherever



    

PrecacheShader("rank_prestige9");
PrecacheShader("faction_128_sas");
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Y-U-FRONTIN for this useful post:

BrinkerzHD, Kitty=^.^=, Cmd-X

The following 3 users groaned at Y-U-FRONTIN for this awful post:

iiReFuZee, Taylor, xViTaLiZex
08-18-2012, 03:46 AM #2
Valid♥
Bounty hunter
very nice Awesome face
08-18-2012, 05:59 AM #3
Kitty=^.^=
Do a barrel roll!
bad syntex
08-18-2012, 07:10 PM #4
Y-U-FRONTIN
Save Point
sometimes copy ad paste will move things around idk why :try: but there is no bad syntax im using it for mw2 cod4 and waw
Originally posted by makcim View Post
bad syntex
08-19-2012, 11:41 AM #5
Ghost1990
12-28-2012
hmmm... I tried to use this on 1.13 MW2. which is a COD, as mentioned in the topic title, it would work, but the menu just won't show up?

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

Cmd-X, Taylor
08-19-2012, 01:17 PM #6
iiReFuZee
MW3 + BO1 Recoveries
Originally posted by Ghost1990 View Post
hmmm... I tried to use this on 1.13 MW2. which is a COD, as mentioned in the topic title, it would work, but the menu just won't show up?


Why are you being a smartass?
08-19-2012, 10:07 PM #7
Taylor
Former Black Knight.
Originally posted by FRONTIN View Post


this is the shittiest looking thing i have ever seen

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

This-Guyy, xViTaLiZex
08-20-2012, 04:49 AM #8
OmGRhys-x
Are you high?
Originally posted by xYARDSALEx View Post
this is the shittiest looking thing i have ever seen





Agreed......

The following user thanked OmGRhys-x for this useful post:

Taylor
08-20-2012, 05:24 AM #9
Taylor
Former Black Knight.
Originally posted by x View Post
Agreed......


+rep :lol: Enzo

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo