Make control group hotkeys configurable
- Split control groups management to its own interface - Add hotkeys for selecting, creating, adding to and combining with control groups - Add a ControlGroups widget to manage the player interaction
This commit is contained in:
committed by
abcdefg30
parent
04b456d6c2
commit
7a93b9ea8c
@@ -1162,8 +1162,12 @@ Container@PLAYER_WIDGETS:
|
||||
BookmarkSaveKeyPrefix: MapBookmarkSave
|
||||
BookmarkRestoreKeyPrefix: MapBookmarkRestore
|
||||
BookmarkKeyCount: 4
|
||||
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
|
||||
Logic: ControlGroupLogic
|
||||
ControlGroups@CONTROLGROUPS:
|
||||
SelectGroupKeyPrefix: ControlGroupSelect
|
||||
CreateGroupKeyPrefix: ControlGroupCreate
|
||||
AddToGroupKeyPrefix: ControlGroupAddTo
|
||||
CombineWithGroupKeyPrefix: ControlGroupCombineWith
|
||||
JumpToGroupKeyPrefix: ControlGroupJumpTo
|
||||
LogicTicker@SIDEBAR_TICKER:
|
||||
Container@SUPPORT_POWERS:
|
||||
Logic: SupportPowerBinLogic
|
||||
|
||||
@@ -19,6 +19,9 @@ Container@HOTKEYS_PANEL:
|
||||
Types: Music
|
||||
Chat Commands:
|
||||
Types: Chat
|
||||
Control Groups:
|
||||
Template: TWO_COLUMN
|
||||
Types: ControlGroups
|
||||
Width: PARENT_RIGHT
|
||||
Height: PARENT_BOTTOM
|
||||
Children:
|
||||
|
||||
@@ -159,6 +159,7 @@ Hotkeys:
|
||||
common|hotkeys/supportpowers.yaml
|
||||
common|hotkeys/viewport.yaml
|
||||
common|hotkeys/chat.yaml
|
||||
common|hotkeys/control-groups.yaml
|
||||
cnc|hotkeys.yaml
|
||||
|
||||
LoadScreen: CncLoadScreen
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
ScreenMap:
|
||||
ActorMap:
|
||||
Selection:
|
||||
ControlGroups:
|
||||
MusicPlaylist:
|
||||
VictoryMusic: win1
|
||||
DefeatMusic: nod_map1
|
||||
|
||||
@@ -270,6 +270,7 @@ pips:
|
||||
groups: pdigits
|
||||
Length: *
|
||||
Offset: 9, 5
|
||||
Frames: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0
|
||||
pip-hazmat: pip-hazmat
|
||||
Offset: -3, 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user