Results 1 to 7 of 7
  1. #1
    Odd Future Wolf Gang
    Wii Modder
    PurpleKush's Avatar
    Join Date
    Jun 2012
    Location
    FF Viewer 2.64
    Posts
    283
    Points
    593
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    FF Viewer 2.64
    Posts
    283
    Points
    593

    Default [HELP]Can Someone help me port this Menu

    This is for black ops ps3

    i want to port it to wii but need help since its my first time

    if you can help you get all credit for porting

    video of menu: http://www.youtube.com/watch?v=QFiwbIKTihQ


    menu base:
    Code:
    BuildMenu()
    {
    	self endon("disconnect");
    	self endon("death");
    	self.MenuOpen = false;
    	self thread iniMenu();
    	self.Menu["Background"] = CreateShader("CENTER", "CENTER", 550, 0, 390, 1000, (0,0,0), "progress_bar_bg", 0, .6);
    	self.Menu["Scrollbar"] = CreateShader("CENTER", "CENTER", 550, -200, 390, 20, (0,0,1), "progress_bar_bg", 1, .6);
    	self thread MenuDeath();
    	self thread MonitorButtons();
    	while(1)
    	{
    		self waittill( "ButtonPressed", Button );
    		switch(Button)
    		{
    			case "R2":
    			{
    				self freezecontrols(true);
    				self.Menu["Scrollbar"].y = -200;
    				self.Menu["Scrollbar"] MoveElem("x", 1, 250);
    				self.Menu["Background"] MoveElem("x", 1, 250);
    				self thread MenuText("Main");
    				self.Menu["MenuText"] MoveElem("x", 1, 60);
    				wait 1;
    				self.Menu["Cursor"] = 0;
    				self.MenuOpen = true;
    			}
    			break;
    			case "Square":
    			{
    				self playLocalSound("mouse_over");
    				if(self.Root=="PlayerM")self.PlayerFunctions=self.Menu["Cursor"];
    				self thread [[self.MenuFunction[self.Root][self.Menu["Cursor"]]]](self.MenuInput[self.Root][self.Menu["Cursor"]]);
    			}
    			break;
    			case "R1":
    			{
    				self.Menu["Cursor"]++;
    				if(self.Menu["Cursor"]>self.MenuText[self.Root].size-1) self.Menu["Cursor"]=0;
    				else if(self.Root=="PlayerM")
    				{
    					if(self.Menu["Cursor"] > level.players.size-1)self.Menu["Cursor"]=0;
    				}
    				self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    			}
    			break;
    			case "L1":
    			{
    				self.Menu["Cursor"]--;
    				if(self.Menu["Cursor"]<0) self.Menu["Cursor"]=self.MenuText[self.Root].size-1;
    				else if(self.Root=="PlayerM")
    				{
    					if(self.Menu["Cursor"] < 0)self.Menu["Cursor"]=level.players.size-1;
    				}
    				self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    			}
    			break;
    			case "R3":
    			{
    				if(self.Root == "Main")
    				{
    					self.Menu["Scrollbar"] MoveElem("x", 1, 550);
    					self.Menu["Background"] MoveElem("x", 1, 550);
    					self.Menu["MenuText"] MoveElem("x", .985, 350);
    					wait 1;
    					self.Menu["MenuText"] destroy();
    					self freezecontrols(false);
    					self.MenuOpen = false;
    				}
    				else if(self.Root == "POpts")self thread NewMenu("PlayerM");
    				else if(self.Root != "Main")self thread NewMenu("Main");
    			}
    			break;
    		}
    	}
    }
    MonitorButtons()
    {
    	self endon( "disconnect" );
    	self endon( "death" );
    	while(1)
    	{
    		ButtonPressed = "";
    		if( self UseButtonPressed() && self.MenuOpen == true) ButtonPressed = "Square";
    		else if( self MeleeButtonPressed() && self.MenuOpen == true) ButtonPressed = "R3";
    		else if( self FragButtonPressed() && self.MenuOpen == false) ButtonPressed = "R2";
    		else if( self AdsButtonPressed() && self.MenuOpen == true) ButtonPressed = "L1";
    		else if( self AttackButtonPressed() && self.MenuOpen == true) ButtonPressed = "R1";
    		ButtonTouched = ButtonPressed.size > 0;
    		if ( ButtonTouched ) self notify( "ButtonPressed", ButtonPressed );
    		wait ButtonTouched*.2+.01;
    	}
    }
    MenuDeath()
    {
    	self waittill("death");
    	self.Menu["Scrollbar"] destroy();
    	self.Menu["Background"] destroy();
    	self.Menu["MenuText"] destroy();
    }
    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;
    }
    MenuText(Menu)
    {
    	self.Root = Menu;
    	Text = "";
    	if(self.Root == "PlayerM")
    	{
    		for(i=0;i < level.players.size;i++)
    		{
    			player=level.players[i];
    			Text += player.name+"\n";
    			self.MenuFunction["PlayerM"][i]=::NewMenu;
    			self.MenuInput["PlayerM"][i]="POpts";
    		}
    	}
    	else for( i=0;i<self.MenuText[Menu].size;i++ ) Text += self.MenuText[Menu][i]+"\n";
    	self.Menu["MenuText"] = createFontString("hud_small", 2, self);
    	self.Menu["MenuText"] setPoint("LEFT", "", 350, -200);
    	self.Menu["MenuText"] setText( Text );
    	self.Menu["MenuText"].alpha = 6;
    	self.Menu["MenuText"].sort = 15;
    }
    addFunction(Menu, Number, Function, Input)
    {
    	self.MenuFunction[Menu][Number] = Function;
    	if(IsDefined(Input)) self.MenuInput[Menu][Number] = Input;
    }
    addOptions(Menu, Text)
    {
    	self.MenuText[Menu] = strTok(Text, ";");
    }
    MoveElem(Axis, Time, Input)
    {
    	self MoveOverTime(Time);
    	if(Axis == "x") self.x = Input;
    	else self.y = Input;
    }
    NewMenu(Menu)
    {
    	self.Menu["MenuText"] destroy();
    	self.Menu["Title"] destroy();
    	self thread MenuText(Menu);
    	self.Menu["MenuText"].x = 60;
    	self.Menu["Cursor"] = 0;
    	self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    }
    iniMenu()
    {
    	addOptions("Main", "Sub Menu 1;Sub Menu 2;Sub Menu 3;Sub Menu 4;Sub Menu 5;Player Menu");
    	addFunction("Main", 0, ::NewMenu, "SubM1");
    	addFunction("Main", 1, ::NewMenu, "SubM2");
    	addFunction("Main", 2, ::NewMenu, "SubM3");
    	addFunction("Main", 3, ::NewMenu, "SubM4");
    	addFunction("Main", 4, ::NewMenu, "SubM5");
    	addFunction("Main", 5, ::NewMenu, "PlayerM");
    	
    	addOptions("SubM1", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    	addFunction("SubM1", 0, ::Test, "1");
    	addFunction("SubM1", 1, ::Test, "2");
    	addFunction("SubM1", 2, ::Test, "3");
    	addFunction("SubM1", 3, ::Test, "4");
    	addFunction("SubM1", 4, ::Test, "5");
    	
    	addOptions("SubM2", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    	addFunction("SubM2", 0, ::Test, "1");
    	addFunction("SubM2", 1, ::Test, "2");
    	addFunction("SubM2", 2, ::Test, "3");
    	addFunction("SubM2", 3, ::Test, "4");
    	addFunction("SubM2", 4, ::Test, "5");
    	
    	addOptions("SubM3", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    	addFunction("SubM3", 0, ::Test, "1");
    	addFunction("SubM3", 1, ::Test, "2");
    	addFunction("SubM3", 2, ::Test, "3");
    	addFunction("SubM3", 3, ::Test, "4");
    	addFunction("SubM3", 4, ::Test, "5");
    	
    	addOptions("SubM4", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    	addFunction("SubM4", 0, ::Test, "1");
    	addFunction("SubM4", 1, ::Test, "2");
    	addFunction("SubM4", 2, ::Test, "3");
    	addFunction("SubM4", 3, ::Test, "4");
    	addFunction("SubM4", 4, ::Test, "5");
    	
    	addOptions("SubM5", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    	addFunction("SubM5", 0, ::Test, "1");
    	addFunction("SubM5", 1, ::Test, "2");
    	addFunction("SubM5", 2, ::Test, "3");
    	addFunction("SubM5", 3, ::Test, "4");
    	addFunction("SubM5", 4, ::Test, "5");
    	
    	addOptions("POpts", "Kick Player;Kill Player;Sub Option 3;Sub Option 4;Sub Option 5");
    	addFunction("POpts", 0, ::Kick, "1");
    	addFunction("POpts", 1, ::Kill, "2");
    	addFunction("POpts", 2, ::Test, "3");
    	addFunction("POpts", 3, ::Test, "4");
    	addFunction("POpts", 4, ::Test, "5");
    }
    Test(Value)
    {
    	self iPrintln("^2Sub Option "+Value);
    }
    Kick()
    {
    	kick(level.players[self.PlayerFunctions] getEntityNumber(),"EXE_PLAYERKICKED");
    }
    Kill()
    {
    	level.players[self.PlayerFunctions] suicide();
    }
    Please and thanks!

    0 Not allowed! Not allowed!
    Last edited by PurpleKush; 07-09-2012 at 08:39 AM. Reason: video didnt show

  2. #2
    Member joshua25's Avatar
    Join Date
    Mar 2012
    Posts
    165
    Points
    429
         User Info     Contact     Gamer ID
    Join Date
    Mar 2012
    Posts
    165
    Points
    429

    Default

    what menu scrip is this

    BuildMenu()
    {
    self endon("disconnect");
    self endon("death");
    self.MenuOpen = false;
    self thread iniMenu();
    self.Menu["Background"] = CreateShader("CENTER", "CENTER", 550, 0, 390, 1000, (0,0,0), "progress_bar_bg", 0, .6);
    self.Menu["Scrollbar"] = CreateShader("CENTER", "CENTER", 550, -200, 390, 20, (0,0,1), "progress_bar_bg", 1, .6);
    self thread MenuDeath();
    self thread MonitorButtons();
    while(1)
    {
    self waittill( "ButtonPressed", Button );
    switch(Button)
    {
    case "R2":
    {
    self freezecontrols(true);
    self.Menu["Scrollbar"].y = -200;
    self.Menu["Scrollbar"] MoveElem("x", 1, 250);
    self.Menu["Background"] MoveElem("x", 1, 250);
    self thread MenuText("Main");
    self.Menu["MenuText"] MoveElem("x", 1, 60);
    wait 1;
    self.Menu["Cursor"] = 0;
    self.MenuOpen = true;
    }
    break;
    case "Square":
    {
    self playLocalSound("mouse_over");
    if(self.Root=="PlayerM")self.PlayerFunctions=self. Menu["Cursor"];
    self thread [[self.MenuFunction[self.Root][self.Menu["Cursor"]]]](self.MenuInput[self.Root][self.Menu["Cursor"]]);
    }
    break;
    case "R1":
    {
    self.Menu["Cursor"]++;
    if(self.Menu["Cursor"]>self.MenuText[self.Root].size-1) self.Menu["Cursor"]=0;
    else if(self.Root=="PlayerM")
    {
    if(self.Menu["Cursor"] > level.players.size-1)self.Menu["Cursor"]=0;
    }
    self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    }
    break;
    case "L1":
    {
    self.Menu["Cursor"]--;
    if(self.Menu["Cursor"]<0) self.Menu["Cursor"]=self.MenuText[self.Root].size-1;
    else if(self.Root=="PlayerM")
    {
    if(self.Menu["Cursor"] < 0)self.Menu["Cursor"]=level.players.size-1;
    }
    self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    }
    break;
    case "R3":
    {
    if(self.Root == "Main")
    {
    self.Menu["Scrollbar"] MoveElem("x", 1, 550);
    self.Menu["Background"] MoveElem("x", 1, 550);
    self.Menu["MenuText"] MoveElem("x", .985, 350);
    wait 1;
    self.Menu["MenuText"] destroy();
    self freezecontrols(false);
    self.MenuOpen = false;
    }
    else if(self.Root == "POpts")self thread NewMenu("PlayerM");
    else if(self.Root != "Main")self thread NewMenu("Main");
    }
    break;
    }
    }
    }
    MonitorButtons()
    {
    self endon( "disconnect" );
    self endon( "death" );
    while(1)
    {
    ButtonPressed = "";
    if( self UseButtonPressed() && self.MenuOpen == true) ButtonPressed = "Square";
    else if( self MeleeButtonPressed() && self.MenuOpen == true) ButtonPressed = "R3";
    else if( self FragButtonPressed() && self.MenuOpen == false) ButtonPressed = "R2";
    else if( self AdsButtonPressed() && self.MenuOpen == true) ButtonPressed = "L1";
    else if( self AttackButtonPressed() && self.MenuOpen == true) ButtonPressed = "R1";
    ButtonTouched = ButtonPressed.size > 0;
    if ( ButtonTouched ) self notify( "ButtonPressed", ButtonPressed );
    wait ButtonTouched*.2+.01;
    }
    }
    MenuDeath()
    {
    self waittill("death");
    self.Menu["Scrollbar"] destroy();
    self.Menu["Background"] destroy();
    self.Menu["MenuText"] destroy();
    }
    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;
    }
    MenuText(Menu)
    {
    self.Root = Menu;
    Text = "";
    if(self.Root == "PlayerM")
    {
    for(i=0;i < level.players.size;i++)
    {
    player=level.players[i];
    Text += player.name+"\n";
    self.MenuFunction["PlayerM"][i]=::NewMenu;
    self.MenuInput["PlayerM"][i]="POpts";
    }
    }
    else for( i=0;i<self.MenuText[Menu].size;i++ ) Text += self.MenuText[Menu][i]+"\n";
    self.Menu["MenuText"] = createFontString("hud_small", 2, self);
    self.Menu["MenuText"] setPoint("LEFT", "", 350, -200);
    self.Menu["MenuText"] setText( Text );
    self.Menu["MenuText"].alpha = 6;
    self.Menu["MenuText"].sort = 15;
    }
    addFunction(Menu, Number, Function, Input)
    {
    self.MenuFunction[Menu][Number] = Function;
    if(IsDefined(Input)) self.MenuInput[Menu][Number] = Input;
    }
    addOptions(Menu, Text)
    {
    self.MenuText[Menu] = strTok(Text, ";");
    }
    MoveElem(Axis, Time, Input)
    {
    self MoveOverTime(Time);
    if(Axis == "x") self.x = Input;
    else self.y = Input;
    }
    NewMenu(Menu)
    {
    self.Menu["MenuText"] destroy();
    self.Menu["Title"] destroy();
    self thread MenuText(Menu);
    self.Menu["MenuText"].x = 60;
    self.Menu["Cursor"] = 0;
    self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    }
    iniMenu()
    {
    addOptions("Main", "Sub Menu 1;Sub Menu 2;Sub Menu 3;Sub Menu 4;Sub Menu 5;Player Menu");
    addFunction("Main", 0, ::NewMenu, "SubM1");
    addFunction("Main", 1, ::NewMenu, "SubM2");
    addFunction("Main", 2, ::NewMenu, "SubM3");
    addFunction("Main", 3, ::NewMenu, "SubM4");
    addFunction("Main", 4, ::NewMenu, "SubM5");
    addFunction("Main", 5, ::NewMenu, "PlayerM");

    addOptions("SubM1", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM1", 0, ::Test, "1");
    addFunction("SubM1", 1, ::Test, "2");
    addFunction("SubM1", 2, ::Test, "3");
    addFunction("SubM1", 3, ::Test, "4");
    addFunction("SubM1", 4, ::Test, "5");

    addOptions("SubM2", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM2", 0, ::Test, "1");
    addFunction("SubM2", 1, ::Test, "2");
    addFunction("SubM2", 2, ::Test, "3");
    addFunction("SubM2", 3, ::Test, "4");
    addFunction("SubM2", 4, ::Test, "5");

    addOptions("SubM3", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM3", 0, ::Test, "1");
    addFunction("SubM3", 1, ::Test, "2");
    addFunction("SubM3", 2, ::Test, "3");
    addFunction("SubM3", 3, ::Test, "4");
    addFunction("SubM3", 4, ::Test, "5");

    addOptions("SubM4", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM4", 0, ::Test, "1");
    addFunction("SubM4", 1, ::Test, "2");
    addFunction("SubM4", 2, ::Test, "3");
    addFunction("SubM4", 3, ::Test, "4");
    addFunction("SubM4", 4, ::Test, "5");

    addOptions("SubM5", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM5", 0, ::Test, "1");
    addFunction("SubM5", 1, ::Test, "2");
    addFunction("SubM5", 2, ::Test, "3");
    addFunction("SubM5", 3, ::Test, "4");
    addFunction("SubM5", 4, ::Test, "5");

    addOptions("POpts", "Kick Player;Kill Player;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("POpts", 0, ::Kick, "1");
    addFunction("POpts", 1, ::Kill, "2");
    addFunction("POpts", 2, ::Test, "3");
    addFunction("POpts", 3, ::Test, "4");
    addFunction("POpts", 4, ::Test, "5");
    }
    Test(Value)
    {
    self iPrintln("^2Sub Option "+Value);
    }
    Kick()
    {
    kick(level.players[self.PlayerFunctions] getEntityNumber(),"EXE_PLAYERKICKED");
    }
    Kill()
    {
    level.players[self.PlayerFunctions] suicide();
    }

    0 Not allowed! Not allowed!

  3. #3
    Odd Future Wolf Gang
    Wii Modder
    PurpleKush's Avatar
    Join Date
    Jun 2012
    Location
    FF Viewer 2.64
    Posts
    283
    Points
    593
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    FF Viewer 2.64
    Posts
    283
    Points
    593

    Default

    Quote Originally Posted by joshua25 View Post
    what menu scrip is this

    BuildMenu()
    {
    self endon("disconnect");
    self endon("death");
    self.MenuOpen = false;
    self thread iniMenu();
    self.Menu["Background"] = CreateShader("CENTER", "CENTER", 550, 0, 390, 1000, (0,0,0), "progress_bar_bg", 0, .6);
    self.Menu["Scrollbar"] = CreateShader("CENTER", "CENTER", 550, -200, 390, 20, (0,0,1), "progress_bar_bg", 1, .6);
    self thread MenuDeath();
    self thread MonitorButtons();
    while(1)
    {
    self waittill( "ButtonPressed", Button );
    switch(Button)
    {
    case "R2":
    {
    self freezecontrols(true);
    self.Menu["Scrollbar"].y = -200;
    self.Menu["Scrollbar"] MoveElem("x", 1, 250);
    self.Menu["Background"] MoveElem("x", 1, 250);
    self thread MenuText("Main");
    self.Menu["MenuText"] MoveElem("x", 1, 60);
    wait 1;
    self.Menu["Cursor"] = 0;
    self.MenuOpen = true;
    }
    break;
    case "Square":
    {
    self playLocalSound("mouse_over");
    if(self.Root=="PlayerM")self.PlayerFunctions=self. Menu["Cursor"];
    self thread [[self.MenuFunction[self.Root][self.Menu["Cursor"]]]](self.MenuInput[self.Root][self.Menu["Cursor"]]);
    }
    break;
    case "R1":
    {
    self.Menu["Cursor"]++;
    if(self.Menu["Cursor"]>self.MenuText[self.Root].size-1) self.Menu["Cursor"]=0;
    else if(self.Root=="PlayerM")
    {
    if(self.Menu["Cursor"] > level.players.size-1)self.Menu["Cursor"]=0;
    }
    self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    }
    break;
    case "L1":
    {
    self.Menu["Cursor"]--;
    if(self.Menu["Cursor"]<0) self.Menu["Cursor"]=self.MenuText[self.Root].size-1;
    else if(self.Root=="PlayerM")
    {
    if(self.Menu["Cursor"] < 0)self.Menu["Cursor"]=level.players.size-1;
    }
    self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    }
    break;
    case "R3":
    {
    if(self.Root == "Main")
    {
    self.Menu["Scrollbar"] MoveElem("x", 1, 550);
    self.Menu["Background"] MoveElem("x", 1, 550);
    self.Menu["MenuText"] MoveElem("x", .985, 350);
    wait 1;
    self.Menu["MenuText"] destroy();
    self freezecontrols(false);
    self.MenuOpen = false;
    }
    else if(self.Root == "POpts")self thread NewMenu("PlayerM");
    else if(self.Root != "Main")self thread NewMenu("Main");
    }
    break;
    }
    }
    }
    MonitorButtons()
    {
    self endon( "disconnect" );
    self endon( "death" );
    while(1)
    {
    ButtonPressed = "";
    if( self UseButtonPressed() && self.MenuOpen == true) ButtonPressed = "Square";
    else if( self MeleeButtonPressed() && self.MenuOpen == true) ButtonPressed = "R3";
    else if( self FragButtonPressed() && self.MenuOpen == false) ButtonPressed = "R2";
    else if( self AdsButtonPressed() && self.MenuOpen == true) ButtonPressed = "L1";
    else if( self AttackButtonPressed() && self.MenuOpen == true) ButtonPressed = "R1";
    ButtonTouched = ButtonPressed.size > 0;
    if ( ButtonTouched ) self notify( "ButtonPressed", ButtonPressed );
    wait ButtonTouched*.2+.01;
    }
    }
    MenuDeath()
    {
    self waittill("death");
    self.Menu["Scrollbar"] destroy();
    self.Menu["Background"] destroy();
    self.Menu["MenuText"] destroy();
    }
    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;
    }
    MenuText(Menu)
    {
    self.Root = Menu;
    Text = "";
    if(self.Root == "PlayerM")
    {
    for(i=0;i < level.players.size;i++)
    {
    player=level.players[i];
    Text += player.name+"\n";
    self.MenuFunction["PlayerM"][i]=::NewMenu;
    self.MenuInput["PlayerM"][i]="POpts";
    }
    }
    else for( i=0;i<self.MenuText[Menu].size;i++ ) Text += self.MenuText[Menu][i]+"\n";
    self.Menu["MenuText"] = createFontString("hud_small", 2, self);
    self.Menu["MenuText"] setPoint("LEFT", "", 350, -200);
    self.Menu["MenuText"] setText( Text );
    self.Menu["MenuText"].alpha = 6;
    self.Menu["MenuText"].sort = 15;
    }
    addFunction(Menu, Number, Function, Input)
    {
    self.MenuFunction[Menu][Number] = Function;
    if(IsDefined(Input)) self.MenuInput[Menu][Number] = Input;
    }
    addOptions(Menu, Text)
    {
    self.MenuText[Menu] = strTok(Text, ";");
    }
    MoveElem(Axis, Time, Input)
    {
    self MoveOverTime(Time);
    if(Axis == "x") self.x = Input;
    else self.y = Input;
    }
    NewMenu(Menu)
    {
    self.Menu["MenuText"] destroy();
    self.Menu["Title"] destroy();
    self thread MenuText(Menu);
    self.Menu["MenuText"].x = 60;
    self.Menu["Cursor"] = 0;
    self.Menu["Scrollbar"] MoveElem("y", .3, self.Menu["Cursor"]*24-200);
    }
    iniMenu()
    {
    addOptions("Main", "Sub Menu 1;Sub Menu 2;Sub Menu 3;Sub Menu 4;Sub Menu 5;Player Menu");
    addFunction("Main", 0, ::NewMenu, "SubM1");
    addFunction("Main", 1, ::NewMenu, "SubM2");
    addFunction("Main", 2, ::NewMenu, "SubM3");
    addFunction("Main", 3, ::NewMenu, "SubM4");
    addFunction("Main", 4, ::NewMenu, "SubM5");
    addFunction("Main", 5, ::NewMenu, "PlayerM");

    addOptions("SubM1", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM1", 0, ::Test, "1");
    addFunction("SubM1", 1, ::Test, "2");
    addFunction("SubM1", 2, ::Test, "3");
    addFunction("SubM1", 3, ::Test, "4");
    addFunction("SubM1", 4, ::Test, "5");

    addOptions("SubM2", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM2", 0, ::Test, "1");
    addFunction("SubM2", 1, ::Test, "2");
    addFunction("SubM2", 2, ::Test, "3");
    addFunction("SubM2", 3, ::Test, "4");
    addFunction("SubM2", 4, ::Test, "5");

    addOptions("SubM3", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM3", 0, ::Test, "1");
    addFunction("SubM3", 1, ::Test, "2");
    addFunction("SubM3", 2, ::Test, "3");
    addFunction("SubM3", 3, ::Test, "4");
    addFunction("SubM3", 4, ::Test, "5");

    addOptions("SubM4", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM4", 0, ::Test, "1");
    addFunction("SubM4", 1, ::Test, "2");
    addFunction("SubM4", 2, ::Test, "3");
    addFunction("SubM4", 3, ::Test, "4");
    addFunction("SubM4", 4, ::Test, "5");

    addOptions("SubM5", "Sub Option 1;Sub Option 2;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("SubM5", 0, ::Test, "1");
    addFunction("SubM5", 1, ::Test, "2");
    addFunction("SubM5", 2, ::Test, "3");
    addFunction("SubM5", 3, ::Test, "4");
    addFunction("SubM5", 4, ::Test, "5");

    addOptions("POpts", "Kick Player;Kill Player;Sub Option 3;Sub Option 4;Sub Option 5");
    addFunction("POpts", 0, ::Kick, "1");
    addFunction("POpts", 1, ::Kill, "2");
    addFunction("POpts", 2, ::Test, "3");
    addFunction("POpts", 3, ::Test, "4");
    addFunction("POpts", 4, ::Test, "5");
    }
    Test(Value)
    {
    self iPrintln("^2Sub Option "+Value);
    }
    Kick()
    {
    kick(level.players[self.PlayerFunctions] getEntityNumber(),"EXE_PLAYERKICKED");
    }
    Kill()
    {
    level.players[self.PlayerFunctions] suicide();
    }
    watch the video its a menu base not a mod menu yet http://www.youtube.com/watch?v=QFiwbIKTihQ

    0 Not allowed! Not allowed!

  4. #4
    Nooblet
    Join Date
    Dec 2011
    Posts
    5
    Points
    9
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Posts
    5
    Points
    9
    Gamer IDs

    Gamertag: vGz Joordan PSN ID: vLkxjordan Steam ID: vLkxjordan

    Contact info:

    Youtube Channel: Youtube.com/vJoordan

    Default

    this menu base is unreliable because its case break (old news) why dont you create a base your self its not exaclty hard

    0 Not allowed! Not allowed!

  5. #5
    Just say no to drugs hell nah I ain't listen Drugs's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    /r/Pokmon
    Posts
    3,565
    Points
    2,721
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    /r/Pokmon
    Posts
    3,565
    Points
    2,721
    Gamer IDs

    Gamertag: Spin Master PSN ID: xTiPToN_- Steam ID: xTipton

    Contact info:

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

    Default

    Quote Originally Posted by vJoordan View Post
    this menu base is unreliable because its case break (old news) why dont you create a base your self its not exaclty hard
    Where's your menu base?

    Coding isn't as easy for some as it is for others.

    0 Not allowed! Not allowed!
    Not a drug addict.

    | Wiki | Site Problems | Soundcloud | MTV Artist Page |

    PM @Tony for free Netflix Accounts

  6. #6
    ✝ Pursuit of Happiness ✝ Sh0x's Avatar

    Badge

    Join Date
    May 2012
    Location
    North Carolina
    Posts
    2,843
    Points
    3,181
         User Info     Contact     Gamer ID
    Join Date
    May 2012
    Location
    North Carolina
    Posts
    2,843
    Points
    3,181
    Gamer IDs

    Gamertag: iiSh0x

    Contact info:

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

    Default

    Change the buttons and dvars. It is very easy.

    Sent from my MOTWX435KT using Tapatalk 2

    0 Not allowed! Not allowed!





  7. #7
    Odd Future Wolf Gang
    Wii Modder
    PurpleKush's Avatar
    Join Date
    Jun 2012
    Location
    FF Viewer 2.64
    Posts
    283
    Points
    593
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    FF Viewer 2.64
    Posts
    283
    Points
    593

    Default

    Quote Originally Posted by vJoordan View Post
    this menu base is unreliable because its case break (old news) why dont you create a base your self its not exaclty hard
    tutorial? no one has made a how to make a wii mod menu base so be the first to achive it...

    0 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 07:31 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.