Initial commit: OpenRA game engine
Some checks failed
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled

Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
let5sne.win10
2026-01-10 21:46:54 +08:00
commit 9cf6ebb986
4065 changed files with 635973 additions and 0 deletions

View File

@@ -0,0 +1,179 @@
ScrollPanel@LABEL_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@HEADER:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 13
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_WIDTH
Height: 13
Align: Center
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
X: 10
Width: PARENT_WIDTH - 20
Height: 25
ScrollPanel@LABEL_DROPDOWN_WITH_TOOLTIP_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@HEADER:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 13
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_WIDTH
Height: 13
Align: Center
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_TOOLTIP
Visible: false
Children:
Label@LABEL:
X: 10
Width: PARENT_WIDTH - 20
Height: 25
ScrollPanel@PLAYERACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
X: 10
Width: PARENT_WIDTH - 20
Height: 25
Align: Left
ScrollPanel@TEAM_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
X: 0
Width: PARENT_WIDTH
Height: 25
Align: Center
ScrollPanel@SPAWN_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
X: 0
Width: PARENT_WIDTH
Height: 25
Align: Center
ScrollPanel@SPECTATOR_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@HEADER:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 13
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_WIDTH
Height: 10
Align: Center
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
Visible: false
EnableChildMouseOver: true
Children:
Image@FLAG:
Width: 23
Height: 23
X: 4
Y: 2
LabelWithTooltip@LABEL:
X: 34
Width: PARENT_WIDTH - 36
Height: 25
Shadow: True
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@NOFLAG_LABEL:
X: 5
Width: PARENT_WIDTH - 7
Height: 25
Shadow: True
ScrollPanel@NEWS_PANEL:
Width: 400
Height: 265
TopBottomSpacing: 15
ItemSpacing: 5
Children:
Container@NEWS_ITEM_TEMPLATE:
X: 10
Width: PARENT_WIDTH - 40
Height: 40
Children:
Label@TITLE:
Width: PARENT_WIDTH
Height: 15
Align: Center
Font: Bold
Label@AUTHOR_DATETIME:
Y: 20
Width: PARENT_WIDTH
Height: 15
Align: Center
Font: TinyBold
Label@CONTENT:
Y: 40
Width: PARENT_WIDTH
Label@NEWS_STATUS:
X: 80
Width: PARENT_WIDTH - 80 - 80 - 24
Height: PARENT_HEIGHT
Align: Center
VAlign: Middle

View File

@@ -0,0 +1,85 @@
Background@ENCYCLOPEDIA_PANEL:
Logic: EncyclopediaLogic
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 900
Height: 600
Children:
Container@ENCYCLOPEDIA_CONTENT:
Width: PARENT_WIDTH - 40
Height: PARENT_HEIGHT - 80
X: 20
Y: 20
Children:
Label@ENCYCLOPEDIA_TITLE:
Width: PARENT_WIDTH
Height: 25
Text: label-mentat-title
Align: Center
Font: Bold
ScrollPanel@ACTOR_LIST:
Y: 30
Width: 190
Height: PARENT_HEIGHT - 25
Children:
ScrollItem@HEADER:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 13
X: 2
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_WIDTH
Height: 13
Align: Center
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
EnableChildMouseOver: True
Children:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_WIDTH - 20
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Container@ACTOR_INFO:
X: PARENT_WIDTH - WIDTH
Y: 30
Width: PARENT_WIDTH - 190 - 10
Height: PARENT_HEIGHT - 25
Children:
Background@ACTOR_BG:
Width: 150
Height: 170
Background: dialog3
Children:
ActorPreview@ACTOR_PREVIEW:
X: 1
Y: 1
Width: PARENT_WIDTH - 2
Height: PARENT_HEIGHT - 2
ScrollPanel@ACTOR_DESCRIPTION_PANEL:
X: 150 + 10
Width: PARENT_WIDTH - 150 - 10
Height: 170
TopBottomSpacing: 8
Children:
Label@ACTOR_DESCRIPTION:
X: 8
Y: 8
Width: PARENT_WIDTH - 40
VAlign: Top
Font: Regular
Button@BACK_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-back
Font: Bold
Key: escape
TooltipContainer@TOOLTIP_CONTAINER:

View File

@@ -0,0 +1,192 @@
Container@SKIRMISH_STATS:
Height: PARENT_HEIGHT
Width: PARENT_WIDTH
Logic: GameInfoStatsLogic
Children:
Container@OBJECTIVE:
Height: 75
Children:
Label@MISSION:
X: 20
Y: 22
Width: 482
Height: 25
Font: MediumBold
Text: label-mission-objective
Label@STATS_STATUS:
X: 100
Y: 22
Width: PARENT_WIDTH - 10
Height: 25
Font: MediumBold
Checkbox@STATS_CHECKBOX:
X: 20
Y: 55
Width: 482
Height: 20
Font: Bold
Text: checkbox-stats-objective
Disabled: true
TextColorDisabled: FFFFFF
Container@STATS_HEADERS:
X: 22
Y: 81
Width: PARENT_WIDTH - 44
Children:
Label@NAME:
X: 10
Y: 1
Width: 210
Height: 25
Text: label-stats-player
Font: Bold
Label@FACTION:
X: 230
Y: 1
Width: 120
Height: 25
Text: label-stats-faction
Font: Bold
Label@SCORE:
X: 392
Y: 1
Width: 60
Height: 25
Text: label-stats-score
Font: Bold
Label@ACTIONS:
X: 457
Y: 1
Width: 80
Height: 25
Text: label-stats-actions
Font: Bold
ScrollPanel@PLAYER_LIST:
X: 20
Y: 105
Width: PARENT_WIDTH - 40
Height: 265
ItemSpacing: 5
Children:
ScrollItem@TEAM_TEMPLATE:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 20
X: 2
Visible: false
Children:
Label@TEAM:
X: 6
Width: 160
Height: 20
Font: Bold
Label@TEAM_SCORE:
X: 392
Width: 60
Height: 20
Font: Bold
Container@PLAYER_TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 8
Y: 4
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 8
Y: 4
Width: 16
Height: 16
Visible: false
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
LabelWithTooltip@NAME:
X: 29
Width: 191
Height: 25
Shadow: True
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Image@FACTIONFLAG:
X: 230
Y: 4
Width: 32
Height: 16
LabelWithTooltip@FACTION:
X: 264
Width: 123
Height: 25
Shadow: True
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@SCORE:
X: 392
Width: 60
Height: 25
Shadow: True
Checkbox@MUTE:
X: 457
Width: 25
Height: 25
Checkmark: mute
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
Button@KICK:
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 7
Y: 7
Container@SPECTATOR_TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 8
Y: 4
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 8
Y: 4
Width: 16
Height: 16
Visible: false
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
LabelWithTooltip@NAME:
X: 29
Width: 191
Height: 25
Shadow: True
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Checkbox@MUTE:
X: 457
Width: 25
Height: 25
Checkmark: mute
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
Button@KICK:
X: 485
Width: 25
Height: 25
Background: checkbox-toggle
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image:
ImageCollection: lobby-bits
ImageName: kick
X: 7
Y: 7

