• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] [Contest] Scroll Menu
#1
Rainbow 
- WHATS THIS?! -

Just watch this and you know what it does:



- HOW TO EDIT -
its very easy to edit and customize to your own likings. at the top of the scroll_menu.gsc you will find this:
C++ Code
  1. init()
  2. {
  3. // Precache the custom menu
  4. precacheMenu( "weapon_scroll" );
  5.  
  6. // Skip team and class selection
  7. setDvar( "scr_disable_cac", 1 );
  8. setDvar( "g_allow_teamchange", 0 );
  9.  
  10. // setup scrollmenu vars
  11. level.sm = [];
  12. level.sm[ "scrollspeed" ] = 0.2;
  13. level.addOption = ::add_option;
  14. level.menuAction = ::menu_action;
  15.  
  16. // Settings .. DO NOT CHANGE! Only if you think the sizes and transparancy of the images are not good
  17. add_menuSetting( "-3", 0.00, 10, 5, -500 );
  18. add_menuSetting( "-2", 0.50, 60, 30, -300 );
  19. add_menuSetting( "-1", 0.75, 120, 60, -200 );
  20. add_menuSetting( "0", 1.00, 200, 100, 0 );
  21. add_menuSetting( "1", 0.75, 120, 60, 200 );
  22. add_menuSetting( "2", 0.50, 60, 30, 300 );
  23. add_menuSetting( "3", 0.00, 10, 5, 500 );
  24.  
  25. // Weapons .. Add as much things as you want
  26. [[level.addOption]]( "famas_mp", "menu_mp_weapons_famas", "FAMAS" );
  27. [[level.addOption]]( "m16_mp", "menu_mp_weapons_m16", "M16A1" );
  28. [[level.addOption]]( "l96a1_mp", "menu_mp_weapons_l96a1", "L96A1" );
  29. [[level.addOption]]( "ak47_mp", "menu_mp_weapons_ak47", "AK47" );
  30. [[level.addOption]]( "ak74u_mp", "menu_mp_weapons_ak74u", "AK74u" );
  31. [[level.addOption]]( "spas_mp", "menu_mp_weapons_spas", "SPAS-12" );
  32. [[level.addOption]]( "crossbow_explosive_mp","menu_mp_weapons_crossbow", "Crossbow" );
  33. [[level.addOption]]( "fnfal_mp", "menu_mp_weapons_fnfal", "FN FAL" );
  34. [[level.addOption]]( "m60_mp", "menu_mp_weapons_m60", "M60" );
  35. [[level.addOption]]( "spectre_mp", "menu_mp_weapons_spectre", "Spectre" );
  36. [[level.addOption]]( "mpl_mp", "menu_mp_weapons_mpl", "MPL" );
  37. [[level.addOption]]( "rpg_mp", "menu_mp_weapons_rpg", "RPG-7" );
  38. [[level.addOption]]( "commando_mp", "menu_mp_weapons_commando", "Commando" );
  39.  
  40. thread onPlayerConnected();
  41. }


You can add options with
Code:
[[level.addOption]]( "VARIABLE WHEN CLICKED", "IMAGE TO DISPLAY", "NAME TO DISPLAY" );

Adding options can be done in any gsc file for people who like things organized (like me Big Grin)

you can also change the function that will be executed when someone clicks start:
Code:
level.menuAction = ::YOUR_FUNCTION_NAME;

the default function is:
C++ Code
  1. menu_action( thing )
  2. {
  3. self takeAllWeapons();
  4. self giveWeapon( thing );
  5. self giveWeapon( "knife_mp" );
  6. self giveWeapon( "m1911_mp" );
  7. self switchToWeapon( thing );
  8. }


"thing" will be the thing you filled in @ "VARIABLE WHEN CLICKED" in the option that is selected. The function can be located in any gsc file, just make sure you define level.menuAction right.

also,

DO NOT CHANGE THE "add_menuSetting" STUFF ON INIT

- OTHER -

I added 2 dvars at the top of the scroll_menu.gsc to skip the teamselection (auto-assign) and class menu .. but you can remove this and open the menu whenever you want (just look tru the menu and remove self openMenu() etc)

You can select the gun with both the arrow KEYS and the arrow BUTTONS in the menu itsself

- DOWNLOAD -
MODFILE

.rar   mp_scroll_menu.rar (Size: 8.01 KB / Downloads: 751)

SOURCE

.rar   mod.rar (Size: 6.98 KB / Downloads: 604)
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

  Reply
#2
sick release
[Image: MaEIQ.png]
  Reply
#3
improves every mod!
  Reply
#4
Nice!
[Image: 41295377.jpg]
  Reply
#5
this is EPIC!
[Image: ctoc.jpg]
  Reply
#6
Woeps uploaded the menu with a bug.. download the new one or all the images will be very small @ first open Big Grin
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

  Reply
#7
very nice! good job dude Awesome
Quote:» (report) SuperNovaAO - 03-03 23:34 -- Your mom's cunt also belongs to her private parts, yet everyone knows it.
» (report) OrangePL - 03-03 23:34 -- And if you can't understand, this is called PRIVATE message
[Image: userbars.jpg]
My MW2 mod Group: http://steamcommunity.com/groups/davesmodzz
  Reply
#8
Thats freaking amazing o.O
Posted by: Alpharius.
Cya Later!
  Reply
#9
Awesome work @iAegle.Superman
  Reply
#10
iAegle is the master of the menu's
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Admin menu koren30 4 4,749 10-07-2013, 20:17
Last Post: Yamato
  [Tutorial] How-To, Mod menu picture-REVISED/no iwifix needed rotceh_dnih 52 29,450 09-28-2013, 02:08
Last Post: Monkey Arms
  Help How do I open the admin menu for GeKKos QS Mod? conorr 1 2,832 08-15-2013, 13:52
Last Post: Yamato
  Trying to compile a modified menu DidUknowiPwn 7 5,234 07-05-2013, 21:55
Last Post: DidUknowiPwn
  Preview Admin / Mod Menu Hologramm 5 6,106 05-29-2013, 00:35
Last Post: sleepunknot
  Map Menu in Black Ops 1 EliTeEishiii 2 2,816 04-21-2013, 18:54
Last Post: Nekochan
  Menu base EliTeEishiii 1 2,683 04-17-2013, 16:10
Last Post: Nekochan
  [Release] Mouse operated menu met94 18 12,750 03-06-2013, 10:27
Last Post: BHF98
  [Release] BO Simplest Admin Menu alistair3149 21 16,020 02-22-2013, 08:57
Last Post: ItsEffecT
Smile Black ops Mod menu Sneakiixrage2 1 3,134 02-14-2013, 14:13
Last Post: Nekochan

Forum Jump:


Users browsing this thread: 3 Guest(s)