Overhaul lobby layout.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
class KickClientLogic
|
class KickClientLogic
|
||||||
{
|
{
|
||||||
[ObjectCreator.UseCtor]
|
[ObjectCreator.UseCtor]
|
||||||
public KickClientLogic(Widget widget, string clientName, Action<bool> okPressed)
|
public KickClientLogic(Widget widget, string clientName, Action<bool> okPressed, Action cancelPressed)
|
||||||
{
|
{
|
||||||
widget.Get<LabelWidget>("TITLE").GetText = () => "Kick {0}?".F(clientName);
|
widget.Get<LabelWidget>("TITLE").GetText = () => "Kick {0}?".F(clientName);
|
||||||
|
|
||||||
@@ -31,7 +31,11 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
okPressed(tempBan);
|
okPressed(tempBan);
|
||||||
};
|
};
|
||||||
|
|
||||||
widget.Get<ButtonWidget>("CANCEL_BUTTON").OnClick = () => widget.Parent.RemoveChild(widget);
|
widget.Get<ButtonWidget>("CANCEL_BUTTON").OnClick = () =>
|
||||||
|
{
|
||||||
|
widget.Parent.RemoveChild(widget);
|
||||||
|
cancelPressed();
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
{
|
{
|
||||||
public class LobbyLogic
|
public class LobbyLogic
|
||||||
{
|
{
|
||||||
|
enum PanelType { Players, Options, Kick }
|
||||||
|
PanelType panel = PanelType.Players;
|
||||||
|
|
||||||
Widget lobby;
|
Widget lobby;
|
||||||
Widget EditablePlayerTemplate, NonEditablePlayerTemplate, EmptySlotTemplate,
|
Widget EditablePlayerTemplate, NonEditablePlayerTemplate, EmptySlotTemplate,
|
||||||
EditableSpectatorTemplate, NonEditableSpectatorTemplate, NewSpectatorTemplate;
|
EditableSpectatorTemplate, NonEditableSpectatorTemplate, NewSpectatorTemplate;
|
||||||
@@ -37,8 +40,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
readonly Action onExit;
|
readonly Action onExit;
|
||||||
readonly OrderManager orderManager;
|
readonly OrderManager orderManager;
|
||||||
|
|
||||||
public bool TeamGame;
|
|
||||||
|
|
||||||
// Listen for connection failures
|
// Listen for connection failures
|
||||||
void ConnectionStateChanged(OrderManager om)
|
void ConnectionStateChanged(OrderManager om)
|
||||||
{
|
{
|
||||||
@@ -103,6 +104,8 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
|
|
||||||
UpdateCurrentMap();
|
UpdateCurrentMap();
|
||||||
Players = Ui.LoadWidget<ScrollPanelWidget>("LOBBY_PLAYER_BIN", lobby, new WidgetArgs());
|
Players = Ui.LoadWidget<ScrollPanelWidget>("LOBBY_PLAYER_BIN", lobby, new WidgetArgs());
|
||||||
|
Players.IsVisible = () => panel == PanelType.Players;
|
||||||
|
|
||||||
EditablePlayerTemplate = Players.Get("TEMPLATE_EDITABLE_PLAYER");
|
EditablePlayerTemplate = Players.Get("TEMPLATE_EDITABLE_PLAYER");
|
||||||
NonEditablePlayerTemplate = Players.Get("TEMPLATE_NONEDITABLE_PLAYER");
|
NonEditablePlayerTemplate = Players.Get("TEMPLATE_NONEDITABLE_PLAYER");
|
||||||
EmptySlotTemplate = Players.Get("TEMPLATE_EMPTY");
|
EmptySlotTemplate = Players.Get("TEMPLATE_EMPTY");
|
||||||
@@ -145,31 +148,36 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
CountryNames.Add("random", "Any");
|
CountryNames.Add("random", "Any");
|
||||||
|
|
||||||
var gameStarting = false;
|
var gameStarting = false;
|
||||||
|
Func<bool> configurationDisabled = () => !Game.IsHost || gameStarting || panel == PanelType.Kick ||
|
||||||
|
orderManager.LocalClient == null || orderManager.LocalClient.IsReady;
|
||||||
|
|
||||||
var mapButton = lobby.Get<ButtonWidget>("CHANGEMAP_BUTTON");
|
var mapButton = lobby.GetOrNull<ButtonWidget>("CHANGEMAP_BUTTON");
|
||||||
mapButton.OnClick = () =>
|
if (mapButton != null)
|
||||||
{
|
{
|
||||||
var onSelect = new Action<Map>(m =>
|
mapButton.IsDisabled = configurationDisabled;
|
||||||
|
mapButton.OnClick = () =>
|
||||||
{
|
{
|
||||||
orderManager.IssueOrder(Order.Command("map " + m.Uid));
|
var onSelect = new Action<Map>(m =>
|
||||||
Game.Settings.Server.Map = m.Uid;
|
{
|
||||||
Game.Settings.Save();
|
orderManager.IssueOrder(Order.Command("map " + m.Uid));
|
||||||
});
|
Game.Settings.Server.Map = m.Uid;
|
||||||
|
Game.Settings.Save();
|
||||||
|
});
|
||||||
|
|
||||||
Ui.OpenWindow("MAPCHOOSER_PANEL", new WidgetArgs()
|
Ui.OpenWindow("MAPCHOOSER_PANEL", new WidgetArgs()
|
||||||
{
|
{
|
||||||
{ "initialMap", Map.Uid },
|
{ "initialMap", Map.Uid },
|
||||||
{ "onExit", () => {} },
|
{ "onExit", () => {} },
|
||||||
{ "onSelect", onSelect }
|
{ "onSelect", onSelect }
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
mapButton.IsVisible = () => mapButton.Visible && Game.IsHost;
|
}
|
||||||
|
|
||||||
var slotsButton = lobby.GetOrNull<DropDownButtonWidget>("SLOTS_DROPDOWNBUTTON");
|
var slotsButton = lobby.GetOrNull<DropDownButtonWidget>("SLOTS_DROPDOWNBUTTON");
|
||||||
if (slotsButton != null)
|
if (slotsButton != null)
|
||||||
{
|
{
|
||||||
slotsButton.IsDisabled = () => !Game.IsHost || gameStarting || orderManager.LocalClient == null ||
|
slotsButton.IsDisabled = () => configurationDisabled() || panel != PanelType.Players ||
|
||||||
orderManager.LocalClient.IsReady || !orderManager.LobbyInfo.Slots.Values.Any(s => s.AllowBots || !s.LockTeam);
|
!orderManager.LobbyInfo.Slots.Values.Any(s => s.AllowBots || !s.LockTeam);
|
||||||
|
|
||||||
var aiModes = Rules.Info["player"].Traits.WithInterface<IBotInfo>().Select(t => t.Name);
|
var aiModes = Rules.Info["player"].Traits.WithInterface<IBotInfo>().Select(t => t.Name);
|
||||||
slotsButton.OnMouseDown = _ =>
|
slotsButton.OnMouseDown = _ =>
|
||||||
@@ -213,7 +221,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
options.Add("Bots", botOptions);
|
options.Add("Configure Bots", botOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
var teamCount = (orderManager.LobbyInfo.Slots.Count(s => !s.Value.LockTeam && orderManager.LobbyInfo.ClientInSlot(s.Key) != null) + 1) / 2;
|
var teamCount = (orderManager.LobbyInfo.Slots.Count(s => !s.Value.LockTeam && orderManager.LobbyInfo.ClientInSlot(s.Key) != null) + 1) / 2;
|
||||||
@@ -226,7 +234,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
OnClick = () => orderManager.IssueOrder(Order.Command("assignteams {0}".F(d.ToString())))
|
OnClick = () => orderManager.IssueOrder(Order.Command("assignteams {0}".F(d.ToString())))
|
||||||
});
|
});
|
||||||
|
|
||||||
options.Add("Teams", teamOptions);
|
options.Add("Configure Teams", teamOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
Func<DropDownOption, ScrollItemWidget, ScrollItemWidget> setupItem = (option, template) =>
|
Func<DropDownOption, ScrollItemWidget, ScrollItemWidget> setupItem = (option, template) =>
|
||||||
@@ -239,42 +247,59 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
var disconnectButton = lobby.Get<ButtonWidget>("DISCONNECT_BUTTON");
|
var optionsBin = Ui.LoadWidget("LOBBY_OPTIONS_BIN", lobby, new WidgetArgs());
|
||||||
disconnectButton.OnClick = () => { CloseWindow(); onExit(); };
|
optionsBin.IsVisible = () => panel == PanelType.Options;
|
||||||
|
|
||||||
var allowCheats = lobby.Get<CheckboxWidget>("ALLOWCHEATS_CHECKBOX");
|
var optionsButton = lobby.Get<ButtonWidget>("OPTIONS_BUTTON");
|
||||||
allowCheats.IsChecked = () => orderManager.LobbyInfo.GlobalSettings.AllowCheats;
|
optionsButton.IsDisabled = () => panel == PanelType.Kick;
|
||||||
allowCheats.IsDisabled = () => !Game.IsHost || gameStarting || orderManager.LocalClient == null
|
optionsButton.GetText = () => panel == PanelType.Options ? "Players" : "Options";
|
||||||
|| orderManager.LocalClient.IsReady;
|
optionsButton.OnClick = () => panel = (panel == PanelType.Options) ? PanelType.Players : PanelType.Options;
|
||||||
allowCheats.OnClick = () => orderManager.IssueOrder(Order.Command(
|
|
||||||
|
var startGameButton = lobby.GetOrNull<ButtonWidget>("START_GAME_BUTTON");
|
||||||
|
if (startGameButton != null)
|
||||||
|
{
|
||||||
|
startGameButton.IsDisabled = () => configurationDisabled() ||
|
||||||
|
orderManager.LobbyInfo.Slots.Any(sl => sl.Value.Required && orderManager.LobbyInfo.ClientInSlot(sl.Key) == null);
|
||||||
|
startGameButton.OnClick = () =>
|
||||||
|
{
|
||||||
|
gameStarting = true;
|
||||||
|
orderManager.IssueOrder(Order.Command("startgame"));
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// Options panel
|
||||||
|
var allowCheats = optionsBin.GetOrNull<CheckboxWidget>("ALLOWCHEATS_CHECKBOX");
|
||||||
|
if (allowCheats != null)
|
||||||
|
{
|
||||||
|
allowCheats.IsChecked = () => orderManager.LobbyInfo.GlobalSettings.AllowCheats;
|
||||||
|
allowCheats.IsDisabled = configurationDisabled;
|
||||||
|
allowCheats.OnClick = () => orderManager.IssueOrder(Order.Command(
|
||||||
"allowcheats {0}".F(!orderManager.LobbyInfo.GlobalSettings.AllowCheats)));
|
"allowcheats {0}".F(!orderManager.LobbyInfo.GlobalSettings.AllowCheats)));
|
||||||
|
}
|
||||||
|
|
||||||
var crates = lobby.GetOrNull<CheckboxWidget>("CRATES_CHECKBOX");
|
var crates = optionsBin.GetOrNull<CheckboxWidget>("CRATES_CHECKBOX");
|
||||||
if (crates != null)
|
if (crates != null)
|
||||||
{
|
{
|
||||||
crates.IsChecked = () => orderManager.LobbyInfo.GlobalSettings.Crates;
|
crates.IsChecked = () => orderManager.LobbyInfo.GlobalSettings.Crates;
|
||||||
crates.IsDisabled = () => !Game.IsHost || gameStarting || orderManager.LocalClient == null
|
crates.IsDisabled = configurationDisabled;
|
||||||
|| orderManager.LocalClient.IsReady; // maybe disable the checkbox if a map forcefully removes CrateDrop?
|
|
||||||
crates.OnClick = () => orderManager.IssueOrder(Order.Command(
|
crates.OnClick = () => orderManager.IssueOrder(Order.Command(
|
||||||
"crates {0}".F(!orderManager.LobbyInfo.GlobalSettings.Crates)));
|
"crates {0}".F(!orderManager.LobbyInfo.GlobalSettings.Crates)));
|
||||||
}
|
}
|
||||||
|
|
||||||
var fragileAlliance = lobby.GetOrNull<CheckboxWidget>("FRAGILEALLIANCES_CHECKBOX");
|
var fragileAlliance = optionsBin.GetOrNull<CheckboxWidget>("FRAGILEALLIANCES_CHECKBOX");
|
||||||
if (fragileAlliance != null)
|
if (fragileAlliance != null)
|
||||||
{
|
{
|
||||||
fragileAlliance.IsChecked = () => orderManager.LobbyInfo.GlobalSettings.FragileAlliances;
|
fragileAlliance.IsChecked = () => orderManager.LobbyInfo.GlobalSettings.FragileAlliances;
|
||||||
fragileAlliance.IsDisabled = () => !Game.IsHost || gameStarting
|
fragileAlliance.IsDisabled = configurationDisabled;
|
||||||
|| orderManager.LocalClient == null || orderManager.LocalClient.IsReady;
|
|
||||||
fragileAlliance.OnClick = () => orderManager.IssueOrder(Order.Command(
|
fragileAlliance.OnClick = () => orderManager.IssueOrder(Order.Command(
|
||||||
"fragilealliance {0}".F(!orderManager.LobbyInfo.GlobalSettings.FragileAlliances)));
|
"fragilealliance {0}".F(!orderManager.LobbyInfo.GlobalSettings.FragileAlliances)));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var difficulty = optionsBin.GetOrNull<DropDownButtonWidget>("DIFFICULTY_DROPDOWNBUTTON");
|
||||||
var difficulty = lobby.GetOrNull<DropDownButtonWidget>("DIFFICULTY_DROPDOWNBUTTON");
|
|
||||||
if (difficulty != null)
|
if (difficulty != null)
|
||||||
{
|
{
|
||||||
difficulty.IsVisible = () => Map != null && Map.Difficulties != null && Map.Difficulties.Any();
|
difficulty.IsVisible = () => Map != null && Map.Difficulties != null && Map.Difficulties.Any();
|
||||||
difficulty.IsDisabled = () => !Game.IsHost || gameStarting || orderManager.LocalClient == null || orderManager.LocalClient.IsReady;
|
difficulty.IsDisabled = configurationDisabled;
|
||||||
difficulty.GetText = () => orderManager.LobbyInfo.GlobalSettings.Difficulty;
|
difficulty.GetText = () => orderManager.LobbyInfo.GlobalSettings.Difficulty;
|
||||||
difficulty.OnMouseDown = _ =>
|
difficulty.OnMouseDown = _ =>
|
||||||
{
|
{
|
||||||
@@ -292,17 +317,13 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
};
|
};
|
||||||
difficulty.ShowDropDown("LABEL_DROPDOWN_TEMPLATE", options.Count() * 30, options, setupItem);
|
difficulty.ShowDropDown("LABEL_DROPDOWN_TEMPLATE", options.Count() * 30, options, setupItem);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var difficultyDesc = optionsBin.GetOrNull<LabelWidget>("DIFFICULTY_DESC");
|
||||||
|
difficultyDesc.IsVisible = difficulty.IsVisible;
|
||||||
}
|
}
|
||||||
|
|
||||||
var startGameButton = lobby.Get<ButtonWidget>("START_GAME_BUTTON");
|
var disconnectButton = lobby.Get<ButtonWidget>("DISCONNECT_BUTTON");
|
||||||
startGameButton.IsVisible = () => Game.IsHost;
|
disconnectButton.OnClick = () => { CloseWindow(); onExit(); };
|
||||||
startGameButton.IsDisabled = () => gameStarting
|
|
||||||
|| orderManager.LobbyInfo.Slots.Any(sl => sl.Value.Required && orderManager.LobbyInfo.ClientInSlot(sl.Key) == null);
|
|
||||||
startGameButton.OnClick = () =>
|
|
||||||
{
|
|
||||||
gameStarting = true;
|
|
||||||
orderManager.IssueOrder(Order.Command("startgame"));
|
|
||||||
};
|
|
||||||
|
|
||||||
bool teamChat = false;
|
bool teamChat = false;
|
||||||
var chatLabel = lobby.Get<LabelWidget>("LABEL_CHATTYPE");
|
var chatLabel = lobby.Get<LabelWidget>("LABEL_CHATTYPE");
|
||||||
@@ -401,8 +422,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
void UpdatePlayerList()
|
void UpdatePlayerList()
|
||||||
{
|
{
|
||||||
var idx = 0;
|
var idx = 0;
|
||||||
TeamGame = false;
|
|
||||||
|
|
||||||
foreach (var kv in orderManager.LobbyInfo.Slots)
|
foreach (var kv in orderManager.LobbyInfo.Slots)
|
||||||
{
|
{
|
||||||
var key = kv.Key;
|
var key = kv.Key;
|
||||||
@@ -449,9 +468,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
LobbyUtils.SetupEditableFactionWidget(template, slot, client, orderManager, CountryNames);
|
LobbyUtils.SetupEditableFactionWidget(template, slot, client, orderManager, CountryNames);
|
||||||
LobbyUtils.SetupEditableTeamWidget(template, slot, client, orderManager, Map.GetSpawnPoints().Length);
|
LobbyUtils.SetupEditableTeamWidget(template, slot, client, orderManager, Map.GetSpawnPoints().Length);
|
||||||
LobbyUtils.SetupEditableReadyWidget(template, slot, client, orderManager);
|
LobbyUtils.SetupEditableReadyWidget(template, slot, client, orderManager);
|
||||||
|
|
||||||
if (slot.LockTeam || client.Team > 0)
|
|
||||||
TeamGame = true;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ // Non-editable player in slot
|
{ // Non-editable player in slot
|
||||||
@@ -460,7 +476,8 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
|
|
||||||
LobbyUtils.SetupClientWidget(template, slot, client, orderManager, client.Bot == null);
|
LobbyUtils.SetupClientWidget(template, slot, client, orderManager, client.Bot == null);
|
||||||
LobbyUtils.SetupNameWidget(template, slot, client);
|
LobbyUtils.SetupNameWidget(template, slot, client);
|
||||||
LobbyUtils.SetupKickWidget(template, slot, client, orderManager, lobby);
|
LobbyUtils.SetupKickWidget(template, slot, client, orderManager, lobby,
|
||||||
|
() => panel = PanelType.Kick, () => panel = PanelType.Players);
|
||||||
LobbyUtils.SetupColorWidget(template, slot, client);
|
LobbyUtils.SetupColorWidget(template, slot, client);
|
||||||
LobbyUtils.SetupFactionWidget(template, slot, client, CountryNames);
|
LobbyUtils.SetupFactionWidget(template, slot, client, CountryNames);
|
||||||
LobbyUtils.SetupTeamWidget(template, slot, client);
|
LobbyUtils.SetupTeamWidget(template, slot, client);
|
||||||
@@ -502,7 +519,8 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
template = NonEditableSpectatorTemplate.Clone();
|
template = NonEditableSpectatorTemplate.Clone();
|
||||||
|
|
||||||
LobbyUtils.SetupNameWidget(template, null, client);
|
LobbyUtils.SetupNameWidget(template, null, client);
|
||||||
LobbyUtils.SetupKickWidget(template, null, client, orderManager, lobby);
|
LobbyUtils.SetupKickWidget(template, null, client, orderManager, lobby,
|
||||||
|
() => panel = PanelType.Kick, () => panel = PanelType.Players);
|
||||||
}
|
}
|
||||||
|
|
||||||
LobbyUtils.SetupClientWidget(template, null, c, orderManager, true);
|
LobbyUtils.SetupClientWidget(template, null, c, orderManager, true);
|
||||||
|
|||||||
@@ -266,17 +266,23 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
slot.IsVisible = () => false;
|
slot.IsVisible = () => false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SetupKickWidget(Widget parent, Session.Slot s, Session.Client c, OrderManager orderManager, Widget lobby)
|
public static void SetupKickWidget(Widget parent, Session.Slot s, Session.Client c, OrderManager orderManager, Widget lobby, Action before, Action after)
|
||||||
{
|
{
|
||||||
var button = parent.Get<ButtonWidget>("KICK");
|
var button = parent.Get<ButtonWidget>("KICK");
|
||||||
button.IsVisible = () => Game.IsHost && c.Index != orderManager.LocalClient.Index;
|
button.IsVisible = () => Game.IsHost && c.Index != orderManager.LocalClient.Index;
|
||||||
button.IsDisabled = () => orderManager.LocalClient.IsReady;
|
button.IsDisabled = () => orderManager.LocalClient.IsReady;
|
||||||
Action<bool> okPressed = tempBan => orderManager.IssueOrder(Order.Command("kick {0} {1}".F(c.Index, tempBan)));
|
Action<bool> okPressed = tempBan => { orderManager.IssueOrder(Order.Command("kick {0} {1}".F(c.Index, tempBan))); after(); };
|
||||||
button.OnClick = () => Game.LoadWidget(null, "KICK_CLIENT_DIALOG", lobby, new WidgetArgs
|
button.OnClick = () =>
|
||||||
{
|
{
|
||||||
{ "clientName", c.Name },
|
before();
|
||||||
{ "okPressed", okPressed }
|
|
||||||
});
|
Game.LoadWidget(null, "KICK_CLIENT_DIALOG", lobby, new WidgetArgs
|
||||||
|
{
|
||||||
|
{ "clientName", c.Name },
|
||||||
|
{ "okPressed", okPressed },
|
||||||
|
{ "cancelPressed", after }
|
||||||
|
});
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SetupEditableColorWidget(Widget parent, Session.Slot s, Session.Client c, OrderManager orderManager, ColorPreviewManagerWidget colorPreview)
|
public static void SetupEditableColorWidget(Widget parent, Session.Slot s, Session.Client c, OrderManager orderManager, ColorPreviewManagerWidget colorPreview)
|
||||||
|
|||||||
@@ -148,10 +148,10 @@ Container@CONFIRM_PROMPT:
|
|||||||
Background@KICK_CLIENT_DIALOG:
|
Background@KICK_CLIENT_DIALOG:
|
||||||
X:15
|
X:15
|
||||||
Y:30
|
Y:30
|
||||||
Width:503
|
Width:501
|
||||||
Height:219
|
Height:219
|
||||||
Logic:KickClientLogic
|
Logic:KickClientLogic
|
||||||
Background:panel-black
|
Background:scrollpanel-bg
|
||||||
Children:
|
Children:
|
||||||
Label@TITLE:
|
Label@TITLE:
|
||||||
X:0
|
X:0
|
||||||
@@ -195,4 +195,50 @@ Background@KICK_CLIENT_DIALOG:
|
|||||||
Width:120
|
Width:120
|
||||||
Height:25
|
Height:25
|
||||||
Text:Cancel
|
Text:Cancel
|
||||||
|
Font:Bold
|
||||||
|
|
||||||
|
Background@LOBBY_OPTIONS_BIN:
|
||||||
|
X:15
|
||||||
|
Y:30
|
||||||
|
Width:501
|
||||||
|
Height:219
|
||||||
|
Background:scrollpanel-bg
|
||||||
|
Children:
|
||||||
|
Label@TITLE:
|
||||||
|
X:0
|
||||||
|
Y:50
|
||||||
|
Width:PARENT_RIGHT
|
||||||
|
Height:25
|
||||||
|
Font:Bold
|
||||||
|
Align:Center
|
||||||
|
Text: Map Options
|
||||||
|
Checkbox@ALLOWCHEATS_CHECKBOX:
|
||||||
|
X:150
|
||||||
|
Y:80
|
||||||
|
Width:80
|
||||||
|
Height:20
|
||||||
|
Text:Enable Cheats / Debug Menu
|
||||||
|
Checkbox@CRATES_CHECKBOX:
|
||||||
|
X:150
|
||||||
|
Y:110
|
||||||
|
Width:80
|
||||||
|
Height:20
|
||||||
|
Text:Enable Crates
|
||||||
|
Checkbox@FRAGILEALLIANCES_CHECKBOX:
|
||||||
|
X:150
|
||||||
|
Y:140
|
||||||
|
Width:80
|
||||||
|
Height:20
|
||||||
|
Text:Allow Team Changes
|
||||||
|
Label@DIFFICULTY_DESC:
|
||||||
|
X:150
|
||||||
|
Y:170
|
||||||
|
Width:120
|
||||||
|
Height:25
|
||||||
|
Text:Mission Difficulty:
|
||||||
|
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
|
||||||
|
X:265
|
||||||
|
Y:170
|
||||||
|
Width:100
|
||||||
|
Height:25
|
||||||
Font:Bold
|
Font:Bold
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
ScrollPanel@LOBBY_PLAYER_BIN:
|
ScrollPanel@LOBBY_PLAYER_BIN:
|
||||||
X:15
|
X:15
|
||||||
Y:30
|
Y:30
|
||||||
Width:503
|
Width:501
|
||||||
ItemSpacing:5
|
|
||||||
Height:219
|
Height:219
|
||||||
|
ItemSpacing:5
|
||||||
Children:
|
Children:
|
||||||
Container@TEMPLATE_EDITABLE_PLAYER:
|
Container@TEMPLATE_EDITABLE_PLAYER:
|
||||||
X:5
|
X:5
|
||||||
@@ -94,7 +94,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
ImageName:checked
|
ImageName:checked
|
||||||
Checkbox@STATUS_CHECKBOX:
|
Checkbox@STATUS_CHECKBOX:
|
||||||
Visible:false
|
Visible:false
|
||||||
X:448
|
X:446
|
||||||
Y:2
|
Y:2
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
@@ -129,11 +129,10 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Width:11
|
Width:11
|
||||||
Height:25
|
Height:25
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
X:20
|
||||||
Width:185
|
|
||||||
Height:25
|
|
||||||
X:15
|
|
||||||
Y:0-1
|
Y:0-1
|
||||||
|
Width:180
|
||||||
|
Height:25
|
||||||
Button@KICK:
|
Button@KICK:
|
||||||
Width:25
|
Width:25
|
||||||
Height:25
|
Height:25
|
||||||
@@ -174,7 +173,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Y:0
|
Y:0
|
||||||
Image@STATUS_IMAGE:
|
Image@STATUS_IMAGE:
|
||||||
Visible:false
|
Visible:false
|
||||||
X:450
|
X:448
|
||||||
Y:4
|
Y:4
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
@@ -195,16 +194,15 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Font:Regular
|
Font:Regular
|
||||||
Visible:false
|
Visible:false
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
X:20
|
||||||
Width:200
|
|
||||||
Height:25
|
|
||||||
X:15
|
|
||||||
Y:0-1
|
Y:0-1
|
||||||
|
Width:195
|
||||||
|
Height:25
|
||||||
Visible:false
|
Visible:false
|
||||||
Button@JOIN:
|
Button@JOIN:
|
||||||
Text:Play in this slot
|
Text:Play in this slot
|
||||||
Font:Regular
|
Font:Regular
|
||||||
Width:315-55
|
Width:257
|
||||||
Height:25
|
Height:25
|
||||||
X:210
|
X:210
|
||||||
Y:0
|
Y:0
|
||||||
@@ -283,11 +281,10 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Width:11
|
Width:11
|
||||||
Height:25
|
Height:25
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
X:20
|
||||||
Width:185
|
|
||||||
Height:25
|
|
||||||
X:15
|
|
||||||
Y:0-1
|
Y:0-1
|
||||||
|
Width:180
|
||||||
|
Height:25
|
||||||
Button@KICK:
|
Button@KICK:
|
||||||
Text:X
|
Text:X
|
||||||
Width:25
|
Width:25
|
||||||
@@ -306,14 +303,14 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Container@TEMPLATE_NEW_SPECTATOR:
|
Container@TEMPLATE_NEW_SPECTATOR:
|
||||||
X:5
|
X:5
|
||||||
Y:0
|
Y:0
|
||||||
Width:475
|
Width:474
|
||||||
Height:25
|
Height:25
|
||||||
Visible:false
|
Visible:false
|
||||||
Children:
|
Children:
|
||||||
Button@SPECTATE:
|
Button@SPECTATE:
|
||||||
Text:Spectate
|
Text:Spectate
|
||||||
Font:Regular
|
Font:Regular
|
||||||
Width:455
|
Width:453
|
||||||
Height:25
|
Height:25
|
||||||
X:15
|
X:15
|
||||||
Y:0
|
Y:0
|
||||||
@@ -83,36 +83,35 @@ Container@SERVER_LOBBY:
|
|||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@STATUS:
|
Label@STATUS:
|
||||||
X:448
|
X:446
|
||||||
Width:20
|
Width:20
|
||||||
Height:25
|
Height:25
|
||||||
Text:Ready
|
Text:Ready
|
||||||
Align:Left
|
Align:Left
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Checkbox@ALLOWCHEATS_CHECKBOX:
|
Button@OPTIONS_BUTTON:
|
||||||
X:15
|
X:15
|
||||||
Y:257
|
Y:254
|
||||||
Width:130
|
Width:112
|
||||||
Height:20
|
Height:25
|
||||||
Text:Cheats
|
|
||||||
Checkbox@CRATES_CHECKBOX:
|
|
||||||
X:120
|
|
||||||
Y:257
|
|
||||||
Width:80
|
|
||||||
Height:20
|
|
||||||
Text:Crates
|
|
||||||
DropDownButton@SLOTS_DROPDOWNBUTTON:
|
DropDownButton@SLOTS_DROPDOWNBUTTON:
|
||||||
X:213
|
X:132
|
||||||
Y:255
|
Y:254
|
||||||
Width:150
|
Width:150
|
||||||
Height:25
|
Height:25
|
||||||
Text:Slot Options
|
Text:Slot Admin
|
||||||
Button@CHANGEMAP_BUTTON:
|
Button@CHANGEMAP_BUTTON:
|
||||||
X:368
|
X:287
|
||||||
Y:255
|
Y:254
|
||||||
Width:150
|
Width:112
|
||||||
Height:25
|
Height:25
|
||||||
Text:Change Map
|
Text:Change Map
|
||||||
|
Button@START_GAME_BUTTON:
|
||||||
|
X:404
|
||||||
|
Y:254
|
||||||
|
Width:112
|
||||||
|
Height:25
|
||||||
|
Text:Start Game
|
||||||
ScrollPanel@CHAT_DISPLAY:
|
ScrollPanel@CHAT_DISPLAY:
|
||||||
X:15
|
X:15
|
||||||
Y:285
|
Y:285
|
||||||
@@ -156,21 +155,15 @@ Container@SERVER_LOBBY:
|
|||||||
Align:Right
|
Align:Right
|
||||||
Text:Chat:
|
Text:Chat:
|
||||||
Button@DISCONNECT_BUTTON:
|
Button@DISCONNECT_BUTTON:
|
||||||
X:0
|
X:600
|
||||||
Y:499
|
Y:499
|
||||||
Width:140
|
Width:140
|
||||||
Height:35
|
Height:35
|
||||||
Text:Leave Game
|
Text:Leave Game
|
||||||
Button@MUSIC_BUTTON:
|
Button@MUSIC_BUTTON:
|
||||||
X:150
|
X:450
|
||||||
Y:499
|
Y:499
|
||||||
Width:140
|
Width:140
|
||||||
Height:35
|
Height:35
|
||||||
Text:Music
|
Text:Music
|
||||||
Button@START_GAME_BUTTON:
|
|
||||||
X:600
|
|
||||||
Y:499
|
|
||||||
Width:140
|
|
||||||
Height:35
|
|
||||||
Text:Start Game
|
|
||||||
TooltipContainer@TOOLTIP_CONTAINER:
|
TooltipContainer@TOOLTIP_CONTAINER:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
X:20
|
X:20
|
||||||
Y:67
|
Y:67
|
||||||
ItemSpacing:5
|
ItemSpacing:5
|
||||||
Width:504
|
Width:535
|
||||||
Height:235
|
Height:235
|
||||||
Children:
|
Children:
|
||||||
Container@TEMPLATE_EDITABLE_PLAYER:
|
Container@TEMPLATE_EDITABLE_PLAYER:
|
||||||
@@ -37,21 +37,20 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
TextField@NAME:
|
TextField@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
X:15
|
X:15
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
MaxLength:16
|
MaxLength:16
|
||||||
DropDownButton@SLOT_OPTIONS:
|
DropDownButton@SLOT_OPTIONS:
|
||||||
Text:Name
|
Text:Name
|
||||||
X:15
|
X:15
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
Font:Regular
|
Font:Regular
|
||||||
Visible:false
|
Visible:false
|
||||||
DropDownButton@COLOR:
|
DropDownButton@COLOR:
|
||||||
|
X:190
|
||||||
Width:80
|
Width:80
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
|
||||||
Y:0
|
|
||||||
Children:
|
Children:
|
||||||
ColorBlock@COLORBLOCK:
|
ColorBlock@COLORBLOCK:
|
||||||
X:5
|
X:5
|
||||||
@@ -59,37 +58,35 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Width:PARENT_RIGHT-35
|
Width:PARENT_RIGHT-35
|
||||||
Height:PARENT_BOTTOM-12
|
Height:PARENT_BOTTOM-12
|
||||||
DropDownButton@FACTION:
|
DropDownButton@FACTION:
|
||||||
|
X:280
|
||||||
Width:130
|
Width:130
|
||||||
Height:25
|
Height:25
|
||||||
X:250
|
|
||||||
Y:0
|
|
||||||
Children:
|
Children:
|
||||||
Image@FACTIONFLAG:
|
Image@FACTIONFLAG:
|
||||||
Width:23
|
Width:23
|
||||||
Height:23
|
Height:23
|
||||||
X:5
|
X:4
|
||||||
Y:2
|
Y:2
|
||||||
Label@FACTIONNAME:
|
Label@FACTIONNAME:
|
||||||
Text:Faction
|
Text:Faction
|
||||||
Width:70
|
Width:70
|
||||||
Height:25
|
Height:25
|
||||||
X:30
|
X:34
|
||||||
Y:0
|
Y:0
|
||||||
DropDownButton@TEAM:
|
DropDownButton@TEAM:
|
||||||
Text:Team
|
X:420
|
||||||
Width:48
|
Width:48
|
||||||
Height:25
|
Height:25
|
||||||
X:390
|
Text:Team
|
||||||
Y:0
|
|
||||||
Checkbox@STATUS_CHECKBOX:
|
Checkbox@STATUS_CHECKBOX:
|
||||||
X:448
|
X:477
|
||||||
Y:2
|
Y:2
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
Visible:false
|
Visible:false
|
||||||
Image@STATUS_IMAGE:
|
Image@STATUS_IMAGE:
|
||||||
Visible:false
|
Visible:false
|
||||||
X:450
|
X:479
|
||||||
Y:4
|
Y:4
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
@@ -127,7 +124,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Height:25
|
Height:25
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:130
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
X:20
|
X:20
|
||||||
Y:0-1
|
Y:0-1
|
||||||
@@ -135,41 +132,41 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Text:X
|
Text:X
|
||||||
Width:25
|
Width:25
|
||||||
Height:23
|
Height:23
|
||||||
X:125
|
X:155
|
||||||
Y:2
|
Y:2
|
||||||
Font:Bold
|
Font:Bold
|
||||||
ColorBlock@COLORBLOCK:
|
ColorBlock@COLORBLOCK:
|
||||||
X:165
|
X:195
|
||||||
Y:6
|
Y:6
|
||||||
Width:45
|
Width:45
|
||||||
Height:13
|
Height:13
|
||||||
Container@FACTION:
|
Container@FACTION:
|
||||||
Width:130
|
Width:160
|
||||||
Height:25
|
Height:25
|
||||||
X:250
|
X:280
|
||||||
Y:0
|
Y:0
|
||||||
Children:
|
Children:
|
||||||
Image@FACTIONFLAG:
|
Image@FACTIONFLAG:
|
||||||
Width:23
|
Width:23
|
||||||
Height:23
|
Height:23
|
||||||
X:5
|
X:4
|
||||||
Y:2
|
Y:2
|
||||||
Label@FACTIONNAME:
|
Label@FACTIONNAME:
|
||||||
Text:Faction
|
Text:Faction
|
||||||
Width:60
|
Width:60
|
||||||
Height:25
|
Height:25
|
||||||
X:40
|
X:34
|
||||||
Y:0
|
Y:0
|
||||||
Label@TEAM:
|
Label@TEAM:
|
||||||
Text:Team
|
Text:Team
|
||||||
Width:23
|
Width:23
|
||||||
Height:25
|
Height:25
|
||||||
Align:Center
|
Align:Center
|
||||||
X:390
|
X:420
|
||||||
Y:0
|
Y:0
|
||||||
Image@STATUS_IMAGE:
|
Image@STATUS_IMAGE:
|
||||||
Visible:false
|
Visible:false
|
||||||
X:450
|
X:479
|
||||||
Y:4
|
Y:4
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
@@ -184,13 +181,13 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Children:
|
Children:
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:130
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
X:20
|
X:20
|
||||||
Y:0-1
|
Y:0-1
|
||||||
DropDownButton@SLOT_OPTIONS:
|
DropDownButton@SLOT_OPTIONS:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
X:15
|
X:15
|
||||||
Y:0
|
Y:0
|
||||||
@@ -199,7 +196,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Text:Play in this slot
|
Text:Play in this slot
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
Container@TEMPLATE_EDITABLE_SPECTATOR:
|
Container@TEMPLATE_EDITABLE_SPECTATOR:
|
||||||
X:5
|
X:5
|
||||||
@@ -233,14 +230,14 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
TextField@NAME:
|
TextField@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
X:15
|
X:15
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
MaxLength:16
|
MaxLength:16
|
||||||
Label@SPECTATOR:
|
Label@SPECTATOR:
|
||||||
Text:Spectator
|
Text:Spectator
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
@@ -275,7 +272,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Height:25
|
Height:25
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:130
|
Width:160
|
||||||
Height:25
|
Height:25
|
||||||
X:20
|
X:20
|
||||||
Y:0-1
|
Y:0-1
|
||||||
@@ -283,14 +280,14 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Text:X
|
Text:X
|
||||||
Width:25
|
Width:25
|
||||||
Height:23
|
Height:23
|
||||||
X:125
|
X:155
|
||||||
Y:2
|
Y:2
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@SPECTATOR:
|
Label@SPECTATOR:
|
||||||
Text:Spectator
|
Text:Spectator
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
@@ -306,5 +303,25 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Font:Regular
|
Font:Regular
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
|
|
||||||
|
ScrollPanel@RACE_DROPDOWN_TEMPLATE:
|
||||||
|
Width:DROPDOWN_WIDTH
|
||||||
|
Children:
|
||||||
|
ScrollItem@TEMPLATE:
|
||||||
|
Width:PARENT_RIGHT-27
|
||||||
|
Height:25
|
||||||
|
X:2
|
||||||
|
Y:0
|
||||||
|
Visible:false
|
||||||
|
Children:
|
||||||
|
Image@FLAG:
|
||||||
|
X:2
|
||||||
|
Y:2
|
||||||
|
Width:30
|
||||||
|
Height:15
|
||||||
|
Label@LABEL:
|
||||||
|
X:30
|
||||||
|
Width:70
|
||||||
|
Height:25
|
||||||
@@ -25,26 +25,6 @@ ScrollPanel@LABEL_DROPDOWN_TEMPLATE:
|
|||||||
Width:PARENT_RIGHT-20
|
Width:PARENT_RIGHT-20
|
||||||
Height:25
|
Height:25
|
||||||
|
|
||||||
ScrollPanel@RACE_DROPDOWN_TEMPLATE:
|
|
||||||
Width:DROPDOWN_WIDTH
|
|
||||||
Children:
|
|
||||||
ScrollItem@TEMPLATE:
|
|
||||||
Width:PARENT_RIGHT-27
|
|
||||||
Height:25
|
|
||||||
X:2
|
|
||||||
Y:0
|
|
||||||
Visible:false
|
|
||||||
Children:
|
|
||||||
Image@FLAG:
|
|
||||||
X:5
|
|
||||||
Y:5
|
|
||||||
Width:30
|
|
||||||
Height:15
|
|
||||||
Label@LABEL:
|
|
||||||
X:40
|
|
||||||
Width:60
|
|
||||||
Height:25
|
|
||||||
|
|
||||||
ScrollPanel@TEAM_DROPDOWN_TEMPLATE:
|
ScrollPanel@TEAM_DROPDOWN_TEMPLATE:
|
||||||
Width:DROPDOWN_WIDTH
|
Width:DROPDOWN_WIDTH
|
||||||
Children:
|
Children:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Background@KICK_CLIENT_DIALOG:
|
Background@KICK_CLIENT_DIALOG:
|
||||||
X:20
|
X:20
|
||||||
Y:67
|
Y:67
|
||||||
Width:504
|
Width:535
|
||||||
Height:235
|
Height:235
|
||||||
Logic:KickClientLogic
|
Logic:KickClientLogic
|
||||||
Background:dialog3
|
Background:dialog3
|
||||||
@@ -48,4 +48,50 @@ Background@KICK_CLIENT_DIALOG:
|
|||||||
Width:120
|
Width:120
|
||||||
Height:25
|
Height:25
|
||||||
Text:Cancel
|
Text:Cancel
|
||||||
|
Font:Bold
|
||||||
|
|
||||||
|
Background@LOBBY_OPTIONS_BIN:
|
||||||
|
X:20
|
||||||
|
Y:67
|
||||||
|
Width:535
|
||||||
|
Height:235
|
||||||
|
Background:dialog3
|
||||||
|
Children:
|
||||||
|
Label@TITLE:
|
||||||
|
X:0
|
||||||
|
Y:50
|
||||||
|
Width:PARENT_RIGHT
|
||||||
|
Height:25
|
||||||
|
Font:Bold
|
||||||
|
Align:Center
|
||||||
|
Text: Map Options
|
||||||
|
Checkbox@ALLOWCHEATS_CHECKBOX:
|
||||||
|
X:150
|
||||||
|
Y:80
|
||||||
|
Width:80
|
||||||
|
Height:20
|
||||||
|
Text:Enable Cheats / Debug Menu
|
||||||
|
Checkbox@CRATES_CHECKBOX:
|
||||||
|
X:150
|
||||||
|
Y:110
|
||||||
|
Width:80
|
||||||
|
Height:20
|
||||||
|
Text:Enable Crates
|
||||||
|
Checkbox@FRAGILEALLIANCES_CHECKBOX:
|
||||||
|
X:150
|
||||||
|
Y:140
|
||||||
|
Width:80
|
||||||
|
Height:20
|
||||||
|
Text:Allow Team Changes
|
||||||
|
Label@DIFFICULTY_DESC:
|
||||||
|
X:150
|
||||||
|
Y:170
|
||||||
|
Width:120
|
||||||
|
Height:25
|
||||||
|
Text:Mission Difficulty:
|
||||||
|
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
|
||||||
|
X:265
|
||||||
|
Y:170
|
||||||
|
Width:100
|
||||||
|
Height:25
|
||||||
Font:Bold
|
Font:Bold
|
||||||
@@ -2,7 +2,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
X:20
|
X:20
|
||||||
Y:67
|
Y:67
|
||||||
ItemSpacing:5
|
ItemSpacing:5
|
||||||
Width:504
|
Width:535
|
||||||
Height:235
|
Height:235
|
||||||
Children:
|
Children:
|
||||||
Container@TEMPLATE_EDITABLE_PLAYER:
|
Container@TEMPLATE_EDITABLE_PLAYER:
|
||||||
@@ -37,21 +37,20 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
TextField@NAME:
|
TextField@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
X:15
|
X:15
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
MaxLength:16
|
MaxLength:16
|
||||||
DropDownButton@SLOT_OPTIONS:
|
DropDownButton@SLOT_OPTIONS:
|
||||||
Text:Name
|
Text:Name
|
||||||
X:15
|
X:15
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
Font:Regular
|
Font:Regular
|
||||||
Visible:false
|
Visible:false
|
||||||
DropDownButton@COLOR:
|
DropDownButton@COLOR:
|
||||||
|
X:190
|
||||||
Width:80
|
Width:80
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
|
||||||
Y:0
|
|
||||||
Children:
|
Children:
|
||||||
ColorBlock@COLORBLOCK:
|
ColorBlock@COLORBLOCK:
|
||||||
X:5
|
X:5
|
||||||
@@ -59,10 +58,9 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Width:PARENT_RIGHT-35
|
Width:PARENT_RIGHT-35
|
||||||
Height:PARENT_BOTTOM-12
|
Height:PARENT_BOTTOM-12
|
||||||
DropDownButton@FACTION:
|
DropDownButton@FACTION:
|
||||||
|
X:280
|
||||||
Width:130
|
Width:130
|
||||||
Height:25
|
Height:25
|
||||||
X:250
|
|
||||||
Y:0
|
|
||||||
Children:
|
Children:
|
||||||
Image@FACTIONFLAG:
|
Image@FACTIONFLAG:
|
||||||
Width:30
|
Width:30
|
||||||
@@ -76,20 +74,19 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
X:40
|
X:40
|
||||||
Y:0
|
Y:0
|
||||||
DropDownButton@TEAM:
|
DropDownButton@TEAM:
|
||||||
Text:Team
|
X:420
|
||||||
Width:48
|
Width:48
|
||||||
Height:25
|
Height:25
|
||||||
X:390
|
Text:Team
|
||||||
Y:0
|
|
||||||
Checkbox@STATUS_CHECKBOX:
|
Checkbox@STATUS_CHECKBOX:
|
||||||
X:448
|
X:477
|
||||||
Y:2
|
Y:2
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
Visible:false
|
Visible:false
|
||||||
Image@STATUS_IMAGE:
|
Image@STATUS_IMAGE:
|
||||||
Visible:false
|
Visible:false
|
||||||
X:450
|
X:479
|
||||||
Y:4
|
Y:4
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
@@ -127,7 +124,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Height:25
|
Height:25
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:130
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
X:20
|
X:20
|
||||||
Y:0-1
|
Y:0-1
|
||||||
@@ -135,18 +132,18 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Text:X
|
Text:X
|
||||||
Width:25
|
Width:25
|
||||||
Height:23
|
Height:23
|
||||||
X:125
|
X:155
|
||||||
Y:2
|
Y:2
|
||||||
Font:Bold
|
Font:Bold
|
||||||
ColorBlock@COLORBLOCK:
|
ColorBlock@COLORBLOCK:
|
||||||
X:165
|
X:195
|
||||||
Y:6
|
Y:6
|
||||||
Width:45
|
Width:45
|
||||||
Height:13
|
Height:13
|
||||||
Container@FACTION:
|
Container@FACTION:
|
||||||
Width:130
|
Width:160
|
||||||
Height:25
|
Height:25
|
||||||
X:250
|
X:280
|
||||||
Y:0
|
Y:0
|
||||||
Children:
|
Children:
|
||||||
Image@FACTIONFLAG:
|
Image@FACTIONFLAG:
|
||||||
@@ -165,11 +162,11 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Width:23
|
Width:23
|
||||||
Height:25
|
Height:25
|
||||||
Align:Center
|
Align:Center
|
||||||
X:390
|
X:420
|
||||||
Y:0
|
Y:0
|
||||||
Image@STATUS_IMAGE:
|
Image@STATUS_IMAGE:
|
||||||
Visible:false
|
Visible:false
|
||||||
X:450
|
X:479
|
||||||
Y:4
|
Y:4
|
||||||
Width:20
|
Width:20
|
||||||
Height:20
|
Height:20
|
||||||
@@ -184,13 +181,13 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Children:
|
Children:
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:130
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
X:20
|
X:20
|
||||||
Y:0-1
|
Y:0-1
|
||||||
DropDownButton@SLOT_OPTIONS:
|
DropDownButton@SLOT_OPTIONS:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
X:15
|
X:15
|
||||||
Y:0
|
Y:0
|
||||||
@@ -199,7 +196,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Text:Play in this slot
|
Text:Play in this slot
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
Container@TEMPLATE_EDITABLE_SPECTATOR:
|
Container@TEMPLATE_EDITABLE_SPECTATOR:
|
||||||
X:5
|
X:5
|
||||||
@@ -233,14 +230,14 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
TextField@NAME:
|
TextField@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
X:15
|
X:15
|
||||||
Width:135
|
Width:165
|
||||||
Height:25
|
Height:25
|
||||||
MaxLength:16
|
MaxLength:16
|
||||||
Label@SPECTATOR:
|
Label@SPECTATOR:
|
||||||
Text:Spectator
|
Text:Spectator
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
@@ -275,7 +272,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Height:25
|
Height:25
|
||||||
Label@NAME:
|
Label@NAME:
|
||||||
Text:Name
|
Text:Name
|
||||||
Width:130
|
Width:160
|
||||||
Height:25
|
Height:25
|
||||||
X:20
|
X:20
|
||||||
Y:0-1
|
Y:0-1
|
||||||
@@ -283,14 +280,14 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Text:X
|
Text:X
|
||||||
Width:25
|
Width:25
|
||||||
Height:23
|
Height:23
|
||||||
X:125
|
X:155
|
||||||
Y:2
|
Y:2
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@SPECTATOR:
|
Label@SPECTATOR:
|
||||||
Text:Spectator
|
Text:Spectator
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
@@ -306,5 +303,25 @@ ScrollPanel@LOBBY_PLAYER_BIN:
|
|||||||
Font:Regular
|
Font:Regular
|
||||||
Width:278
|
Width:278
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
X:190
|
||||||
Y:0
|
Y:0
|
||||||
|
|
||||||
|
ScrollPanel@RACE_DROPDOWN_TEMPLATE:
|
||||||
|
Width:DROPDOWN_WIDTH
|
||||||
|
Children:
|
||||||
|
ScrollItem@TEMPLATE:
|
||||||
|
Width:PARENT_RIGHT-27
|
||||||
|
Height:25
|
||||||
|
X:2
|
||||||
|
Y:0
|
||||||
|
Visible:false
|
||||||
|
Children:
|
||||||
|
Image@FLAG:
|
||||||
|
X:5
|
||||||
|
Y:5
|
||||||
|
Width:30
|
||||||
|
Height:15
|
||||||
|
Label@LABEL:
|
||||||
|
X:40
|
||||||
|
Width:60
|
||||||
|
Height:25
|
||||||
@@ -10,78 +10,115 @@ Background@SERVER_LOBBY:
|
|||||||
X:0
|
X:0
|
||||||
Y:17
|
Y:17
|
||||||
Align:Center
|
Align:Center
|
||||||
Width:530
|
Width:PARENT_RIGHT
|
||||||
Height:20
|
Height:20
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@MAP_TITLE:
|
Background@MAP_BG:
|
||||||
X:532
|
X:PARENT_RIGHT-20-WIDTH
|
||||||
Y:17
|
Y:67
|
||||||
Align:Center
|
Width:214
|
||||||
Width:250
|
Height:214
|
||||||
Height:20
|
|
||||||
Font:Bold
|
|
||||||
Background@LOBBY_MAP_BG:
|
|
||||||
X:PARENT_RIGHT-268
|
|
||||||
Y:50
|
|
||||||
Width:252
|
|
||||||
Height:252
|
|
||||||
Background:dialog3
|
Background:dialog3
|
||||||
Children:
|
Children:
|
||||||
MapPreview@MAP_PREVIEW:
|
MapPreview@MAP_PREVIEW:
|
||||||
X:4
|
X:2
|
||||||
Y:4
|
Y:2
|
||||||
Width:244
|
Width:210
|
||||||
Height:244
|
Height:210
|
||||||
TooltipContainer:TOOLTIP_CONTAINER
|
TooltipContainer:TOOLTIP_CONTAINER
|
||||||
|
Label@MAP_TITLE:
|
||||||
|
X:PARENT_RIGHT-20-WIDTH
|
||||||
|
Y:282
|
||||||
|
Width:214
|
||||||
|
Height:25
|
||||||
|
Font:Bold
|
||||||
|
Align:Center
|
||||||
|
Label@MAP_TYPE:
|
||||||
|
X:PARENT_RIGHT-20-WIDTH
|
||||||
|
Y:297
|
||||||
|
Width:214
|
||||||
|
Height:25
|
||||||
|
Font:TinyBold
|
||||||
|
Align:Center
|
||||||
|
Label@MAP_AUTHOR:
|
||||||
|
X:PARENT_RIGHT-20-WIDTH
|
||||||
|
Y:310
|
||||||
|
Width:214
|
||||||
|
Height:25
|
||||||
|
Font:Tiny
|
||||||
|
Align:Center
|
||||||
Container@LABEL_CONTAINER:
|
Container@LABEL_CONTAINER:
|
||||||
X:25
|
X:25
|
||||||
Y:40
|
Y:40
|
||||||
Children:
|
Children:
|
||||||
Label@LABEL_LOBBY_NAME:
|
Label@LABEL_LOBBY_NAME:
|
||||||
Width:150
|
|
||||||
Height:25
|
|
||||||
X:0
|
X:0
|
||||||
Y:0
|
Width:180
|
||||||
|
Height:25
|
||||||
Text:Name
|
Text:Name
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@LABEL_LOBBY_COLOR:
|
Label@LABEL_LOBBY_COLOR:
|
||||||
|
X:190
|
||||||
Width:80
|
Width:80
|
||||||
Height:25
|
Height:25
|
||||||
X:160
|
|
||||||
Y:0
|
|
||||||
Text:Color
|
Text:Color
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@LABEL_LOBBY_FACTION:
|
Label@LABEL_LOBBY_FACTION:
|
||||||
|
X:280
|
||||||
Width:130
|
Width:130
|
||||||
Height:25
|
Height:25
|
||||||
X:250
|
|
||||||
Y:0
|
|
||||||
Text:Faction
|
Text:Faction
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@LABEL_LOBBY_TEAM:
|
Label@LABEL_LOBBY_TEAM:
|
||||||
|
X:420
|
||||||
Width:48
|
Width:48
|
||||||
Height:25
|
Height:25
|
||||||
X:390
|
|
||||||
Y:0
|
|
||||||
Text:Team
|
Text:Team
|
||||||
Align:Center
|
Align:Center
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Label@LABEL_LOBBY_STATUS:
|
Label@LABEL_LOBBY_STATUS:
|
||||||
X:448
|
X:477
|
||||||
Y:0
|
|
||||||
Width:20
|
Width:20
|
||||||
Height:25
|
Height:25
|
||||||
Text:Ready
|
Text:Ready
|
||||||
Align:Left
|
Align:Left
|
||||||
Font:Bold
|
Font:Bold
|
||||||
|
DropDownButton@SLOTS_DROPDOWNBUTTON:
|
||||||
|
X:20
|
||||||
|
Y:PARENT_BOTTOM - 291
|
||||||
|
Width:151
|
||||||
|
Height:25
|
||||||
|
Font:Bold
|
||||||
|
Text:Slot Admin
|
||||||
|
Button@OPTIONS_BUTTON:
|
||||||
|
X:178
|
||||||
|
Y:PARENT_BOTTOM - 291
|
||||||
|
Width:121
|
||||||
|
Height:25
|
||||||
|
Font:Bold
|
||||||
|
Text:Game Options
|
||||||
|
Button@CHANGEMAP_BUTTON:
|
||||||
|
X:306
|
||||||
|
Y:PARENT_BOTTOM - 291
|
||||||
|
Width:121
|
||||||
|
Height:25
|
||||||
|
Text:Change Map
|
||||||
|
Font:Bold
|
||||||
|
Button@START_GAME_BUTTON:
|
||||||
|
X:434
|
||||||
|
Y:PARENT_BOTTOM - 291
|
||||||
|
Width:121
|
||||||
|
Height:25
|
||||||
|
Text:Start Game
|
||||||
|
Font:Bold
|
||||||
ScrollPanel@CHAT_DISPLAY:
|
ScrollPanel@CHAT_DISPLAY:
|
||||||
X:20
|
X:20
|
||||||
Y:PARENT_BOTTOM - 289
|
Y:PARENT_BOTTOM - HEIGHT - 52
|
||||||
Width:PARENT_RIGHT - 200
|
Width:760
|
||||||
Height:230
|
Height:210
|
||||||
ItemSpacing:1
|
ItemSpacing:1
|
||||||
Children:
|
Children:
|
||||||
Container@CHAT_TEMPLATE:
|
Container@CHAT_TEMPLATE:
|
||||||
@@ -106,69 +143,24 @@ Background@SERVER_LOBBY:
|
|||||||
Height:15
|
Height:15
|
||||||
WordWrap:true
|
WordWrap:true
|
||||||
VAlign:Top
|
VAlign:Top
|
||||||
Label@LABEL_CHATTYPE:
|
|
||||||
Width:65
|
|
||||||
Height:25
|
|
||||||
X:0
|
|
||||||
Y:PARENT_BOTTOM - 50
|
|
||||||
Text:Chat:
|
|
||||||
Align:Right
|
|
||||||
TextField@CHAT_TEXTFIELD:
|
TextField@CHAT_TEXTFIELD:
|
||||||
X:70
|
X:20
|
||||||
Y:PARENT_BOTTOM - 49
|
Y:PARENT_BOTTOM - HEIGHT - 20
|
||||||
Width:550
|
Width:PARENT_RIGHT - 167
|
||||||
Height:25
|
Height:25
|
||||||
Button@CHANGEMAP_BUTTON:
|
LeftMargin:50
|
||||||
X:PARENT_RIGHT-154
|
Children:
|
||||||
Y:PARENT_BOTTOM-289
|
Label@LABEL_CHATTYPE:
|
||||||
Width:120
|
Y:0-1
|
||||||
Height:25
|
Width:45
|
||||||
Text:Change Map
|
Height:25
|
||||||
Font:Bold
|
Align:Right
|
||||||
DropDownButton@SLOTS_DROPDOWNBUTTON:
|
Text:Chat:
|
||||||
X:PARENT_RIGHT-154
|
|
||||||
Y:PARENT_BOTTOM-229
|
|
||||||
Width:120
|
|
||||||
Height:25
|
|
||||||
Font:Bold
|
|
||||||
Text:Admin
|
|
||||||
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
|
|
||||||
X:PARENT_RIGHT-154
|
|
||||||
Y:PARENT_BOTTOM-199
|
|
||||||
Width:120
|
|
||||||
Height:25
|
|
||||||
Font:Bold
|
|
||||||
Visible:false
|
|
||||||
Checkbox@ALLOWCHEATS_CHECKBOX:
|
|
||||||
X: PARENT_RIGHT-154
|
|
||||||
Y: PARENT_BOTTOM-169
|
|
||||||
Width: 80
|
|
||||||
Height: 20
|
|
||||||
Text: Allow Cheats
|
|
||||||
Checkbox@CRATES_CHECKBOX:
|
|
||||||
X: PARENT_RIGHT-154
|
|
||||||
Y: PARENT_BOTTOM-144
|
|
||||||
Width: 80
|
|
||||||
Height: 20
|
|
||||||
Text: Crates
|
|
||||||
Checkbox@FRAGILEALLIANCES_CHECKBOX:
|
|
||||||
X: PARENT_RIGHT-154
|
|
||||||
Y: PARENT_BOTTOM-119
|
|
||||||
Width: 80
|
|
||||||
Height: 20
|
|
||||||
Text: Fragile Alliances
|
|
||||||
Button@DISCONNECT_BUTTON:
|
Button@DISCONNECT_BUTTON:
|
||||||
X:PARENT_RIGHT-154
|
X:PARENT_RIGHT - WIDTH - 20
|
||||||
Y:PARENT_BOTTOM-94
|
Y:PARENT_BOTTOM - HEIGHT - 20
|
||||||
Width:120
|
Width:120
|
||||||
Height:25
|
Height:25
|
||||||
Text:Disconnect
|
Text:Disconnect
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Button@START_GAME_BUTTON:
|
|
||||||
X:PARENT_RIGHT-154
|
|
||||||
Y:PARENT_BOTTOM-49
|
|
||||||
Width:120
|
|
||||||
Height:25
|
|
||||||
Text:Start Game
|
|
||||||
Font:Bold
|
|
||||||
TooltipContainer@TOOLTIP_CONTAINER:
|
TooltipContainer@TOOLTIP_CONTAINER:
|
||||||
Reference in New Issue
Block a user