Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Easy Menu
#1
A lot of people wanted to know how to make an easy menu.. well this one is quite easy. I'm sure people can find out how to add buttons and such

Just look true it and change the CAPS things:
MENU NAME HERE
CONFIG NAME HERE
TITLE NAME HERE
HIGHEST IMAGE NAME HERE
LOWEST IMAGE NAME HERE
MIDDLE IMAGE NAME HERE


but post questions if you don't understand!! this thread is kinda made for questions XD

C Code
  1. #include "ui/menudef.h"
  2. #include "ui_mp/common_macro.inc"
  3.  
  4. #include "ui_mp/menustyle.inc"
  5. #include "ui_mp/choices_setup_teams.menu"
  6.  
  7. {
  8. menuDef
  9. {
  10. name "MENU NAME HERE"
  11. rect 0 0 640 480
  12. focuscolor COLOR_FOCUSED
  13. style WINDOW_STYLE_EMPTY
  14. blurWorld 7.0
  15. onOpen
  16. {
  17. execNow exec "CONFIG NAME HERE";
  18. }
  19. onEsc
  20. {
  21. play "mouse_click";
  22. close self;
  23. open "team_marinesopfor";
  24. }
  25.  
  26. CHOICE_MENU_TITLE( TITLE NAME HERE )
  27.  
  28. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 1, "About Old School", open mod_information;, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  29. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 2, "Server Information", open mod_serverinfo;, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  30. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 4, "Play!", close self; open "team_marinesopfor";, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  31.  
  32. // gradient_top
  33. itemDef
  34. {
  35. style WINDOW_STYLE_SHADER
  36. rect 0 0 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
  37. background "gradient_top"
  38. visible 1
  39. decoration
  40. }
  41.  
  42. // gradient_bottom
  43. itemDef
  44. {
  45. style WINDOW_STYLE_SHADER
  46. rect 0 405 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
  47. background "gradient_bottom"
  48. visible 1
  49. decoration
  50. }
  51.  
  52. itemDef
  53. {
  54. style WINDOW_STYLE_SHADER
  55. rect 60 -185 220 370 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  56. background "white"
  57. forecolor 0 0 0 0.8
  58. border 1
  59. bordersize 1.5
  60. bordercolor 0.5 0.5 0.5 0.8
  61. visible 1
  62. decoration
  63. }
  64.  
  65. itemDef
  66. {
  67. rect 70 70 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  68. forecolor 1 1 1 1
  69. style WINDOW_STYLE_SHADER
  70. background "LOWEST IMAGE NAME HERE"
  71. visible 1
  72. decoration
  73. }
  74.  
  75. itemDef
  76. {
  77. rect 70 -50 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  78. forecolor 1 1 1 1
  79. style WINDOW_STYLE_SHADER
  80. background "MIDDLE IMAGE NAME HERE"
  81. visible 1
  82. decoration
  83. }
  84.  
  85. itemDef
  86. {
  87. rect 70 -170 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  88. forecolor 1 1 1 1
  89. style WINDOW_STYLE_SHADER
  90. background "HIGHEST IMAGE NAME HERE"
  91. visible 1
  92. decoration
  93. }
  94.  
  95. #include "ui/safearea.menu"
  96. }
  97.  
  98. #include "ui_mp/popupstyle.inc"
  99. #include "ui/choices_setup_popmenu.menu"
  100.  
  101. #undef POPUP_BUTTON_COUNT
  102. #define POPUP_BUTTON_COUNT 1
  103.  
  104. menuDef
  105. {
  106. SYSTEM_POPUP_SETUP_VIS( mod_information, ;, ;, 1 )
  107.  
  108. SYSTEM_POPUP_TITLE_VIS( "The point of this mod is to let people play with other guns then they normally do. Pick up weapons and perks from 'pickup points' to arm yourself.\n\nMod made by iAegle.", 1 )
  109.  
  110. FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  111. }
  112.  
  113. menuDef
  114. {
  115. SYSTEM_POPUP_SETUP_VIS( mod_serverinfo, ;, ;, 1 )
  116.  
  117. SYSTEM_POPUP_TITLE_VIS( ( dvarString( os_servernote ) ), 1 )
  118.  
  119. FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  120. }
  121.  
  122. #undef POPUP_BUTTON_COUNT
  123. #define POPUP_BUTTON_COUNT 3
  124.  
  125. menuDef
  126. {
  127. SYSTEM_POPUP_SETUP_VIS( mod_adminmenu, ;, ;, 1 )
  128.  
  129. SYSTEM_POPUP_TITLE_VIS( ( "Admin Menu\nYou can change settings in here." ), 1 )
  130.  
  131. CHOICE_DVARFLOATLIST( 1, "@OS_SETTING_WEAPON_RESPAWN", "os_weaponrespawntime", { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
  132. CHOICE_DVARFLOATLIST( 2, "@OS_SETTING_PERK_RESPAWN", "os_perkrespawntime", { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
  133. FRAME_CHOICE_BUTTON_VIS_EX( 3, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  134. }
  135. }


ENDRESULT
[Image: 9A634C025D3A55767750FC0ACF9202DFD2A398BC]
(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
(07-21-2011, 23:11)iAegle Wrote: A lot of people wanted to know how to make an easy menu.. well this one is quite easy. I'm sure people can find out how to add buttons and such

Just look true it and change the CAPS things:
MENU NAME HERE
CONFIG NAME HERE
TITLE NAME HERE
HIGHEST IMAGE NAME HERE
LOWEST IMAGE NAME HERE
MIDDLE IMAGE NAME HERE


but post questions if you don't understand!! this thread is kinda made for questions XD

C Code
  1. #include "ui/menudef.h"
  2. #include "ui_mp/common_macro.inc"
  3.  
  4. #include "ui_mp/menustyle.inc"
  5. #include "ui_mp/choices_setup_teams.menu"
  6.  
  7. {
  8. menuDef
  9. {
  10. name "MENU NAME HERE"
  11. rect 0 0 640 480
  12. focuscolor COLOR_FOCUSED
  13. style WINDOW_STYLE_EMPTY
  14. blurWorld 7.0
  15. onOpen
  16. {
  17. execNow exec "CONFIG NAME HERE";
  18. }
  19. onEsc
  20. {
  21. play "mouse_click";
  22. close self;
  23. open "team_marinesopfor";
  24. }
  25.  
  26. CHOICE_MENU_TITLE( TITLE NAME HERE )
  27.  
  28. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 1, "About Old School", open mod_information;, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  29. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 2, "Server Information", open mod_serverinfo;, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  30. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 4, "Play!", close self; open "team_marinesopfor";, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  31.  
  32. // gradient_top
  33. itemDef
  34. {
  35. style WINDOW_STYLE_SHADER
  36. rect 0 0 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
  37. background "gradient_top"
  38. visible 1
  39. decoration
  40. }
  41.  
  42. // gradient_bottom
  43. itemDef
  44. {
  45. style WINDOW_STYLE_SHADER
  46. rect 0 405 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
  47. background "gradient_bottom"
  48. visible 1
  49. decoration
  50. }
  51.  
  52. itemDef
  53. {
  54. style WINDOW_STYLE_SHADER
  55. rect 60 -185 220 370 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  56. background "white"
  57. forecolor 0 0 0 0.8
  58. border 1
  59. bordersize 1.5
  60. bordercolor 0.5 0.5 0.5 0.8
  61. visible 1
  62. decoration
  63. }
  64.  
  65. itemDef
  66. {
  67. rect 70 70 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  68. forecolor 1 1 1 1
  69. style WINDOW_STYLE_SHADER
  70. background "LOWEST IMAGE NAME HERE"
  71. visible 1
  72. decoration
  73. }
  74.  
  75. itemDef
  76. {
  77. rect 70 -50 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  78. forecolor 1 1 1 1
  79. style WINDOW_STYLE_SHADER
  80. background "MIDDLE IMAGE NAME HERE"
  81. visible 1
  82. decoration
  83. }
  84.  
  85. itemDef
  86. {
  87. rect 70 -170 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  88. forecolor 1 1 1 1
  89. style WINDOW_STYLE_SHADER
  90. background "HIGHEST IMAGE NAME HERE"
  91. visible 1
  92. decoration
  93. }
  94.  
  95. #include "ui/safearea.menu"
  96. }
  97.  
  98. #include "ui_mp/popupstyle.inc"
  99. #include "ui/choices_setup_popmenu.menu"
  100.  
  101. #undef POPUP_BUTTON_COUNT
  102. #define POPUP_BUTTON_COUNT 1
  103.  
  104. menuDef
  105. {
  106. SYSTEM_POPUP_SETUP_VIS( mod_information, ;, ;, 1 )
  107.  
  108. SYSTEM_POPUP_TITLE_VIS( "The point of this mod is to let people play with other guns then they normally do. Pick up weapons and perks from 'pickup points' to arm yourself.\n\nMod made by iAegle.", 1 )
  109.  
  110. FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  111. }
  112.  
  113. menuDef
  114. {
  115. SYSTEM_POPUP_SETUP_VIS( mod_serverinfo, ;, ;, 1 )
  116.  
  117. SYSTEM_POPUP_TITLE_VIS( ( dvarString( os_servernote ) ), 1 )
  118.  
  119. FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  120. }
  121.  
  122. #undef POPUP_BUTTON_COUNT
  123. #define POPUP_BUTTON_COUNT 3
  124.  
  125. menuDef
  126. {
  127. SYSTEM_POPUP_SETUP_VIS( mod_adminmenu, ;, ;, 1 )
  128.  
  129. SYSTEM_POPUP_TITLE_VIS( ( "Admin Menu\nYou can change settings in here." ), 1 )
  130.  
  131. CHOICE_DVARFLOATLIST( 1, "@OS_SETTING_WEAPON_RESPAWN", "os_weaponrespawntime", { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
  132. CHOICE_DVARFLOATLIST( 2, "@OS_SETTING_PERK_RESPAWN", "os_perkrespawntime", { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
  133. FRAME_CHOICE_BUTTON_VIS_EX( 3, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  134. }
  135. }


ENDRESULT
[Image: 9A634C025D3A55767750FC0ACF9202DFD2A398BC]

There is images? How we make it without?
Reply

#3
(07-21-2011, 23:14)Scripts18 Wrote:
(07-21-2011, 23:11)iAegle Wrote: A lot of people wanted to know how to make an easy menu.. well this one is quite easy. I'm sure people can find out how to add buttons and such

Just look true it and change the CAPS things:
MENU NAME HERE
CONFIG NAME HERE
TITLE NAME HERE
HIGHEST IMAGE NAME HERE
LOWEST IMAGE NAME HERE
MIDDLE IMAGE NAME HERE


but post questions if you don't understand!! this thread is kinda made for questions XD

C Code
  1. #include "ui/menudef.h"
  2. #include "ui_mp/common_macro.inc"
  3.  
  4. #include "ui_mp/menustyle.inc"
  5. #include "ui_mp/choices_setup_teams.menu"
  6.  
  7. {
  8. menuDef
  9. {
  10. name "MENU NAME HERE"
  11. rect 0 0 640 480
  12. focuscolor COLOR_FOCUSED
  13. style WINDOW_STYLE_EMPTY
  14. blurWorld 7.0
  15. onOpen
  16. {
  17. execNow exec "CONFIG NAME HERE";
  18. }
  19. onEsc
  20. {
  21. play "mouse_click";
  22. close self;
  23. open "team_marinesopfor";
  24. }
  25.  
  26. CHOICE_MENU_TITLE( TITLE NAME HERE )
  27.  
  28. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 1, "About Old School", open mod_information;, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  29. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 2, "Server Information", open mod_serverinfo;, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  30. FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 4, "Play!", close self; open "team_marinesopfor";, ;, ;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  31.  
  32. // gradient_top
  33. itemDef
  34. {
  35. style WINDOW_STYLE_SHADER
  36. rect 0 0 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
  37. background "gradient_top"
  38. visible 1
  39. decoration
  40. }
  41.  
  42. // gradient_bottom
  43. itemDef
  44. {
  45. style WINDOW_STYLE_SHADER
  46. rect 0 405 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
  47. background "gradient_bottom"
  48. visible 1
  49. decoration
  50. }
  51.  
  52. itemDef
  53. {
  54. style WINDOW_STYLE_SHADER
  55. rect 60 -185 220 370 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  56. background "white"
  57. forecolor 0 0 0 0.8
  58. border 1
  59. bordersize 1.5
  60. bordercolor 0.5 0.5 0.5 0.8
  61. visible 1
  62. decoration
  63. }
  64.  
  65. itemDef
  66. {
  67. rect 70 70 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  68. forecolor 1 1 1 1
  69. style WINDOW_STYLE_SHADER
  70. background "LOWEST IMAGE NAME HERE"
  71. visible 1
  72. decoration
  73. }
  74.  
  75. itemDef
  76. {
  77. rect 70 -50 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  78. forecolor 1 1 1 1
  79. style WINDOW_STYLE_SHADER
  80. background "MIDDLE IMAGE NAME HERE"
  81. visible 1
  82. decoration
  83. }
  84.  
  85. itemDef
  86. {
  87. rect 70 -170 200 100 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
  88. forecolor 1 1 1 1
  89. style WINDOW_STYLE_SHADER
  90. background "HIGHEST IMAGE NAME HERE"
  91. visible 1
  92. decoration
  93. }
  94.  
  95. #include "ui/safearea.menu"
  96. }
  97.  
  98. #include "ui_mp/popupstyle.inc"
  99. #include "ui/choices_setup_popmenu.menu"
  100.  
  101. #undef POPUP_BUTTON_COUNT
  102. #define POPUP_BUTTON_COUNT 1
  103.  
  104. menuDef
  105. {
  106. SYSTEM_POPUP_SETUP_VIS( mod_information, ;, ;, 1 )
  107.  
  108. SYSTEM_POPUP_TITLE_VIS( "The point of this mod is to let people play with other guns then they normally do. Pick up weapons and perks from 'pickup points' to arm yourself.\n\nMod made by iAegle.", 1 )
  109.  
  110. FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  111. }
  112.  
  113. menuDef
  114. {
  115. SYSTEM_POPUP_SETUP_VIS( mod_serverinfo, ;, ;, 1 )
  116.  
  117. SYSTEM_POPUP_TITLE_VIS( ( dvarString( os_servernote ) ), 1 )
  118.  
  119. FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  120. }
  121.  
  122. #undef POPUP_BUTTON_COUNT
  123. #define POPUP_BUTTON_COUNT 3
  124.  
  125. menuDef
  126. {
  127. SYSTEM_POPUP_SETUP_VIS( mod_adminmenu, ;, ;, 1 )
  128.  
  129. SYSTEM_POPUP_TITLE_VIS( ( "Admin Menu\nYou can change settings in here." ), 1 )
  130.  
  131. CHOICE_DVARFLOATLIST( 1, "@OS_SETTING_WEAPON_RESPAWN", "os_weaponrespawntime", { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
  132. CHOICE_DVARFLOATLIST( 2, "@OS_SETTING_PERK_RESPAWN", "os_perkrespawntime", { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
  133. FRAME_CHOICE_BUTTON_VIS_EX( 3, "@MENU_OK", close self;, 1, <img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  134. }
  135. }


ENDRESULT
[Image: 9A634C025D3A55767750FC0ACF9202DFD2A398BC]

There is images? How we make it without?

Search for the itemDef {} functions with:

background HIGHEST IMAGE NAME HERE
background MIDDLE IMAGE NAME HERE
background LOWEST IMAGE NAME HERE

and completely remove those functions.

it should look like this
Code:
#include "ui/menudef.h"
#include "ui_mp/common_macro.inc"

#include "ui_mp/menustyle.inc"
#include "ui_mp/choices_setup_teams.menu"

{
    menuDef
    {
        name            "MENU NAME HERE"
        rect            0 0 640 480
        focuscolor         COLOR_FOCUSED
        style           WINDOW_STYLE_EMPTY
        blurWorld          7.0
        onOpen
        {
            execNow exec "CONFIG NAME HERE";
        }
        onEsc
        {
            play "mouse_click";
            close self;
            open "team_marinesopfor";
        }
        
        CHOICE_MENU_TITLE( TITLE NAME HERE )
        
        FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 1, "About Old School",     open mod_information;,                     ;, ;, 1, ;)    
        FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 2, "Server Information",     open mod_serverinfo;,                     ;, ;, 1, ;)
        FRAME_CHOICE_BUTTON_FOCUS_VIS_EX( 4, "Play!",                 close self; open "team_marinesopfor";,     ;, ;, 1, ;)

        // gradient_top
        itemDef
        {
            style       WINDOW_STYLE_SHADER
            rect        0 0 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
            background     "gradient_top"
            visible        1
            decoration
        }

        // gradient_bottom
        itemDef
        {
            style       WINDOW_STYLE_SHADER
            rect        0 405 854 75 HORIZONTAL_ALIGN_FULLSCREEN 0
            background     "gradient_bottom"
            visible        1
            decoration
        }
        
        #include "ui/safearea.menu"
    }
    
    #include "ui_mp/popupstyle.inc"    
    #include "ui/choices_setup_popmenu.menu"
    
    #undef    POPUP_BUTTON_COUNT
    #define    POPUP_BUTTON_COUNT        1
    
    menuDef
    {
        SYSTEM_POPUP_SETUP_VIS( mod_information, ;, ;, 1 )

        SYSTEM_POPUP_TITLE_VIS( "The point of this mod is to let people play with other guns then they normally do. Pick up weapons and perks from 'pickup points' to arm yourself.\n\nMod made by iAegle.", 1 )

        FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK",    close self;, 1, ;)
    }
    
    menuDef
    {
        SYSTEM_POPUP_SETUP_VIS( mod_serverinfo, ;, ;, 1 )

        SYSTEM_POPUP_TITLE_VIS( ( dvarString( os_servernote ) ), 1 )

        FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_OK",    close self;, 1, ;)
    }
    
    #undef    POPUP_BUTTON_COUNT
    #define    POPUP_BUTTON_COUNT        3
    
    menuDef
    {
        SYSTEM_POPUP_SETUP_VIS( mod_adminmenu, ;, ;, 1 )

        SYSTEM_POPUP_TITLE_VIS( ( "Admin Menu\nYou can change settings in here." ), 1 )

        CHOICE_DVARFLOATLIST( 1, "@OS_SETTING_WEAPON_RESPAWN",     "os_weaponrespawntime", { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
        CHOICE_DVARFLOATLIST( 2, "@OS_SETTING_PERK_RESPAWN",     "os_perkrespawntime",     { "5" 5 "10" 10 "15" 15 "20" 20 "25" 25 "30" 30 }, ; )
        FRAME_CHOICE_BUTTON_VIS_EX( 3, "@MENU_OK",                close self;, 1, ;)
    }
}
(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

#4
ok thx alot again

to open it do we do like in your quickmessage?

self openmenu(MENU NAME); ?
Reply

#5
Thanks!

Any common menu names? Like the one when choosing a team / pausing the game?
Edit: How do I make someone open a menu lol
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#6
(07-21-2011, 23:26)AZUMIKKEL Wrote: Thanks!

Any common menu names? Like the one when choosing a team / pausing the game?
Edit: How do I make someone open a menu lol

Its probably the same as using quickmessages
Reply

#7
Will you marry me?
Reply

#8
thats thats thats AWESOME,
like MOTD but for black ops,
THNX DUDE LOVE IT
Reply

#9
some questions

what the exec config is for?
how we open it in-game?

to open another menu clicking on a buttom(similar to main menu) is it possible if yes how?
or like the quickmessage you click on something it close current menu and opens another
Reply

#10
(07-22-2011, 01:21)Scripts18 Wrote: some questions

what the exec config is for?
how we open it in-game?

to open another menu clicking on a buttom(similar to main menu) is it possible if yes how?
or like the quickmessage you click on something it close current menu and opens another

name "MENU NAME HERE"
Replace MENU NAME HERE with a menu name such as menu_customstuff and then somewhere, precache the menu:
precacheMenu("menu_customstuff");
and then simply use:
self openMenu("menu_customstuff");

I would assume you already know how to save the menu file and compile it into a fast file...
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Admin menu koren30 4 5,120 10-07-2013, 20:17
Last Post: Yamato
  [Tutorial] How-To, Mod menu picture-REVISED/no iwifix needed rotceh_dnih 52 32,287 09-28-2013, 02:08
Last Post: Monkey Arms
  Help How do I open the admin menu for GeKKos QS Mod? conorr 1 3,085 08-15-2013, 13:52
Last Post: Yamato
  Trying to compile a modified menu DidUknowiPwn 7 5,708 07-05-2013, 21:55
Last Post: DidUknowiPwn
  Preview Admin / Mod Menu Hologramm 5 6,945 05-29-2013, 00:35
Last Post: sleepunknot
  [Release] Easy Background Changer for MW3 V3.0 kokole 87 62,318 05-28-2013, 10:39
Last Post: fahdalkhairy
  Map Menu in Black Ops 1 EliTeEishiii 2 3,053 04-21-2013, 18:54
Last Post: Nekochan
  Menu base EliTeEishiii 1 2,877 04-17-2013, 16:10
Last Post: Nekochan
Rainbow [Release] [Contest] Scroll Menu iAegle 49 36,855 03-21-2013, 07:30
Last Post: jermC
Tongue [Release] Easy background changer for MW2 kokole 8 11,857 03-18-2013, 02:55
Last Post: 007promi

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.