What's new

Mod Menu [Release[-Algorithm-]] New Mod Menu Base (Look Really Cool)

  • Thread starter AoKMiKeY
  • Start date
  • Views 2,090

Do U Like

  • Yes

    Votes: 1 14.3%
  • No

    Votes: 1 14.3%
  • Its Amazing

    Votes: 1 14.3%
  • Could be Better

    Votes: 2 28.6%
  • Hate The Affects

    Votes: 1 14.3%
  • Love The Affects

    Votes: 3 42.9%

  • Total voters
    7
AoKMiKeY

-Algorithm-

I am not a man.
Seasoned Veteran Experienced Veteran Grizzled Veteran
Messages
1,844
Reaction score
685
Points
315
Sin$
7
okay well i was up will 5am and i got bored so i made a mod menu base
it really did only take 15 mins to script and 5 mins to put affects on.
so over all i think it is quite good for a mod menu base made in 15 mins.
This Mod Menu Base does work on Cod 5 and 4 and mw2 i have not tested it on there.

thanks to Label For Testing one mw2
i hope u all like it :smile:

Heres what it looks like


Heres the Scripts:
Thread:
self thread RunMenu();

Add This:
Code:
RunMenus()
{
    addMenus("Main", 0, "MainMenu1", ::NewMenu, "Fun");
    addMenus("Main", 1, "MainMenu2", ::NewMenu, "Fun");
    addMenus("Main", 2, "MainMenu3", ::NewMenu, "Fun");
    addMenus("Main", 3, "MainMenu4", ::NewMenu, "Fun");
 
    addMenus("Fun", 0, "FunMenu1", ::NewMenu, "Fun");
    addMenus("Fun", 1, "FunMenu2", ::NewMenu, "Fun");
    addMenus("Fun", 2, "FunMenu3", ::NewMenu, "Fun");
    addMenus("Fun", 3, "FunMenu4", ::NewMenu, "Fun");
}
 
RunMenu()
{
    self thread RunMenus();
    self.MenuScroll = 0;
    self.MenuIsOpen = false;
    self.MenuRoot = "Main";
    for(;;)
    {
        if(self.MenuIsOpen == false)
        {
            if(self meleeButtonPressed())
            {
                self.MenuScroll = 0;
                self setBlur(8, .5);
                self freezeControls(true);
                self.MenuBG = self createRectangle("CENTER","TOP",0,-200, 1000, 150,(0,0,0), 1,0,"white");
                self.MenuText = self Text("CENTER", "CENTER", 0 , -350, 0, 2.5,"<  "+ self.MenuName[self.MenuRoot][self.MenuScroll] + "  >");
                self.MenuBG Entity(.5, 0, 0, .8, "F");
                self.MenuText Entity(.5, 0, -205, 1, "F");
                wait 0.5;
                self.MenuIsOpen = true;
            }
        } else {
            if(self adsButtonPressed() || self attackButtonPressed())
            {
                self.MenuScroll += self attackButtonPressed();
                self.MenuScroll -= self adsButtonPressed();
                if(self.MenuScroll > self.MenuName[self.MenuRoot].size-1) self.MenuScroll = 0;
                if(self.MenuScroll < 0) self.MenuScroll = self.MenuName[self.MenuRoot].size-1;
                    self.MenuText Entity(.3, -600, undefined, 0, "F"); wait 0.3; self.MenuText.x = 600;
                    self.MenuText setText("<  "+ self.MenuName[self.MenuRoot][self.MenuScroll] + "  >");
                    self.MenuText Entity(.3, 0, undefined, 1, "F");
                wait .3;
            }
            if(self useButtonPressed())
            {
                self.MenuText.color = (0,1,0); self setBlur(20, .5);
                wait 0.2; self.MenuText.color = (1,1,1); self setBlur(8, .5);
                self [[self.MenuFunc[self.MenuRoot][self.MenuScroll]]](self.MenuArg1[self.MenuRoot][self.MenuScroll], self.MenuArg2[self.MenuRoot][self.MenuScroll], self.MenuArg3[self.MenuRoot][self.MenuScroll]);
                wait .2;
            }
            if(self meleeButtonPressed())
            {
                if(self.MenuRoot == "Main")
                {
                    self.MenuBG Entity(.5, 0, -200, 0, "F");
                    self.MenuText Entity(.5, 0, -350, 0, "F");
                    self setBlur(0, .5);
                    wait 0.5;
                    self freezeControls(false);
                    self.MenuText Destroy();
                    self.MenuBG Destroy();
                    wait 0.2;
                    self.MenuIsOpen = false;
                } else {
                    NewMenu("Main");
                }
                wait 0.2;
            }
        }
        wait .1;
    }
}
 
