Split TS ingame chrome.
This commit is contained in:
115
mods/ts/chrome/ingame-player.yaml
Normal file
115
mods/ts/chrome/ingame-player.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
Container@PLAYER_WIDGETS:
|
||||
Children:
|
||||
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
|
||||
Logic: ControlGroupLogic
|
||||
LogicTicker@SIDEBAR_TICKER:
|
||||
Button@INGAME_DIPLOMACY_BUTTON:
|
||||
X: 162
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Diplomacy (F1)
|
||||
Font: Bold
|
||||
Key: f1
|
||||
Button@INGAME_DEBUG_BUTTON:
|
||||
X: 324
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Cheats (F2)
|
||||
Visible: false
|
||||
Font: Bold
|
||||
Key: f2
|
||||
Button@OBJECTIVES_BUTTON:
|
||||
X: 486
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Objectives (F3)
|
||||
Visible: false
|
||||
Font: Bold
|
||||
Key: f3
|
||||
SlidingContainer@INGAME_RADAR_BIN:
|
||||
X: WINDOW_RIGHT-215
|
||||
Y: 0
|
||||
OpenOffset: 0,29
|
||||
ClosedOffset: 0,-166
|
||||
AnimationLength: 15
|
||||
Children:
|
||||
Image@RADAR_BIN_BG:
|
||||
ImageName: radar
|
||||
Radar@RADAR_MINIMAP:
|
||||
WorldInteractionController: INTERACTION_CONTROLLER
|
||||
X: 9
|
||||
Width: 192
|
||||
Height: 192
|
||||
ResourceBar@POWERBAR:
|
||||
X: 42
|
||||
Y: 205
|
||||
Width: 138
|
||||
Height: 5
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipTemplate: SIMPLE_TOOLTIP
|
||||
IndicatorImage: power-indicator
|
||||
Orientation: Horizontal
|
||||
Style: Bevelled
|
||||
MoneyBin@INGAME_MONEY_BIN:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
X: WINDOW_RIGHT - WIDTH
|
||||
Width: 320
|
||||
Height: 32
|
||||
Children:
|
||||
Button@BEACON_BUTTON:
|
||||
X: 3-36
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Place Beacon
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
Button@SELL_BUTTON:
|
||||
X: 3
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Sell
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
Button@POWER_BUTTON:
|
||||
X: 39
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Power Down
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
Button@REPAIR_BUTTON:
|
||||
X: 75
|
||||
Width: 34
|
||||
Height: 28
|
||||
TooltipText: Repair
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
VisualHeight: 0
|
||||
Children:
|
||||
Image@ICON:
|
||||
ImageCollection: order-icons
|
||||
SupportPowerBin@INGAME_POWERS_BIN:
|
||||
X: 0
|
||||
Y: 25
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
BuildPalette@INGAME_BUILD_PALETTE:
|
||||
X: WINDOW_RIGHT - 250
|
||||
Y: 280
|
||||
Width: 250
|
||||
Height: 500
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
RequiresText: Requires {0}
|
||||
|
||||
80
mods/ts/chrome/ingame.yaml
Normal file
80
mods/ts/chrome/ingame.yaml
Normal file
@@ -0,0 +1,80 @@
|
||||
Container@INGAME_ROOT:
|
||||
Logic: IngameChromeLogic
|
||||
Children:
|
||||
LogicTicker@DISCONNECT_WATCHER:
|
||||
Logic: DisconnectWatcherLogic
|
||||
WorldInteractionController@INTERACTION_CONTROLLER:
|
||||
X: 0
|
||||
Y: 0
|
||||
Width: WINDOW_RIGHT
|
||||
Height: WINDOW_BOTTOM
|
||||
ViewportController:
|
||||
X: 0
|
||||
Y: 0
|
||||
Width: WINDOW_RIGHT
|
||||
Height: WINDOW_BOTTOM
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
WorldCommand:
|
||||
X: 0
|
||||
Y: 0
|
||||
Width: WINDOW_RIGHT
|
||||
Height: WINDOW_BOTTOM
|
||||
Container@GAME_TIMER_BLOCK:
|
||||
Logic: GameTimerLogic
|
||||
X: WINDOW_RIGHT/2 - WIDTH
|
||||
Width: 100
|
||||
Height: 55
|
||||
Children:
|
||||
Label@GAME_TIMER:
|
||||
Width: PARENT_RIGHT
|
||||
Height: 15
|
||||
Align: Center
|
||||
Font: Title
|
||||
Contrast: true
|
||||
Label@GAME_TIMER_STATUS:
|
||||
Y: 35
|
||||
Width: PARENT_RIGHT
|
||||
Height: 15
|
||||
Align: Center
|
||||
Font: Bold
|
||||
Contrast: true
|
||||
StrategicProgress@STRATEGIC_PROGRESS:
|
||||
X: WINDOW_RIGHT/2
|
||||
Y: 40
|
||||
SupportPowerTimer@SUPPORT_POWER_TIMER:
|
||||
X: 80
|
||||
Y: 34
|
||||
Order: Descending
|
||||
Container@PLAYER_ROOT:
|
||||
Button@INGAME_OPTIONS_BUTTON:
|
||||
X: 0
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Options (ESC)
|
||||
Font: Bold
|
||||
Key: escape
|
||||
Container@PERFORMANCE_INFO:
|
||||
Logic: PerfDebugLogic
|
||||
Children:
|
||||
Label@PERF_TEXT:
|
||||
X: WINDOW_RIGHT - 200
|
||||
Y: WINDOW_BOTTOM - 70
|
||||
Width: 170
|
||||
Height: 40
|
||||
Contrast: true
|
||||
Background@GRAPH_BG:
|
||||
ClickThrough: true
|
||||
Background: dialog4
|
||||
X: 30
|
||||
Y: WINDOW_BOTTOM - 240
|
||||
Width: 210
|
||||
Height: 210
|
||||
Children:
|
||||
PerfGraph@GRAPH:
|
||||
X: 5
|
||||
Y: 5
|
||||
Width: 200
|
||||
Height: 200
|
||||
TooltipContainer@TOOLTIP_CONTAINER:
|
||||
|
||||
@@ -99,7 +99,7 @@ Assemblies:
|
||||
|
||||
ChromeLayout:
|
||||
mods/ts/chrome/install.yaml
|
||||
mods/ra/chrome/ingame.yaml
|
||||
mods/ts/chrome/ingame.yaml
|
||||
mods/ra/chrome/ingame-chat.yaml
|
||||
mods/ra/chrome/ingame-diplomacy.yaml
|
||||
mods/ra/chrome/ingame-fmvplayer.yaml
|
||||
@@ -107,7 +107,7 @@ ChromeLayout:
|
||||
mods/ra/chrome/ingame-objectives.yaml
|
||||
mods/ra/chrome/ingame-observer.yaml
|
||||
mods/ra/chrome/ingame-observerstats.yaml
|
||||
mods/ra/chrome/ingame-player.yaml
|
||||
mods/ts/chrome/ingame-player.yaml
|
||||
mods/ra/chrome/ingame-debug.yaml
|
||||
mods/ra/chrome/mainmenu.yaml
|
||||
mods/ra/chrome/settings.yaml
|
||||
|
||||
Reference in New Issue
Block a user