View File

@@ -0,0 +1,35 @@
Container@INGAME_MENU:
Width: WINDOW_WIDTH
Height: WINDOW_HEIGHT
Logic: IngameMenuLogic
Buttons: RESUME, LOAD_GAME, SAVE_GAME, SETTINGS, MUSIC, SURRENDER, RESTART, BACK_TO_EDITOR, ABORT_MISSION, SAVE_MAP, PLAY_MAP, EXIT_EDITOR
ButtonStride: 0, 40
Children:
Label@VERSION_LABEL:
Logic: VersionLabelLogic
X: WINDOW_WIDTH - 10
Y: WINDOW_HEIGHT - 19
Align: Right
Font: Regular
Contrast: True
Container@PANEL_ROOT:
Background@MENU_BUTTONS:
X: 13 + (WINDOW_WIDTH - 522) / 4 - WIDTH / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 200
Height: 120
Children:
Label@LABEL_TITLE:
X: (PARENT_WIDTH - WIDTH) / 2
Y: 21
Width: 200
Height: 30
Text: label-menu-buttons-title
Align: Center
Font: Bold
Button@BUTTON_TEMPLATE:
X: (PARENT_WIDTH - WIDTH) / 2
Y: 60
Width: 140
Height: 30
Font: Bold

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,669 @@
Container@PLAYER_WIDGETS:
Logic: LoadIngameChatLogic
Children:
Container@CHAT_ROOT:
LogicKeyListener@PLAYER_KEYHANDLER:
Logic: RemoveFromControlGroupHotkeyLogic
RemoveFromControlGroupKey: RemoveFromControlGroup
ControlGroups@CONTROLGROUPS:
SelectGroupKeyPrefix: ControlGroupSelect
CreateGroupKeyPrefix: ControlGroupCreate
AddToGroupKeyPrefix: ControlGroupAddTo
CombineWithGroupKeyPrefix: ControlGroupCombineWith
JumpToGroupKeyPrefix: ControlGroupJumpTo
LogicTicker@SIDEBAR_TICKER:
Container@SUPPORT_POWERS:
Logic: SupportPowerBinLogic
X: 10
Y: 10
Children:
SupportPowers@SUPPORT_PALETTE:
IconSize: 60, 48
IconSpriteOffset: -1, -1
TooltipContainer: TOOLTIP_CONTAINER
ReadyText: supportpowers-support-powers-palette.ready
HoldText: supportpowers-support-powers-palette.hold
HotkeyPrefix: SupportPower
HotkeyCount: 6
Image@COMMAND_BAR_BACKGROUND:
X: 0
Y: WINDOW_HEIGHT - HEIGHT
Width: 451
Height: 43
ImageCollection: commandbar
ImageName: background
ClickThrough: False
Container@COMMAND_BAR:
Logic: CommandBarLogic
X: 24
Y: WINDOW_HEIGHT - HEIGHT - 9
Width: 275
Height: 41
Children:
LogicKeyListener@MODIFIER_OVERRIDES:
Button@ATTACK_MOVE:
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
Key: AttackMove
DisableKeySound: true
TooltipText: button-command-bar-attack-move.tooltip
TooltipDesc: button-command-bar-attack-move.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: attack-move
Button@FORCE_MOVE:
X: 35
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
DisableKeySound: true
TooltipText: button-command-bar-force-move.tooltip
TooltipDesc: button-command-bar-force-move.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: force-move
Button@FORCE_ATTACK:
X: 70
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
DisableKeySound: true
TooltipText: button-command-bar-force-attack.tooltip
TooltipDesc: button-command-bar-force-attack.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: force-attack
Button@GUARD:
X: 105
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
Key: Guard
DisableKeySound: true
TooltipText: button-command-bar-guard.tooltip
TooltipDesc: button-command-bar-guard.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: guard
Button@DEPLOY:
X: 140
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
Key: Deploy
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: button-command-bar-deploy.tooltip
TooltipDesc: button-command-bar-deploy.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: deploy
Button@SCATTER:
X: 175
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
Key: Scatter
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: button-command-bar-scatter.tooltip
TooltipDesc: button-command-bar-scatter.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: scatter
Button@STOP:
X: 210
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
Key: Stop
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: button-command-bar-stop.tooltip
TooltipDesc: button-command-bar-stop.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: stop
Button@QUEUE_ORDERS:
X: 245
Width: 34
Height: 41
VisualHeight: 0
Background: command-button
DisableKeySound: true
TooltipText: button-command-bar-queue-orders.tooltip
TooltipDesc: button-command-bar-queue-orders.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP
Children:
Image@ICON:
X: 4
Y: 8
ImageCollection: command-icons
ImageName: queue-orders
Container@STANCE_BAR:
Logic: StanceSelectorLogic
X: 316
Y: WINDOW_HEIGHT - HEIGHT - 11
Width: 138
Height: 26
Children:
Button@STANCE_ATTACKANYTHING:
Width: 29
Height: 26
VisualHeight: 0
Background:
Key: StanceAttackAnything
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: button-stance-bar-attackanything.tooltip
TooltipDesc: button-stance-bar-attackanything.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 6
Y: 5
ImageCollection: stance-icons
ImageName: attack-anything
Button@STANCE_DEFEND:
X: 29
Width: 29
Height: 26
VisualHeight: 0
Background:
Key: StanceDefend
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: button-stance-bar-defend.tooltip
TooltipDesc: button-stance-bar-defend.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 6
Y: 5
ImageCollection: stance-icons
ImageName: defend
Button@STANCE_RETURNFIRE:
X: 58
Width: 29
Height: 26
VisualHeight: 0
Background:
Key: StanceReturnFire
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: button-stance-bar-returnfire.tooltip
TooltipDesc: button-stance-bar-returnfire.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 6
Y: 5
ImageCollection: stance-icons
ImageName: return-fire
Button@STANCE_HOLDFIRE:
X: 87
Width: 29
Height: 26
VisualHeight: 0
Background:
Key: StanceHoldFire
DisableKeyRepeat: true
DisableKeySound: true
TooltipText: button-stance-bar-holdfire.tooltip
TooltipDesc: button-stance-bar-holdfire.tooltipdesc
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 6
Y: 5
ImageCollection: stance-icons
ImageName: hold-fire
Container@MUTE_INDICATOR:
Logic: MuteIndicatorLogic
X: WINDOW_WIDTH - WIDTH - 231
Y: 5
Width: 200
Height: 25
Children:
Image@ICON:
X: PARENT_WIDTH - WIDTH
Y: 1
Width: 24
Height: 24
ImageCollection: sidebar-bits
ImageName: indicator-muted
Label@LABEL:
Width: PARENT_WIDTH - 30
Height: 25
Align: Right
Text: label-mute-indicator
Contrast: true
Image@SIDEBAR_BACKGROUND_TOP:
X: WINDOW_WIDTH - 226
Y: 0
Width: 226
Height: 295
ImageCollection: sidebar
ImageName: background-top
ClickThrough: false
Children:
Container@TOP_BUTTONS:
Logic: MenuButtonsChromeLogic
X: 16
Y: 236
Children:
Button@REPAIR_BUTTON:
Logic: RepairOrderButtonLogic
X: 29
Width: 34
Height: 35
Background:
Key: Repair
TooltipText: button-top-buttons-repair-tooltip
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
X: 0
Y: 0
ImageCollection: order-icons
Button@SELL_BUTTON:
Logic: SellOrderButtonLogic
X: 54
Width: 34
Height: 35
Background:
Key: Sell
TooltipText: button-top-buttons-sell-tooltip
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
X: 0
Y: 0
ImageCollection: order-icons
Button@BEACON_BUTTON:
Logic: BeaconOrderButtonLogic
X: 108
Width: 36
Height: 35
Background:
Key: PlaceBeacon
TooltipText: button-top-buttons-beacon-tooltip
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
X: 0
Y: 0
ImageCollection: order-icons
Button@POWER_BUTTON:
Logic: PowerdownOrderButtonLogic
X: 133
Width: 36
Height: 35
Background:
Key: PowerDown
TooltipText: button-top-buttons-power-tooltip
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
X: 0
Y: 0
ImageCollection: order-icons
MenuButton@OPTIONS_BUTTON:
Key: escape
X: 78
Y: 1
Width: 40
Height: 38
Background:
TooltipText: button-top-buttons-options-tooltip
TooltipContainer: TOOLTIP_CONTAINER
DisableWorldSounds: true
VisualHeight: 0
Children:
Image@ICON:
X: 0
Y: 0
ImageCollection: order-icons
ImageName: options
Container@RADAR:
Logic: IngameRadarDisplayLogic
Children:
LogicTicker@RADAR_TICKER:
Image@INSIGNIA:
Logic: AddFactionSuffixLogic
X: 63
Y: 88
ImageCollection: radar
ImageName: insignia
ColorBlock@RADAR_FADETOBLACK:
X: 12
Y: 34
Width: 202
Height: 202
Radar@RADAR_MINIMAP:
WorldInteractionController: INTERACTION_CONTROLLER
X: 12
Y: 34
Width: 202
Height: 202
SoundUp: RadarUp
SoundDown: RadarDown
Children:
VideoPlayer@PLAYER:
X: 12
Y: 32
Width: 202
Height: 202
Skippable: false
Container@MINIMAP_OVERLAY:
X: 12
Y: 34
Children:
Image@TOPLEFT:
ImageCollection: minimap-overlay
ImageName: top-left
Image@TOP:
X: 30
ImageCollection: minimap-overlay
ImageName: top
Image@TOPRIGHT:
X: 195
ImageCollection: minimap-overlay
ImageName: top-right
Image@LEFT:
Y: 94
ImageCollection: minimap-overlay
ImageName: left
Image@RIGHT:
X: 197
Y: 94
ImageCollection: minimap-overlay
ImageName: right
Image@BOTTOMLEFT:
Y: 195
ImageCollection: minimap-overlay
ImageName: bottom-left
Image@BOTTOMRIGHT:
X: 195
Y: 195
ImageCollection: minimap-overlay
ImageName: bottom-right
Label@GAME_TIMER:
Logic: GameTimerLogic
X: 10
Y: 4
Width: PARENT_WIDTH
Height: 22
Align: Center
Font: TinyBold
LabelWithTooltip@CASH:
Logic: IngameCashCounterLogic
X: 29
Y: 4
Width: 50
Height: 22
Font: Bold
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
LabelWithTooltip@POWER:
Logic: IngamePowerCounterLogic
X: PARENT_WIDTH - WIDTH - 30
Y: 4
Width: 50
Height: 22
Align: Right
Font: Bold
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Children:
Image@POWER_ICON:
X: PARENT_WIDTH + 0
Y: 3
ImageCollection: power-icons
ImageName: power-normal
Container@SIDEBAR_PRODUCTION:
Logic: ClassicProductionLogic
X: WINDOW_WIDTH - 226
Y: 279
Width: 226
Height: 250
Children:
Container@PALETTE_BACKGROUND:
Children:
Image@ROW_TEMPLATE:
Width: 226
Height: 48
ClickThrough: false
ImageCollection: sidebar
ImageName: background-iconrow
Image@BOTTOM_CAP:
Width: 250
Height: 13
ClickThrough: false
ImageCollection: sidebar
ImageName: background-bottom
Children:
Container@PURCHASE_PANEL:
Logic: PurchaseWidgetLogic
Children:
Button@PURCHASE_BUTTON:
X: PARENT_LEFT + 65
Y: PARENT_TOP + 1
Width: 125
Height: 29
Font: Bold
Background: button-purchase
TooltipText: purchase-panel-button-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Label@DELIVERY_IN:
X: PARENT_TOP + 80
Y: PARENT_LEFT + 3
TextColor: FFD091
Width: 100
Height: 22
Align: Center
Font: Bold
Text: purchase-panel-label-delivery
LogicTicker@PRODUCTION_TICKER:
ProductionPalette@PRODUCTION_PALETTE:
X: 39
Y: 1
TooltipContainer: TOOLTIP_CONTAINER
ReadyText: productionpalette-sidebar-production-palette.ready
HoldText: productionpalette-sidebar-production-palette.hold
IconSize: 58, 48
IconMargin: 2, 0
IconSpriteOffset: 0, 0
MinimumRows: 5
MaximumRows: 6
HotkeyPrefix: Production
HotkeyCount: 24
SelectProductionBuildingHotkey: SelectProductionBuilding
ClickSound: TabClick
Container@PRODUCTION_TYPES:
X: 6
Y: 2
Width: 25
Height: 274
Children:
ProductionTypeButton@BUILDING:
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-building-tooltip
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Building
Key: ProductionTypeBuilding
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: production-icons
ProductionTypeButton@INFANTRY:
Y: 62
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-infantry-tooltip
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Infantry
Key: ProductionTypeInfantry
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: production-icons
ProductionTypeButton@VEHICLE:
Y: 93
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-vehicle-tooltip
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Vehicle
Key: ProductionTypeVehicle
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: production-icons
ProductionTypeButton@TANKS:
Y: 124
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-tanks-tooltip
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Armor
Key: ProductionTypeTank
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: production-icons
ProductionTypeButton@AIRCRAFT:
Y: 155
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-aircraft-tooltip
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Aircraft
Key: ProductionTypeAircraft
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: production-icons
ProductionTypeButton@STARPORT:
Y: 186
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-starport-tooltip
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Starport
Key: ProductionTypeMerchant
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: production-icons
ProductionTypeButton@UPGRADE: # Upgrade is defined after others so it won't be automatically selected after sell or at game start.
Y: 31
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-upgrade-tooltip
TooltipContainer: TOOLTIP_CONTAINER
ProductionGroup: Upgrade
Key: ProductionTypeUpgrade
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: production-icons
Button@SCROLL_UP_BUTTON:
Y: 217
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-scroll-up-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: scrollpanel-decorations
ImageName: up
Button@SCROLL_DOWN_BUTTON:
Y: 248
Width: 25
Height: 25
VisualHeight: 0
Background: sidebar-button
TooltipText: button-production-types-scroll-down-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 5
Y: 5
ImageCollection: scrollpanel-decorations
ImageName: down
Container@HPF_ROOT:
Logic: LoadIngameHierarchicalPathFinderOverlayLogic
X: WINDOW_WIDTH - WIDTH - 231
Y: 40
Width: 175

