Answered AIO menu base

Aurora51x

#C?
Donator
Messages
138
Reaction score
62
Points
878
How would I go about making the AIO menu base show more options then just
Option1
Option2
Option3
Option4
Option5
maxresdefault.jpg
 

Attachments

  • maxresdefault.jpg
    maxresdefault.jpg
    131.7 KB · Views: 304
Last edited by a moderator:

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
751
Points
973
go into drawText and updateScrollbar, search for the amount of options and change them to what you want.
 

Aurora51x

#C?
Donator
Messages
138
Reaction score
62
Points
878
go into drawText and updateScrollbar, search for the amount of options and change them to what you want.
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:

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
751
Points
973
C

Can you show me an example?
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, Log in or Register to view URLs content!

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.
 

Aurora51x

#C?
Donator
Messages
138
Reaction score
62
Points
878
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
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
751
Points
973
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
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;
}
 

Aurora51x

#C?
Donator
Messages
138
Reaction score
62
Points
878
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;
}
Im not catching on can I send you my hud file? Sorry im just new to this hud effect with AIO menu base
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
751
Points
973
Im not catching on can I send you my hud file? Sorry im just new to this hud effect with AIO menu base

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, Log in or Register to view URLs content!

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:

Aurora51x

#C?
Donator
Messages
138
Reaction score
62
Points
878
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, Log in or Register to view URLs content!

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.

still wasnt able to make my backroundouter
Looks really nice!! :3
Ill be posting an update of what it looks like soon :smile:
 
Top