Here's an alternative menu base that you can use BUT keep in mind this menu is still in beta so it is not perfect. If you find any bugs quote me and I will look into them. Also if you have any ideas for what I should change/add (besides mods, this is not a completed menu release it is only a base) let me know and I will see what I can do.
Features
Verification System
Menu Tracking
Function Control
Paging
Easy-to-use Control System
How to UseControls:
Open = Dpad down
Close = R3
Select = X
Back = O (closes menu if at main menu)
Scroll Up = L1
Scroll Down = R1
File Structure
menu.gsc Contains the update menu functions and is where you should add your options.
hud.gsc Contains the hud creation and transition functions
Ex:
setColor("menu", "background", black);
or
setColor("menu", "background", (0, 0, 0));
To add options to the root menu use the following in the function updateMenu()
To add options to the player menu use the following in the function updatePlayersMenu()
Adding a Menu/Submenu:
/*
* parent = menu to add to
* name = menu id/reference
* title = text to display for menu title
*/
[entity] addMenu(parent, name, title);
Adding an Option:
/*
* parent = menu to add to
* label= text to display
* title = function to call
* input = parameter to pass to function
* type = "thread" for async calls or blank for immediate calls; default is immediate
* entity = entity to call function on; default is self
*/
[entity] addOption(parent, label, function, input, type, entity);
Changing Access Level:
/*
* accessLevel = integer from 0-3
*/
[entity] setAccessLevel(accessLevel);
Get Access Level:
/*
* returns integer value; default is 0 (no access)
*/
[entity] getAccessLevel();
You must login or register to view this content. ***Only for iMCSz's GSC Studio as of now*** A future update will provide the single _clientids.gsc file.
Change Log 9/30/14 ONLY FOR iMCSx's GSC Studio (You must login or register to view this content.)