View File

@@ -0,0 +1,505 @@
Container@LOBBY_PLAYER_BIN:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Container@LABEL_CONTAINER:
X: 5
Y: 0 - 26
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Label@LABEL_LOBBY_NAME:
Width: 180
Height: 25
Text: label-lobby-players-name
Align: Center
Font: Bold
Label@LABEL_LOBBY_COLOR:
X: 190
Width: 70
Height: 25
Text: label-lobby-players-color
Align: Center
Font: Bold
Label@LABEL_LOBBY_FACTION:
X: 270
Width: 140
Height: 25
Text: label-lobby-players-faction
Align: Center
Font: Bold
Label@LABEL_LOBBY_TEAM:
X: 420
Width: 48
Height: 25
Text: label-lobby-players-team
Align: Center
Font: Bold
Label@LABEL_LOBBY_HANDICAP:
X: 478
Width: 72
Height: 25
Text: label-lobby-players-handicap
Align: Center
Font: Bold
Label@LABEL_LOBBY_SPAWN:
X: 560
Width: 48
Height: 25
Text: label-lobby-players-spawn
Align: Center
Font: Bold
Label@LABEL_LOBBY_STATUS:
X: 617
Width: 20 + 24
Height: 25
Text: label-lobby-players-ready
Align: Left
Font: Bold
ScrollPanel@LOBBY_PLAYERS:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
TopBottomSpacing: 5
ItemSpacing: 5
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
X: 5
Width: 475
Height: 25
Visible: false
Children:
Container@LATENCY:
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
TextField@NAME:
X: 15
Width: 165
Height: 25
Text: Name
LeftMargin: 24
MaxLength: 16
Visible: false
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
DropDownButton@SLOT_OPTIONS:
X: 15
Width: 165
Height: 25
Text: label-lobby-players-name
Font: Regular
Visible: false
DropDownButton@COLOR:
X: 190
Width: 70
Height: 25
IgnoreChildMouseOver: true
Children:
ColorBlock@COLORBLOCK:
X: 5
Y: 6
Width: PARENT_WIDTH - 35
Height: PARENT_HEIGHT - 12
DropDownButton@FACTION:
X: 270
Width: 140
Height: 25
IgnoreChildMouseOver: true
TooltipContainer: TOOLTIP_CONTAINER
PanelRoot: FACTION_DROPDOWN_PANEL_ROOT # ensure that tooltips for the options are on top of the dropdown panel
Children:
Image@FACTIONFLAG:
X: 4
Y: 2
Width: 23
Height: 23
Label@FACTIONNAME:
X: 34
Width: 80
Height: 25
Text: label-lobby-players-faction
DropDownButton@TEAM_DROPDOWN:
X: 420
Width: 48
Height: 25
Text: label-lobby-players-team
DropDownButton@HANDICAP_DROPDOWN:
X: 478
Width: 72
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: dropdownbutton-lobby-players-handicap-tooltip
DropDownButton@SPAWN_DROPDOWN:
X: 560
Width: 48
Height: 25
Text: label-lobby-players-spawn
Checkbox@STATUS_CHECKBOX:
X: 617
Y: 2
Width: 20
Height: 20
Visible: false
Image@STATUS_IMAGE:
X: 619
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_NONEDITABLE_PLAYER:
X: 5
Width: 475
Height: 25
Visible: false
Children:
Container@LATENCY:
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
Image@PROFILE:
ImageCollection: lobby-bits
X: 18
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 18
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@NAME:
X: 39
Width: 146
Height: 25
Text: label-lobby-players-name
DropDownButton@PLAYER_ACTION:
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
Align: Left
LeftMargin: 24
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
ColorBlock@COLORBLOCK:
X: 195
Y: 6
Width: 35
Height: 13
Container@FACTION:
X: 270
Width: 170
Height: 25
Children:
Image@FACTIONFLAG:
X: 4
Y: 2
Width: 23
Height: 23
Label@FACTIONNAME:
X: 34
Width: 80
Height: 25
Text: label-lobby-players-faction
Label@TEAM:
X: 410
Width: 43
Height: 25
Align: Center
Text: label-lobby-players-team
DropDownButton@TEAM_DROPDOWN:
X: 420
Width: 48
Height: 25
Visible: false
Label@HANDICAP:
X: 478
Width: 47
Height: 25
Align: Center
DropDownButton@HANDICAP_DROPDOWN:
X: 478
Width: 72
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipText: dropdownbutton-lobby-players-handicap-tooltip
Label@SPAWN:
X: 560
Width: 23
Height: 25
Align: Center
DropDownButton@SPAWN_DROPDOWN:
X: 560
Width: 48
Height: 25
Visible: false
Image@STATUS_IMAGE:
X: 619
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_EMPTY:
X: 5
Width: 475
Height: 25
Visible: false
Children:
Label@NAME:
X: 20
Width: 165
Height: 25
Text: label-lobby-players-name
DropDownButton@SLOT_OPTIONS:
X: 15
Width: 165
Height: 25
Text: label-lobby-players-name
Visible: false
Button@JOIN:
X: 190
Width: 418
Height: 25
Text: button-lobby-players-join
Container@TEMPLATE_EDITABLE_SPECTATOR:
X: 5
Width: 475
Height: 25
Visible: false
Children:
Container@LATENCY:
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
TextField@NAME:
X: 15
Width: 165
Height: 25
Text: Name
LeftMargin: 24
MaxLength: 16
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@SPECTATOR:
X: 190
Width: 418
Height: 25
Text: label-lobby-players-spectator
Align: Center
Font: Bold
Checkbox@STATUS_CHECKBOX:
X: 617
Y: 2
Width: 20
Height: 20
Visible: false
Image@STATUS_IMAGE:
X: 619
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X: 5
Width: 475
Height: 25
Visible: false
Children:
Container@LATENCY:
Y: 6
Width: 11
Height: 14
Visible: false
Children:
ColorBlock@LATENCY_COLOR:
X: 2
Y: 2
Width: PARENT_WIDTH - 4
Height: PARENT_HEIGHT - 4
ClientTooltipRegion@LATENCY_REGION:
Width: 11
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
Image@PROFILE:
ImageCollection: lobby-bits
X: 18
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 18
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@NAME:
X: 39
Width: 160
Height: 25
Text: label-lobby-players-name
DropDownButton@PLAYER_ACTION:
X: 15
Width: 165
Height: 25
Font: Regular
Visible: false
Align: Left
LeftMargin: 24
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@SPECTATOR:
X: 190
Width: 418
Height: 25
Text: label-lobby-players-spectator
Align: Center
Font: Bold
Image@STATUS_IMAGE:
X: 619
Y: 4
Width: 20
Height: 20
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_NEW_SPECTATOR:
X: 5
Width: 475
Height: 25
Visible: false
Children:
Checkbox@TOGGLE_SPECTATORS:
X: 15
Width: 165
Height: 20
Text: checkbox-lobby-players-new-spectator-toggle
Font: Regular
Button@SPECTATE:
X: 190
Width: 418
Height: 25
Text: button-lobby-players-spectate
Font: Regular
ScrollPanel@FACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH
Children:
ScrollItem@HEADER:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 13
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_WIDTH
Height: 13
Align: Center
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
Visible: false
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@FLAG:
X: 2
Y: 2
Width: 30
Height: 15
Label@LABEL:
X: 30
Width: 80
Height: 25

