-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Display cvar name (and possibly description) when hovering an option in menus #1972
Comments
I feel like documentation would serve this purpose better, but I could also be wrong ^_^ |
Cross-referencing documentation is a lot more time-consuming in comparison, especially if it can't easily be Ctrl + F'd. |
This has been done several times as bespoke, homebrew mod code that at this point, I feel like this should just be a standard ZScript feature that all mods can utilize. Can be done easily, if anyone is up to the task for it. |
As an author of one of such "homebrew" implementations, I'd highly appreciate if there were also a way to override this functionality (i.e. disable it entirely) in custom ZScript-based menus, so that it wouldn't clash with the mod's own implementation. Or, better yet - disable it entirely in custom menus by default. NB: by "custom" here I specifically mean ZScript, not MENUDEF - that is, any user-defined menu class inherited from the built-in Although that'd probably be a moot point if it looked like on those screenshots from ezQuake, as that one seems to be about on par with my own version (which I might then be able to get rid of). There's still the problem with latch cvars, though... |
I remember there was an excellent commit that made it possible to toggle menu items to cvar names by pressing F1 while in menus. Could somebody point me to this mentioned commit please? |
This doesn't actually address the feature request, but until this is implemented, this may help: GZDoom as of a recent commit includes the ccmd |
GZDoom version
Git 10b6d21
Which game are you running with GZDoom?
Doom 2
What Operating System are you using?
Linux x86_64
If Other OS, please describe
N/A
Relevant hardware info
N/A
Is your feature request related to a problem? Please describe.
When tweaking menu settings, I need to check the menus' source code to know which setting maps to which cvar.
There are two use cases where this is useful:
bind X toggle ...
).Describe the solution you'd like
Display the associated cvar name, current value and default value at the bottom of the menus. This mockup reuses the text that is printed in the console when typing the cvar name alone:1
This could also be an opportunity to display a cvar description (1-2 lines). Example from ezQuake:
After pressing F1 while hovering the option:
Describe alternatives you've considered
Checking
menudef.txt
with a text editor. This works, but isn't as convenient.Add any other context or screenshots about the feature request here.
Mockups are above.
Footnotes
I got the cvar value wrong on the mockup, disregard it 🙂 ↩
The text was updated successfully, but these errors were encountered: