Add unique ingame-observer.yaml for D2K

This commit is contained in:
teinarss
2020-02-08 16:55:35 +01:00
committed by abcdefg30
parent 7e3830e053
commit 817f75c808
2 changed files with 998 additions and 1 deletions

View File

@@ -0,0 +1,997 @@
Container@OBSERVER_WIDGETS:
Logic: MenuButtonsChromeLogic
Children:
LogicKeyListener@OBSERVER_KEY_LISTENER:
MenuButton@OPTIONS_BUTTON:
X: 5
Y: 5
Width: 160
Height: 25
Text: Options (Esc)
Font: Bold
Key: escape
DisableWorldSounds: true
Container@GAME_TIMER_BLOCK:
Logic: GameTimerLogic
X: (WINDOW_RIGHT - WIDTH) / 2
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: 32
Width: PARENT_RIGHT
Height: 15
Align: Center
Font: Bold
Contrast: true
Background@RADAR_BG:
X: WINDOW_RIGHT - 255
Y: 5
Width: 250
Height: 250
Children:
Radar@INGAME_RADAR:
X: 10
Y: 10
Width: PARENT_RIGHT - 19
Height: PARENT_BOTTOM - 19
WorldInteractionController: INTERACTION_CONTROLLER
VqaPlayer@PLAYER:
X: 10
Y: 10
Width: PARENT_RIGHT - 20
Height: PARENT_BOTTOM - 20
Skippable: false
Background@OBSERVER_CONTROL_BG:
X: WINDOW_RIGHT - 255
Y: 260
Width: 250
Height: 55
Children:
DropDownButton@SHROUD_SELECTOR:
Logic: ObserverShroudSelectorLogic
CombinedViewKey: ObserverCombinedView
WorldViewKey: ObserverWorldView
X: 15
Y: 15
Width: 220
Height: 25
Font: Bold
Children:
LogicKeyListener@SHROUD_KEYHANDLER:
Image@FLAG:
Width: 23
Height: 23
X: 4
Y: 2
Label@LABEL:
X: 34
Width: 60
Height: 25
Shadow: True
Label@NOFLAG_LABEL:
X: 5
Width: PARENT_RIGHT
Height: 25
Shadow: True
Container@REPLAY_PLAYER:
Logic: ReplayControlBarLogic
Y: 39
Width: 160
Height: 35
Visible: false
Children:
Button@BUTTON_PAUSE:
X: 15
Y: 10
Width: 26
Height: 26
Key: Pause
TooltipText: Pause
TooltipContainer: TOOLTIP_CONTAINER
IgnoreChildMouseOver: true
Children:
Image@IMAGE_PAUSE:
X: 5
Y: 5
ImageCollection: music
ImageName: pause
Button@BUTTON_PLAY:
X: 15
Y: 10
Width: 26
Height: 26
Key: Pause
IgnoreChildMouseOver: true
TooltipText: Play
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@IMAGE_PLAY:
X: 5
Y: 5
ImageCollection: music
ImageName: play
Button@BUTTON_SLOW:
X: 55
Y: 13
Width: 36
Height: 20
Key: ReplaySpeedSlow
TooltipText: Slow speed
TooltipContainer: TOOLTIP_CONTAINER
Text: 50%
Font: TinyBold
Button@BUTTON_REGULAR:
X: 55 + 45
Y: 13
Width: 38
Height: 20
Key: ReplaySpeedRegular
TooltipText: Regular speed
TooltipContainer: TOOLTIP_CONTAINER
Text: 100%
Font: TinyBold
Button@BUTTON_FAST:
X: 55 + 45 * 2
Y: 13
Width: 38
Height: 20
Key: ReplaySpeedFast
TooltipText: Fast speed
TooltipContainer: TOOLTIP_CONTAINER
Text: 200%
Font: TinyBold
Button@BUTTON_MAXIMUM:
X: 55 + 45 * 3
Y: 13
Width: 38
Height: 20
Key: ReplaySpeedMax
TooltipText: Maximum speed
TooltipContainer: TOOLTIP_CONTAINER
Text: MAX
Font: TinyBold
Container@INGAME_OBSERVERSTATS_BG:
Logic: ObserverStatsLogic
StatisticsNoneKey: StatisticsNone
StatisticsBasicKey: StatisticsBasic
StatisticsEconomyKey: StatisticsEconomy
StatisticsProductionKey: StatisticsProduction
StatisticsSupportPowersKey: StatisticsSupportPowers
StatisticsCombatKey: StatisticsCombat
StatisticsArmyKey: StatisticsArmy
StatisticsGraphKey: StatisticsGraph
StatisticsArmyGraphKey: StatisticsArmyGraph
X: 5
Y: 5
Width: 760
Height: 250
Children:
DropDownButton@STATS_DROPDOWN:
X: 165
Y: 0
Width: 185
Height: 25
Font: Bold
Children:
LogicKeyListener@STATS_DROPDOWN_KEYHANDLER:
Container@GRAPH_BG:
Y: 30
X: 0
Width: PARENT_RIGHT
Height: 25
Children:
Container@BASIC_STATS_HEADERS:
X: 0
Y: 0
Width: 700
Height: PARENT_BOTTOM
Children:
ColorBlock@HEADER_COLOR:
X: 0
Y: 0
Color: 00000090
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@HEADER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
TopLeftColor: 00000090
BottomLeftColor: 00000090
Width: 200
Height: PARENT_BOTTOM
Label@PLAYER_HEADER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Text: Player
Align: Left
Shadow: True
Label@CASH_HEADER:
X: 155
Y: 0
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Cash
Align: Right
Shadow: True
Label@POWER_HEADER:
X: 235
Y: 0
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Power
Align: Center
Shadow: True
Label@KILLS_HEADER:
X: 315
Y: 0
Width: 40
Height: PARENT_BOTTOM
Font: Bold
Text: Kills
Align: Right
Shadow: True
Label@DEATHS_HEADER:
X: 355
Y: 0
Width: 60
Height: PARENT_BOTTOM
Font: Bold
Text: Deaths
Align: Right
Shadow: True
Label@ASSETS_DESTROYED_HEADER:
X: 415
Y: 0
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Destroyed
Align: Right
Shadow: True
Label@ASSETS_LOST_HEADER:
X: 495
Y: 0
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Lost
Align: Right
Shadow: True
Label@EXPERIENCE_HEADER:
X: 575
Y: 0
Width: 60
Height: PARENT_BOTTOM
Font: Bold
Text: Score
Align: Right
Shadow: True
Label@ACTIONS_MIN_HEADER:
X: 635
Y: 0
Width: 60
Height: PARENT_BOTTOM
Font: Bold
Text: APM
Align: Right
Shadow: True
Container@ECONOMY_STATS_HEADERS:
X: 0
Y: 0
Width: 640
Height: PARENT_BOTTOM
Children:
ColorBlock@HEADER_COLOR:
X: 0
Y: 0
Color: 00000090
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@HEADER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
TopLeftColor: 00000090
BottomLeftColor: 00000090
Width: 200
Height: PARENT_BOTTOM
Label@PLAYER_HEADER:
X: 35
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Text: Player
Shadow: True
Label@CASH_HEADER:
X: 155
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Cash
Align: Right
Shadow: True
Label@INCOME_HEADER:
X: 235
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Income
Align: Right
Shadow: True
Label@ASSETS_HEADER:
X: 315
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Assets
Align: Right
Shadow: True
Label@EARNED_HEADER:
X: 395
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Earned
Align: Right
Shadow: True
Label@SPENT_HEADER:
X: 475
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Spent
Align: Right
Shadow: True
Label@HARVESTERS_HEADER:
X: 555
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Harvesters
Align: Right
Shadow: True
Container@PRODUCTION_STATS_HEADERS:
X: 0
Y: 0
Width: 400
Height: PARENT_BOTTOM
Children:
ColorBlock@HEADER_COLOR:
X: 0
Y: 0
Color: 00000090
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@HEADER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
TopLeftColor: 00000090
BottomLeftColor: 00000090
Width: 200
Height: PARENT_BOTTOM
Label@PLAYER_HEADER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Text: Player
Align: Left
Shadow: True
Label@PRODUCTION_HEADER:
X: 155
Y: 0
Width: 100
Height: PARENT_BOTTOM
Font: Bold
Text: Production
Shadow: True
Container@SUPPORT_POWERS_HEADERS:
X: 0
Y: 0
Width: 400
Height: PARENT_BOTTOM
Children:
ColorBlock@HEADER_COLOR:
X: 0
Y: 0
Color: 00000090
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@HEADER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
TopLeftColor: 00000090
BottomLeftColor: 00000090
Width: 200
Height: PARENT_BOTTOM
Label@PLAYER_HEADER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Text: Player
Align: Left
Shadow: True
Label@SUPPORT_POWERS_HEADER:
X: 155
Y: 0
Width: 100
Height: PARENT_BOTTOM
Font: Bold
Text: Support Powers
Shadow: True
Container@ARMY_HEADERS:
X: 0
Y: 0
Width: 400
Height: PARENT_BOTTOM
Children:
ColorBlock@HEADER_COLOR:
X: 0
Y: 0
Color: 00000090
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@HEADER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
TopLeftColor: 00000090
BottomLeftColor: 00000090
Width: 200
Height: PARENT_BOTTOM
Label@PLAYER_HEADER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Text: Player
Align: Left
Shadow: True
Label@ARMY_HEADER:
X: 155
Y: 0
Width: 100
Height: PARENT_BOTTOM
Font: Bold
Text: Army
Shadow: True
Container@COMBAT_STATS_HEADERS:
X: 0
Y: 0
Width: 735
Height: PARENT_BOTTOM
Children:
ColorBlock@HEADER_COLOR:
X: 0
Y: 0
Color: 00000090
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@HEADER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
TopLeftColor: 00000090
BottomLeftColor: 00000090
Width: 200
Height: PARENT_BOTTOM
Label@PLAYER_HEADER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Text: Player
Align: Left
Shadow: True
Label@ASSETS_DESTROYED_HEADER:
X: 155
Y: 0
Width: 75
Height: PARENT_BOTTOM
Font: Bold
Text: Destroyed
Align: Right
Shadow: True
Label@ASSETS_LOST_HEADER:
X: 230
Y: 0
Width: 75
Height: PARENT_BOTTOM
Font: Bold
Text: Lost
Align: Right
Shadow: True
Label@UNITS_KILLED_HEADER:
X: 305
Y: 0
Width: 90
Height: PARENT_BOTTOM
Font: Bold
Text: Units Killed
Align: Right
Shadow: True
Label@UNITS_DEAD_HEADER:
X: 395
Y: 0
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Units Lost
Align: Right
Shadow: True
Label@BUILDINGS_KILLED_HEADER:
X: 475
Y: 0
Width: 85
Height: PARENT_BOTTOM
Font: Bold
Text: Bldg Killed
Align: Right
Shadow: True
Label@BUILDINGS_DEAD_HEADER:
X: 560
Y: 0
Width: 80
Height: PARENT_BOTTOM
Font: Bold
Text: Bldg Lost
Align: Right
Shadow: True
Label@ARMY_VALUE_HEADER:
X: 640
Y: 0
Width: 90
Height: PARENT_BOTTOM
Font: Bold
Text: Army Value
Align: Right
Shadow: True
ScrollPanel@PLAYER_STATS_PANEL:
X: 0
Y: 55
Width: PARENT_RIGHT
Height: 250
TopBottomSpacing: 0
BorderWidth: 0
Background:
ScrollbarWidth: 25
ScrollBar: Hidden
Children:
ScrollItem@TEAM_TEMPLATE:
X: 0
Y: 0
Width: 650 #PARENT_RIGHT - 35
Height: 25
Children:
ColorBlock@TEAM_COLOR:
X: 0
Y: 0
Color: 00000090
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@TEAM_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
TopLeftColor: 00000090
BottomLeftColor: 00000090
Width: 200
Height: PARENT_BOTTOM
Label@TEAM:
X: 10
Y: 0
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Font: Bold
Shadow: True
ScrollItem@BASIC_PLAYER_TEMPLATE:
X: 0
Y: 0
Width: 700
Height: 25
BaseName: scrollitem-nohover
Children:
ColorBlock@PLAYER_COLOR:
X: 0
Y: 0
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@PLAYER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
Width: 200
Height: PARENT_BOTTOM
Image@FLAG:
X: 2
Y: 2
ImageName: random
ImageCollection: flags
Label@PLAYER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Shadow: True
Label@CASH:
X: 155
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@POWER:
X: 235
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Center
Shadow: True
Label@KILLS:
X: 315
Y: 0
Width: 40
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@DEATHS:
X: 355
Y: 0
Width: 60
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@ASSETS_DESTROYED:
X: 415
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@ASSETS_LOST:
X: 495
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@EXPERIENCE:
X: 575
Y: 0
Width: 60
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@ACTIONS_MIN:
X: 635
Y: 0
Width: 60
Height: PARENT_BOTTOM
Align: Right
Shadow: True
ScrollItem@ECONOMY_PLAYER_TEMPLATE:
X: 0
Y: 0
Width: 640
Height: 25
BaseName: scrollitem-nohover
Children:
ColorBlock@PLAYER_COLOR:
X: 0
Y: 0
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@PLAYER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
Width: 200
Height: PARENT_BOTTOM
Image@FLAG:
X: 2
Y: 2
ImageName: random
ImageCollection: flags
Label@PLAYER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Shadow: True
Label@CASH:
X: 155
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@INCOME:
X: 235
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@ASSETS:
X: 315
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@EARNED:
X: 395
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@SPENT:
X: 475
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@HARVESTERS:
X: 555
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
ScrollItem@PRODUCTION_PLAYER_TEMPLATE:
X: 0
Y: 0
Width: 400
Height: 25
BaseName: scrollitem-nohover
Children:
ColorBlock@PLAYER_COLOR:
X: 0
Y: 0
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@PLAYER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
Width: 200
Height: PARENT_BOTTOM
Image@FLAG:
X: 2
Y: 2
ImageName: random
ImageCollection: flags
Label@PLAYER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Shadow: True
ObserverProductionIcons@PRODUCTION_ICONS:
X: 155
Y: 1
Width: 0
IconWidth: 30
Height: PARENT_BOTTOM
TooltipContainer: TOOLTIP_CONTAINER
ScrollItem@SUPPORT_POWERS_PLAYER_TEMPLATE:
X: 0
Y: 0
Width: 400
Height: 25
BaseName: scrollitem-nohover
Children:
ColorBlock@PLAYER_COLOR:
X: 0
Y: 0
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@PLAYER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
Width: 200
Height: PARENT_BOTTOM
Image@FLAG:
X: 2
Y: 2
ImageName: random
ImageCollection: flags
Label@PLAYER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Shadow: True
ObserverSupportPowerIcons@SUPPORT_POWER_ICONS:
X: 155
Y: 1
Width: 0
Height: PARENT_BOTTOM
IconWidth: 30
TooltipContainer: TOOLTIP_CONTAINER
ScrollItem@ARMY_PLAYER_TEMPLATE:
X: 0
Y: 0
Width: 400
Height: 25
BaseName: scrollitem-nohover
Children:
ColorBlock@PLAYER_COLOR:
X: 0
Y: 0
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@PLAYER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
Width: 200
Height: PARENT_BOTTOM
Image@FLAG:
X: 2
Y: 2
Width: 35
Height: PARENT_BOTTOM - 4
ImageName: random
ImageCollection: flags
Label@PLAYER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Shadow: True
ObserverArmyIcons@ARMY_ICONS:
X: 155
Y: 1
Width: 0
Height: PARENT_BOTTOM
IconWidth: 30
TooltipContainer: TOOLTIP_CONTAINER
ScrollItem@COMBAT_PLAYER_TEMPLATE:
X: 0
Y: 0
Width: 735
Height: 25
BaseName: scrollitem-nohover
Children:
ColorBlock@PLAYER_COLOR:
X: 0
Y: 0
Width: PARENT_RIGHT - 200
Height: PARENT_BOTTOM
GradientColorBlock@PLAYER_GRADIENT:
X: PARENT_RIGHT - 200
Y: 0
Width: 200
Height: PARENT_BOTTOM
Image@FLAG:
X: 2
Y: 2
ImageName: random
ImageCollection: flags
Label@PLAYER:
X: 35
Y: 0
Width: 120
Height: PARENT_BOTTOM
Font: Bold
Shadow: True
Label@ASSETS_DESTROYED:
X: 155
Y: 0
Width: 75
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@ASSETS_LOST:
X: 230
Y: 0
Width: 75
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@UNITS_KILLED:
X: 305
Y: 0
Width: 90
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@UNITS_DEAD:
X: 395
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@BUILDINGS_KILLED:
X: 475
Y: 0
Width: 85
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@BUILDINGS_DEAD:
X: 560
Y: 0
Width: 80
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Label@ARMY_VALUE:
X: 640
Y: 0
Width: 90
Height: PARENT_BOTTOM
Align: Right
Shadow: True
Container@INCOME_GRAPH_CONTAINER:
X: 0
Y: 30
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Visible: False
Children:
ColorBlock@GRAPH_BACKGROUND:
X: 0
Y: 0
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Color: 00000090
LineGraph@INCOME_GRAPH:
X: 0
Y: 0
Width: PARENT_RIGHT - 5
Height: PARENT_BOTTOM
ValueFormat: ${0}
YAxisValueFormat: ${0:F0}
XAxisSize: 40
XAxisTicksPerLabel: 2
XAxisLabel: Game Minute
YAxisLabel: Earnings
LabelFont: TinyBold
AxisFont: TinyBold
Container@ARMY_VALUE_GRAPH_CONTAINER:
X: 0
Y: 30
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Visible: False
Children:
ColorBlock@GRAPH_BACKGROUND:
X: 0
Y: 0
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Color: 00000090
LineGraph@ARMY_VALUE_GRAPH:
X: 0
Y: 0
Width: PARENT_RIGHT - 5
Height: PARENT_BOTTOM
ValueFormat: ${0}
YAxisValueFormat: ${0:F0}
XAxisSize: 40
XAxisTicksPerLabel: 2
XAxisLabel: Game Minute
YAxisLabel: Army Value
LabelFont: TinyBold
AxisFont: TinyBold

View File

@@ -75,7 +75,7 @@ ChromeLayout:
common|chrome/ingame-infobriefing.yaml
common|chrome/ingame-infoobjectives.yaml
d2k|chrome/ingame-infostats.yaml
common|chrome/ingame-observer.yaml
d2k|chrome/ingame-observer.yaml
d2k|chrome/ingame-player.yaml
common|chrome/ingame-perf.yaml
common|chrome/ingame-debug.yaml