View Issue Details

IDProjectCategoryLast Update
0000309AI War 1 / ClassicSuggestionDec 6, 2010 5:48 pm
ReporterChris_McElligottPark Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Summary0000309: Implement the in-game context menu
DescriptionPreferably with a new keybinding, too. I've been thinking alt, but not sure what that might conflict with. We want players to be able to stumble upon this in some way, though. Anyone got any ideas on this? We've only put some thought toward it, it's just one of many things we've been working on.
TagsNo tags attached.
Internal Weight

Activities

Moonshine Fox

Oct 4, 2010 8:55 pm

reporter   ~0000313

Are you referring to the previous "X+Right click" menu?

Chris_McElligottPark

Oct 4, 2010 8:58 pm

administrator   ~0000315

Exactly. It will, of course, look nicer and not feel so clunky, thanks to the Unity UI on the new versions. We'd been waiting for the unity port to make this more of a central feature, as it's a great way to introduce novice players to a lot of the otherwise-hotkey-only functionality like FRD, attack-move, etc.

If someone just sits down with AI War and plays no tutorials (which happens more than you think), I REALLY want them to be able to find this context menu by simple experimentation, in other words. That will open up a lot of functionality that they'd otherwise potentially never see (and they'd wind up feeling hamstrung by the inability to manage their ships effectively).

Moonshine Fox

Oct 4, 2010 9:07 pm

reporter   ~0000316

In that case I believe ALT is a very good choice. It's a commonly used and tried button. Question is if you want to use just "ALT" to open the menu, or ALT+RIGHT/LEFT Click...

Chris_McElligottPark

Oct 4, 2010 9:14 pm

administrator   ~0000317

Sorry, I meant alt+right click. Again, something that every RTS player is likely to try, from various games.

Of course, that would mean that we'd have to do something different than alt for deselecting existing units -- possible just shift-clicking a selected unit should deselect them. Actually, that's alt+left click, so it might be fine.

And certainly in build mode, alt-clicking right now does something like x10 units, which it would probably need to keep doing... maybe. Well, I take that back -- the concentric circles and all that would take precedence, I think.

An added plus is that when people are having the alt-tab confusion (as we already see), they won't be getting just random non-functional mouse clicks. They'll be getting the context menu constantly. That might at least prompt them to hit alt again.

Bleh, sorry for the stream-of-consciousness here. My jumbled thoughts at the moment, anyway. There are a lot of considerations. Right now alt+right-click is attack-move, but putting that in the context menu and then switching that to X+right-click would make that discoverable and still quite accessible. And I think some other games (Rise of Nations, I think) also used X+right-click for attack-move, so that's good.

Moonshine Fox

Oct 4, 2010 9:16 pm

reporter   ~0000318

Shiftclicking is generally used to deselect actually, so that works. In my opinion, ALT+RIGHT CLICK for context menu sounds like a really good idea. I'd prefer it, at least.

Chris_McElligottPark

Oct 4, 2010 9:17 pm

administrator   ~0000319

I think so, too. And then whatever collateral damage just has to be sorted out.

Sizzle

Oct 4, 2010 10:09 pm

reporter   ~0000325

Depending on how often you think the context menu will be accessed (would make much more sense with a radial menu as was suggested elsewhere) binding it to a VERY easy to use key could make sense -- such as binding it to the spacebar.

That's currently used though:

Spacebar: Center display on selected units
Spacebar(hold): Follow selected units with display

Chris_McElligottPark

Oct 4, 2010 10:14 pm

administrator   ~0000326

Radial menus only work when you have a finite number of iconic options, though. Here we have a growing, tiered number of text-based options (that would be pretty obscure as icons).

I think I prefer alt to spacebar.

Winter Born

Oct 4, 2010 11:08 pm

reporter   ~0000335

off topic - Consider a "tip of the day" shown in a window in the game lobby to aid players in discovery. Clicking on the tip for more info would pop a help window on the tip or take the user to that part of the manual. Could have a disable control in the settings panel for experienced players. Tips could go in order or be random. Additional controls near the tip window could be: (show next tip, reset tips to begining, remove tips) Starcraft used this iirc

Chris_McElligottPark

Oct 4, 2010 11:11 pm

administrator   ~0000337

Can you make a separate suggestion for that? We were thinking of doing something along those lines, but apparently it's not anywhere in here; I guess Keith and I talked about it and never logged it, sigh.

Winter Born

Oct 4, 2010 11:33 pm

reporter   ~0000340

done 0000317

keith.lamothe

Oct 5, 2010 2:09 am

administrator   ~0000356

Haven't yet reimplemented the stuff that was behind X+right-click, but I made a new one (for 3.703) while working on the new framework for them:

* Added a new context menu (it was a working example for the new context menu system, etc) : Special Unload.
** Two ways to open: right-click the Unload button (left-click still does the usual basic unload), or use the new OpenSpecialUnload keybind (context: with-selection, defaults to LeftCtrl+U); if your selection does not contain any transports with ships in them, the special unload menu won't display.
** Displays 1 button with the total number of ships loaded into transports in your selection.
** Displays 1 button for each distinct ship type (so fighter I, fighter II, bomber I, etc), with the number of that type.
** If you left click one of the buttons, it will give the order to unload 1 ship of that category.
*** If the SpecialUnload_MakeUnload_10 keybind (defaults to LeftShift) is active, it does 10 ships instead.
*** If the SpecialUnload_MakeUnload_50 keybind (defaults to LeftCtrl) is active, 50.
*** If the SpecialUnload_MakeUnload_All keybind (defaults to LeftAlt) is active, all of that category (so Alt-clicking Fighter I will unload all fighter Is held by all the transports in your selection, and Alt-clicking the top catch-all button will act very much like the basic unload operation).
** While the window is open, the SpecialUnload_CancelUnload keybind (no default binding) is also available; it will cancel any unloading of the ships in your selection, without cancelling any other orders.
** Note that this works with fortresses, etc, not just "Transports" proper.

