Answered AIO menu base

Discussion in 'Call of Duty: Black Ops 2 Answered Questions' started by UnsignedGlitch, Jan 21, 2018.

  1. UnsignedGlitch

    UnsignedGlitch #C? Donator

    126
    62
    303
    Credits:
    712
    How would I go about making the AIO menu base show more options then just
    Option1
    Option2
    Option3
    Option4
    Option5
    [​IMG]
     

    Attached Files:

    Last edited by a moderator: Jan 22, 2018
    CabCon likes this.
  2. candy

    candy G59 Terrorist Donator

    1,222
    800
    398
    Credits:
    6,604
    go into drawText and updateScrollbar, search for the amount of options and change them to what you want.
     
    CabCon likes this.
  3. UnsignedGlitch

    UnsignedGlitch #C? Donator

    126
    62
    303
    Credits:
    712
    I've tried and it bugs out on me
    *dups my options
    *scroller doesnt stay with the options

    i must be doing it wrong.
     
    Last edited: Jan 22, 2018
  4. candy

    candy G59 Terrorist Donator

    1,222
    800
    398
    Credits:
    6,604
    you must be, lol.
     
  5. UnsignedGlitch

    UnsignedGlitch #C? Donator

    126
    62
    303
    Credits:
    712
    C
    Can you show me an example?
     
  6. candy

    candy G59 Terrorist Donator

    1,222
    800
    398
    Credits:
    6,604
    Your issue is going to be in updateScrollbar.
    Because you're changing the amount of options and not updating the cursor / option size.

    Take a look at this image Please login or register to view links or downloads!
    What I have underlined is what you will need to change.

    Depending on how many options you want to call, will be on what these values are.
    Simple math, just take a little bit of time. See how AIO works with its scrolling, mess with it a bit and you'll figure it out.
     
    CabCon and UnsignedGlitch like this.
  7. UnsignedGlitch

    UnsignedGlitch #C? Donator

    126
    62
    303
    Credits:
    712
    Okay cool Ill keep trying
    last question how can I make my title bar and scroller slide in from the right side like it is in this menu
     
  8. candy

    candy G59 Terrorist Donator

    1,222
    800
    398
    Credits:
    6,604
    Set the width to 0 or your preferred amount, and call this on your menu open.
    Depending on where you want the slide animation to start, will be on the hud elements alignment.

    The animation starting on : (center, left, right, top, bottom)
    Code:
    hudScaleOverTime( <time>, <width>, <height> )
    {
        self scaleOverTime(time, width, height);
        wait time;
        self.width = width;
        self.height = height;
    }
     
    CabCon likes this.
  9. UnsignedGlitch

    UnsignedGlitch #C? Donator

    126
    62
    303
    Credits:
    712
    Im not catching on can I send you my hud file? Sorry im just new to this hud effect with AIO menu base
     
  10. candy

    candy G59 Terrorist Donator

    1,222
    800
    398
    Credits:
    6,604
    add the code anywhere in your project or just look at the base, it uses the same animation for the background. When the menu open starts, call it and fill out the time, width and height.

    Please login or register to view links or downloads!
    Looking at the AIO base, if you look where the hud is drawn, the background and backgroundouter's x alignment is left, so as you see when you open the menu, the animation starts from the left.
     
    Last edited: Jan 23, 2018
    CabCon likes this.
  11. Christien

    Christien Well-Known Member

    113
    72
    228
    Credits:
    498
    Looks really nice!! :3
     
    UnsignedGlitch likes this.
  12. UnsignedGlitch

    UnsignedGlitch #C? Donator

    126
    62
    303
    Credits:
    712
    still wasnt able to make my backroundouter
    Ill be posting an update of what it looks like soon :smile:
     
    Christien likes this.
  13. UnsignedGlitch

    UnsignedGlitch #C? Donator

    126
    62
    303
    Credits:
    712
    @DF_AUS
    question has been answered you can close thread
     
    DF_AUS likes this.
  14. DF_AUS

    DF_AUS Head Moderator Staff Member Head Staff Team Donator

    557
    842
    303
    Credits:
    5,446
    Question Answered:
     
    Christien likes this.

Share This Page