View File

@@ -0,0 +1,272 @@
Container@MAINMENU:
Logic: MainMenuLogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic, MuteHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
MuteAudioKey: ToggleMute
Label@VERSION_LABEL:
Logic: VersionLabelLogic
X: WINDOW_WIDTH - 10
Y: WINDOW_HEIGHT - 19
Align: Right
Font: Regular
Shadow: True
Container@MENUS:
X: 13 + (WINDOW_WIDTH - 522) / 4 - WIDTH / 2
Y: WINDOW_HEIGHT / 2 - HEIGHT / 2
Width: 200
Height: 320
Children:
Background@MAIN_MENU:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Label@MAINMENU_LABEL_TITLE:
X: 0
Y: 21
Width: 200
Height: 30
Text: label-openra
Align: Center
Font: Bold
Button@SINGLEPLAYER_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 60
Width: 140
Height: 30
Text: label-singleplayer-title
Font: Bold
Button@MULTIPLAYER_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 100
Width: 140
Height: 30
Text: label-multiplayer-title
Font: Bold
Button@SETTINGS_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 140
Width: 140
Height: 30
Text: button-settings-title
Font: Bold
Button@EXTRAS_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 180
Width: 140
Height: 30
Text: button-extras-title
Font: Bold
Button@CONTENT_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 220
Width: 140
Height: 30
Text: button-main-menu-content
Font: Bold
Button@QUIT_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 260
Width: 140
Height: 30
Text: button-quit
Font: Bold
Background@SINGLEPLAYER_MENU:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Label@SINGLEPLAYER_MENU_TITLE:
X: 0
Y: 21
Width: 200
Height: 30
Text: label-singleplayer-title
Align: Center
Font: Bold
Button@SKIRMISH_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 60
Width: 140
Height: 30
Text: button-singleplayer-menu-skirmish
Font: Bold
Button@MISSIONS_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 100
Width: 140
Height: 30
Text: label-missions-title
Font: Bold
Button@LOAD_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 140
Width: 140
Height: 30
Text: button-singleplayer-menu-load
Font: Bold
Button@ENCYCLOPEDIA_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 180
Width: 140
Height: 30
Text: label-mentat-title
Font: Bold
Button@BACK_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Key: escape
Y: 260
Width: 140
Height: 30
Text: button-back
Font: Bold
Background@EXTRAS_MENU:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Label@EXTRAS_MENU_TITLE:
X: 0
Y: 21
Width: 200
Height: 30
Text: button-extras-title
Align: Center
Font: Bold
Button@REPLAYS_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 60
Width: 140
Height: 30
Text: button-extras-menu-replays
Font: Bold
Button@MUSIC_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 100
Width: 140
Height: 30
Text: label-music-title
Font: Bold
Button@MAP_EDITOR_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 140
Width: 140
Height: 30
Text: label-map-editor-title
Font: Bold
Button@ASSETBROWSER_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 180
Width: 140
Height: 30
Text: button-extras-menu-assetbrowser
Font: Bold
Button@CREDITS_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 220
Width: 140
Height: 30
Text: label-credits-title
Font: Bold
Button@BACK_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Key: escape
Y: 260
Width: 140
Height: 30
Text: button-back
Font: Bold
Background@MAP_EDITOR_MENU:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Children:
Label@MAP_EDITOR_MENU_TITLE:
X: 0
Y: 21
Width: 200
Height: 30
Text: label-map-editor-title
Align: Center
Font: Bold
Button@NEW_MAP_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 60
Width: 140
Height: 30
Text: button-map-editor-new-map
Font: Bold
Button@LOAD_MAP_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Y: 100
Width: 140
Height: 30
Text: button-map-editor-load-map
Font: Bold
Button@BACK_BUTTON:
X: PARENT_WIDTH / 2 - WIDTH / 2
Key: escape
Y: 260
Width: 140
Height: 30
Text: button-back
Font: Bold
Background@NEWS_BG:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: 35
Width: 430
Height: 55
Children:
DropDownButton@NEWS_BUTTON:
X: 15
Y: 15
Width: 400
Height: 25
Text: dropdownbutton-news-bg-button
Font: Bold
Container@UPDATE_NOTICE:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: 96
Width: 128
Children:
Label@A:
Width: PARENT_WIDTH
Height: 25
Align: Center
Shadow: true
Text: label-update-notice-a
Label@B:
Y: 20
Width: PARENT_WIDTH
Height: 25
Align: Center
Shadow: true
Text: label-update-notice-b
Container@PERFORMANCE_INFO:
Logic: PerfDebugLogic
Children:
Label@PERF_TEXT:
X: 30
Y: WINDOW_HEIGHT - 69
Width: 170
Height: 40
Contrast: true
Background@GRAPH_BG:
ClickThrough: true
Background: dialog4
X: WINDOW_WIDTH - 240
Y: WINDOW_HEIGHT - 240
Width: 210
Height: 210
Children:
PerfGraph@GRAPH:
X: 5
Y: 5
Width: 200
Height: 200
Container@PLAYER_PROFILE_CONTAINER:
Logic: LoadLocalPlayerProfileLogic
X: 5
Y: 5

