Files
OpenRA/mods/ra/chrome/gamelobby.yaml
2011-06-24 17:26:33 +12:00

717 lines
12 KiB
YAML

Background@SERVER_LOBBY:
Id:SERVER_LOBBY
Logic:LobbyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:800
Height:600
Children:
Label@LOBBY_TITLE:
Id:LOBBY_TITLE
X:0
Y:17
Align:Center
Width:800
Height:20
Font:Bold
Text:OpenRA Multiplayer Lobby
Background@LOBBY_MAP_BG:
X:PARENT_RIGHT-268
Y:50
Width:252
Height:252
Background:dialog3
Children:
MapPreview@LOBBY_MAP_PREVIEW:
Id:LOBBY_MAP_PREVIEW
X:4
Y:4
Width:244
Height:244
ScrollPanel@PLAYERS:
Id:PLAYERS
X:20
Y:67
ItemSpacing:5
Width:504
Height:235
Children:
Container@TEMPLATE_LOCAL:
Id:TEMPLATE_LOCAL
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Id:NAME
Text:Name
Width:150
Height:25
X:0
Y:0
MaxLength:16
DropDownButton@COLOR:
Id:COLOR
Width:80
Height:25
X:160
Y:0
Children:
ColorBlock@COLORBLOCK:
Id:COLORBLOCK
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
DropDownButton@FACTION:
Id:FACTION
Width:130
Height:25
X:250
Y:0
Children:
Image@FACTIONFLAG:
Id:FACTIONFLAG
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
DropDownButton@TEAM:
Id:TEAM
Text:Team
Width:48
Height:25
X:390
Y:0
Checkbox@STATUS:
Id:STATUS
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_REMOTE:
Id:TEMPLATE_REMOTE
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:145
Height:25
X:5
Y:0-1
Button@KICK:
Id:KICK
Text:X
Width:25
Height:23
X:125
Y:2
Font:Bold
ColorBlock@COLOR:
Id:COLOR
X:165
Y:6
Width:45
Height:13
Label@FACTION:
Id:FACTION
Width:130
Height:25
X:250
Y:0
Children:
Image@FACTIONFLAG:
Id:FACTIONFLAG
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
Label@TEAM:
Id:TEAM
Text:Team
Width:23
Height:25
Align:Center
X:390
Y:0
Checkbox@STATUS:
Id:STATUS
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_EMPTY:
Id:TEMPLATE_EMPTY
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:145
Height:25
X:5
Y:0-1
Button@JOIN:
Id:JOIN
Text:Play in this slot
Width:278
Height:25
X:160
Y:0
Label@BOT:
Id:BOT
Text:Bot
Width:278
Height:25
X:160
Y:0
Align:Center
Font:Bold
Container@TEMPLATE_EMPTY_HOST:
Id:TEMPLATE_EMPTY_HOST
X:5
Y:0
Width:400
Height:25
Visible:false
Children:
DropDownButton@NAME:
Id:NAME
Text:Name
Width:150
Height:25
X:0
Y:0
Button@JOIN:
Id:JOIN
Text:Play in this slot
Width:278
Height:25
X:160
Y:0
Label@BOT:
Id:BOT
Text:Bot
Width:278
Height:25
X:160
Y:0
Align:Center
Font:Bold
Container@TEMPLATE_LOCAL_SPECTATOR:
Id:TEMPLATE_LOCAL_SPECTATOR
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Id:NAME
Text:Name
Width:150
Height:25
MaxLength:16
DropDownButton@COLOR:
Id:COLOR
Width:80
Height:25
X:160
Font:Regular
Children:
ColorBlock@COLORBLOCK:
Id:COLORBLOCK
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
Label@SPECTATOR:
Text:Spectator
Width:198
Height:25
X:240
Y:0
Align:Center
Font:Bold
Checkbox@STATUS:
Id:STATUS
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_REMOTE_SPECTATOR:
Id:TEMPLATE_REMOTE_SPECTATOR
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:145
Height:25
X:5
Y:0-1
Button@KICK:
Id:KICK
Text:X
Width:25
Height:23
X:125
Y:2
Font:Bold
ColorBlock@COLOR:
Id:COLOR
X:165
Y:6
Width:45
Height:13
Label@SPECTATOR:
Text:Spectator
Width:198
Height:25
X:240
Y:0
Align:Center
Font:Bold
Checkbox@STATUS:
Id:STATUS
X:448
Y:2
Width:20
Height:20
Container@TEMPLATE_NEW_SPECTATOR:
Id:TEMPLATE_NEW_SPECTATOR
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Button@SPECTATE:
Id:SPECTATE
Text:Spectate
Font:Regular
Width:278
Height:25
X:160
Y:0
Container@LABEL_CONTAINER:
X:25
Y:40
Children:
Label@LABEL_LOBBY_NAME:
Id:LABEL_LOBBY_NAME
Width:150
Height:25
X:0
Y:0
Text:Name
Align:Center
Font:Bold
Label@LABEL_LOBBY_COLOR:
Id:LABEL_LOBBY_COLOR
Width:80
Height:25
X:160
Y:0
Text:Color
Align:Center
Font:Bold
Label@LABEL_LOBBY_FACTION:
Id:LABEL_LOBBY_FACTION
Width:130
Height:25
X:250
Y:0
Text:Faction
Align:Center
Font:Bold
Label@LABEL_LOBBY_TEAM:
Id:LABEL_LOBBY_TEAM
Width:48
Height:25
X:390
Y:0
Text:Team
Align:Center
Font:Bold
Label@LABEL_LOBBY_STATUS:
Id:LABEL_LOBBY_STATUS
X:448
Y:0
Width:20
Height:25
Text:Ready
Align:Left
Font:Bold
Button@CHANGEMAP_BUTTON:
Id:CHANGEMAP_BUTTON
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-269
Width:120
Height:25
Text:Change Map
Font:Bold
ChatDisplay@CHAT_DISPLAY:
Id:CHAT_DISPLAY
X:20
Notification: rabeep1.aud
Height:230
Y:PARENT_BOTTOM - 289
Width:PARENT_RIGHT - 200
Label@LABEL_CHATTYPE:
Id:LABEL_CHATTYPE
Width:65
Height:25
X:0
Y:PARENT_BOTTOM - 50
Text:Chat:
Align:Right
TextField@CHAT_TEXTFIELD:
Id:CHAT_TEXTFIELD
X:70
Y:PARENT_BOTTOM - 49
Width:550
Height:25
Button@START_GAME_BUTTON:
Id:START_GAME_BUTTON
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-49
Width:120
Height:25
Text:Start Game
Font:Bold
Button@DISCONNECT_BUTTON:
Id:DISCONNECT_BUTTON
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-189+25
Width:120
Height:25
Text:Disconnect
Font:Bold
Checkbox@LOCKTEAMS_CHECKBOX:
Id:LOCKTEAMS_CHECKBOX
X: PARENT_RIGHT-154
Y: PARENT_BOTTOM-229
Width: 80
Height: 20
Text: Lock Teams
Checkbox@ALLOWCHEATS_CHECKBOX:
Id:ALLOWCHEATS_CHECKBOX
X: PARENT_RIGHT-154
Y: PARENT_BOTTOM-229+25
Width: 80
Height: 20
Text: Allow Cheats
Background@COLOR_CHOOSER:
Id:COLOR_CHOOSER
Background:dialog2
Width:310
Height:120
Children:
Button@BUTTON_OK:
Id:BUTTON_OK
X:210
Y:85
Width:90
Height:25
Text:Ok
Font:Bold
ShpImage@FACT:
Id:FACT
X:220
Y:10
Image:fact
Palette:colorpicker
Label@HUE_LABEL:
X:0
Y:5
Width:40
Height:20
Align: Right
Text: Hue:
Slider@HUE:
Id:HUE_SLIDER
X:43
Y:10
Width:160
Height:20
Ticks:5
Label@SAT_LABEL:
X:0
Y:30
Width:40
Height:20
Align: Right
Text: Sat:
Slider@SAT:
Id:SAT_SLIDER
X:43
Y:35
Width:160
Height:20
Ticks:5
Label@LUM_LABEL:
X:0
Y:55
Width:40
Height:20
Align: Right
Text: Lum:
Slider@LUM:
Id:LUM_SLIDER
X:43
Y:60
Width:160
Height:20
Ticks:5
Range:0.2,1
Label@RANGE_LABEL:
X:0
Y:80
Width:40
Height:20
Align: Right
Text: Ran:
Slider@RANGE:
Id:RANGE_SLIDER
X:43
Y:85
Width:160
Height:20
Ticks:5
Range:0,0.25
Background@MAP_CHOOSER:
Id:MAP_CHOOSER
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Logic:MapChooserLogic
Width:800
Height:600
Children:
Label@MAPCHOOSER_TITLE:
X:0
Y:17
Align:Center
Width:800
Height:20
Text:Choose Map
Font:Bold
ScrollPanel@MAP_LIST:
Id:MAP_LIST
X:20
Y:67
Width:504
Height:474
Children:
ScrollItem@MAP_TEMPLATE:
Id:MAP_TEMPLATE
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@TITLE:
X:10
Id:TITLE
Width:PARENT_RIGHT-100
Height:25
Label@PLAYERS:
Id:PLAYERS
X:PARENT_RIGHT-150
Width:30
Height:25
Label@TYPE:
Id:TYPE
Width:90
X:PARENT_RIGHT-100
Align:Right
Height:25
Container@MAP_LABELS:
Width:494
Height:25
X:25
Y:40
Children:
Label@TITLE:
Width:125
Height:25
X:0
Y:0
Text:Title
Align:Center
Font:Bold
Label@PLAYERS:
Text:Players
Font:Bold
Width:50
X:304
Height:25
Label@TYPE:
Text:Type
Font:Bold
Width:50
X:420
Height:25
Background@MAPCHOOSER_MAP_BG:
X:PARENT_RIGHT-268
Y:50
Width:252
Height:252
Background:dialog3
Children:
MapPreview@MAPCHOOSER_MAP_PREVIEW:
Id:MAPCHOOSER_MAP_PREVIEW
X:4
Y:4
Width:244
Height:244
Container@MAP_LABEL_CONTAINER:
Width:70
Height:200
X:PARENT_RIGHT - 255
Y:311
Children:
Label@CURMAP_TITLE_LABEL:
Id:CURMAP_TITLE_LABEL
X:0
Y:0
Align:Right
Width:70
Height:20
Text:Title:
Font:Bold
Label@CURMAP_TITLE:
Id:CURMAP_TITLE
X:75
Y:0
Align:Left
Width:70
Height:20
Label@CURMAP_AUTHOR_LABEL:
Id:CURMAP_AUTHOR_LABEL
X:0
Y:20
Align:Right
Width:70
Height:20
Text:Author:
Font:Bold
Label@CURMAP_AUTHOR:
Id:CURMAP_AUTHOR
X:75
Y:20
Align:Left
Width:175
Height:20
WordWrap:True
Label@CURMAP_SIZE_LABEL:
Id:CURMAP_SIZE_LABEL
X:0
Y:40
Align:Right
Width:70
Height:20
Text:Size:
Font:Bold
Label@CURMAP_SIZE:
Id:CURMAP_SIZE
X:75
Y:40
Align:Left
Width:70
Height:20
Label@CURMAP_THEATER_LABEL:
Id:CURMAP_THEATER_LABEL
X:0
Y:60
Align:Right
Width:70
Height:20
Text:Theater:
Font:Bold
Label@CURMAP_THEATER:
Id:CURMAP_THEATER
X:75
Y:60
Align:Left
Width:70
Height:20
Label@CURMAP_PLAYERS_LABEL:
Id:CURMAP_PLAYERS_LABEL
X:0
Y:80
Align:Right
Width:70
Height:20
Text:Players:
Font:Bold
Label@CURMAP_PLAYERS:
Id:CURMAP_PLAYERS
X:75
Y:80
Align:Left
Width:70
Height:20
Label@CURMAP_DESC_LABEL:
Id:CURMAP_DESC_LABEL
X:0
Y:100
Align:Right
Width:70
Height:20
Text:Desc:
Font:Bold
Label@CURMAP_DESC:
Id:CURMAP_DESC
X:75
Y:100
Align:Left
Width:170
Height:20
WordWrap:True
Button@BUTTON_OK:
Id:BUTTON_OK
X:PARENT_RIGHT - 295
Y:PARENT_BOTTOM - 49
Width:120
Height:25
Text:Ok
Font:Bold
Button@BUTTON_CANCEL:
Id:BUTTON_CANCEL
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-49
Width:120
Height:25
Text:Cancel
Font:Bold