Post: Surge "Rise" Menu Base Beta 1.5 [UPDATE 9/30/14]
09-26-2014, 04:49 AM #1
TheFallen
Former Dark Night
(adsbygoogle = window.adsbygoogle || []).push({});
Surge "Rise" Menu Base Beta




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 Use
Controls:

  • 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


Add and Use a color
    level.<color name>= (r, g, b);

Ex:
level.white = (1, 1, 1);
...
self.myShader.color = level.white;


Set a Color
    setColor(type, elem, color);

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();


Get Access Level Status:
    
/*
* returns string matching access level (No Access, Limited Access, Admin, Host)
*/
[entity] getAccessLevelStatus();

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.)

You must login or register to view this content.


  • New File Structure
  • Better color customization
  • Stability Improvments



9/25/2014

You must login or register to view this content.


  • Initial Release



Credits


  • ItsLollo1000 for his thread and anyone whose codes I used
  • Exelo for line_horizontal material
  • Taylor for reminding me how weird GSC when I tried doing something from a C language and for helping me test
  • Adidas for helping me test
  • iMCSx for his GSC Studio
Last edited by TheFallen ; 10-02-2014 at 02:00 AM. Reason: updated to Beta 1.5

The following 52 users say thank you to TheFallen for this useful post:

Mantus, /SneakerStreet/, Hammy, Bucko, Chris, Daqe, Eddie Mac, EdiTzZ, ErasedDev, Frost Mods, Geo, Harry12345789, HaX-Stylin, iifire, Im Leroy, Im Not Boobdidas, Items, Welsh, ItsLollo1000, John Leepe, Joren, MiseryLegion, My Ninja Defuse, Napalm Light, Norway-_-1999, John, ozzy21, PartyTime, Patrick, Plasmer, RTE, SaberNGU, SC58, Script Kiddie, seb5594, ShutTheCrunchUp, Silent Assassin, Taylor, Swiss, SyGnUs, TehMerkMods, Terrorize 420, Turk_Warrior, Vanz, wayzoken, x0ptic0ns100, xD3VHΛX, Fatality, xJessex, xSlinkeyy, xSyntheticPatch
09-26-2014, 04:57 AM #2
Items
Bounty hunter
First <3 :P good shit bro!! ^_^
09-26-2014, 05:16 AM #3
Script Kiddie
At least I can fight
Sick man
09-26-2014, 06:11 AM #4
SC58
Former Staff
Originally posted by TheFallen View Post
Surge "Rise" Menu Base Beta




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 Use
Controls:

  • Open = Dpad down
  • Close = R3
  • Select = X
  • Back = O (closes menu if at main menu)
  • Scroll Up = L1
  • Scroll Down = R1


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();


Get Access Level Status:
    
/*
* returns string matching access level (No Access, Limited Access, Admin, Host)
*/
[entity] getAccessLevelStatus();

You must login or register to view this content.


Change Log

9/25/2014

You must login or register to view this content.


  • Initial Release



Credits


  • ItsLollo1000 for his thread and anyone whose codes I used
  • Exelo for line_horizontal material
  • Taylor for reminding me how weird GSC when I tried doing something from a C language and for helping me test
  • Adidas for helping me test


Nice to see someone put time into making something nice as most of these people so far are half assing there work and just C&P everything, It's a shame but once again Very nice!

Hope to see more cool design bases from you soon Smile

The following 2 users say thank you to SC58 for this useful post:

hum_h2, Items
09-26-2014, 10:39 AM #5
TehMerkMods
I’m too L33T
Amazing menu base hope to see some nice shit from this :P gonna make something nice with this but keep it private Happy
09-26-2014, 01:53 PM #6
Originally posted by TheFallen View Post
Surge "Rise" Menu Base Beta




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 Use
Controls:

  • Open = Dpad down
  • Close = R3
  • Select = X
  • Back = O (closes menu if at main menu)
  • Scroll Up = L1
  • Scroll Down = R1


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();


Get Access Level Status:
    
/*
* returns string matching access level (No Access, Limited Access, Admin, Host)
*/
[entity] getAccessLevelStatus();

You must login or register to view this content.


Change Log

9/25/2014

You must login or register to view this content.


  • Initial Release



Credits


  • ItsLollo1000 for his thread and anyone whose codes I used
  • Exelo for line_horizontal material
  • Taylor for reminding me how weird GSC when I tried doing something from a C language and for helping me test
  • Adidas for helping me test


This looks amazing :O Good job Happy
09-26-2014, 03:16 PM #7
/SneakerStreet/
At least I can fight
Realy sick Base!!!!!
09-26-2014, 06:00 PM #8
Tustin
Balls of Steel
Look at this dirty dog...

Haven't seen you in a while Winky Winky

The following 2 users say thank you to Tustin for this useful post:

Hammy, John Leepe
09-26-2014, 08:25 PM #9
Looks good. I hope you put some fun stuff in to it. If you need help let me know.
09-26-2014, 08:32 PM #10
TheFallen
Former Dark Night
Originally posted by Tustin View Post
Look at this dirty dog...

Haven't seen you in a while Winky Winky


Ive been outside :p

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo