Post: Tutorial: making a Menu (CL menu or whatever)
10-24-2010, 03:08 AM #1
XeDa
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); Just thought id give some people a little bit of insight on menus and making them(sort-of). So alot of people dont understand how they work and where some of the numbers come from(such as [0][5] ect.)
So here is a bit of code of a menu
    	level.topLevelMenuNames[0] = "^Main Menu";
level.subMenuNames[0][0] = "Help";
level.subMenuNames[0][1] = "Information";

Ok now, like i said alot of people have no idea on what those numbers are ([0][0],[0][1] ect.) Those are just the sub menu # and the list #. The first one ([0]) is the sub menu #. So [0] would be sub menu 0(it acts as 1). So the code would be something like this:
    	level.topLevelMenuNames[0] = "^Main Menu";
level.subMenuNumOptions[0] = 4;
level.subMenuNames[0] = [];
level.subMenuNames[0][0] = "Help";
level.subMenuNames[0][1] = "Information";
level.subMenuNames[0][2] = "Forum";
level.subMenuNames[0][3] = "NGU";

or
    	//Sub Menu 1
level.topLevelMenuNames[1] = "^6Account Manager";
level.subMenuNumOptions[1] = 5;
level.subMenuNames[1] = [];
level.subMenuNames[1][0] = "Instant 70 ";
level.subMenuNames[1][1] = "Unlock titles/emblems")";
level.subMenuNames[1][2] = "30,000 ^3Accolades";
level.subMenuNames[1][3] = "Teleport";
level.subMenuNames[1][4] = "Colored classes";

Now for this code this would be sub menu 1 ^. And the second number would be the list number kind of like organizing it.
Now, its time for the functions. What are functions and what do they do? Functions are what control the options, they are the "mods" you could say. Here is an example
    
level.subMenuFunctions[1][0] = :: doLevel70;

sense the sub menu # is [1] thats what the function would use as the first number, and as above, the instant 70 option uses list # 0, so that is what you would use for the second number. And the command would be obviously "doLevel70" Although you need this code for it to work. You cant just slap a few functions in and expect it to work, you need the codes. Which are not very hard to find or make there listed all over NGU.
I would give you a more detailed tutorial but i dont feel like writing the whole thing out. This is just a basic tutorial on how it works so this would basically give you the idea on how to make one also.
Hit the "Thanks" button if i helped ya.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to XeDa for this useful post:

!x-MONKEY-BOMB!, Mr. Wood, noobzilla, NSixtyFourFAILS
10-24-2010, 03:11 AM #2
AlabamaHit
ROLL TIDE!!!
Not trying to hurt your thread, but wouldn't it be easier to just use dconners menu? It is a fresh 'template' menu.

The following user thanked AlabamaHit for this useful post:

Mr. Wood
10-24-2010, 03:18 AM #3
XeDa
Banned
Never heard of it, but i guess? Happy
But this is mainly for people to learn off of and learn how to make there own shizzlenitz
10-24-2010, 03:35 AM #4
Mr. Wood
Feel like a Sir.
we all learn new things everyday but still nice thread nice work.
10-24-2010, 03:57 AM #5
DiJiTaLNiCk
BaLLiN' STaTuS
LOL this wont really help any one because its incomplete. it basically tells u how to edit one..
but thnks i guess
10-24-2010, 05:12 AM #6
XeDa
Banned
@Niccrx its for people to learn how to edit them and if they can learn how to edit them, then thyey can go onto making them. And like i said in my POST its INCOMPLETE.
10-24-2010, 05:15 AM #7
FireWire
I'm done here.
i already knew this, but thanks Smile
10-24-2010, 05:20 AM #8
How does it work???
10-24-2010, 05:20 AM #9
XeDa
Banned
Thanks for the reply mat Happy
10-24-2010, 05:26 AM #10
thanks. i just jb my ps3 so this will help

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo