Files
OpenRA/mods/cnc/chrome/multiplayer-createserver.yaml

234 lines
4.8 KiB
YAML

Container@MULTIPLAYER_CREATESERVER_PANEL:
Logic: ServerCreationLogic
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT - 15) / 2
Width: 530
Height: 275
Children:
Label@TITLE:
Width: PARENT_RIGHT
Height: 25
Y: 0 - 34
Font: BigBold
Contrast: true
Align: Center
Text: label-multiplayer-createserver-panel-title
Background@bg:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Background: panel-black
Children:
Label@SERVER_NAME_LABEL:
Y: 14
Width: 105
Height: 25
Align: Right
Text: label-bg-server-name
TextField@SERVER_NAME:
X: 110
Y: 15
Width: 215
MaxLength: 50
Height: 25
Text: My OpenRA Server
Label@PASSWORD_LABEL:
Y: 49
Width: 105
Height: 25
Align: Right
Text: label-bg-password
PasswordField@PASSWORD:
X: 110
Y: 50
Width: 145
MaxLength: 20
Height: 25
Label@AFTER_PASSWORD_LABEL:
X: 265
Y: 49
Width: 105
Height: 25
Align: Left
Text: label-bg-after-password
Label@LISTEN_PORT_LABEL:
Y: 84
Width: 105
Height: 25
Align: Right
Text: label-bg-listen-port
TextField@LISTEN_PORT:
X: 110
Y: 85
Width: 50
Height: 25
MaxLength: 5
Text: 1234
Type: Integer
Checkbox@ADVERTISE_CHECKBOX:
X: 180
Y: 87
Width: 150
Height: 20
Font: Regular
Text: checkbox-bg-advertise
Label@NOTICES_HEADER_A:
X: 15
Y: 125
Height: 25
Align: Left
Font: Bold
Label@NOTICES_HEADER_B:
X: 15
Y: 125
Height: 25
Align: Left
Font: Bold
Label@NOTICES_HEADER_C:
X: 15
Y: 125
Height: 25
Align: Left
Font: Bold
Container@NOTICES_LAN:
X: 20
Y: 145
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@ADVERTISING:
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-lan-advertising
Label@FIREWALL:
Y: 12
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-lan-firewall
Label@PORTFORWARD_A:
Y: 24
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-lan-portforward-a
Label@PORTFORWARD_B:
X: 7
Y: 36
Width: 295
Height: 25
Font: Tiny
Align: Left
Text: label-notices-lan-portforward-b
Container@NOTICES_NO_UPNP:
X: 20
Y: 145
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@ADVERTISING:
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-no-upnp-advertising
Label@FIREWALL:
Y: 12
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-no-upnp-firewall
Label@PORTFORWARD_A:
Y: 24
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-no-upnp-portforward-a
Label@PORTFORWARD_B:
X: 7
Y: 36
Width: 295
Height: 25
Font: Tiny
Align: Left
Text: label-notices-no-upnp-portforward-b
Label@SETTINGS_A:
Y: 48
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-no-upnp-settings-a
Label@SETTINGS_B:
X: 7
Y: 60
Width: 295
Height: 25
Font: Tiny
Align: Left
Text: label-notices-no-upnp-settings-b
Container@NOTICES_UPNP:
X: 20
Y: 145
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@ADVERTISING:
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-upnp-advertising
Label@FIREWALL:
Y: 12
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-upnp-firewall
Label@PORTFORWARD_A:
Y: 24
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-upnp-portforward-a
Label@SETTINGS_A:
Y: 36
Width: 305
Height: 25
Font: Tiny
Align: Left
Text: label-notices-upnp-settings-a
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - 189
Y: 15
Width: 174
Height: 250
Button@BACK_BUTTON:
Key: return
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-back
Button@MAP_BUTTON:
X: PARENT_RIGHT - WIDTH - 150
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-multiplayer-createserver-panel-change-map
Button@CREATE_BUTTON:
Key: return
X: PARENT_RIGHT - WIDTH
Y: PARENT_BOTTOM - 1
Width: 140
Height: 35
Text: button-multiplayer-createserver-panel-create
TooltipContainer@TOOLTIP_CONTAINER: