Q: What does/can the menu look like?
A: [URL="https://www.mediafire.com/download/2d2evdl1zyaxe26/No_Unknown_CMD_Example.JPG"]Here's an example[/URL]
Q: Is it harder/longer to code a menu this way?
A: It is about the same difficulty and actually takes less space than the traditional CFG style.
If you have any questions you would like added, quote me.
set gpad_buttonsconfig "YOLO"
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_START "togglemenu"
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "vstr Open"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"
seta loc_warnings "0"
seta loc_warningsAsErrors "0"
set gpad_buttonsconfig "YOLO"
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_START "togglemenu"
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "vstr Open"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"
seta loc_warnings "0"
seta loc_warningsAsErrors "0"
set Open "vstr Binds;vstr Remember;togglescores"
set Remember "vstr MM1"
(The "Remember" function is for option rememberance)
set Binds "bind dpad_left vstr Left;bind dpad_right vstr Right;bind button_lshldr vstr UP;bind button_rshldr vstr Down;bind button_x vstr x;bind button_b vstr b;unbind button_back" //You cannot use dpad_up/down while the menu is opened.
set Up "togglescores;vstr u;togglescores"
set Down "togglescores;vstr d;togglescores"
set Left "togglescores;vstr l;togglescores"
set Right "togglescores;vstr r;togglescores"
There are many ways to do this, I'll show an example.
set MM1 "[B]set com_errorTitle[/B] ^2GunShotZ_MoDz ^4v1;[B]set com_errorMessage[/B] ^3[^5Sub Menu 1^3] ^1[^4Sub Menu 2^1] ^1[^4Sub Menu 3^1] ^1[^4Sub Menu 4^1] ^1[^4Sub Menu 5^1] ^1[^4Sub Menu 6^1];set d vstr MM4;set u vstr MM4;set l vstr MM3;set r vstr MM2;set Remember vstr MM1;set b vstr Close;set x vstr SM11"
Copyright © 2024, NextGenUpdate.
All Rights Reserved.