Results 1 to 8 of 8
  1. #1
    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 [SC7E52] C666's SSB v.1.3 (release)

    Hey guys, made a menu. Callin' it Cannibal666's Super Simple Base. I made it in about 30 minutes.


    Quick info:
    The menu is simple over all(coding/look)
    Might wack out the player menu if there isn't 10 players(not tested with less than 10)
    should work for campaign, zombies, and multiplayer(just change where the file reads from and what not)
    open with frag
    ...not that cool(lol)

    Video:
    http://www.youtube.com/watch?v=bOyl6hlKr_A

    Code:
    #include common_scripts\utility;
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    //Cannibal666's SSB v.1.3
    //Codded in about 30 minutes cause i tried a few things i didn't try before(weird slopy way)
    //credit to Tlpwnzer for Text/Shader function(i didn't see any reason to remake what has been done many times before)
    //player menu might fuck up if there isn't 10 players...i'm not to sure
    
    init()
    {
    thread onPlayerConnect();
    thread onPlayerConnected();
    }
    
    onPlayerConnect()
    {
    for(;;)
    {
    level waittill("connecting", player);
    player thread onPlayerSpawned();
    player thread onJoinedSpectators();
    }
    }
    
    onPlayerConnected()
    {
    for(;;)
    {
    level waittill( "connected", player );
    }
    }
    
    onPlayerSpawned()
    {
    for(;;)
    {
    self waittill("spawned_player");
    self thread SimpleMenu();
    }
    }
    
    onJoinedSpectators()
    {
    self endon("disconnect");
    for(;;)
    {
    self waittill("joined_spectators");
    }
    }
    
    SimpleMenu()
    {
    	self endon("death");
    	self endon("disconnect");
    	self.Menu["Status"] = 0;
    	self._MenuShader = newClientHudElem( self );
    	self._MenuShader GenElement( (0, 0, 0), true, "center", "top", 30, 0, 0.7, 1 );
    	self._MenuShader setShader( "white", 300, 20 );
    	self thread DeathDelete(self._MenuShader);
    	self._MenuTitle = self createFontString( "objective", 1.5 );
    	self._MenuTitle GenElement( ( 1, 0.5, 0 ), true, "center", "top", 30, 0, 1, 2 );
    	self thread DeathDelete(self._MenuTitle);
    	self._MenuTitle setText("Press [{+frag}] To Open Menu");
    	for(;;)
    	{
    		if(self FragButtonPressed() && self.Menu["Status"] == 0)
    		{
    			self._MenuShader setShader( "white", 300, 80 );
    			self._MenuTitle setText("C666's SSB v.1");
    			self._MenuText = self createFontString( "objective", 1.5 );
    			self._MenuText GenElement( ( 1, 1, 1 ), true, "center", "top", 30, 23, 1, 2 );
    			self thread DeathDelete(self._MenuText);
    			self._MenuInfo = self createFontString( "objective", 1.5 );
    			self._MenuInfo GenElement( ( 1, 0.5, 0 ), true, "center", "top", 30, 46, 1, 2 );
    			self thread DeathDelete(self._MenuInfo);
    			self thread MenuOptions();
    			self.Scroll = 0;
    			self.Menu["Status"] = 1;
    			self._MenuText setText(self.Menu["Option"][self.Scroll]);
    			self._MenuInfo setText(self.Menu["Input"][self.Scroll]);
    			wait .2;
    		}
    		if(self AdsButtonPressed() || self AttackButtonPressed() && self.Menu["Status"] == 1)
    		{
    			self.Scroll -= self AdsButtonPressed();
    			self.Scroll += self AttackButtonPressed();
    			if(self.Scroll > self.Menu["Option"].size-1) self.Scroll = 0;
    			else if(self.Scroll < 0) self.Scroll = self.Menu["Option"].size-1;
    			self._MenuText setText(self.Menu["Option"][self.Scroll]);
    			self._MenuInfo setText(self.Menu["Input"][self.Scroll]);
    			wait .2;
    		}
    		if(self UseButtonPressed() && self.Menu["Status"] == 1)
    		{
    			self thread [[self.Menu["Function"][self.Scroll]]](self.Menu["Input"][self.Scroll]);
    			self._MenuText setText(self.Menu["Option"][self.Scroll]);
    			self._MenuInfo setText(self.Menu["Input"][self.Scroll]);
    			wait .2;
    		}
    		if(self MeleeButtonPressed() && self.Menu["Status"] == 1)
    		{
    			if(self.MainMenu == 1)
    			{
    				self._MenuTitle setText("Press [{+frag}] To Open Menu");
    				self._MenuShader setShader( "white", 300, 20 );
    				self._MenuText delete();
    				self._MenuText destroy();
    				self._MenuInfo delete();
    				self._MenuInfo destroy();
    				self.Menu["Status"] = 0;
    			}
    			else if(self.MainMenu == 0)
    			{
    				self thread MenuOptions();
    				self._MenuText setText(self.Menu["Option"][self.Scroll]);
    				self._MenuInfo setText(self.Menu["Input"][self.Scroll]);
    			}
    			wait .2;
    		}
    		wait .001;
    	}
    }
    
    GenElement( color, hideWhenInMenu, alignX, alignY, xOffset, yOffset, alpha, sort )
    {
            self.color = color;
    	self.hideWhenInMenu = hideWhenInMenu;
    	self.x = xOffset;
    	self.y = yOffset;
    	self.alignX = alignX;
    	self.alignY = alignY;
    	self.horzAlign = alignX;
    	self.vertAlign = alignY;
    	self.alpha = alpha;
    	self.sort = sort;
    }
    
    DeathDelete(entity)
    {
    	self waittill_any("death", "round_end_done", "disconnect");
    	entity delete();
    	entity destroy();
    }
    
    addOption(Number, Text, Function, Input)
    {
    	self.Menu["Option"][Number] = Text;
    	self.Menu["Function"][Number] = Function;
    	if(IsDefined(Input)) self.Menu["Input"][Number] = Input;
    }
    
    MenuOptions()
    {
    	self.MainMenu = 1;
    	addOption(0, "Sub Menu 1", ::MenuOptions2, "Cannibal666's");
    	addOption(1, "Sub Menu 2", ::MenuOptions3, "Super");
    	addOption(2, "Sub Menu 3", ::MenuOptions4, "Simple");
    	addOption(3, "Sub Menu 4", ::MenuOptions5, "Base");
    	addOption(4, "Sub Menu 5", ::MenuOptions6, "v.1");
    	addOption(5, "Sub Menu 6", ::MenuOptions7, "Cannibal666's");
    	addOption(6, "Sub Menu 7", ::MenuOptions8, "Super");
    	addOption(7, "Sub Menu 8", ::MenuOptions9, "Simple");
    	addOption(8, "Sub Menu 9", ::MenuOptions10, "Base");
    	addOption(8, "Sub Menu 10", ::MenuOptions11, "v.1");
    }
    
    MenuOptions2()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions3()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions4()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions5()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions6()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions7()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions8()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions9()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions10()
    {
    	self.MainMenu = 0;
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions11()
    {
    	self.MainMenu = 0;
    	addOption(0, level.players[1].name, ::Test, "" + level.players[1] GetXUID() );
    	addOption(1, level.players[2].name, ::Test, "" + level.players[2] GetXUID() );
    	addOption(2, level.players[3].name, ::Test, "" + level.players[3] GetXUID() );
    	addOption(3, level.players[4].name, ::Test, "" + level.players[4] GetXUID() );
    	addOption(4, level.players[5].name, ::Test, "" + level.players[5] GetXUID() );
    	addOption(5, level.players[6].name, ::Test, "" + level.players[6] GetXUID() );
    	addOption(6, level.players[7].name, ::Test, "" + level.players[7] GetXUID() );
    	addOption(7, level.players[8].name, ::Test, "" + level.players[8] GetXUID() );
    	addOption(8, level.players[9].name, ::Test, "" + level.players[9] GetXUID() );
    	addOption(9, level.players[10].name, ::Test, "" + level.players[10] GetXUID() );
    }
    
    Test()
    {
    	self iPrintln("Running Operation...");
    }
    I might finish another menu i was working on a while back that is more advance.
    ill be adding a video of the v.1 of this menu once it's done loading. The video is for v.1 but i am releasing v.1.3....not much of a difference. Hope you guys like it.

    2 Not allowed! Not allowed!
    Last edited by CoolGuyJones; 12-22-2013 at 01:44 PM.

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  2. #2
    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



    I'm making a base now.

    -1 Not allowed! Not allowed!

  3. #3
    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

    Quote Originally Posted by B.M.O View Post


    I'm making a base now.
    Cool, use this as an example sense its so simple. Its super easy to understand. I hope to see your menu soon.

    1 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  4. #4
    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

    Quote Originally Posted by Dovahkiin View Post
    Cool, use this as an example sense its so simple. Its super easy to understand. I hope to see your menu soon.
    I'll send you the menu so far. It works, but is kind of crappy and cool at the same time. I still have to add the scrolling function and some sub test menu's. I will send you my v1 of it now, but v2 (The one I am currently working on) doesn't have the "MenuText", etc. I am adding actual menus.

    -1 Not allowed! Not allowed!

  5. #5
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

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

    Default

    Nice release man, Glad to see it!

    0 Not allowed! Not allowed!


    PS4 Profile:

  6. #6
    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

    Quote Originally Posted by PvtRyan View Post
    Nice release man, Glad to see it!
    Thanks ryan


    Added the video

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  7. #7
    Banned

    Badge

    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,204
    Points
    6,659
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,204
    Points
    6,659

    Default

    nice my nigga!

    0 Not allowed! Not allowed!

  8. #8
    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

    Thanks teebee

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

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:57 AM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.