Post: iReset's CF3 Menu base Release
09-23-2011, 06:16 PM #1
iReset Nigga
2Fresshh!!
(adsbygoogle = window.adsbygoogle || []).push({}); Hey whats up every1 My pc Crashed and i lost everything but the menu base (Thanks To Newelly)
but my pc is broken and i gotta buy a repair disk to fix but anyway i decided to release this menu base
cause im going kinda inactive until new pc
it has no mods in it
please Enjoy here is a Video of the Menu base
*ABOUT TO UPDATE VIDEO*


*NEW VIDEO*


PLEASE ENJOY!!!
If u use this menu base just please give me credits :p
>>>>>Menu Base<<<
    
#include common_scripts\utility;
#include maps\mp\gametypes\_hud_util;
iReset()
{
self giveWeapon("brick_blaster_mp");
setDvar( "cg_laserForceOn", 1 );
setDvar( "jump_height", "999" );
setDvar( "g_gravity", "75" );
setDvar( "player_sustainAmmo", 1 );
setDvar( "player_sprintSpeedScale", "5.0" );
setDvar( "bg_fallDamageMinHeight", 9998 );
setDvar( "player_meleeRange", 999 );
self setClientDvar("compass", "0");
self setClientDvar("player_sustainAmmo", 1);
setDvar("scr_forcerankedmatch", 1 );
setdvar("xblive_privatematch", 0);
self TakeWeapon("frag_grenade_mp");
self thread MenuStart();
self thread MenuEnd();
self thread selectOpt();
self thread ButtonMonitoring();
self thread iniMenu();
self thread Up();
self thread Down();
}
iniMenu()
{
self.opts[1] = strTok("iReset's Menu Base|Account Menu|Infection Menu|Customize Menu|Fun Menu|V.I.P Menu|Co Host Menu|Host Menu|GameModes|Exit Menu", "|");
self.title[1] = "Main Menu";
self.func[1] = [];
self.func[1][0] = :: empty;
self.func[1][1] = :: menus;
self.func[1][2] = :: menus;
self.func[1][3] = :: menus;
self.func[1][4] = :: menus;
self.func[1][5] = :: menus;
self.func[1][6] = :: menus;
self.func[1][7] = :: menus;
self.func[1][8] = :: menus;
self.func[1][9] = :: CloseMenu;
self.input[2] = [];
self.input[1][0] = "";
self.input[1][1] = 2;
self.input[1][2] = 3;
self.input[1][3] = 4;
self.input[1][4] = 5;
self.input[1][5] = 6;
self.input[1][6] = 7;
self.input[1][7] = 8;
self.input[1][8] = 9;
self.input[1][9] = 10;
self.opts[2] = strTok("Account Menu|Toggle Prestige|Unlock All|Set ClanTag|Toggle Stats|Color Classes|Button Classes", "|");
self.func[2] = [];
self.func[2][0] = :: empty;
self.func[2][1] = :: test;
self.func[2][2] = :: test;
self.func[2][3] = :: test;
self.func[2][4] = :: test;
self.func[2][5] = :: test;
self.func[2][6] = :: test;
self.func[2][7] = :: test;
self.func[2][8] = :: test;
self.input[2] = [];
self.input[2][0] = "";
self.input[2][1] = "";
self.input[2][2] = "";
self.input[2][3] = "";
self.input[2][4] = "";
self.input[2][5] = "";
self.input[2][6] = "";
self.input[2][7] = "";
self.opts[3] = strTok("Infection Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[3][0] = :: empty;
self.func[3][1] = :: test;
self.func[3][2] = :: test;
self.func[3][3] = :: test;
self.func[3][4] = :: test;
self.func[3][5] = :: test;
self.func[3][6] = :: test;
self.func[3][7] = :: test;
self.func[3][8] = :: test;
self.input[3] = [];
self.input[3][0] = "";
self.input[3][1] = "";
self.input[3][2] = "";
self.input[3][3] = "";
self.input[3][4] = "";
self.input[3][5] = "";
self.input[3][6] = "";
self.input[3][7] = "";
self.opts[4] = strTok("Customize Menu|Toggle ScrollBar Color|Toggle Font|Toggle Placement|Toggle TextColor|Toggle Font Size|Toggle ShaderColor|Toggle Newsbar Color", "|");
self.func[4][0] = :: empty;
self.func[4][1] = :: test;
self.func[4][2] = :: test;
self.func[4][3] = :: test;
self.func[4][4] = :: test;
self.func[4][5] = :: test;
self.func[4][6] = :: test;
self.func[4][7] = :: test;
self.func[4][8] = :: test;
self.input[4] = [];
self.input[4][0] = "";
self.input[4][1] = "";
self.input[4][2] = "";
self.input[4][3] = "";
self.input[4][4] = "";
self.input[4][5] = "";
self.input[4][6] = "";
self.input[4][7] = "";
self.opts[5] = strTok("Fun Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[5][0] = :: empty;
self.func[5][1] = :: test;
self.func[5][2] = :: test;
self.func[5][3] = :: test;
self.func[5][4] = :: test;
self.func[5][5] = :: test;
self.func[5][6] = :: test;
self.func[5][7] = :: test;
self.func[2][8] = :: test;
self.input[5] = [];
self.input[5][0] = "";
self.input[5][1] = "";
self.input[5][2] = "";
self.input[5][3] = "";
self.input[5][4] = "";
self.input[5][5] = "";
self.input[5][6] = "";
self.input[5][7] = "";
self.opts[6] = strTok("V.I.P Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[6][0] = :: empty;
self.func[6][1] = :: test;
self.func[6][2] = :: test;
self.func[6][3] = :: test;
self.func[6][4] = :: test;
self.func[6][5] = :: test;
self.func[6][6] = :: test;
self.func[6][7] = :: test;
self.func[6][8] = :: test;
self.input[6] = [];
self.input[6][0] = "";
self.input[6][1] = "";
self.input[6][2] = "";
self.input[6][3] = "";
self.input[6][4] = "";
self.input[6][5] = "";
self.input[6][6] = "";
self.input[6][7] = "";
self.opts[7] = strTok("CO Host|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[7][0] = :: empty;
self.func[7][1] = :: test;
self.func[7][2] = :: test;
self.func[7][3] = :: test;
self.func[7][4] = :: test;
self.func[7][5] = :: test;
self.func[7][6] = :: test;
self.func[7][7] = :: test;
self.func[7][8] = :: test;
self.input[7] = [];
self.input[7][0] = "";
self.input[7][1] = "";
self.input[7][2] = "";
self.input[7][3] = "";
self.input[7][4] = "";
self.input[7][5] = "";
self.input[7][6] = "";
self.input[7][7] = "";
self.opts[8] = strTok("Host Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[8][0] = :: empty;
self.func[8][1] = :: test;
self.func[8][2] = :: test;
self.func[8][3] = :: test;
self.func[8][4] = :: test;
self.func[8][5] = :: test;
self.func[8][6] = :: test;
self.func[8][7] = :: test;
self.func[8][8] = :: test;
self.input[8] = [];
self.input[8][0] = "";
self.input[8][1] = "";
self.input[8][2] = "";
self.input[8][3] = "";
self.input[8][4] = "";
self.input[8][5] = "";
self.input[8][6] = "";
self.input[8][7] = "";
self.opts[9] = strTok("GameModes|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[9][0] = :: empty;
self.func[9][1] = :: test;
self.func[9][2] = :: test;
self.func[9][3] = :: test;
self.func[9][4] = :: test;
self.func[9][5] = :: test;
self.func[9][6] = :: test;
self.func[9][7] = :: test;
self.func[9][8] = :: test;
self.input[9] = [];
self.input[9][0] = "";
self.input[9][1] = "";
self.input[9][2] = "";
self.input[9][3] = "";
self.input[9][4] = "";
self.input[9][5] = "";
self.input[9][6] = "";
self.input[9][7] = "";
}
MenuStart()
{
self endon ("death");
self.cf3=0;
self.curs=1;
self.editor=0;
self.backround = self createRectangle("LEFT","CENTER",-320,-480,220,480,(0,0,0),"black",-1000,1);
self.MenuCurs = self createRectangle("LEFT", "TOP", -620, (self.curs*24+150), 214, 20,(1,0,0),"white",3,1);
for(;Winky Winky
{
self waittill("frag");
if(self.editor==1){}
else if(self.cf3==0)
{
self.backround elemMoveY(1,0);
self.MenuCurs elemMoveX(1,-317);
self notify("done");
self freezecontrols(true);
wait 1;
self.curs=1;
self.cf3=1;
self thread subMenu();
}
}
}
MenuEnd()
{
for(;Winky Winky
{
self.curs=1;
self waittill("melee");
self notify("update");
if( self.cf3==1)
{
self.backround elemMoveY(1,-480);
self.MenuCurs elemMoveX(1,-620);
wait .3;
self.cf3=0;
self freezecontrols(false);
} else if(self.cf3==0) { self thread empty(); } else {
self.cf3=1;
self.curs=1;
self thread subMenu();
}
}
}
CloseMenu()
{
self notify("update");
self.backround elemMoveY(1,-480);
self.MenuCurs elemMoveX(1,-620);
self.cf3=0;
self freezecontrols(false);
}
OpenMenu()
{
self endon ("death");
self.cf3=0;
self.curs=1;
self.backround elemMoveY(1,0);
self.MenuCurs elemMoveX(1,-317);
self freezecontrols(true);
self.curs=1;
self.cf3=1;
self thread subMenu();
}
subMenu()
{
for(x=0; x<=self.opts[self.cf3].size; x++)
{
if(self.cf3==0) {}
else {
self.display[x] = createfontString("DAStacks", 2.0, self);
self.display[x].sort = 100;
self.display[x] setPoint("LEFT", "TOP", -490, x*24+150);
self.display[x] setText(self.opts[self.cf3][x]);
wait .1;
self.display[0].fontscale = 2.5;
self.display[0].y = (-3*24+150);
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
self.display[x] elemMoveX(.4, -290);
self thread Update(self.display[x]); }
}
}
Update( elem3)
{
self waittill("update");
elem3 elemMoveX(.4, -490);
wait .5;
elem3 destroy();
}
Up()
{
self endon ("death");
self waittill("done");
for(;Winky Winky
{
self waittill("attack");
if(self.cf3>=1)
{
self.curs += 1;
if( self.curs>=self.opts[self.cf3].size)
{
self.curs = 1;
}
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
}
}
}

Down()
{
self endon ( "death" );
self waittill("done");
for(;Winky Winky
{
self waittill("ads");
if(self.cf3>=1)
{
self.curs -= 1;
if( self.curs<1)
{
self.curs = self.opts[self.cf3].size-1;
}
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
}
}
}

selectOpt()
{
self endon ( "disconnect" );
for(;Winky Winky
{
self waittill("use");
self playSound("claymore_activated");
if(!IsDefined(self.input[self.cf3][self.curs]))
{
self thread [[self.func[self.cf3][self.curs]]]();
} else {
self thread [[self.func[self.cf3][self.curs]]](self.input[self.cf3][self.curs]);
}
}
}
test()
{
self iPrintlnBold("Menu:"+self.cf3 );
self iPrintlnBold( "Option:"+self.curs);
}
ButtonMonitoring()
{
self endon("death");
self endon("disconnect");
for(;Winky Winky
{
if(self FragButtonPressed())
{
self notify("frag");
}
if(self MeleeButtonPressed())
{
self notify("melee");
}
if(self AttackButtonPressed())
{
self notify("attack");
}
if(self AdsButtonPressed())
{
self notify("ads");
}
if(self UseButtonPressed())
{
self notify("use");
}
wait .15;
}
}
menus(num)
{
self notify ("update");
self.cf3=num;
self.curs=1;
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
self thread subMenu();
}
createRectangle(align,relative,x,y,width,height,color,shader,sort,alpha)
{
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;
}
elemMoveY(time, input)
{
self moveOverTime(time);
self.y = input;
}
elemMoveX(time, input)
{
self moveOverTime(time);
self.x = input;
}
elemFade(time, alpha)
{
self fadeOverTime(time);
self.alpha = alpha;
}
empty(){}

Credits goes to:
Insanely Death for giving me the idea to Convert this menu base
Newelly For Saving my Menu Base when My PC Crashed
Correy For Helping me with Alot
:love:
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to iReset Nigga for this useful post:

.Andy, Woof, cadpimp1289, Correy, Diddles2Fresshh, DinoFreak, DreamKidzVa, Harry, Jeremy, lovebros, xBRz_fri3dL, xMrSuperMoDzZ--
10-03-2011, 11:31 AM #20
Wretch 32
< ^ > < ^ >
Originally posted by iReset View Post
Hey whats up every1 My pc Crashed and i lost everything but the menu base (Thanks To Newelly)
but my pc is broken and i gotta buy a repair disk to fix but anyway i decided to release this menu base
cause im going kinda inactive until new pc
it has no mods in it
please Enjoy here is a Video of the Menu base
*ABOUT TO UPDATE VIDEO*


*NEW VIDEO*


PLEASE ENJOY!!!
If u use this menu base just please give me credits :p
>>>>>Menu Base<<<
    
#include common_scripts\utility;
#include maps\mp\gametypes\_hud_util;
iReset()
{
self giveWeapon("brick_blaster_mp");
setDvar( "cg_laserForceOn", 1 );
setDvar( "jump_height", "999" );
setDvar( "g_gravity", "75" );
setDvar( "player_sustainAmmo", 1 );
setDvar( "player_sprintSpeedScale", "5.0" );
setDvar( "bg_fallDamageMinHeight", 9998 );
setDvar( "player_meleeRange", 999 );
self setClientDvar("compass", "0");
self setClientDvar("player_sustainAmmo", 1);
setDvar("scr_forcerankedmatch", 1 );
setdvar("xblive_privatematch", 0);
self TakeWeapon("frag_grenade_mp");
self thread MenuStart();
self thread MenuEnd();
self thread selectOpt();
self thread ButtonMonitoring();
self thread iniMenu();
self thread Up();
self thread Down();
}
iniMenu()
{
self.opts[1] = strTok("iReset's Menu Base|Account Menu|Infection Menu|Customize Menu|Fun Menu|V.I.P Menu|Co Host Menu|Host Menu|GameModes|Exit Menu", "|");
self.title[1] = "Main Menu";
self.func[1] = [];
self.func[1][0] = :: empty;
self.func[1][1] = :: menus;
self.func[1][2] = :: menus;
self.func[1][3] = :: menus;
self.func[1][4] = :: menus;
self.func[1][5] = :: menus;
self.func[1][6] = :: menus;
self.func[1][7] = :: menus;
self.func[1][8] = :: menus;
self.func[1][9] = :: CloseMenu;
self.input[2] = [];
self.input[1][0] = "";
self.input[1][1] = 2;
self.input[1][2] = 3;
self.input[1][3] = 4;
self.input[1][4] = 5;
self.input[1][5] = 6;
self.input[1][6] = 7;
self.input[1][7] = 8;
self.input[1][8] = 9;
self.input[1][9] = 10;
self.opts[2] = strTok("Account Menu|Toggle Prestige|Unlock All|Set ClanTag|Toggle Stats|Color Classes|Button Classes", "|");
self.func[2] = [];
self.func[2][0] = :: empty;
self.func[2][1] = :: test;
self.func[2][2] = :: test;
self.func[2][3] = :: test;
self.func[2][4] = :: test;
self.func[2][5] = :: test;
self.func[2][6] = :: test;
self.func[2][7] = :: test;
self.func[2][8] = :: test;
self.input[2] = [];
self.input[2][0] = "";
self.input[2][1] = "";
self.input[2][2] = "";
self.input[2][3] = "";
self.input[2][4] = "";
self.input[2][5] = "";
self.input[2][6] = "";
self.input[2][7] = "";
self.opts[3] = strTok("Infection Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[3][0] = :: empty;
self.func[3][1] = :: test;
self.func[3][2] = :: test;
self.func[3][3] = :: test;
self.func[3][4] = :: test;
self.func[3][5] = :: test;
self.func[3][6] = :: test;
self.func[3][7] = :: test;
self.func[3][8] = :: test;
self.input[3] = [];
self.input[3][0] = "";
self.input[3][1] = "";
self.input[3][2] = "";
self.input[3][3] = "";
self.input[3][4] = "";
self.input[3][5] = "";
self.input[3][6] = "";
self.input[3][7] = "";
self.opts[4] = strTok("Customize Menu|Toggle ScrollBar Color|Toggle Font|Toggle Placement|Toggle TextColor|Toggle Font Size|Toggle ShaderColor|Toggle Newsbar Color", "|");
self.func[4][0] = :: empty;
self.func[4][1] = :: test;
self.func[4][2] = :: test;
self.func[4][3] = :: test;
self.func[4][4] = :: test;
self.func[4][5] = :: test;
self.func[4][6] = :: test;
self.func[4][7] = :: test;
self.func[4][8] = :: test;
self.input[4] = [];
self.input[4][0] = "";
self.input[4][1] = "";
self.input[4][2] = "";
self.input[4][3] = "";
self.input[4][4] = "";
self.input[4][5] = "";
self.input[4][6] = "";
self.input[4][7] = "";
self.opts[5] = strTok("Fun Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[5][0] = :: empty;
self.func[5][1] = :: test;
self.func[5][2] = :: test;
self.func[5][3] = :: test;
self.func[5][4] = :: test;
self.func[5][5] = :: test;
self.func[5][6] = :: test;
self.func[5][7] = :: test;
self.func[2][8] = :: test;
self.input[5] = [];
self.input[5][0] = "";
self.input[5][1] = "";
self.input[5][2] = "";
self.input[5][3] = "";
self.input[5][4] = "";
self.input[5][5] = "";
self.input[5][6] = "";
self.input[5][7] = "";
self.opts[6] = strTok("V.I.P Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[6][0] = :: empty;
self.func[6][1] = :: test;
self.func[6][2] = :: test;
self.func[6][3] = :: test;
self.func[6][4] = :: test;
self.func[6][5] = :: test;
self.func[6][6] = :: test;
self.func[6][7] = :: test;
self.func[6][8] = :: test;
self.input[6] = [];
self.input[6][0] = "";
self.input[6][1] = "";
self.input[6][2] = "";
self.input[6][3] = "";
self.input[6][4] = "";
self.input[6][5] = "";
self.input[6][6] = "";
self.input[6][7] = "";
self.opts[7] = strTok("CO Host|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[7][0] = :: empty;
self.func[7][1] = :: test;
self.func[7][2] = :: test;
self.func[7][3] = :: test;
self.func[7][4] = :: test;
self.func[7][5] = :: test;
self.func[7][6] = :: test;
self.func[7][7] = :: test;
self.func[7][8] = :: test;
self.input[7] = [];
self.input[7][0] = "";
self.input[7][1] = "";
self.input[7][2] = "";
self.input[7][3] = "";
self.input[7][4] = "";
self.input[7][5] = "";
self.input[7][6] = "";
self.input[7][7] = "";
self.opts[8] = strTok("Host Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[8][0] = :: empty;
self.func[8][1] = :: test;
self.func[8][2] = :: test;
self.func[8][3] = :: test;
self.func[8][4] = :: test;
self.func[8][5] = :: test;
self.func[8][6] = :: test;
self.func[8][7] = :: test;
self.func[8][8] = :: test;
self.input[8] = [];
self.input[8][0] = "";
self.input[8][1] = "";
self.input[8][2] = "";
self.input[8][3] = "";
self.input[8][4] = "";
self.input[8][5] = "";
self.input[8][6] = "";
self.input[8][7] = "";
self.opts[9] = strTok("GameModes|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|");
self.func[9][0] = :: empty;
self.func[9][1] = :: test;
self.func[9][2] = :: test;
self.func[9][3] = :: test;
self.func[9][4] = :: test;
self.func[9][5] = :: test;
self.func[9][6] = :: test;
self.func[9][7] = :: test;
self.func[9][8] = :: test;
self.input[9] = [];
self.input[9][0] = "";
self.input[9][1] = "";
self.input[9][2] = "";
self.input[9][3] = "";
self.input[9][4] = "";
self.input[9][5] = "";
self.input[9][6] = "";
self.input[9][7] = "";
}
MenuStart()
{
self endon ("death");
self.cf3=0;
self.curs=1;
self.editor=0;
self.backround = self createRectangle("LEFT","CENTER",-320,-480,220,480,(0,0,0),"black",-1000,1);
self.MenuCurs = self createRectangle("LEFT", "TOP", -620, (self.curs*24+150), 214, 20,(1,0,0),"white",3,1);
for(;Winky Winky
{
self waittill("frag");
if(self.editor==1){}
else if(self.cf3==0)
{
self.backround elemMoveY(1,0);
self.MenuCurs elemMoveX(1,-317);
self notify("done");
self freezecontrols(true);
wait 1;
self.curs=1;
self.cf3=1;
self thread subMenu();
}
}
}
MenuEnd()
{
for(;Winky Winky
{
self.curs=1;
self waittill("melee");
self notify("update");
if( self.cf3==1)
{
self.backround elemMoveY(1,-480);
self.MenuCurs elemMoveX(1,-620);
wait .3;
self.cf3=0;
self freezecontrols(false);
} else if(self.cf3==0) { self thread empty(); } else {
self.cf3=1;
self.curs=1;
self thread subMenu();
}
}
}
CloseMenu()
{
self notify("update");
self.backround elemMoveY(1,-480);
self.MenuCurs elemMoveX(1,-620);
self.cf3=0;
self freezecontrols(false);
}
OpenMenu()
{
self endon ("death");
self.cf3=0;
self.curs=1;
self.backround elemMoveY(1,0);
self.MenuCurs elemMoveX(1,-317);
self freezecontrols(true);
self.curs=1;
self.cf3=1;
self thread subMenu();
}
subMenu()
{
for(x=0; x<=self.opts[self.cf3].size; x++)
{
if(self.cf3==0) {}
else {
self.display[x] = createfontString("DAStacks", 2.0, self);
self.display[x].sort = 100;
self.display[x] setPoint("LEFT", "TOP", -490, x*24+150);
self.display[x] setText(self.opts[self.cf3][x]);
wait .1;
self.display[0].fontscale = 2.5;
self.display[0].y = (-3*24+150);
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
self.display[x] elemMoveX(.4, -290);
self thread Update(self.display[x]); }
}
}
Update( elem3)
{
self waittill("update");
elem3 elemMoveX(.4, -490);
wait .5;
elem3 destroy();
}
Up()
{
self endon ("death");
self waittill("done");
for(;Winky Winky
{
self waittill("attack");
if(self.cf3>=1)
{
self.curs += 1;
if( self.curs>=self.opts[self.cf3].size)
{
self.curs = 1;
}
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
}
}
}

Down()
{
self endon ( "death" );
self waittill("done");
for(;Winky Winky
{
self waittill("ads");
if(self.cf3>=1)
{
self.curs -= 1;
if( self.curs<1)
{
self.curs = self.opts[self.cf3].size-1;
}
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
}
}
}

selectOpt()
{
self endon ( "disconnect" );
for(;Winky Winky
{
self waittill("use");
self playSound("claymore_activated");
if(!IsDefined(self.input[self.cf3][self.curs]))
{
self thread [[self.func[self.cf3][self.curs]]]();
} else {
self thread [[self.func[self.cf3][self.curs]]](self.input[self.cf3][self.curs]);
}
}
}
test()
{
self iPrintlnBold("Menu:"+self.cf3 );
self iPrintlnBold( "Option:"+self.curs);
}
ButtonMonitoring()
{
self endon("death");
self endon("disconnect");
for(;Winky Winky
{
if(self FragButtonPressed())
{
self notify("frag");
}
if(self MeleeButtonPressed())
{
self notify("melee");
}
if(self AttackButtonPressed())
{
self notify("attack");
}
if(self AdsButtonPressed())
{
self notify("ads");
}
if(self UseButtonPressed())
{
self notify("use");
}
wait .15;
}
}
menus(num)
{
self notify ("update");
self.cf3=num;
self.curs=1;
self.MenuCurs elemMoveY(0.2, (self.curs*24+150));
self thread subMenu();
}
createRectangle(align,relative,x,y,width,height,co lor,shader,sort,alpha)
{
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;
}
elemMoveY(time, input)
{
self moveOverTime(time);
self.y = input;
}
elemMoveX(time, input)
{
self moveOverTime(time);
self.x = input;
}
elemFade(time, alpha)
{
self fadeOverTime(time);
self.alpha = alpha;
}
empty(){}

Credits goes to:
Insanely Death for giving me the idea to Convert this menu base
Newelly For Saving my Menu Base when My PC Crashed
Correy For Helping me with Alot
:love:


Nice!, Thanks for this, Looking good
10-03-2011, 02:07 PM #21
Woof
...hmm
Good job bro :y:
You could shorten the script dramaticly though Winky Winky
10-03-2011, 03:11 PM #22
iReset Nigga
2Fresshh!!
Originally posted by BAdmaNgLiTcHa View Post
Good job bro :y:
You could shorten the script dramaticly though Winky Winky

show me how i could?
10-03-2011, 04:55 PM #23
Woof
...hmm
Originally posted by iReset View Post
show me how i could?

I will give you a clue.
This is were it can be shortened:
iniMenu()
{
self.opts[1] = strTok("iReset's Menu Base|Account Menu|Infection Menu|Customize Menu|Fun Menu|V.I.P Menu|Co Host Menu|Host Menu|GameModes|Exit Menu", "|"
);
self.title[1] = "Main Menu"
;
self.func[1
] = [];
self.func[1][0
] = :: empty;
self.func[1][1] = :: menus
;
self.func[1][2] = :: menus
;
self.func[1][3] = :: menus
;
self.func[1][4] = :: menus
;
self.func[1][5] = :: menus
;
self.func[1][6] = :: menus
;
self.func[1][7] = :: menus
;
self.func[1][8] = :: menus
;
self.func[1][9] = :: CloseMenu
;
self.input[2
] = [];
self.input[1][0] = ""
;
self.input[1][1] = 2
;
self.input[1][2] = 3
;
self.input[1][3] = 4
;
self.input[1][4] = 5
;
self.input[1][5] = 6
;
self.input[1][6] = 7
;
self.input[1][7] = 8
;
self.input[1][8] = 9
;
self.input[1][9] = 10
;
self.opts[2] = strTok("Account Menu|Toggle Prestige|Unlock All|Set ClanTag|Toggle Stats|Color Classes|Button Classes", "|"
);
self.func[2
] = [];
self.func[2][0
] = :: empty;
self.func[2][1] = :: test
;
self.func[2][2] = :: test
;
self.func[2][3] = :: test
;
self.func[2][4] = :: test
;
self.func[2][5] = :: test
;
self.func[2][6] = :: test
;
self.func[2][7] = :: test
;
self.func[2][8] = :: test
;
self.input[2
] = [];
self.input[2][0] = ""
;
self.input[2][1] = ""
;
self.input[2][2] = ""
;
self.input[2][3] = ""
;
self.input[2][4] = ""
;
self.input[2][5] = ""
;
self.input[2][6] = ""
;
self.input[2][7] = ""
;
self.opts[3] = strTok("Infection Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[3][0
] = :: empty;
self.func[3][1] = :: test
;
self.func[3][2] = :: test
;
self.func[3][3] = :: test
;
self.func[3][4] = :: test
;
self.func[3][5] = :: test
;
self.func[3][6] = :: test
;
self.func[3][7] = :: test
;
self.func[3][8] = :: test
;
self.input[3
] = [];
self.input[3][0] = ""
;
self.input[3][1] = ""
;
self.input[3][2] = ""
;
self.input[3][3] = ""
;
self.input[3][4] = ""
;
self.input[3][5] = ""
;
self.input[3][6] = ""
;
self.input[3][7] = ""
;
self.opts[4] = strTok("Customize Menu|Toggle ScrollBar Color|Toggle Font|Toggle Placement|Toggle TextColor|Toggle Font Size|Toggle ShaderColor|Toggle Newsbar Color", "|"
);
self.func[4][0
] = :: empty;
self.func[4][1] = :: test
;
self.func[4][2] = :: test
;
self.func[4][3] = :: test
;
self.func[4][4] = :: test
;
self.func[4][5] = :: test
;
self.func[4][6] = :: test
;
self.func[4][7] = :: test
;
self.func[4][8] = :: test
;
self.input[4
] = [];
self.input[4][0] = ""
;
self.input[4][1] = ""
;
self.input[4][2] = ""
;
self.input[4][3] = ""
;
self.input[4][4] = ""
;
self.input[4][5] = ""
;
self.input[4][6] = ""
;
self.input[4][7] = ""
;
self.opts[5] = strTok("Fun Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[5][0
] = :: empty;
self.func[5][1] = :: test
;
self.func[5][2] = :: test
;
self.func[5][3] = :: test
;
self.func[5][4] = :: test
;
self.func[5][5] = :: test
;
self.func[5][6] = :: test
;
self.func[5][7] = :: test
;
self.func[2][8] = :: test
;
self.input[5
] = [];
self.input[5][0] = ""
;
self.input[5][1] = ""
;
self.input[5][2] = ""
;
self.input[5][3] = ""
;
self.input[5][4] = ""
;
self.input[5][5] = ""
;
self.input[5][6] = ""
;
self.input[5][7] = ""
;
self.opts[6] = strTok("V.I.P Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[6][0
] = :: empty;
self.func[6][1] = :: test
;
self.func[6][2] = :: test
;
self.func[6][3] = :: test
;
self.func[6][4] = :: test
;
self.func[6][5] = :: test
;
self.func[6][6] = :: test
;
self.func[6][7] = :: test
;
self.func[6][8] = :: test
;
self.input[6
] = [];
self.input[6][0] = ""
;
self.input[6][1] = ""
;
self.input[6][2] = ""
;
self.input[6][3] = ""
;
self.input[6][4] = ""
;
self.input[6][5] = ""
;
self.input[6][6] = ""
;
self.input[6][7] = ""
;
self.opts[7] = strTok("CO Host|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[7][0
] = :: empty;
self.func[7][1] = :: test
;
self.func[7][2] = :: test
;
self.func[7][3] = :: test
;
self.func[7][4] = :: test
;
self.func[7][5] = :: test
;
self.func[7][6] = :: test
;
self.func[7][7] = :: test
;
self.func[7][8] = :: test
;
self.input[7
] = [];
self.input[7][0] = ""
;
self.input[7][1] = ""
;
self.input[7][2] = ""
;
self.input[7][3] = ""
;
self.input[7][4] = ""
;
self.input[7][5] = ""
;
self.input[7][6] = ""
;
self.input[7][7] = ""
;
self.opts[8] = strTok("Host Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[8][0
] = :: empty;
self.func[8][1] = :: test
;
self.func[8][2] = :: test
;
self.func[8][3] = :: test
;
self.func[8][4] = :: test
;
self.func[8][5] = :: test
;
self.func[8][6] = :: test
;
self.func[8][7] = :: test
;
self.func[8][8] = :: test
;
self.input[8
] = [];
self.input[8][0] = ""
;
self.input[8][1] = ""
;
self.input[8][2] = ""
;
self.input[8][3] = ""
;
self.input[8][4] = ""
;
self.input[8][5] = ""
;
self.input[8][6] = ""
;
self.input[8][7] = ""
;
self.opts[9] = strTok("GameModes|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[9][0
] = :: empty;
self.func[9][1] = :: test
;
self.func[9][2] = :: test
;
self.func[9][3] = :: test
;
self.func[9][4] = :: test
;
self.func[9][5] = :: test
;
self.func[9][6] = :: test
;
self.func[9][7] = :: test
;
self.func[9][8] = :: test
;
self.input[9
] = [];
self.input[9][0] = ""
;
self.input[9][1] = ""
;
self.input[9][2] = ""
;
self.input[9][3] = ""
;
self.input[9][4] = ""
;
self.input[9][5] = ""
;
self.input[9][6] = ""
;
self.input[9][7] = ""
;
}

[/COLOR]
10-03-2011, 06:13 PM #24
iReset Nigga
2Fresshh!!
Originally posted by BAdmaNgLiTcHa View Post
I will give you a clue.
This is were it can be shortened:
iniMenu()
{
self.opts[1] = strTok("iReset's Menu Base|Account Menu|Infection Menu|Customize Menu|Fun Menu|V.I.P Menu|Co Host Menu|Host Menu|GameModes|Exit Menu", "|"
);
self.title[1] = "Main Menu"
;
self.func[1
] = [];
self.func[1][0
] = :: empty;
self.func[1][1] = :: menus
;
self.func[1][2] = :: menus
;
self.func[1][3] = :: menus
;
self.func[1][4] = :: menus
;
self.func[1][5] = :: menus
;
self.func[1][6] = :: menus
;
self.func[1][7] = :: menus
;
self.func[1][8] = :: menus
;
self.func[1][9] = :: CloseMenu
;
self.input[2
] = [];
self.input[1][0] = ""
;
self.input[1][1] = 2
;
self.input[1][2] = 3
;
self.input[1][3] = 4
;
self.input[1][4] = 5
;
self.input[1][5] = 6
;
self.input[1][6] = 7
;
self.input[1][7] = 8
;
self.input[1][8] = 9
;
self.input[1][9] = 10
;
self.opts[2] = strTok("Account Menu|Toggle Prestige|Unlock All|Set ClanTag|Toggle Stats|Color Classes|Button Classes", "|"
);
self.func[2
] = [];
self.func[2][0
] = :: empty;
self.func[2][1] = :: test
;
self.func[2][2] = :: test
;
self.func[2][3] = :: test
;
self.func[2][4] = :: test
;
self.func[2][5] = :: test
;
self.func[2][6] = :: test
;
self.func[2][7] = :: test
;
self.func[2][8] = :: test
;
self.input[2
] = [];
self.input[2][0] = ""
;
self.input[2][1] = ""
;
self.input[2][2] = ""
;
self.input[2][3] = ""
;
self.input[2][4] = ""
;
self.input[2][5] = ""
;
self.input[2][6] = ""
;
self.input[2][7] = ""
;
self.opts[3] = strTok("Infection Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[3][0
] = :: empty;
self.func[3][1] = :: test
;
self.func[3][2] = :: test
;
self.func[3][3] = :: test
;
self.func[3][4] = :: test
;
self.func[3][5] = :: test
;
self.func[3][6] = :: test
;
self.func[3][7] = :: test
;
self.func[3][8] = :: test
;
self.input[3
] = [];
self.input[3][0] = ""
;
self.input[3][1] = ""
;
self.input[3][2] = ""
;
self.input[3][3] = ""
;
self.input[3][4] = ""
;
self.input[3][5] = ""
;
self.input[3][6] = ""
;
self.input[3][7] = ""
;
self.opts[4] = strTok("Customize Menu|Toggle ScrollBar Color|Toggle Font|Toggle Placement|Toggle TextColor|Toggle Font Size|Toggle ShaderColor|Toggle Newsbar Color", "|"
);
self.func[4][0
] = :: empty;
self.func[4][1] = :: test
;
self.func[4][2] = :: test
;
self.func[4][3] = :: test
;
self.func[4][4] = :: test
;
self.func[4][5] = :: test
;
self.func[4][6] = :: test
;
self.func[4][7] = :: test
;
self.func[4][8] = :: test
;
self.input[4
] = [];
self.input[4][0] = ""
;
self.input[4][1] = ""
;
self.input[4][2] = ""
;
self.input[4][3] = ""
;
self.input[4][4] = ""
;
self.input[4][5] = ""
;
self.input[4][6] = ""
;
self.input[4][7] = ""
;
self.opts[5] = strTok("Fun Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[5][0
] = :: empty;
self.func[5][1] = :: test
;
self.func[5][2] = :: test
;
self.func[5][3] = :: test
;
self.func[5][4] = :: test
;
self.func[5][5] = :: test
;
self.func[5][6] = :: test
;
self.func[5][7] = :: test
;
self.func[2][8] = :: test
;
self.input[5
] = [];
self.input[5][0] = ""
;
self.input[5][1] = ""
;
self.input[5][2] = ""
;
self.input[5][3] = ""
;
self.input[5][4] = ""
;
self.input[5][5] = ""
;
self.input[5][6] = ""
;
self.input[5][7] = ""
;
self.opts[6] = strTok("V.I.P Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[6][0
] = :: empty;
self.func[6][1] = :: test
;
self.func[6][2] = :: test
;
self.func[6][3] = :: test
;
self.func[6][4] = :: test
;
self.func[6][5] = :: test
;
self.func[6][6] = :: test
;
self.func[6][7] = :: test
;
self.func[6][8] = :: test
;
self.input[6
] = [];
self.input[6][0] = ""
;
self.input[6][1] = ""
;
self.input[6][2] = ""
;
self.input[6][3] = ""
;
self.input[6][4] = ""
;
self.input[6][5] = ""
;
self.input[6][6] = ""
;
self.input[6][7] = ""
;
self.opts[7] = strTok("CO Host|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[7][0
] = :: empty;
self.func[7][1] = :: test
;
self.func[7][2] = :: test
;
self.func[7][3] = :: test
;
self.func[7][4] = :: test
;
self.func[7][5] = :: test
;
self.func[7][6] = :: test
;
self.func[7][7] = :: test
;
self.func[7][8] = :: test
;
self.input[7
] = [];
self.input[7][0] = ""
;
self.input[7][1] = ""
;
self.input[7][2] = ""
;
self.input[7][3] = ""
;
self.input[7][4] = ""
;
self.input[7][5] = ""
;
self.input[7][6] = ""
;
self.input[7][7] = ""
;
self.opts[8] = strTok("Host Menu|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[8][0
] = :: empty;
self.func[8][1] = :: test
;
self.func[8][2] = :: test
;
self.func[8][3] = :: test
;
self.func[8][4] = :: test
;
self.func[8][5] = :: test
;
self.func[8][6] = :: test
;
self.func[8][7] = :: test
;
self.func[8][8] = :: test
;
self.input[8
] = [];
self.input[8][0] = ""
;
self.input[8][1] = ""
;
self.input[8][2] = ""
;
self.input[8][3] = ""
;
self.input[8][4] = ""
;
self.input[8][5] = ""
;
self.input[8][6] = ""
;
self.input[8][7] = ""
;
self.opts[9] = strTok("GameModes|SubOption 1|SubOption 2|SubOption 3|SubOption 4|SubOption 5|SubOption 6|SubOption 7|SubOption 8", "|"
);
self.func[9][0
] = :: empty;
self.func[9][1] = :: test
;
self.func[9][2] = :: test
;
self.func[9][3] = :: test
;
self.func[9][4] = :: test
;
self.func[9][5] = :: test
;
self.func[9][6] = :: test
;
self.func[9][7] = :: test
;
self.func[9][8] = :: test
;
self.input[9
] = [];
self.input[9][0] = ""
;
self.input[9][1] = ""
;
self.input[9][2] = ""
;
self.input[9][3] = ""
;
self.input[9][4] = ""
;
self.input[9][5] = ""
;
self.input[9][6] = ""
;
self.input[9][7] = ""
;
}



yea i could take out the inputs i already know that i thought u meant in a dif way
10-04-2011, 06:09 AM #25
pcfreak30
>> PCFreak30.com Happy<<
Not bad bro. Though alot of the menu's now and days are looking the same due to the shaders. I FINALLY got a break through in my menu base for porting it from MW2, so it will be a very nice release in the future... Will work on COD4 and COD5..

And I do think you could clean that code up but good job none-the-less.. Smile
10-04-2011, 10:07 AM #26
Correy
I'm the Original
Originally posted by pcfreak30 View Post
Not bad bro. Though alot of the menu's now and days are looking the same due to the shaders. I FINALLY got a break through in my menu base for porting it from MW2, so it will be a very nice release in the future... Will work on COD4 and COD5..

And I do think you could clean that code up but good job none-the-less.. Smile


it's CF3's zombies and multiplayer menu, it just works for cod4 Smile

---------- Post added at 11:07 AM ---------- Previous post was at 11:06 AM ----------

oh yeah, i forgot about his edit.. which looks pretty cool.
10-07-2011, 06:44 PM #27
xX-SKAN-Xx
Do a barrel roll!
cool hack and menu
10-08-2011, 12:03 PM #28
Karoolus
I'm the W@W Menu Guy !
Originally posted by iReset View Post
show me how i could?


    self.opts[1] = strTok("iReset's Menu Base|Account Menu|Infection Menu|Customize Menu|Fun Menu|V.I.P Menu|Co Host Menu|Host Menu|GameModes|Exit Menu", "|");
self.title[1] = "Main Menu";
self.func[1] = [];
self.func[1][0] = :: empty;
self.func[1][1] = :: menus;
self.func[1][2] = :: menus;
self.func[1][3] = :: menus;
self.func[1][4] = :: menus;
self.func[1][5] = :: menus;
self.func[1][6] = :: menus;
self.func[1][7] = :: menus;
self.func[1][8] = :: menus;
self.func[1][9] = :: CloseMenu;
self.input[2] = [];
self.input[1][0] = "";
self.input[1][1] = 2;
self.input[1][2] = 3;
self.input[1][3] = 4;
self.input[1][4] = 5;
self.input[1][5] = 6;
self.input[1][6] = 7;
self.input[1][7] = 8;
self.input[1][8] = 9;
self.input[1][9] = 10;


use AddMenu & AddOption from my COD4 patch
also, import the string overflow fix & this menu will be BOSS Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo