So, I haven't really seen any videos on how to make custom menus.
Are people who have customized using pregenerated ansi or prompt/lightbar/grid stuff?
If for example you wanted to throw a box around a menu?
If you wanted an ansi background but to display the menu items in
specific areas?
I see some commands about creating boxes but I've tried them in various places and can't seem to make it work. Display the ansi background and then lay a box over top of a section filled with the menu items? I'm
look for something like that i guess.
There are two ways. First, you can use a .MNU/lightbar (or
lightbar/grid) approach. This is not hard, but it will become a pain to maintain when you add/remove options from the menu. You will need to
plan exactly where everything is going. For this, I make a
"plan-main.ans" to help with the planning. Your actual display menu file should NOT have the menu options that are going to be used with the
light bar in them.
To add on to what roovis said, I have a simple mod you could use to generate a box procedurally in MPY. Planning it with your theme prompts could make some nice looking popup animated boxes.
I have them setup on my board everywhere so if you're interested, stop
by and check it out.
If for example you wanted to throw a box around a menu?
Ah yeah, after playing around some more I was able to get an ansi background and a grid/lightbar setup. I need to draw the box/border on the ansi background i think, was hoping there was a kind of permanent
box you could draw on top of a menu.
PIPE#B#1#10#Status#No quote data available#I did read this documentation and tried to use stuff like this, where does
The above will display a simple box with an "OK" confirmation.
PIPE#V#1#30#9# My Menu Popup #1-Option 1, 2-Option 2, 3-Option 3,/-#
The above will draw (according to the first style in your theme's box styles) and then whichever option is selected is put into the input
buffer (like StuffKey from MPL)
More like draw a box around a bunch of menu-items. Or a box full ofIf for example you wanted to throw a box around a menu?
Draw a box around a menu or draw a box around a menu-item?
I did read this documentation and tried to use stuff like this, where
does this text go? Does it have to be added to the ans menu file? Is there a mystic function i have to add to the menu i missed? i tried several things last night and never got a box to appear, but i haven't looked at the ini file you mentioned yet.
It's a pipe code. Just display a line of text or put it as a prompt. Or you can embed that string in a pipe code file. Or you can make a menuWoot! I got it working with a vertical selectbox using DF menu.ans and GT #V#blahblah as a hotkey item.
item that outputs the line ...
Powerful stuff. Worth your investigation.
How do you get mystic to auto execute something once you land in a menu?
I have only figured out how to do it via the prior menu page.
thanks man :) sounds like what i was looking forHow do you get mystic to auto execute something once you land in a me I have only figured out how to do it via the prior menu page.
Go check out a command on one of your menus and while the "Hot Key" is highlighted do a ctrl-l. It will show you all of the functions you can
use besides regular keys.
FIRSTCMD
EVERY
AFTER
LINEFEED
TIMER
UP
DOWN
LEFT
RIGHT
ENTER
TAB
ESCAPE
HOME
END
PAGEUP
PAGEDOWN
FIRSTCMD, EVERY and AFTER are the ones you are looking for depending on how often you want it done. I use Linefeeds to put some distance between menu headers and the menu items and also display helpful text. Escape is nice. I generally insert that into all of my menus as well as [Q]uit so that both work. Just don't have any text in the Display Text box and it won't show up in the menus but can still be used.
Woot! I got it working with a vertical selectbox using DF menu.ans and GT #V#blahblah as a hotkey item.
Getting closer. Still not quite sure how to get it to autodisplay when
i go into that menu item. I could add the GT command before doing the
GO to new menu, but i would rather have it contained in the menu page
and not in the main menu to edit those boxes.
How do you get mystic to auto execute something once you land in a menu?
specific areas?
background and a grid/lightbar setup. I need to draw the box/border on the ansi background i think, was hoping there was a kind of permanent
box you could draw on top of a menu.
Grid menus are the hardest to maintain but they give you the most flexibility because you can run events on user input based on what is highlight (like for example, if you want to do something specificThe problem I had with just doing standard lightbar is I can't seem to make
whenever a user presses left arrow when " Item 1" is highlighted, you can).
If you just want an ANSI background and you want to plot menu items
around the screen, using the standard lightbar style menu is much easier to do.
Lightbar/Grid menu - Do all of the stuff Lightbar menus do but it gives you insane control over being able to decide what to do at a per-key and per-menu option level, allowing insane control but requires you to micromanage every detail. Most people probably do not even grasp how powerful this type is.
make the headings not part of the lightbar scrolling around. So i have say 4-5 lightbars set to the x,y coordinates and the grid up/downs are pointing to themselves and cycle over if you go up on the top one etc. That allowed me to create 2 other entries i used as headers that had no hotkeys. once i flip to just lightbar then those headers are 'stepped' through. The lightbar is neat, but I don't even really need it, i just want the menu items to be plottable on an ansi menu. They don't have to be up/down/left/right selectable. But if that's the only way/best way
to do it then so be it :)
download on the phenomprod site.
It takes an array of options in a .ini file, dynamically generates a litebar screen where you can scroll through multiple pages with pgup/pgdown, left/right, but also just standard up/down to go one option at a time.
Does Lightbar/Grid do the same thing?
I repurposed much of the lottabull mod for my door game launcher but if there's a way to do the exact same thing with built-in Mystic menu features instead of a standalone mod, I'd prefer to do that.
The lightbar is nice if you want to plot your commands. I don't really understand what you mean by headers getting selected. Normally you'd put anything you don't want selectable in the "background" ANSI and only the options you want selected as menu commands with an X/Y location.I didn't want them in the background ansi, I wanted to be able to assign the text dynamically via the menu so i could use the ansi more places. It's not really that big of a deal though. So for the headers i just created another lightbar item that I don't want to activate and position it with the XY. It works but in default mode arrowing through them ends up selecting the column headers i setup also and they are not 'items'.
It wouldn't be dynamic and it'd be hard to manage, but I think it'd be doable technically. I wouldn't recommend it personally, if you already have a mod doing what you want and its maintainable.
the text dynamically via the menu so i could use the ansi more places. It's not really that big of a deal though. So for the headers i just created another lightbar item that I don't want to activate and position it with the XY. It works but in default mode arrowing through them ends
I see. So to fix that you can make a EVERY hotkey menu command that automatically executes. And in it you can use the GT Display Text menu command to draw your headers.Cool I'll poke around with that setup :)
You could also probably draw them using the menu footer.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 365 |
Nodes: | 16 (2 / 14) |
Uptime: | 06:38:13 |
Calls: | 7,795 |
Calls today: | 5 |
Files: | 12,920 |
Messages: | 5,749,034 |