Originally posted by xXPolojackXx
Just for beginners wanting to make their "first CFG" patch and wanting to hype people up online. To add the mod menu you'll need to put a code like this:
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG +frag
bind BUTTON_LTRIG +smoke
bind BUTTON_RSTICK "+melee"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "vstr menu"
bind DPAD_RIGHT "+actionslot 4"
bind BUTTON_BACK "togglescores"
bind BUTTON_START "togglemenu;togglescores"
set menu "vstr menu1"
set menu1 "vstr menu1a;set menu vstr menu2"
set menu1a "^2--^7Ngus Sexy Menu^2--;bind DPAD_UP vstr c;bind DPAD_DOWN vstr a;bind BUTTON_A vstr f;vstr menubegin"
set menu2 "vstr menu2a;set menu vstr menu3"
set menu2a "^2--^7Game_Settings_Menu^2--;bind DPAD_UP vstr du4;bind DPAD_DOWN vstr gsmenu;vstr gsmenu"
set menu3 "vstr menu3a;set menu vstr menu4"
set menu3a "^2--^7Kick_Menu^2--;bind DPAD_UP vstr umenu;bind DPAD_DOWN vstr kmenu;vstr kmenu"
set menu4 "vstr menu4a;set menu vstr menu5"
set menu4a "^2--^7Gametype_Menu^2--;bind DPAD_UP vstr du;bind DPAD_DOWN vstr gmenu;vstr gmenu"
set menu5 "vstr menu5a;set menu vstr menu6"
set menu5a "^2--^7Map_Menu^2--;bind DPAD_UP vstr du1;bind DPAD_DOWN vstr mmenu;vstr mmenu"
set menu6 "vstr menu6a;set menu vstr menu7"
set menu6a "^2--^7Say_Menu^2--;bind DPAD_UP vstr du2;bind DPAD_DOWN vstr smenu;vstr smenu"
set menu7 "vstr menu7a;set menu vstr menu8"
set menu7a "^2--^7Sound_Menu^2--;bind DPAD_UP vstr du3;bind DPAD_DOWN vstr zmenu;vstr zmenu"
set menu8 "vstr menu8a;set menu vstr menu1"
set menu8a "^1--^0Menu_Closed^1--;bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind BUTTON_A +gostand"
The binds are there so you can navigate the menu. So thats the base "main menu" of the patch now lets take the message menu and add a message in the message box.
Heres the code for something like that:
//SAY MENU (Keep this //say menu intact)
set smenu "vstr smenu1"
set smenu1 "vstr smenu1a;set smenu vstr smenu2;set du2 vstr smenu3"
set smenu1a "^5--^2Visit www.NextGenUpdate.com^5--;set f vstr h"
set smenu2 "vstr smenu2a;set smenu vstr smenu3;set du2 vstr smenu1"
set smenu2a "^5--^2Im Bi-Winning^5--;set f vstr h1"
set smenu3 "vstr smenu3a;set smenu vstr smenu1;set du2 vstr smenu2
set smenu3a "^3--^5Dancing Monkeys^3--;set f vstr h2"
As you see on the smenu3 you need to loop it so you put smenu vstr smenu1 in smenu3 where the code is "vstr smenu3a;set smenu vstr (then you put smenu1 there) so it goes back to 1 again. And then obviously you do the code (which will be h,h1,h2) So all you do for that is
set h say ^4Visit NextGenUpdate.com
set h1 say ^2Im Bi-Winning
set h2 say ^6Dancing Monkeys Dancing.
And if you want to add more messages just do it like above put something like
set smenu 4 "vstr smenu4a;set smenu vstr smenu5(1 if your looping);set du2 vstr smenu3
set smenu4a "^2--^4Extra Message^3--;set fvstr h3"
then further down the patch just do
set h3 say ^5Extra Message added
(If you're wanting to add another thing like super jump you add the code at the end of the menu making so its like):
set gsmenu1a "^3--^0Super_Jump_Toggle^3--;set f toggle jump_height 39 150 999;bg_fallDamageMinHeight 999999;bg_fallDamageMaxHeight 999999"
Have fun adding things to your CFG patches.