View File

@@ -0,0 +1,256 @@
Background@MISSIONBROWSER_PANEL:
Logic: MissionBrowserLogic
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 682
Height: 591
Children:
Label@MISSIONBROWSER_TITLE:
Y: 20
Width: PARENT_WIDTH
Height: 25
Text: label-missions-title
Align: Center
Font: Bold
ScrollPanel@MISSION_LIST:
X: 20
Y: 50
Width: 190
Height: 483
Children:
ScrollItem@HEADER:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 13
X: 2
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_WIDTH
Height: 13
Align: Center
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
EnableChildMouseOver: True
Children:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_WIDTH - 20
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Container@MISSION_INFO:
X: 220
Y: 50
Width: PARENT_WIDTH - 240
Height: 483
Children:
Background@MISSION_BG:
Width: PARENT_WIDTH
Height: 225
Background: dialog3
Children:
MapPreview@MISSION_PREVIEW:
X: 1
Y: 1
Width: PARENT_WIDTH - 2
Height: PARENT_HEIGHT - 2
IgnoreMouseOver: True
IgnoreMouseInput: True
ShowSpawnPoints: False
Container@MISSION_TABS:
Width: PARENT_WIDTH
Y: PARENT_HEIGHT - 31
Children:
Button@MISSIONINFO_TAB:
Width: PARENT_WIDTH / 2
Height: 31
Font: Bold
Text: button-missionbrowser-panel-mission-info
Button@OPTIONS_TAB:
X: PARENT_WIDTH / 2
Width: PARENT_WIDTH / 2
Height: 31
Font: Bold
Text: button-missionbrowser-panel-mission-options
Container@MISSION_DETAIL:
Y: 235
Width: PARENT_WIDTH
Height: PARENT_HEIGHT - 235
Children:
ScrollPanel@MISSION_DESCRIPTION_PANEL:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT - 30
TopBottomSpacing: 5
Children:
Label@MISSION_DESCRIPTION:
X: 4
Width: PARENT_WIDTH - 32
VAlign: Top
Font: Small
ScrollPanel@MISSION_OPTIONS:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT - 30
TopBottomSpacing: 5
Children:
Container@CHECKBOX_ROW_TEMPLATE:
Width: PARENT_WIDTH
Height: 30
Children:
Checkbox@A:
X: 10
Width: PARENT_WIDTH / 2 - 25
Height: 20
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Checkbox@B:
X: PARENT_WIDTH / 2 + 5
Width: PARENT_WIDTH / 2 - 25
Height: 20
Visible: False
TooltipContainer: TOOLTIP_CONTAINER
Container@DROPDOWN_ROW_TEMPLATE:
Height: 60
Width: PARENT_WIDTH
Children:
LabelForInput@A_DESC:
X: 10
Width: PARENT_WIDTH / 2 - 35
Height: 20
Visible: False
For: A
DropDownButton@A:
X: 10
Width: PARENT_WIDTH / 2 - 35
Y: 25
Height: 25
Visible: False
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
LabelForInput@B_DESC:
X: PARENT_WIDTH / 2 + 5
Width: PARENT_WIDTH / 2 - 35
Height: 20
Visible: False
For: B
DropDownButton@B:
X: PARENT_WIDTH / 2 + 5
Width: PARENT_WIDTH / 2 - 35
Y: 25
Height: 25
Visible: False
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
Container@MISSION_MINIFIED_OPTIONS:
X: 220
Width: PARENT_WIDTH - 220
Height: PARENT_HEIGHT
Visible: False
Children:
LabelForInput@DIFFICULTY_DESC:
Y: PARENT_HEIGHT - 80
Width: 56
Height: 25
Align: Right
Text: dropdown-missionbrowser-difficulty.label
For: DIFFICULTY
DropDownButton@DIFFICULTY:
X: 71
Y: PARENT_HEIGHT - 80
Width: 140
Height: 25
Font: Regular
Text: label-missionbrowser-normal-difficulty
TooltipText: dropdown-missionbrowser-difficulty.description
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
LabelForInput@GAMESPEED_DESC:
X: PARENT_WIDTH - 140 - WIDTH - 35
Y: PARENT_HEIGHT - 80
Width: 56
Height: 25
Align: Right
Text: dropdown-missionbrowser-gamespeed
For: GAMESPEED
DropDownButton@GAMESPEED:
X: PARENT_WIDTH - 160
Y: PARENT_HEIGHT - 80
Width: 140
Height: 25
Font: Regular
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
Button@START_BRIEFING_VIDEO_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 130
Height: 25
Text: button-missionbrowser-panel-start-briefing-video
Font: Bold
Button@STOP_BRIEFING_VIDEO_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 130
Height: 25
Text: button-missionbrowser-panel-stop-briefing-video
Font: Bold
Button@START_INFO_VIDEO_BUTTON:
X: 160
Y: PARENT_HEIGHT - 45
Width: 130
Height: 25
Text: button-missionbrowser-panel-start-info-video
Font: Bold
Button@STOP_INFO_VIDEO_BUTTON:
X: 160
Y: PARENT_HEIGHT - 45
Width: 130
Height: 25
Text: button-missionbrowser-panel-stop-info-video
Font: Bold
Button@STARTGAME_BUTTON:
X: PARENT_WIDTH - 140 - 130
Y: PARENT_HEIGHT - 45
Width: 120
Height: 25
Text: button-missionbrowser-panel-play
Font: Bold
Button@BACK_BUTTON:
X: PARENT_WIDTH - 140
Y: PARENT_HEIGHT - 45
Width: 120
Height: 25
Text: button-back
Font: Bold
Key: escape
Background@MISSION_BIN:
X: 20
Y: 50
Width: 642
Height: 483
Background: dialog3
Children:
VideoPlayer@MISSION_VIDEO:
X: 1
Y: 1
Width: 640
Height: 480
AspectRatio: 1.2
DrawOverlay: False
Container@MISSION_DROPDOWN_PANEL_ROOT:
TooltipContainer@TOOLTIP_CONTAINER:
Background@FULLSCREEN_PLAYER:
Width: WINDOW_WIDTH
Height: WINDOW_HEIGHT
Background: dialog5
Visible: False
Children:
VideoPlayer@PLAYER:
X: 0
Y: 0
Width: WINDOW_WIDTH
Height: WINDOW_HEIGHT

