-
Notifications
You must be signed in to change notification settings - Fork 290
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
updating Keybindings of Keys (top right button ingame) to gridkeys #3678
Draft
Hazy-uhyR
wants to merge
8
commits into
beyond-all-reason:master
Choose a base branch
from
Hazy-uhyR:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+83
−95
Draft
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5426194
updating Keybindings of Keys (top right button ingame)
Hazy-uhyR 990bd74
Added Q + Minor fixes
Hazy-uhyR 037fe1e
Update interface.json
Hazy-uhyR ed7ea41
minifix
Hazy-uhyR 5594ae0
Update interface.json
Hazy-uhyR 53ba4ea
disclaimer
Hazy-uhyR b2ed600
fixing font issue
Hazy-uhyR 43b1c04
Merge branch 'master' into master
Hazy-uhyR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -298,8 +298,8 @@ | |
}, | ||
"keybinds": { | ||
"title": "Keybinds", | ||
"disclaimer": "These keybinds are set by default. If you remove/replace hotkey widgets, or use your own uikeys, they might stop working!", | ||
"howtochangekeybinds":"To change them: in Settings/Control tab, set Keybindings to Custom to create the BAR/data/uikeys.txt file.\nEdit this file and type /keyreload in chat to reload them.", | ||
"disclaimer": "These keybinds are set by default. If you switch to a keybind preset other than Grid, keys in the 3rd column will be inaccurate!", | ||
"howtochangekeybinds":"To change them: in Settings/Control tab, set Keybindings to Custom to create the BAR/data/uikeys.txt file.\nEdit this file and type /keyreload in chat to reload them. You can find help for keybinding in #keybinding-support on Discord.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The game must stand on its own, we cannot require the player to consult any external reference. |
||
"chat": { | ||
"title": "Chat", | ||
"send": "Send chat message", | ||
|
@@ -313,7 +313,6 @@ | |
"menus": { | ||
"title": "Menus", | ||
"settings": "Settings", | ||
"share": "Share units / resources" | ||
}, | ||
"camera": { | ||
"title": "Camera movement", | ||
|
@@ -361,22 +360,21 @@ | |
}, | ||
"orders": { | ||
"title": "Selecting orders", | ||
"defaultKey": "(none)", | ||
"default": "default order (usually move)", | ||
"move": "move", | ||
"attack": "attack", | ||
"stop": "stop (clears order queue)", | ||
"repair": "repair", | ||
"reclaim": "reclaim", | ||
"resurrect": "resurrect", | ||
"patrol": "patrol", | ||
"fight": "fight", | ||
"setTarget": "set priority target", | ||
"cancelTarget": "cancel priority target", | ||
"wait": "wait (pause current command)", | ||
"cloak": "cloak", | ||
"dGun": "manual fire (dgun)", | ||
"selfDestruct": "self-destruct" | ||
"defaultKey": "Right Mouse", | ||
"default": "Default order (usually move)", | ||
"attack": "Attack", | ||
"stop": "Stop (clears order queue)", | ||
"repair": "Repair", | ||
"reclaim": "Reclaim", | ||
"resurrect": "Resurrect", | ||
"patrol": "Patrol", | ||
"fight": "Fight", | ||
"setTarget": "Set priority target", | ||
"cancelTarget": "Cancel all targets", | ||
"wait": "Wait (pause current command)", | ||
"cloak": "Cloak", | ||
"dGun": "Manual fire (dgun)", | ||
"selfDestruct": "Self-destruct" | ||
}, | ||
"issueOrders": { | ||
"title": "Giving selected orders", | ||
|
@@ -389,23 +387,22 @@ | |
}, | ||
"queues": { | ||
"title": "Queueing orders", | ||
"append": "Add order to end of order queue", | ||
"append": "Add order to end of queue", | ||
"appendKey": "shift + (some order)", | ||
"prependKey": "space + (some order)", | ||
"prepend": "Add order to start of order queue" | ||
"prepend": "Add order to start of queue", | ||
"commandSkipCurrent": "Cancel current order", | ||
"commandCancelLast": "Cancel last order" | ||
}, | ||
"buildOrders": { | ||
"title": "Selecting build orders", | ||
"selectTileKey": "(mouse)", | ||
"selectTileKey": "left mouse", | ||
"selectTile": "Select from units build-menu", | ||
"metalKey": "z", | ||
"metal": "Cycle through mexes", | ||
"energyKey": "x", | ||
"energy": "Cycle through energy production", | ||
"intelKey": "c", | ||
"intel": "Cycle through radar/defence/etc", | ||
"factoriesKey": "v", | ||
"factories": "Cycle through factories", | ||
"categorySelectorKey": "z to v", | ||
"categorySelector": "Select building category, then..", | ||
"buildingSelectorKey": "q to v", | ||
"buildingSelector": "Select specific building for placement", | ||
"switchPage": "Switch page", | ||
"rotateKey": "[ and ]", | ||
"rotate": "Change facing of buildings" | ||
}, | ||
|
@@ -419,17 +416,17 @@ | |
"line": "Build in a line", | ||
"gridKey": "shift + alt + (build order)", | ||
"grid": "Build in a square", | ||
"spacingUpKey": "alt+z", | ||
"spacingUpKey": "alt + z", | ||
"spacingUp": "Increase build spacing", | ||
"spacingDownKey": "alt+x", | ||
"spacingDownKey": "alt + x", | ||
"spacingDown": "Decrease build spacing" | ||
}, | ||
"massSelect": { | ||
"title": "Group selection", | ||
"allKey": "ctrl + a", | ||
"allKey": "ctrl + e", | ||
"all": "Select all units", | ||
"buildersKey": "ctrl + b", | ||
"builders": "Select all constructors", | ||
"buildersKey": "ctrl + tab", | ||
"builders": "Select idle constructor", | ||
"createGroupKey": "ctrl + (num)", | ||
"createGroup": "Add units to group (num=1,2,..)", | ||
"createAutoGroupKey": "alt + (num)", | ||
|
@@ -438,8 +435,10 @@ | |
"removeAutoGroup": "Remove unit type from autogroup", | ||
"groupKey": "(num)", | ||
"group": "Select all units assigned to group (num)", | ||
"sameTypeKey": "ctrl + z", | ||
"sameType": "Select all units of same type as selected" | ||
"sameTypeAllKey": "ctrl + w", | ||
"sameTypeAll": "Select all units of same type as selected", | ||
"sameTypeVisibleKey": "q", | ||
"sameTypeVisible": "Select visible units of same type as selected" | ||
}, | ||
"drawing": { | ||
"title": "Drawing", | ||
|
@@ -453,7 +452,7 @@ | |
"console": { | ||
"title": "Console commands", | ||
"eraseKey": "/clearmapmarks", | ||
"erase": "Erase all drawings and markes", | ||
"erase": "Erase all drawings and markers", | ||
"pauseKey": "/pause", | ||
"pause": "Pause" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Wrong information is worse than no information. Either what is shown to the player is correct or it is not shown at all.
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.
Thank you for the review.
This update is meant to be better than what we have, but not perfect. I don't have the capabilities to make it "perfect." Can we do this as a band-aid until more capable people make the tools needed for "perfection?"
"Perfection" would require getActionHotkey to accept arguments "so you can distinguish between gridmenu_category 1 and gridmenu_category 2" (#3678 (comment)), and the ability to switch the display between gridmenu and the "old" non-gridmenu way of doing things - for the "Selecting build orders" part, top right, specifically. Both of those issues are beyond my capabilities.
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.
For the record, getActionHotkey needs to be able to accept from 0 to 2 arguments so that "gridmenu_key 1 1" also can be can be distinguished from "gridmenu_key 1 2" etc.
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.
Alternatively, I can remove the "Selecting build orders" part (except rotate keys) and half of the "Group selection" part (the "select" lines, specifically). By that point, all information on the page would be correct no matter the keybind preset, afaik.
Please confirm that I should just do that.