-
Notifications
You must be signed in to change notification settings - Fork 7
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
Customizable compass menu #51
Conversation
Not sure if I like this very much. I'd make it strictly opt-in. Most people, including me, probably won't want to use this. Also, I'm not so sure about the default bind |
|
@@ -11,6 +11,19 @@ struct menu; | |||
static guient *cgui = NULL; | |||
static menu *cmenu = NULL; | |||
|
|||
SVAR(IDF_PERSIST, customcompassentryname1, ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new vars. No doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I can remove those too.... xD
@@ -737,6 +755,7 @@ COMMAND(0, ui_tooltip, "si"); | |||
COMMAND(0, ui_textfield, "sisbisisi"); | |||
COMMAND(0, ui_keyfield, "sisbissi"); | |||
COMMAND(0, ui_editor, "siiibisss"); | |||
COMMAND(0, ui_execute , "s"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new command, no doc. Why not using execute() directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I can actually remove this entire thing
I am going to close this PR because it's outdated and I'd rather rewrite it entirely since there are many things that can be improved a lot |
Adds new tab to the User Interface Options:
You can modify up to 6 shortcuts by setting a name and entering any cubescript command in the action field like this:
In-Game you can then press the C key (rebindable) and it'll pop up a compass menu:
they work exactly like the voiceline compass menus, so when you press a shortcut (in this case: "Hello World!") and it'll execute the command you entered before
Closes #45.