View File

@@ -0,0 +1,84 @@
ScrollPanel@MULTIPLAYER_CLIENT_LIST:
Width: PARENT_WIDTH
Height: 159
IgnoreChildMouseOver: true
Children:
ScrollItem@HEADER:
Background: scrollheader
Width: PARENT_WIDTH - 27
Height: 13
X: 2
Y: 0
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_WIDTH
Height: 13
Align: Center
ScrollItem@TEMPLATE:
Width: PARENT_WIDTH - 27
Height: 25
X: 2
Y: 0
Visible: false
Children:
Image@FLAG:
X: 4
Y: 2
Width: 32
Height: 16
Visible: False
Label@LABEL:
X: 35
Width: PARENT_WIDTH - 45
Height: 25
Shadow: True
Label@NOFLAG_LABEL:
X: 5
Width: PARENT_WIDTH
Height: 25
ScrollPanel@MULTIPLAYER_FILTER_PANEL:
Width: 158
Height: 130
Children:
Checkbox@WAITING_FOR_PLAYERS:
X: 5
Y: 5
Width: PARENT_WIDTH - 29
Height: 20
Text: checkbox-multiplayer-filter-panel-waiting-for-players
TextColor: 32CD32
Font: Regular
Checkbox@EMPTY:
X: 5
Y: 30
Width: PARENT_WIDTH - 29
Height: 20
Text: checkbox-multiplayer-filter-panel-empty
Font: Regular
Checkbox@PASSWORD_PROTECTED:
X: 5
Y: 55
Width: PARENT_WIDTH - 29
Height: 20
Text: checkbox-multiplayer-filter-panel-password-protected
TextColor: FF0000
Font: Regular
Checkbox@ALREADY_STARTED:
X: 5
Y: 80
Width: PARENT_WIDTH - 29
Height: 20
Text: checkbox-multiplayer-filter-panel-already-started
TextColor: FFA500
Font: Regular
Checkbox@INCOMPATIBLE_VERSION:
X: 5
Y: 105
Width: PARENT_WIDTH - 29
Height: 20
Text: checkbox-multiplayer-filter-panel-incompatible-version
TextColor: BEBEBE
Font: Regular

