Post: How to make a mod menu with no unknown cmd
08-19-2013, 03:54 AM #1
Savage_847
Vault dweller
(adsbygoogle = window.adsbygoogle || []).push({}); Hi ngu i made this method a couple months ago and sent it to KadenxC28 but hes a faget and release it when its my method


you need this to make the menu work

    
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_START "togglemenu"
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "vstr OpenMenu"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"
set developer "1"
set developer_script "1"


these are the dvars to make the text

Big Text
    set com_errorTitle "Text Goes Here"

Small Text
    com_errorMessage "Text Goes Here"


This are the binds you need to make the text pop up

    
set Close "bind dpad_left +actionslot 3;bind dpad_right +actionslot 4;bind button_ltrig +smoke;bind button_rtrig +frag;bind button_x +usereload;bind button_b +stance;bind button_back togglescores;bind dpad_up vstr OpenMenu;togglescores;wait 2;togglescores"
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"
set Up "togglescores;vstr U;togglescores"
set Down "togglescores;vstr D;togglescores"
set Left "togglescores;vstr L;togglescores"
set Right "togglescores;vstr R;togglescores"
set Ex "togglescores;vstr X;togglescores"


to make a menu your going to have to do some this 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_START "togglemenu"
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "vstr OpenMenu"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"
set developer "1"
set developer_script "1"


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"
set Up "togglescores;vstr U;togglescores"
set Down "togglescores;vstr D;togglescores"
set Left "togglescores;vstr L;togglescores"
set Right "togglescores;vstr R;togglescores"
set Ex "togglescores;vstr X;togglescores"
set Close "bind dpad_left +actionslot 3;bind dpad_right +actionslot 4;bind button_ltrig +smoke;bind button_rtrig +frag;bind button_x +usereload;bind button_b +stance;bind button_back togglescores;bind dpad_up vstr OpenMenu;togglescores;wait 2;togglescores"


set OpenMenu "vstr Binds;vstr Main1;wait 5;togglescores"

set MT1 "set com_errorTitle host menu ^0 ^5SELF MENU ^0 ^7lobby menu"
set MT2 "set com_errorTitle self menu ^0 ^5LOBBY MENU ^0 ^7infections"
set MT3 "set com_errorTitle lobby menu ^5INFECTIONS ^0 ^7map menu"
set MT4 "set com_errorTitle infections ^5MAP MENU ^0 ^7host menu"
set MT5 "set com_errorTitle map menu ^0 ^5HOST MENU ^0 ^7self menu"
set Main1 "vstr MT1;com_errorMessage ^8Infect Your Self With Mods;set L vstr Main5;set R vstr Main2;set U vstr Main1;set D vstr Main1;set B vstr Close;set X vstr"
set Main2 "vstr MT2;com_errorMessage ^8Fun Mods For The Lobby;set L vstr Main1;set R vstr Main3;set U vstr Main2;set D vstr Main2;set B vstr Close;set X vstr"
set Main3 "vstr MT3;com_errorMessage ^8Infect Your Friends With Cool Mods;set L vstr Main2;set R vstr Main4;set U vstr Main3;set D vstr Main3;set B vstr Close;set X vstr"
set Main4 "vstr MT4;com_errorMessage ^8Change The Map To Any Map Your Like;set L vstr Main3;set R vstr Main5;set U vstr Main4;set D vstr Main4;set B vstr Close;set X vstr"
set Main5 "vstr MT5;com_errorMessage ^8Mods For The Host Only;set L vstr Main4;set R vstr Main1;set U vstr Main5;set D vstr Main5;set B vstr Close;set X vstr"


All credit goes to me for finding all this
(adsbygoogle = window.adsbygoogle || []).push({});

The following 7 users say thank you to Savage_847 for this useful post:

Alex-George-HnM, iTrexk, KadenxC28, Kush Friendly, Mango_Knife, Prodigy_killz, Scotty4.11
08-19-2013, 10:41 PM #11
Kush Friendly
League Champion
Originally posted by HnM View Post
Shame that its only one line, be good if \n worked on it haha. I think I now how I could make it multi line, nice release !


That what I was messing with, because the one-two line thing is dumb.
08-19-2013, 10:59 PM #12
Originally posted by Kush
That what I was messing with, because the one-two line thing is dumb.


Nothing really works for it Not Happy or Sad tried using lots of spaces or black ='s but it just fucks it up haha
08-19-2013, 11:43 PM #13
Kush Friendly
League Champion
Originally posted by HnM View Post
Nothing really works for it Not Happy or Sad tried using lots of spaces or black ='s but it just fucks it up haha


I know, its disappointing. lol
08-20-2013, 01:37 AM #14
KadenxC28
Little One
Originally posted by Kush
I know, its disappointing. lol


I have 3 lines of text perfectly aligned took me 2 weeks to get it though. xD
08-20-2013, 01:38 AM #15
Kush Friendly
League Champion
Originally posted by KadenxC28 View Post
I have 3 lines of text perfectly aligned took me 2 weeks to get it though. xD


Three lines isn't any better...
08-20-2013, 09:16 AM #16
Savage_847
Vault dweller
Originally posted by KadenxC28 View Post
Ivan, I just want to say, I'm a respectable guy. I wouldn't have released it if I knew you didn't want me to. I didn't release it for two months because you said you didn't want me to, so I didn't. I KNOW that you said I could release in that chat. So don't try to tell me different. Maybe you misspoke, maybe you said it and didn't realize you said it. But you said it. So, I would like to sincerely apologize for the misunderstanding. Even if you said I can, I shouldn't have released it. But, at the end of the day we all need to remember that we are modding a game. We are modifying the files of a video game for fun. And there really is no reason to argue about it and question each other's sexual orientation. I am sorry, and I hope you accept this apology.


i said dont release it and you said you wernt going to cause you were going to keep it to your self and i said ok kool
08-20-2013, 09:21 AM #17
Savage_847
Vault dweller
Originally posted by iTrexk View Post
Wow, I always noticed that when you press select it brings the error message up but I never thought about making a menu out of it. Nice job man! Claps


thanks just trying new things cause unknown cmd can lag you out and the unknown command has to much anoying text
08-20-2013, 09:25 AM #18
Savage_847
Vault dweller
Originally posted by HnM View Post
Shame that its only one line, be good if \n worked on it haha. I think I now how I could make it multi line, nice release !


i use the tittle as the menu tittle and the message as the options, ima update the thread with the other way of doing this and put the menu that i made but its not finished cause im not going to code anymore
08-20-2013, 09:46 AM #19
Savage_847
Vault dweller
Originally posted by Kush
That what I was messing with, because the one-two line thing is dumb.


i made a side to side menu text and it has 3 lines, the tittle and 2 lines for options but its looks like this


Self Menu
Option 1 Option 2 Option 3 Option 4 Option 5
Option 6 Option 7 Option 8 Option 9 Option 10

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo