Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Raise popmenu buttons in menu
#1
Rainbow 
I want to align the buttons into the box

quit.menu:
Code:
#include "ui/menudef.h"
#include "ui_mp/common_macro.inc"

#include "ui_mp/menustyle.inc"
#include "ui/choices_setup_common.menu"

#include "ui_mp/popupstyle.inc"    
#include "ui/choices_setup_popmenu.menu"
    
{


    menuDef
    {
        SYSTEM_POPUP_SETUP_VIS( quit_popmenu, setFocus quit_popmenu_2;, close self; close blackout_3d_tv, 1 )

        SYSTEM_POPUP_TITLE_VIS( "@MENU_ARE_YOU_SURE_QUIT", 1 )
        
        FRAME_CHOICE_BUTTON_VIS_EX( 1, "^1Author: ^7Azumikkel",    close self; close blackout_3d_tv, 1, name quit_popmenu_2 )
        FRAME_CHOICE_BUTTON_VIS_EX( 2, "^1Version: ^7ALPHA",    close self; close blackout_3d_tv, 1, name quit_popmenu_2 )
        FRAME_CHOICE_BUTTON_VIS_EX( 3, "^1Information: ^7adf.ly/2JKX4",    close self; close blackout_3d_tv, 1, name quit_popmenu_2 )
        FRAME_CHOICE_BUTTON_VIS_EX( 4, "^1YouTube: ^7/AZUMIKKEL",    close self; close blackout_3d_tv, 1, name quit_popmenu_2 )
        FRAME_CHOICE_BUTTON_VIS_EX( 5, "^1Twitter: ^7/AZUMIKKEL",    close self; close blackout_3d_tv, 1, name quit_popmenu_2 )
        FRAME_CHOICE_BUTTON_VIS_EX( 6, "^1Mods & tutorials: ^7ITS^0MODS.COM",    close self; close blackout_3d_tv, 1, name quit_popmenu_2 )
        FRAME_CHOICE_BUTTON_VIS_EX( 7, "QUIT",    uiScript quit;                  , 1, ;                   )
    }


    menuDef
    {
        SYSTEM_POPUP_SETUP_VIS( quit_to_mp_popmenu, setFocus quit_to_mp_popmenu_2;, close self; close blackout_3d_tv, 1 )

        SYSTEM_POPUP_TITLE_VIS( "@MENU_SWITCHTOMULTIPLAYER", 1 )
        
        FRAME_CHOICE_BUTTON_VIS_EX( 1, "@MENU_YES",    setdvar ui_changed_exe 1; uiScript sendMenuNotify "startmp 0"; , 1, ;                   )
        FRAME_CHOICE_BUTTON_VIS_EX( 2, "@MENU_NO",    close self; close blackout_3d_tv, 1, name quit_to_mp_popmenu_2 )
    }
}

[Image: F87B0CBBB65B1C5E40A8D2184F1C679E8C3DF470]
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#2
try
#define CHOICE_X_START 30
(put it right before you make the buttons)
and then after making the buttons reset it back to
#define CHOICE_X_START 58
[Image: MaEIQ.png]
Reply

#3
Decided to go with this, thanks
[Image: F699F67AA922D493DBB5BD6737A40AE2D5B27B86]
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#4
pretty!
Reply

#5
very nice azu
Black Ops Mods:

RPG(rocket launcher) mod
Get the Specials

Old aliasses:

eliteCVDelite
CVD

Reply

#6
looks cool Big Grin
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
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,286 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
  Where can I find a list of scripting commands that correspond to ingame buttons? akillj 2 3,114 06-03-2013, 10:38
Last Post: Yamato
  Preview Admin / Mod Menu Hologramm 5 6,945 05-29-2013, 00:35
Last Post: sleepunknot
  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,854 03-21-2013, 07:30
Last Post: jermC
  [Release] Mouse operated menu met94 18 13,712 03-06-2013, 10:27
Last Post: BHF98

Forum Jump:


Users browsing this thread:
1 Guest(s)

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