NewMenu(Menu)
{
    self.MenuRoot = Menu;
    self.MenuScroll = 0;
    self.MenuText Entity(0.5, 0, -270, 0, "F");
    wait 0.5;
    self.MenuText Destroy();
    self.MenuText = self Text("CENTER", "CENTER", 0 , -270, 0, 2.5,"<  "+ self.MenuName[Menu][self.MenuScroll] + "  >");
    self.MenuText Entity(0.5, 0, -205, 1, "F");
}
 
AddMenus(Menu, Num, Text, Func, Arg1, Arg2, Arg3)
{
    self.MenuName[Menu][Num] = Text;
    self.MenuFunc[Menu][Num] = Func;
    if(isDefined(Arg1)) {
        self.MenuArg1[Menu][Num] = Arg1;
        self.MenuArg2[Menu][Num] = Arg2;
        self.MenuArg3[Menu][Num] = Arg3;
    }
}

And Now Theses like normal:


Code:
Entity(Time, X, Y, Alpha, force, width, height) {
    if(!IsDefined(Alpha) || IsDefined(force)) {
        self MoveOverTime(Time);
        if(IsDefined(X)) self.x = X;
        if(IsDefined(Y)) self.y = Y;
    } if(IsDefined(Alpha)) {
        self FadeOverTime(Time);
        self.alpha = Alpha;
    }
    if(IsDefined(width)) self ScaleOverTime( Time, width, height);
}
Text(Align_X, Align_Y, X, Y, Alpha, TextSize, SetText) {
    Text = self createfontstring("default", TextSize, self);
    Text setpoint(Align_X, Align_Y, X, Y);
    Text settext(SetText); Text.alpha = Alpha;
    return Text;
}
createRectangle(align,relative,x,y,width,height,color,sort,alpha,shader) {
    barElemBG = newClientHudElem( self );
    barElemBG.elemType = "bar";
    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;
}

PS: just made a new youtube BackGround Check it out and tell me if u like it
:smile:
 
H

HDKenny

Enthusiast
Messages
226
Reaction score
53
Points
85
Sin$
0
It is a very good base but in my opinion i think you shouldnt freeze the controls because it only takes up the top of the screen, like if it takes up more than 25% of the screen then freeze them but other then that the rest is cool
 
AoKMiKeY

-Algorithm-

I am not a man.
Seasoned Veteran Experienced Veteran Grizzled Veteran
Messages
1,844
Reaction score
685
Points
315
Sin$
7
it just looked better u can edit the script to your liking :smile:
 
L

Label

Enthusiast
Modder
Messages
376
Reaction score
225
Points
155
Sin$
0
I can confirm it working for MW2. Awesome base will be using and crediting you. :biggrin:
 
AoKMiKeY

-Algorithm-

I am not a man.
Seasoned Veteran Experienced Veteran Grizzled Veteran
Messages
1,844
Reaction score
685
Points
315
Sin$
7
I can confirm it working for MW2. Awesome base will be using and crediting you. :biggrin:
well its nice to know you are going to give me credit :smile:
also i updated the post to show it works on mw2 thanks for testing also
i wish you good luck on your new menu.
 
AoKMiKeY

-Algorithm-

I am not a man.
Seasoned Veteran Experienced Veteran Grizzled Veteran
Messages
1,844
Reaction score
685
Points
315
Sin$
7
Why do you always put how long it took you to make it?
because i tend to make them in stupidly fast time as in
the last one i made took me 10 mins like wtf
1. i type fast as f***.
2. i already know what i have to type and make.
 
Top Bottom
Login
Register