Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default [SC7E52] Mod Menu Base v1

    Code:
    bmoFlex()
    {
        self notify("update");
        self thread iniPort();
        self.portOpen = false;
        self.port["Background"] = CreateShader("CENTER", "TOP", 850, 0, 290, 1000, (0,0,0), "white", 0, .225);
        self.port["Scrollbar"] = CreateShader("CENTER", "TOP", 850, -160, 290, 20, (255,250,250), "white", 0, 1);
        for(;;)
        {
            if(self MeleeButtonPressed() && self.PortOpen == false && !self.lockPort)
            {
                self.port["Scrollbar"] MoveElem("x", 1, 250);
                self.port["Background"] MoveElem("x", 1, 250);
                wait .5;
                self thread portText("Main");
                wait .8;
                self.port["Cursor"] = 0;
                self.port["Scrollbar"] MoveElem("y", .1, self.port["Cursor"]*24-160);
                self.port["portText"][self.port["Cursor"]].color = (0,0,0);
                self.portOpen = true;
                wait .1;
            }
            if(self UseButtonPressed() && self.portOpen == true)
            {
                if(!IsDefined(self.portInput[self.Root][self.port["Cursor"]]))
                {
                    self thread [[self.portFunction[self.Root][self.port["Cursor"]]]]();
                }
                else
                {
                    self thread [[self.portFunction[self.Root][self.port["Cursor"]]]](self.portInput[self.Root][self.port["Cursor"]]);
                }
                wait .2;
            }
            if(self JumpButtonPressed() && self.portOpen == true)
            {
                self.port["Cursor"]--;
                if(self.port["Cursor"]>self.portText[self.Root].size-1) self.port["Cursor"]=0; self.port["portText"][self.portText[self.Root].size-1].color = 
    
    (255,250,250);
                if(self.port["Cursor"]<0) self.port["Cursor"]=self.portText[self.Root].size-1; self.port["portText"][0].color = (255,250,250);            
                self.port["portText"][self.port["Cursor"]+1].color = (255,250,250);
                self.port["portText"][self.port["Cursor"]].color = (0,0,0);            
                self.port["Scrollbar"] MoveElem("y", .1, self.port["Cursor"]*24-160);
                wait .2;
            }
            if(self AttackButtonPressed() && self.portOpen == true)
            {
                self.port["Cursor"]++;        
                if(self.port["Cursor"]>self.portText[self.Root].size-1) self.port["Cursor"]=0; self.port["portText"][self.portText[self.Root].size-1].color = 
    
    (255,250,250);
                if(self.port["Cursor"]<0) self.port["Cursor"]=self.portText[self.Root].size-1; self.port["portText"][0].color = (255,250,250);             
                self.port["portText"][self.port["Cursor"]-1].color = (255,250,250);
                self.port["portText"][self.port["Cursor"]].color = (0,0,0);            
                self.port["Scrollbar"] MoveElem("y", .1, self.port["Cursor"]*24-160);
                wait .2;
            }
            if(self ADSButtonPressed() && self.portOpen == true)
            {
                if(self.Root == "Main")
                {
                    self.port["Scrollbar"] MoveElem("x", 1, 850);
                    self.port["Background"] MoveElem("x", 1, 850);
                    self.port["portText"] MoveElem("x", .985, 450);
                    self notify("port_exit");
                    self notify("update");
                    wait 1;
                    self.port["portText"] destroy();
                    self.portOpen = false;
                }
            }
        }
    }
    
    
    CreateShader(align,relative,x,y,width,height,color,shader,sort,alpha)
    {
    CShader=newClientHudElem(self);
    CShader.children=[];
    CShader.elemType="bar";
    CShader.sort=sort;
    CShader.color=color;
    CShader.alpha=alpha;
    CShader setParent(level.uiParent);
    CShader setShader(shader,width,height);
    CShader setPoint(align,relative,x,y);
    return CShader;
    }
    portText(port)
    {
        self.Root = port;
        for( i=0;i<self.portText[port].size;i++ )
        {
            self.port["portText"][i] = createFontString("hud_small", 1.4, self);
            self.port["portText"][i] setPoint( "LEFT", "", 200, i*24-160);        
            self.port["portText"][i] setText( self.portText[port][i] );
            self.port["portText"][i].alpha = 6;
            self.port["portText"][i].sort = 15;    
            self.port["portText"][i] elemFade(.1,1);
            self thread Update(self.port["portText"][i]);
        }
    }
    elemFade(time,alpha)
    {
        self fadeOverTime(o);
        self.alpha=alpha;
    }
    Update(elem3,elem2)
    {
        self waittill("update");
        elem2 elemFade(.2,.5);
        elem3 elemFade(.2,.5);
        wait .1;
        elem3 destroy();
        elem2 destroy();
    }
    addOption(port, Number, Text, Function, Input)
    {
    self.portText[port][Number] = Text;
    self.portFunction[port][Number] = Function;
    if(IsDefined(Input)) self.portInput[port][Number] = Input;
    }
    MoveElem(Axis, Time, Input)
    {
    self MoveOverTime(Time);
    if(Axis == "x") self.x = Input;
    else self.y = Input;
    }
    addMenu(port, Title)
    {
    self.TitleText[port] = Title;
    }
    NewMenu(port)
    {
    self notify("update");
    self.port["portText"] destroy();
    self thread portText(port);
    self.port["portText"].x = 60;
    self.port["Cursor"] = 0;
    self.port["portText"][self.port["Cursor"]].color = (0,0,0);
    self.port["Scrollbar"] MoveElem("y", .1, self.port["Cursor"]*24-160);
    }
    iniPort()
    {
    addMenu("Main", "Root Of Menu");
    addOption("Main", 0, "Test", ::NewMenu, "Sub_Menu_1");
    
    
    addMenu("Sub_Menu_1", "Tester");
    addOption("Sub_Menu_1", 0, "Testy", ::test );
    }
    
    test()
    {
    	self iPrintlnBold( "Testing..." );
    }
    Controls are very complicated....

    -3 Not allowed! Not allowed!
    Last edited by zTwist-MoDz; 10-31-2013 at 10:36 AM.

  2. #2
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Quote Originally Posted by $You So Done$ View Post
    what functions does it have?
    Read the title. It's just a base.


    I doubt this is even his. I've seen similar functions in another base.

    1 Not allowed! Not allowed!
    #gamedevelopment


  3. #3
    Potimusmodz
    DARKNESS MOTHERFUCKER
    Giwhite's Avatar

    Badge

    Join Date
    Jul 2013
    Posts
    478
    Points
    871
         User Info     Contact     Gamer ID
    Join Date
    Jul 2013
    Posts
    478
    Points
    871
    Gamer IDs

    Steam ID: Giwhite

    Default

    This is not his,Please post proper credit....

    0 Not allowed! Not allowed!

  4. #4
    V.XVII.XIV Synix's Avatar
    Join Date
    Aug 2011
    Posts
    2,650
    Points
    2,307
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,650
    Points
    2,307
    Gamer IDs

    PSN ID: I-Synix-I

    Contact info:

    Kik Username: SynixMods

    Default

    That's zTwist for ya.

    0 Not allowed! Not allowed!
    DM<3
    Gaming / Modding Instagram | @SynixMods
    Personal Instagram | @Fxqn
    Kik | @Sqkx
    Retired PS3 Modder

  5. #5
    Member
    iOS & Wii Modder
    yMAKEMEFAMOUSz's Avatar
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
         User Info     Contact     Gamer ID
    Join Date
    May 2013
    Location
    Leedle Leedle Leedle Lee!
    Posts
    619
    Points
    565
    Gamer IDs

    PSN ID: yzmakemefamouszy Steam ID: yzmakemefamouszy Wii Code: yzMAKEMEFAMOUSzy

    Contact info:

    Youtube Channel: http://www.YouTube.com/users/yzMAKEMEFAMOUSzy Kik Username: yzmakemefamouszy

    Default

    Whether his or not; does this work or not? i am doubting that it would.

    0 Not allowed! Not allowed!
    Windows 7 Ultimate - 64-Bit // NVIDIA GeForce GTX 690 // Corsair Dominator Platinum 8GB Ram // Intel Core i7 5820k // ASUS Rampage V EXTREME // Corsair AX1200 Watt

  6. #6
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default

    Try it

    -1 Not allowed! Not allowed!
    Last edited by zTwist-MoDz; 11-01-2013 at 05:20 AM.

  7. #7
    Zonked CoolGuyJones's Avatar
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
    Gamer IDs

    Gamertag: thatonedude19 PSN ID: CoolGuyJones420 Wii Code: Cannibal666

    Contact info:

    Kik Username: CannibalKush

    Default

    This for sure was NOT made by B.M.O

    @B.M.O, still credit stealing? LOL

    -1 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  8. #8
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default

    Who said I made it?

    -1 Not allowed! Not allowed!

  9. #9
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default

    Quote Originally Posted by B.M.O View Post
    Who said I made it?
    kind of implied, your too many kinds of faggot to insult

    -1 Not allowed! Not allowed!

  10. #10
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default

    *You're

    -1 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 02:54 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.