View File

@@ -0,0 +1,358 @@
Background@SIMPLE_TOOLTIP:
Logic: SimpleTooltipLogic
Background: dialog3
Height: 34
Children:
Container@LINE_HEIGHT:
Y: 5
Height: 19
Label@LABEL:
X: 5
Y: 0 - 1
Height: 23
Font: Bold
Background@BUTTON_TOOLTIP:
Logic: ButtonTooltipLogic
Background: dialog3
Height: 31
Children:
Label@LABEL:
X: 5
Y: 4
Height: 23
Font: Bold
Label@HOTKEY:
Visible: false
Y: 4
Height: 23
TextColor: FFFF00
Font: Bold
Label@DESC:
X: 5
Y: 31
Height: 12
Font: TinyBold
VAlign: Top
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
Logic: ButtonTooltipLogic
Highlight: FFFF00
Background: dialog3
Height: 31
Children:
Label@LABEL:
X: 5
Y: 4
Height: 23
Font: Bold
Label@HOTKEY:
Y: 4
Visible: false
TextColor: FFFF00
Height: 23
Font: Bold
LabelWithHighlight@DESC:
X: 5
Y: 29
Height: 12
Font: TinyBold
VAlign: Top
Background@WORLD_TOOLTIP:
Logic: WorldTooltipLogic
Background: dialog3
Children:
Container@SINGLE_HEIGHT:
Height: 32
Container@DOUBLE_HEIGHT:
Height: 56
Label@LABEL:
X: 7
Y: 4
Height: 23
Font: Bold
Image@FLAG:
X: 7
Y: 27
Width: 23
Height: 23
Label@OWNER:
X: 35
Y: 26
Height: 23
Font: Bold
Shadow: True
Label@EXTRA:
X: 7
Y: 58
Height: 4
Font: Bold
Background@SPAWN_TOOLTIP:
Logic: SpawnSelectorTooltipLogic
Background: dialog3
Width: 7
Children:
Container@SINGLE_HEIGHT:
Height: 31
Container@DOUBLE_HEIGHT:
Height: 47
Label@LABEL:
Y: 4
Height: 23
Font: Bold
Image@FLAG:
X: 5
Y: 5
Width: 23
Height: 23
Label@TEAM:
Y: 29
Height: 15
Font: TinyBold
Align: center
Background@LATENCY_TOOLTIP:
Logic: LatencyTooltipLogic
Background: dialog3
Height: 31
Width: 7
Children:
Label@LATENCY_PREFIX:
X: 7
Y: 4
Width: 200
Height: 23
Font: Bold
Text: label-latency-tooltip-prefix
Label@LATENCY:
Y: 4
Height: 23
Font: Bold
Background@BOT_TOOLTIP:
Logic: BotTooltipLogic
Background: dialog3
Height: 30
Width: 300
Children:
Label@NAME:
X: 7
Y: 3
Text: label-bot-player-tooltip-name
Width: 290
Height: 24
Font: Bold
Background@ANONYMOUS_PLAYER_TOOLTIP:
Logic: AnonymousProfileTooltipLogic
Background: dialog3
Height: 32
Width: 300
Children:
Label@NAME:
X: 7
Y: 3
Text: label-anonymous-player-tooltip-name
Width: 290
Height: 24
Font: MediumBold
Label@LOCATION:
X: 7
Y: 26
Height: 12
Visible: False
Font: TinyBold
Label@IP:
X: 7
Y: 26
Height: 12
Visible: False
Font: TinyBold
Container@GAME_ADMIN:
X: 7
Y: 26
Height: 12
Visible: False
Children:
Image@ICON:
X: 1
Y: 4
Width: 7
Height: 5
ImageCollection: lobby-bits
ImageName: admin
Label@LABEL:
X: 10
Width: 200
Height: 12
Text: label-game-admin
Font: TinyBold
Background@REGISTERED_PLAYER_TOOLTIP:
Logic: RegisteredProfileTooltipLogic
Background: dialog3
Width: 270
Children:
Container@HEADER:
Width: PARENT_WIDTH
Children:
Container@PROFILE_HEADER:
Height: 45
Children:
Label@PROFILE_NAME:
X: 7
Y: 3
Width: PARENT_WIDTH - 20
Height: 24
Font: MediumBold
Label@PROFILE_RANK:
X: 7
Y: 25
Width: PARENT_WIDTH - 20
Height: 12
Font: TinyBold
Container@GAME_ADMIN:
X: 7
Y: 37
Width: PARENT_WIDTH - 20
Height: 12
Visible: False
Children:
Image@ICON:
Y: 5
Width: 7
Height: 5
ImageCollection: lobby-bits
ImageName: admin
Label@LABEL:
X: 10
Y: 1
Width: 200
Height: 12
Text: label-game-admin
Font: TinyBold
Container@MESSAGE_HEADER:
Height: 31
Width: PARENT_WIDTH
Children:
Label@MESSAGE:
X: 7
Y: 4
Width: PARENT_WIDTH - 14
Height: 23
Font: Bold
Container@BADGES_CONTAINER:
Width: PARENT_WIDTH
Visible: false
Children:
Background@SEPARATOR:
X: 10
Height: 1
Background: tooltip-separator
Background@PRODUCTION_TOOLTIP:
Logic: ProductionTooltipLogic
Background: dialog3
Width: 200
Height: 65
Children:
Label@NAME:
X: 7
Y: 3
Height: 23
Font: Bold
Label@HOTKEY:
Visible: false
Y: 3
Height: 23
TextColor: FFFF00
Font: Bold
Label@REQUIRES:
X: 7
Y: 22
Height: 15
Font: TinyBold
Label@DESC:
X: 7
Y: 23
Height: 3
Font: TinyBold
VAlign: Top
Image@COST_ICON:
Y: 5
Width: 16
Height: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-cost
Label@COST:
Y: 1
Height: 23
Font: Bold
Image@TIME_ICON:
X: 3
Y: 26
Width: 16
Height: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-time
Label@TIME:
Y: 22
Height: 23
Font: Bold
Image@POWER_ICON:
Y: 46
Width: 16
Height: 16
ImageCollection: sidebar-bits
ImageName: production-tooltip-power
Label@POWER:
Y: 42
Height: 23
Font: Bold
Background@SUPPORT_POWER_TOOLTIP:
Logic: SupportPowerTooltipLogic
Background: dialog3
Width: 200
Height: 36
Children:
Label@NAME:
X: 7
Y: 3
Height: 23
Font: Bold
Label@HOTKEY:
Visible: false
Y: 3
Height: 23
TextColor: FFFF00
Font: Bold
Label@TIME:
Y: 11
Font: TinyBold
VAlign: Top
Label@DESC:
X: 7
Y: 30
Font: TinyBold
VAlign: Top
Background@ARMY_TOOLTIP:
Logic: ArmyTooltipLogic
Background: dialog3
Width: 200
Height: 65
Children:
Label@NAME:
X: 7
Y: 3
Height: 23
Font: Bold
Label@DESC:
X: 7
Y: 23
Height: 3
Font: TinyBold
VAlign: Top