Files
OpenRA/mods/cnc/chrome/ingame.yaml
Ivaylo Draganov 7695714f66 Add hotkey for removing actors from control groups
* Add `RemoveFromControlGroup` hotkey
* Add `RemoveFromControlGroup` method to `OpenRA.Game.Selection`
2019-03-28 13:20:47 +01:00

781 lines
20 KiB
YAML

Container@INGAME_ROOT:
Logic: LoadIngamePlayerOrObserverUILogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic, MuteHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
MuteAudioKey: ToggleMute
LogicKeyListener@WORLD_KEYHANDLER:
Logic: CycleBasesHotkeyLogic, CycleProductionActorsHotkeyLogic, JumpToLastEventHotkeyLogic, JumpToSelectedActorsHotkeyLogic, TogglePixelDoubleHotkeyLogic, TogglePlayerStanceColorHotkeyLogic, CycleStatusBarsHotkeyLogic, PauseHotkeyLogic, RemoveFromControlGroupHotkeyLogic
RemoveFromControlGroupKey: RemoveFromControlGroup
CycleBasesKey: CycleBase
CycleProductionActorsKey: CycleProductionBuildings
JumpToLastEventKey: ToLastEvent
JumpToSelectedActorsKey: ToSelection
TogglePixelDoubleKey: TogglePixelDouble
TogglePlayerStanceColorKey: TogglePlayerStanceColor
CycleStatusBarsKey: CycleStatusBars
PauseKey: Pause
Container@WORLD_ROOT:
Logic: LoadIngamePerfLogic
Children:
LogicTicker@DISCONNECT_WATCHER:
Logic: DisconnectWatcherLogic
Label@MISSION_TEXT:
X: WINDOW_RIGHT / 2 - 256
Y: 22
Width: 512
Height: 25
Font: Bold
Align: Center
Contrast: true
StrategicProgress@STRATEGIC_PROGRESS:
X: WINDOW_RIGHT / 2
Y: 40
Container@PERF_ROOT:
WorldInteractionController@INTERACTION_CONTROLLER:
Width: WINDOW_RIGHT
Height: WINDOW_BOTTOM
SelectAllKey: SelectAllUnits
SelectSameTypeKey: SelectUnitsByType
ViewportController:
Width: WINDOW_RIGHT
Height: WINDOW_BOTTOM
TooltipContainer: TOOLTIP_CONTAINER
ScrollUpKey: MapScrollUp
ScrollDownKey: MapScrollDown
ScrollLeftKey: MapScrollLeft
ScrollRightKey: MapScrollRight
JumpToTopEdgeKey: MapJumpToTopEdge
JumpToBottomEdgeKey: MapJumpToBottomEdge
JumpToLeftEdgeKey: MapJumpToLeftEdge
JumpToRightEdgeKey: MapJumpToRightEdge
BookmarkSaveKeyPrefix: MapBookmarkSave
BookmarkRestoreKeyPrefix: MapBookmarkRestore
BookmarkKeyCount: 4
Container@GAME_TIMER_BLOCK:
Logic: GameTimerLogic
X: WINDOW_RIGHT / 2 - WIDTH
Width: 100
Height: 55
Children:
LabelWithTooltip@GAME_TIMER:
Width: PARENT_RIGHT
Height: 30
Align: Center
Font: Title
Contrast: true
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@GAME_TIMER_STATUS:
Y: 35
Width: PARENT_RIGHT
Height: 15
Align: Center
Font: Bold
Contrast: true
Container@PLAYER_ROOT:
Container@MENU_ROOT:
TooltipContainer@TOOLTIP_CONTAINER:
Container@PERF_WIDGETS:
Logic: PerfDebugLogic
Children:
Label@PERF_TEXT:
X: WINDOW_RIGHT - 200
Y: WINDOW_BOTTOM - 70
Width: 170
Height: 40
Contrast: true
VAlign: Top
Background@GRAPH_BG:
X: 5
Y: WINDOW_BOTTOM - HEIGHT - 45
Width: 220
Height: 220
Background: panel-black
Children:
PerfGraph@GRAPH:
X: 10
Y: 10
Width: 200
Height: 200
Container@OBSERVER_WIDGETS:
Logic: MenuButtonsChromeLogic
StatisticsBasicKey: StatisticsBasic
StatisticsEconomyKey: StatisticsEconomy
StatisticsProductionKey: StatisticsProduction
StatisticsCombatKey: StatisticsCombat
StatisticsGraphKey: StatisticsGraph
StatisticsArmyGraphKey: StatisticsArmyGraph
Children:
LogicKeyListener@OBSERVER_KEY_LISTENER:
MenuButton@OPTIONS_BUTTON:
Key: escape
X: WINDOW_RIGHT - 260 - WIDTH
Y: 5
Width: 30
Height: 25
TooltipText: Menu
TooltipContainer: TOOLTIP_CONTAINER
DisableWorldSounds: true
Children:
Image:
X: 7
Y: 5
ImageCollection: order-icons
ImageName: options
MenuButton@OBSERVER_STATS_BUTTON:
Key: StatisticsBasic
X: WINDOW_RIGHT - 260 - WIDTH
Y: 35
Width: 30
Height: 25
TooltipText: Statistics
TooltipContainer: TOOLTIP_CONTAINER
MenuContainer: INGAME_OBSERVERSTATS_BG
HideIngameUI: false
Pause: false
Children:
Image@ICON:
X: 7
Y: 5
ImageCollection: order-icons
ImageName: stats
Background@RADAR:
X: WINDOW_RIGHT - WIDTH - 5
Y: 5
Width: 256
Height: 256
Background: panel-gray
Children:
Radar:
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
VqaPlayer@PLAYER:
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
Skippable: false
Background@REPLAY_PLAYER:
Logic: ReplayControlBarLogic
X: WINDOW_RIGHT - WIDTH - 5
Y: 283
Width: 256
Height: 46
Background: panel-black
Visible: false
Children:
Button@BUTTON_PAUSE:
X: 16
Y: 10
Width: 26
Height: 26
Key: Pause
TooltipText: Pause
TooltipContainer: TOOLTIP_CONTAINER
IgnoreChildMouseOver: true
Children:
Image@IMAGE_PAUSE:
X: 5
Y: 5
Width: 16
Height: 16
ImageCollection: music
ImageName: pause
Button@BUTTON_PLAY:
X: 16
Y: 10
Width: 26
Height: 26
Key: Pause
TooltipText: Play
TooltipContainer: TOOLTIP_CONTAINER
IgnoreChildMouseOver: true
Children:
Image@IMAGE_PLAY:
X: 5
Y: 5
Width: 16
Height: 16
ImageCollection: music
ImageName: play
Button@BUTTON_SLOW:
X: 57
Y: 13
Width: 36
Height: 20
BaseLine: 1
Key: ReplaySpeedSlow
TooltipText: Slow speed
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Text: 50%
Font: TinyBold
Button@BUTTON_REGULAR:
X: 57 + 48
Y: 13
Width: 38
Height: 20
BaseLine: 1
Key: ReplaySpeedRegular
TooltipText: Regular speed
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Text: 100%
Font: TinyBold
Button@BUTTON_FAST:
X: 57 + 48 * 2
Y: 13
Width: 38
Height: 20
BaseLine: 1
Key: ReplaySpeedFast
TooltipText: Fast speed
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Text: 200%
Font: TinyBold
Button@BUTTON_MAXIMUM:
X: 57 + 48 * 3
Y: 13
Width: 38
Height: 20
BaseLine: 1
Key: ReplaySpeedMax
TooltipText: Maximum speed
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Text: MAX
Font: TinyBold
DropDownButton@SHROUD_SELECTOR:
Logic: ObserverShroudSelectorLogic
CombinedViewKey: ObserverCombinedView
WorldViewKey: ObserverWorldView
X: WINDOW_RIGHT - WIDTH - 5
Y: 260
Width: 256
Height: 25
Font: Bold
Children:
LogicKeyListener@SHROUD_KEYHANDLER:
Image@FLAG:
X: 4
Y: 4
Width: 32
Height: 16
Label@LABEL:
X: 40
Width: 60
Height: 25
Shadow: True
Label@NOFLAG_LABEL:
X: 5
Width: PARENT_RIGHT
Height: 25
Shadow: True
Container@PLAYER_WIDGETS:
Children:
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
Logic: ControlGroupLogic
LogicTicker@SIDEBAR_TICKER:
Container@SUPPORT_POWERS:
Logic: SupportPowerBinLogic
X: 10
Y: 10
Children:
Container@PALETTE_BACKGROUND:
Children:
Background@ICON_TEMPLATE:
Width: 66
Height: 50
ClickThrough: false
Background: panel-black
SupportPowers@SUPPORT_PALETTE:
X: 1
Y: 1
TooltipContainer: TOOLTIP_CONTAINER
ReadyText: Ready
HoldText: On Hold
HotkeyPrefix: SupportPower
HotkeyCount: 6
Background@COMMAND_BAR:
Logic: CommandBarLogic
X: 5
Y: WINDOW_BOTTOM - HEIGHT - 5
Background: panel-black
Width: 276
Height: 36
Children:
LogicKeyListener@MODIFIER_OVERRIDES:
Button@ATTACK_MOVE:
X: 1
Y: 1
Width: 34
Height: 34
Background: command-button
Key: AttackMove
DisableKeySound: true
TooltipText: Attack Move
TooltipDesc: Selected units will move to the desired location\nand attack any enemies they encounter en route.\n\nHold {(Ctrl)} while targeting to order an Assault Move\nthat attacks any units or structures encountered en route.\n\nLeft-click icon then right-click on target location.
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: attack-move
Button@FORCE_MOVE:
X: 35
Y: 1
Width: 34
Height: 34
Background: command-button
DisableKeySound: true
TooltipText: Force Move
TooltipDesc: Selected units will move to the desired location\n - Default activity for the target is suppressed\n - Vehicles will attempt to crush enemies at the target location\n - Units entering transports will consider nearby alternatives\n\nLeft-click icon then right-click on target.\nHold {(Alt)} to activate temporarily while commanding units.
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: force-move
Button@FORCE_ATTACK:
X: 69
Y: 1
Width: 34
Height: 34
Background: command-button
DisableKeySound: true
TooltipText: Force Attack
TooltipDesc: Selected units will attack the targeted unit or location\n - Default activity for the target is suppressed\n - Allows targeting of own or ally forces\n - Long-range artillery units will always target the\n location, ignoring units and buildings\n\nLeft-click icon then right-click on target.\nHold {(Ctrl)} to activate temporarily while commanding units.
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: force-attack
Button@GUARD:
X: 105
Y: 1
Width: 34
Height: 34
Background: command-button
Key: Guard
DisableKeySound: true
TooltipText: Guard
TooltipDesc: Selected units will follow the targeted unit.\n\nLeft-click icon then right-click on target unit.
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: guard
Button@DEPLOY:
X: 139
Y: 1
Width: 34
Height: 34
Background: command-button
Key: Deploy
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: Deploy
TooltipDesc: Selected units will perform their default deploy activity\n - MCVs will unpack into a Construction Yard\n - Construction Yards will re-pack into a MCV\n - Transports will unload their passengers\n\nActs immediately on selected units.
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: deploy
Button@SCATTER:
X: 173
Y: 1
Width: 34
Height: 34
Background: command-button
Key: Scatter
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: Scatter
TooltipDesc: Selected units will stop their current activity\nand move to a nearby location.\n\nActs immediately on selected units.
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: scatter
Button@STOP:
X: 207
Y: 1
Width: 34
Height: 34
Background: command-button
Key: Stop
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: Stop
TooltipDesc: Selected units will stop their current activity.\n\nActs immediately on selected units.
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: stop
Button@QUEUE_ORDERS:
X: 241
Y: 1
Width: 34
Height: 34
Background: command-button
DisableKeySound: true
TooltipText: Waypoint Mode
TooltipDesc: Use Waypoint Mode to give multiple linking commands\nto the selected units. Units will execute the commands\nimmediately upon receiving them.\n\nLeft-click icon then give commands in the game world.\nHold {(Shift)} to activate temporarily while commanding units.
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: command-icons
ImageName: queue-orders
Background@STANCE_BAR:
Logic: StanceSelectorLogic
X: 280
Y: WINDOW_BOTTOM - HEIGHT - 5
Background: panel-black
Width: 138
Height: 28
Children:
Button@STANCE_ATTACKANYTHING:
X: 1
Y: 1
Width: 34
Height: 26
Background: stance-button
Key: StanceAttackAnything
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: Attack Anything Stance
TooltipDesc: Set the selected units to Attack Anything stance:\n - Units will attack enemy units and structures on sight\n - Units will pursue attackers across the battlefield
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 9
Y: 5
ImageCollection: stance-icons
ImageName: attack-anything
Button@STANCE_DEFEND:
X: 35
Y: 1
Width: 34
Height: 26
Background: stance-button
Key: StanceDefend
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: Defend Stance
TooltipDesc: Set the selected units to Defend stance:\n - Units will attack enemy units on sight\n - Units will not move or pursue enemies
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 9
Y: 5
ImageCollection: stance-icons
ImageName: defend
Button@STANCE_RETURNFIRE:
X: 69
Y: 1
Width: 34
Height: 26
Background: stance-button
Key: StanceReturnFire
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: Return Fire Stance
TooltipDesc: Set the selected units to Return Fire stance:\n - Units will retaliate against enemies that attack them\n - Units will not move or pursue enemies
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 9
Y: 5
ImageCollection: stance-icons
ImageName: return-fire
Button@STANCE_HOLDFIRE:
X: 103
Y: 1
Width: 34
Height: 26
Background: stance-button
Key: StanceHoldFire
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: Hold Fire Stance
TooltipDesc: Set the selected units to Hold Fire stance:\n - Units will not fire upon enemies\n - Units will not move or pursue enemies
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 9
Y: 5
ImageCollection: stance-icons
ImageName: hold-fire
Background@SIDEBAR_BACKGROUND:
Logic: MenuButtonsChromeLogic
X: WINDOW_RIGHT - 204
Y: 30
Width: 194
Height: 240
Background: panel-black
Children:
MenuButton@OPTIONS_BUTTON:
X: 22
Y: 0 - 24
Width: 30
Height: 25
Font: Bold
Key: escape
TooltipText: Menu
TooltipContainer: TOOLTIP_CONTAINER
DisableWorldSounds: true
Children:
Image@ICON:
X: 7
Y: 5
ImageCollection: order-icons
ImageName: options
Button@BEACON_BUTTON:
Logic: BeaconOrderButtonLogic
X: 62
Y: 0 - 24
Width: 30
Height: 25
Font: Bold
Key: PlaceBeacon
TooltipText: Place Beacon
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 7
Y: 5
ImageCollection: order-icons
Button@SELL_BUTTON:
Logic: SellOrderButtonLogic
X: 102
Y: 0 - 24
Width: 30
Height: 25
Font: Bold
Key: Sell
TooltipText: Sell
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 7
Y: 5
ImageCollection: order-icons
Button@REPAIR_BUTTON:
Logic: RepairOrderButtonLogic
X: 142
Y: 0 - 24
Width: 30
Height: 25
Font: Bold
Key: Repair
TooltipText: Repair
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 7
Y: 5
ImageCollection: order-icons
Background@RADAR:
X: 13
Y: 5
Width: 168
Height: 168
Background: panel-gray
Children:
Radar@RADAR_MINIMAP:
Logic: IngameRadarDisplayLogic
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
WorldInteractionController: INTERACTION_CONTROLLER
SoundUp: RadarUp
SoundDown: RadarDown
Children:
LogicTicker@RADAR_TICKER:
VqaPlayer@PLAYER:
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
Skippable: false
Background@POWERBAR_PANEL:
Logic: IngamePowerBarLogic
X: 4
Y: 5
Width: 10
Height: 168
Background: panel-black
Children:
ResourceBar@POWERBAR:
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
IndicatorImage: indicator-left
Background@SILOBAR_PANEL:
Logic: IngameSiloBarLogic
X: 180
Y: 5
Width: 10
Height: 168
Background: panel-black
Children:
ResourceBar@SILOBAR:
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
IndicatorImage: indicator-right
LabelWithTooltip@CASH:
Logic: IngameCashCounterLogic
Y: 170
Width: PARENT_RIGHT
Height: 25
Align: Center
Font: Bold
Text: ${0}
Container@PRODUCTION_TYPES:
X: 12
Y: 197
Width: 170
Height: 30
Children:
ProductionTypeButton@BUILDING:
Width: 30
Height: 30
TooltipText: Buildings
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Building
Key: ProductionTypeBuilding
Children:
Image@ICON:
X: 7
Y: 7
ImageCollection: production-icons
ProductionTypeButton@DEFENCE:
X: 35
Width: 30
Height: 30
TooltipText: Support
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Defence
Key: ProductionTypeDefense
Children:
Image@ICON:
X: 7
Y: 7
ImageCollection: production-icons
ProductionTypeButton@INFANTRY:
X: 70
Width: 30
Height: 30
TooltipText: Infantry
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Infantry
Key: ProductionTypeInfantry
Children:
Image@ICON:
X: 7
Y: 7
ImageCollection: production-icons
ProductionTypeButton@VEHICLE:
X: 105
Width: 30
Height: 30
TooltipText: Vehicles
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Vehicle
Key: ProductionTypeVehicle
Children:
Image@ICON:
X: 7
Y: 7
ImageCollection: production-icons
ProductionTypeButton@AIRCRAFT:
X: 140
Width: 30
Height: 30
TooltipText: Aircraft
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Aircraft
Key: ProductionTypeAircraft
Children:
Image@ICON:
X: 7
Y: 7
ImageCollection: production-icons
Container@PRODUCTION_BACKGROUND:
X: WINDOW_RIGHT - 204
Y: 287
Children:
Background@ICON_TEMPLATE:
Width: 66
Height: 50
Background: panel-black
ProductionPalette@PRODUCTION_PALETTE:
X: WINDOW_RIGHT - 203
Y: 288
TooltipContainer: TOOLTIP_CONTAINER
ReadyText: Ready
HoldText: On Hold
HotkeyPrefix: Production
HotkeyCount: 24
ProductionTabs@PRODUCTION_TABS:
Logic: ProductionTabsLogic
PaletteWidget: PRODUCTION_PALETTE
TypesContainer: PRODUCTION_TYPES
BackgroundContainer: PRODUCTION_BACKGROUND
PreviousProductionTabKey: PreviousProductionTab
NextProductionTabKey: NextProductionTab
X: WINDOW_RIGHT - 204
Y: 268
Width: 194
Height: 20
Background@FMVPLAYER:
Width: WINDOW_RIGHT
Height: WINDOW_BOTTOM
Background: panel-allblack
Children:
VqaPlayer@PLAYER:
X: 0
Y: 0
Width: WINDOW_RIGHT
Height: WINDOW_BOTTOM