* Added UnloadAll keybind (context: with-selection, no default binding) that is just an alias for the basic Unload button.

* Added CloseContextMenu keybind (context: in-game, defaults to LeftCtrl+Space) that closes any open context menu (note that currently the only context menus are the Special Unload menu and the popup menus from the global-ship-category buttons on the bottom of the screen).

* The InputBindingsMenu now has a tab for "Context Menus"; rather than have 1 tab per context menu it has a dropdown for picking the specific menu you want to see/edit the bindings for. There's currently only the Special Unload menu.

keith.lamothe

Oct 12, 2010 12:53 pm

administrator   ~0000687

* Re-implemented skeleton of the old x+right-click context menu. Currently only the Unit Commands context menu is implemented so unless you have units selected it won't open.
** Can be opened by right-clicking while holding LeftAlt (the default for OpenDefaultContextMenuWhenHeldWithRightClick).
** Can also be opened by pressing the OpenDefaultContextMenu KeyBind (no default binding). To be clear, by binding a key to this you can press that key to open the context menu without using the mouse.
** Since the other sub-menus that used to be under this menu aren't implemented yet, the only commands available only the Unit Commands menu are:
*** Stop (which already has a key).
*** Set Auto Explore (only shows for scouts).
*** Set Auto Gather Knowledge (only shows for science labs).
** As mentioned below, there are also KeyBinds for "simulating" clicks on each of the buttons in the menu, allowing you to use the context menu entirely with the keyboard if desired.

* Added SuppressContextMenuAutoClose KeyBind (defaults to LeftShift) that prevents the usual auto-closing behavior when clicking outside an open context menu or using it to issue an order.

* Added SetAutoExplore KeyBind (no default) that orders selected scouts to auto-explore.
* Added SelectionContextMenuTop_SetAutoExplore that does the same but only works when the Unit Commands context menu is open (it will also try to auto-close that menu).

* Added SetAutoGatherKnowledge KeyBind (no default) that orders selected science labs to auto-gather-knowledge.
* Added SelectionContextMenuTop_SetAutoGatherKnowledge that does the same but only works when the Unit Commands context menu is open (it will also try to auto-close that menu).

* Added SelectionContextMenuTop_Stop that does the same as Stop but only works when the Unit Commands context menu is open (it will also try to auto-close that menu).

* Fixed bug where some modifier keys (LeftShift, etc) were listed twice in the key-mapping dropdown.

* Fixed bugs with several dropdowns not showing tooltips (lobby performance profile, unit cap scale, view-controls context-menu).

Chris_McElligottPark

Dec 6, 2010 5:48 pm

administrator   ~0005450

This was done long ago, though some sections still are not done.

Issue History

Date Modified Username Field Change
Oct 4, 2010 8:47 pm Chris_McElligottPark New Issue
Oct 4, 2010 8:47 pm Chris_McElligottPark Status new => assigned
Oct 4, 2010 8:47 pm Chris_McElligottPark Assigned To => keith.lamothe
Oct 4, 2010 8:47 pm Chris_McElligottPark Status assigned => feedback
Oct 4, 2010 8:55 pm Moonshine Fox Note Added: 0000313
Oct 4, 2010 8:58 pm Chris_McElligottPark Note Added: 0000315
Oct 4, 2010 8:58 pm Chris_McElligottPark Status feedback => assigned
Oct 4, 2010 9:07 pm Moonshine Fox Note Added: 0000316
Oct 4, 2010 9:14 pm Chris_McElligottPark Note Added: 0000317
Oct 4, 2010 9:16 pm Moonshine Fox Note Added: 0000318
Oct 4, 2010 9:17 pm Chris_McElligottPark Note Added: 0000319
Oct 4, 2010 10:09 pm Sizzle Note Added: 0000325
Oct 4, 2010 10:14 pm Chris_McElligottPark Note Added: 0000326
Oct 4, 2010 11:08 pm Winter Born Note Added: 0000335
Oct 4, 2010 11:11 pm Chris_McElligottPark Note Added: 0000337
Oct 4, 2010 11:33 pm Winter Born Note Added: 0000340
Oct 5, 2010 2:09 am keith.lamothe Note Added: 0000356
Oct 12, 2010 12:53 pm keith.lamothe Note Added: 0000687
Dec 6, 2010 5:48 pm Chris_McElligottPark Note Added: 0005450
Dec 6, 2010 5:48 pm Chris_McElligottPark Status assigned => resolved
Dec 6, 2010 5:48 pm Chris_McElligottPark Resolution open => fixed
Apr 14, 2014 9:28 am Chris_McElligottPark Category Suggestion - General Idea => Suggestion - General
Apr 14, 2014 9:30 am Chris_McElligottPark Category Suggestion - General => Suggestion