diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerAmount.cs b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerAmount.cs index 92a535a4..acb6b830 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerAmount.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerAmount.cs @@ -29,7 +29,7 @@ public enum TechBunkerAmountType } [UsedImplicitly(ImplicitUseTargetFlags.WithMembers)] -[Desc("How many TechBunkers should be spawned on the map.")] +[Desc("Quantos Tech Bunkers aparecem no mapa.")] public class TechBunkerAmountInfo : TraitInfo, ILobbyOptions { public const string Id = "TechBunkerAmount"; @@ -42,17 +42,17 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) { yield return new( TechBunkerAmountInfo.Id, - "Amount", - "How many TechBunkers should be spawned on the map.", + "Quantidade", + "Quantos Tech Bunkers aparecem no mapa.", true, 0, new ReadOnlyDictionary( new Dictionary { - { TechBunkerAmountType.None, "None" }, - { TechBunkerAmountType.One, "1 per map" }, - { TechBunkerAmountType.OnePerTwoPlayers, "1 per 2 players" }, - { TechBunkerAmountType.All, "All" } + { TechBunkerAmountType.None, "Nenhum" }, + { TechBunkerAmountType.One, "1 por mapa" }, + { TechBunkerAmountType.OnePerTwoPlayers, "1 a cada 2 jogadores" }, + { TechBunkerAmountType.All, "Todos" } }.ToDictionary(e => e.Key.ToString(), e => e.Value) ), TechBunkerAmountInfo.Default.ToString(), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerContains.cs b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerContains.cs index da093a48..c5e3b0fe 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerContains.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerContains.cs @@ -26,7 +26,7 @@ public enum TechBunkerContainsType } [UsedImplicitly] -[Desc("What a TechBunker may contain.")] +[Desc("O que um Tech Bunker pode conter.")] public class TechBunkerContainsInfo : TraitInfo, ILobbyOptions { public const string Id = "TechBunkerContains"; @@ -36,14 +36,14 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) { yield return new( TechBunkerContainsInfo.Id, - "Contains", - "What a TechBunker may contain.", + "Conteúdo", + "O que um Tech Bunker pode conter.", true, 0, new ReadOnlyDictionary( new Dictionary { - { TechBunkerContainsType.Resources, "Resources" }, { TechBunkerContainsType.Units, "Units" }, { TechBunkerContainsType.Both, "Both" } + { TechBunkerContainsType.Resources, "Recursos" }, { TechBunkerContainsType.Units, "Unidades" }, { TechBunkerContainsType.Both, "Ambos" } }.ToDictionary(e => e.Key.ToString(), e => e.Value) ), TechBunkerContainsInfo.Default.ToString(), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUsage.cs b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUsage.cs index 847eabc0..089e7f75 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUsage.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUsage.cs @@ -25,7 +25,7 @@ public enum TechBunkerUsageType } [UsedImplicitly] -[Desc("How a TechBunker can be opened.")] +[Desc("Como um Tech Bunker pode ser aberto.")] public class TechBunkerUsageInfo : TraitInfo, ILobbyOptions { public const string Id = "TechBunkerUsage"; @@ -35,12 +35,12 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) { yield return new( TechBunkerUsageInfo.Id, - "Usage", - "How a TechBunker can be opened.", + "Abertura", + "Como um Tech Bunker pode ser aberto.", true, 0, new ReadOnlyDictionary( - new Dictionary { { TechBunkerUsageType.Proximity, "Proximity" }, { TechBunkerUsageType.Technician, "Technician" } } + new Dictionary { { TechBunkerUsageType.Proximity, "Proximidade" }, { TechBunkerUsageType.Technician, "Technician" } } .ToDictionary(e => e.Key.ToString(), e => e.Value) ), TechBunkerUsageInfo.Default.ToString(), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUses.cs b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUses.cs index dc55d850..adad180c 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUses.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Bunkers/LobbyOptions/TechBunkerUses.cs @@ -25,7 +25,7 @@ public enum TechBunkerUsesType } [UsedImplicitly] -[Desc("How many times a TechBunker can be used.")] +[Desc("Quantas vezes um Tech Bunker pode ser usado.")] public class TechBunkerUsesInfo : TraitInfo, ILobbyOptions { public const string Id = "TechBunkerUses"; @@ -35,12 +35,12 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) { yield return new( TechBunkerUsesInfo.Id, - "Uses", - "How many times a TechBunker can be used.", + "Usos", + "Quantas vezes um Tech Bunker pode ser usado.", true, 0, new ReadOnlyDictionary( - new Dictionary { { TechBunkerUsesType.Once, "Once" }, { TechBunkerUsesType.Infinitely, "Infinitely" } } + new Dictionary { { TechBunkerUsesType.Once, "Uma vez" }, { TechBunkerUsesType.Infinitely, "Ilimitado" } } .ToDictionary(e => e.Key.ToString(), e => e.Value) ), TechBunkerUsesInfo.Default.ToString(), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilAmount.cs b/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilAmount.cs index 1a13dda9..0c2700cf 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilAmount.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilAmount.cs @@ -25,7 +25,7 @@ public class OilAmountInfo : TraitInfo, ILobbyOptions public const string Id = "OilAmount"; public readonly int[] OilAmounts = { 25000, 50000, 75000, 100000, -1 }; - public readonly string[] OilAmountNames = { "Scarce", "Normal", "Abundant", "Maximum", "Infinite" }; + public readonly string[] OilAmountNames = { "Escasso", "Normal", "Abundante", "Máximo", "Infinito" }; IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) { @@ -38,8 +38,8 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) yield return new( OilAmountInfo.Id, - "Amount", - "Amount of oil every OilPatch contains.", + "Quantidade", + "Quantidade de petróleo em cada poço.", true, 0, new ReadOnlyDictionary(values), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilBurn.cs b/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilBurn.cs index 8698f7ae..6d1b475f 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilBurn.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Oil/LobbyOptions/OilBurn.cs @@ -33,8 +33,8 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) yield return new( OilBurnInfo.Id, - "Burn", - "Percent amount of oil to burn when ignited.", + "Queima", + "Porcentagem de petróleo que queima quando o poço pega fogo.", true, 0, new ReadOnlyDictionary(values), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchDuration.cs b/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchDuration.cs index ca36242a..ff8e0bed 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchDuration.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchDuration.cs @@ -32,8 +32,8 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) yield return new( ResearchDurationInfo.Id, - "Duration", - "Research duration.", + "Duração", + "Duração da pesquisa.", true, 0, new ReadOnlyDictionary(values), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchMode.cs b/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchMode.cs index 86fe62f3..3a54b670 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchMode.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/ResearchMode.cs @@ -34,12 +34,12 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) { yield return new( ResearchModeInfo.Id, - "Mode", - "Wether to research a full tech level or a single technology.", + "Modo", + "Pesquisar um nível tecnológico inteiro ou uma tecnologia por vez.", true, 0, new ReadOnlyDictionary( - new Dictionary { { ResearchModeType.FullLevel, "Full Level" }, { ResearchModeType.SingleTech, "Single Tech" } } + new Dictionary { { ResearchModeType.FullLevel, "Nível inteiro" }, { ResearchModeType.SingleTech, "Uma tecnologia" } } .ToDictionary(e => e.Key.ToString(), e => e.Value) ), ResearchModeInfo.Default.ToString(), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/TechLimit.cs b/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/TechLimit.cs index 6e7c2e77..a055a1a3 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/TechLimit.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Researching/LobbyOptions/TechLimit.cs @@ -46,8 +46,8 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) yield return new( TechLimitInfo.Id, - "Limit", - "Maximum tech level.", + "Limite", + "Nível tecnológico máximo.", true, 0, new ReadOnlyDictionary(values), diff --git a/OpenRA.Mods.OpenKrush/Mechanics/Saboteurs/LobbyOptions/SaboteurUsage.cs b/OpenRA.Mods.OpenKrush/Mechanics/Saboteurs/LobbyOptions/SaboteurUsage.cs index 97994fda..dcd73754 100644 --- a/OpenRA.Mods.OpenKrush/Mechanics/Saboteurs/LobbyOptions/SaboteurUsage.cs +++ b/OpenRA.Mods.OpenKrush/Mechanics/Saboteurs/LobbyOptions/SaboteurUsage.cs @@ -24,7 +24,7 @@ public enum SaboteurUsageType } [UsedImplicitly] -[Desc("What happens when a saboteur conquers a building.")] +[Desc("O que acontece quando um Saboteur conquista um prédio.")] public class SaboteurUsageInfo : TraitInfo, ILobbyOptions { private const string LobbyOptionsCategory = "saboteur"; @@ -36,12 +36,12 @@ IEnumerable ILobbyOptions.LobbyOptions(MapPreview mapPreview) { yield return new( SaboteurUsageInfo.Id, - "Usage", - "What happens when a saboteur conquers a building.", + "Efeito", + "O que acontece quando um Saboteur conquista um prédio.", true, 0, new ReadOnlyDictionary( - new Dictionary { { SaboteurUsageType.Destroy, "Destroy" }, { SaboteurUsageType.Conquer, "Conquer" } }.ToDictionary( + new Dictionary { { SaboteurUsageType.Destroy, "Destruir" }, { SaboteurUsageType.Conquer, "Conquistar" } }.ToDictionary( e => e.Key.ToString(), e => e.Value ) diff --git a/OpenRA.Mods.OpenKrush/OpenRA.Mods.OpenKrush.csproj b/OpenRA.Mods.OpenKrush/OpenRA.Mods.OpenKrush.csproj index 52e475b1..df7224fd 100644 --- a/OpenRA.Mods.OpenKrush/OpenRA.Mods.OpenKrush.csproj +++ b/OpenRA.Mods.OpenKrush/OpenRA.Mods.OpenKrush.csproj @@ -1,7 +1,7 @@ - net6.0 + net10.0 enable enable false diff --git a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/BomberButtonWidget.cs b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/BomberButtonWidget.cs index 130a1f51..797de00c 100644 --- a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/BomberButtonWidget.cs +++ b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/BomberButtonWidget.cs @@ -21,7 +21,7 @@ public sealed class BomberButtonWidget : SidebarButtonWidget public BomberButtonWidget(SidebarWidget sidebar) : base(sidebar, "button") { - this.TooltipTitle = "Aircrafts"; + this.TooltipTitle = "Aeronaves"; } public override bool HandleKeyPress(KeyInput e) diff --git a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/OptionsButtonWidget.cs b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/OptionsButtonWidget.cs index bd945735..03f5bf92 100644 --- a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/OptionsButtonWidget.cs +++ b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/OptionsButtonWidget.cs @@ -24,7 +24,7 @@ public class OptionsButtonWidget : SidebarButtonWidget public OptionsButtonWidget(SidebarWidget sidebar) : base(sidebar, "button") { - this.TooltipTitle = "Options"; + this.TooltipTitle = "Opções"; } public override bool HandleKeyPress(KeyInput e) diff --git a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/RepairButtonWidget.cs b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/RepairButtonWidget.cs index 9be1250a..45d66084 100644 --- a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/RepairButtonWidget.cs +++ b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/RepairButtonWidget.cs @@ -24,7 +24,7 @@ public class RepairButtonWidget : SidebarButtonWidget public RepairButtonWidget(SidebarWidget sidebar) : base(sidebar, "button") { - this.TooltipTitle = "Repair"; + this.TooltipTitle = "Consertar"; } public override bool HandleKeyPress(KeyInput e) diff --git a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/ResearchButtonWidget.cs b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/ResearchButtonWidget.cs index f94e6496..d464e4e3 100644 --- a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/ResearchButtonWidget.cs +++ b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/ResearchButtonWidget.cs @@ -28,7 +28,7 @@ public class ResearchButtonWidget : SidebarButtonWidget public ResearchButtonWidget(SidebarWidget sidebar) : base(sidebar, "button") { - this.TooltipTitle = "Research"; + this.TooltipTitle = "Pesquisar"; } public override bool HandleKeyPress(KeyInput e) diff --git a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/SellButtonWidget.cs b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/SellButtonWidget.cs index 5571e984..eadb235b 100644 --- a/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/SellButtonWidget.cs +++ b/OpenRA.Mods.OpenKrush/Widgets/Ingame/Buttons/SellButtonWidget.cs @@ -24,7 +24,7 @@ public class SellButtonWidget : SidebarButtonWidget public SellButtonWidget(SidebarWidget sidebar) : base(sidebar, "button") { - this.TooltipTitle = "Sell"; + this.TooltipTitle = "Vender"; } public override bool HandleKeyPress(KeyInput e) diff --git a/OpenRA.Mods.OpenKrush/Widgets/Ingame/ProductionPaletteColumnWidget.cs b/OpenRA.Mods.OpenKrush/Widgets/Ingame/ProductionPaletteColumnWidget.cs index 0b8e2a25..bbcc3657 100644 --- a/OpenRA.Mods.OpenKrush/Widgets/Ingame/ProductionPaletteColumnWidget.cs +++ b/OpenRA.Mods.OpenKrush/Widgets/Ingame/ProductionPaletteColumnWidget.cs @@ -215,7 +215,7 @@ bool IsActive() IsFocused = () => this.Parent.Children.Count > 1 && this.IsFocused, TooltipTitle = buildableItem.TraitInfoOrDefault().Name, TooltipText = - $"{(valued == null ? "" : $"Cost: {valued.Cost}\n")}Time: {buildTime}{(description != null ? $"\n{description.Description}" : null)}" + $"{(valued == null ? "" : $"Custo: {valued.Cost}\n")}Tempo: {buildTime}{(description != null ? $"\n{description.Description}" : null)}" }; this.AddChild(button); diff --git a/OpenRA.Mods.OpenKrush/Widgets/Ingame/SidebarWidget.cs b/OpenRA.Mods.OpenKrush/Widgets/Ingame/SidebarWidget.cs index 39c80c55..ac4da1b5 100644 --- a/OpenRA.Mods.OpenKrush/Widgets/Ingame/SidebarWidget.cs +++ b/OpenRA.Mods.OpenKrush/Widgets/Ingame/SidebarWidget.cs @@ -45,11 +45,11 @@ public SidebarWidget(IngameUiWidget ingameUi) ChromeMetrics.TryGet($"ButtonArea-{this.IngameUi.World.LocalPlayer.Faction.InternalName}", out this.ButtonArea); - this.AddChild(new ProductionCategoryButtonWidget(this, 0, new[] { "infantry" }, "Infantry")); - this.AddChild(new ProductionCategoryButtonWidget(this, 1, new[] { "vehicle", "beast" }, "Vehicles")); - this.AddChild(new ProductionCategoryButtonWidget(this, 2, new[] { "building" }, "Buildings")); - this.AddChild(new ProductionCategoryButtonWidget(this, 3, new[] { "tower" }, "Towers")); - this.AddChild(new ProductionCategoryButtonWidget(this, 4, new[] { "wall" }, "Walls")); + this.AddChild(new ProductionCategoryButtonWidget(this, 0, new[] { "infantry" }, "Infantaria")); + this.AddChild(new ProductionCategoryButtonWidget(this, 1, new[] { "vehicle", "beast" }, "Veículos")); + this.AddChild(new ProductionCategoryButtonWidget(this, 2, new[] { "building" }, "Construções")); + this.AddChild(new ProductionCategoryButtonWidget(this, 3, new[] { "tower" }, "Torres")); + this.AddChild(new ProductionCategoryButtonWidget(this, 4, new[] { "wall" }, "Muros")); this.AddChild(this.bomber = new(this)); diff --git a/mods/openkrush/actors/oilpatch.yaml b/mods/openkrush/actors/oilpatch.yaml index 83dc7de5..ee8ac967 100644 --- a/mods/openkrush/actors/oilpatch.yaml +++ b/mods/openkrush/actors/oilpatch.yaml @@ -42,4 +42,4 @@ oilpatch: Tooltip: Name: Oilpatch TooltipDescription: - Description: Deploy a Derrick here + Description: Posicione um Derrick aqui diff --git a/mods/openkrush/chrome/ingame-menu.yaml b/mods/openkrush/chrome/ingame-menu.yaml index 11c3174c..ec5e6b03 100644 --- a/mods/openkrush/chrome/ingame-menu.yaml +++ b/mods/openkrush/chrome/ingame-menu.yaml @@ -36,7 +36,7 @@ Container@INGAME_MENU: Y: 20 Width: 200 Height: 30 - Text: Options + Text: Opções Align: Center Font: Bold Button@BUTTON_TEMPLATE: diff --git a/mods/openkrush/chrome/ingame-player.yaml b/mods/openkrush/chrome/ingame-player.yaml index b145968a..115618f6 100644 --- a/mods/openkrush/chrome/ingame-player.yaml +++ b/mods/openkrush/chrome/ingame-player.yaml @@ -130,6 +130,6 @@ Container@PLAYER_WIDGETS: Width: PARENT_RIGHT - 30 Height: 25 Align: Right - Text: Audio Muted + Text: Áudio silenciado Contrast: true IngameUi@INGAMEUI: diff --git a/mods/openkrush/chrome/mainmenu.yaml b/mods/openkrush/chrome/mainmenu.yaml index 5872adca..ec3c7170 100644 --- a/mods/openkrush/chrome/mainmenu.yaml +++ b/mods/openkrush/chrome/mainmenu.yaml @@ -44,21 +44,21 @@ Container@MAINMENU: Y: 60 Width: 140 Height: 30 - Text: Singleplayer + Text: Um jogador Font: Bold Button@MULTIPLAYER_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 100 Width: 140 Height: 30 - Text: Multiplayer + Text: Multijogador Font: Bold Button@SETTINGS_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 140 Width: 140 Height: 30 - Text: Settings + Text: Configurações Font: Bold Button@EXTRAS_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 @@ -72,14 +72,14 @@ Container@MAINMENU: Y: 220 Width: 140 Height: 30 - Text: Manage Content + Text: Conteúdo Font: Bold Button@QUIT_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 260 Width: 140 Height: 30 - Text: Quit + Text: Sair Font: Bold Background@SINGLEPLAYER_MENU: Width: PARENT_RIGHT @@ -90,7 +90,7 @@ Container@MAINMENU: Y: 20 Width: 200 Height: 30 - Text: Singleplayer + Text: Um jogador Align: Center Font: Bold Button@SKIRMISH_BUTTON: @@ -98,21 +98,21 @@ Container@MAINMENU: Y: 60 Width: 140 Height: 30 - Text: Skirmish + Text: Escaramuça Font: Bold Button@MISSIONS_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 100 Width: 140 Height: 30 - Text: Missions + Text: Missões Font: Bold Button@LOAD_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 140 Width: 140 Height: 30 - Text: Load + Text: Carregar Font: Bold Button@BACK_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 @@ -120,7 +120,7 @@ Container@MAINMENU: Y: 260 Width: 140 Height: 30 - Text: Back + Text: Voltar Font: Bold Background@EXTRAS_MENU: Width: PARENT_RIGHT @@ -146,28 +146,28 @@ Container@MAINMENU: Y: 100 Width: 140 Height: 30 - Text: Music + Text: Música Font: Bold Button@MAP_EDITOR_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 140 Width: 140 Height: 30 - Text: Map Editor + Text: Editor de mapas Font: Bold Button@ASSETBROWSER_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 180 Width: 140 Height: 30 - Text: Asset Browser + Text: Navegador de recursos Font: Bold Button@CREDITS_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 220 Width: 140 Height: 30 - Text: Credits + Text: Créditos Font: Bold Button@BACK_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 @@ -175,7 +175,7 @@ Container@MAINMENU: Y: 260 Width: 140 Height: 30 - Text: Back + Text: Voltar Font: Bold Background@MAP_EDITOR_MENU: Width: PARENT_RIGHT @@ -186,7 +186,7 @@ Container@MAINMENU: Y: 20 Width: 200 Height: 30 - Text: Map Editor + Text: Editor de mapas Align: Center Font: Bold Button@NEW_MAP_BUTTON: @@ -194,14 +194,14 @@ Container@MAINMENU: Y: 60 Width: 140 Height: 30 - Text: New Map + Text: Novo mapa Font: Bold Button@LOAD_MAP_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 Y: 100 Width: 140 Height: 30 - Text: Load Map + Text: Carregar mapa Font: Bold Button@BACK_BUTTON: X: PARENT_RIGHT / 2 - WIDTH / 2 @@ -209,7 +209,7 @@ Container@MAINMENU: Y: 260 Width: 140 Height: 30 - Text: Back + Text: Voltar Font: Bold Container@PERFORMANCE_INFO: Logic: PerfDebugLogic @@ -257,14 +257,14 @@ Container@MAINMENU: Height: 25 Align: Center Shadow: true - Text: You are running an outdated version of OpenKrush. + Text: Você está usando uma versão desatualizada do OpenKrush. Label@B: Y: 20 Width: PARENT_RIGHT Height: 25 Align: Center Shadow: true - Text: Download the latest version from https://github.com/IceReaper/OpenKrush + Text: Baixe a versão mais recente em https://github.com/IceReaper/OpenKrush Container@PLAYER_PROFILE_CONTAINER: X: 25 Y: 25 diff --git a/mods/openkrush/hotkeys/game.yaml b/mods/openkrush/hotkeys/game.yaml index 2a1cbcbf..3cb31865 100644 --- a/mods/openkrush/hotkeys/game.yaml +++ b/mods/openkrush/hotkeys/game.yaml @@ -1,19 +1,19 @@ CycleHarvesters: - Description: Cycle Tankers + Description: Alternar Tankers Types: World Contexts: Player, Spectator Research: X - Description: Research mode + Description: Modo de pesquisa Types: OrderGenerator Contexts: Player Radar: V - Description: Toggle radar + Description: Ligar/desligar radar Types: World Contexts: Player Resources: N - Description: Toggle resources + Description: Mostrar/ocultar recursos Types: World Contexts: Player diff --git a/mods/openkrush/hotkeys/production.yaml b/mods/openkrush/hotkeys/production.yaml index d4a89d33..cc6cf7e5 100644 --- a/mods/openkrush/hotkeys/production.yaml +++ b/mods/openkrush/hotkeys/production.yaml @@ -1,39 +1,39 @@ ProductionInfantry: T - Description: Infantry + Description: Infantaria Types: ProductionSlot Contexts: Player ProductionVehicles: Y - Description: Vehicles + Description: Veículos Types: ProductionSlot Contexts: Player ProductionConstructibles: - Description: Constructibles + Description: Construíveis Types: ProductionSlot Contexts: Player ProductionAircrafts: U - Description: Aircrafts + Description: Aeronaves Types: ProductionSlot Contexts: Player ProductionBuildings: E - Description: Buildings + Description: Construções Types: ProductionSlot Contexts: Player ProductionTowers: R - Description: Towers + Description: Torres Types: ProductionSlot Contexts: Player ProductionWalls: R ALT - Description: Walls + Description: Muros Types: ProductionSlot Contexts: Player Superweapons: U - Description: Superweapons + Description: Superarmas Types: ProductionSlot Contexts: Player diff --git a/mods/openkrush/rules/core.yaml b/mods/openkrush/rules/core.yaml index 5335e5c1..a1e644f6 100644 --- a/mods/openkrush/rules/core.yaml +++ b/mods/openkrush/rules/core.yaml @@ -10,6 +10,8 @@ QuantizeFacingsFromSequence: # TODO see BodyOrientation todo # Required to see debug overlays. CombatDebugOverlay: + # Required for mission scripts to attach triggers (OnKilled, OnDamaged...). + ScriptTriggers: # Map decoration actors. ^CoreDecoration: diff --git a/mods/openkrush/rules/misc.yaml b/mods/openkrush/rules/misc.yaml index 58858f8e..d714bbb6 100644 --- a/mods/openkrush/rules/misc.yaml +++ b/mods/openkrush/rules/misc.yaml @@ -4,21 +4,31 @@ AlwaysVisible: # Enable shroud and fog. Shroud: + FogCheckboxLabel: Névoa de guerra + FogCheckboxDescription: É preciso ter linha de visão para ver as forças inimigas + ExploredMapCheckboxLabel: Mapa explorado + ExploredMapCheckboxDescription: O mapa começa revelado + # Ingame specific player setup. Player: Inherits: ^CorePlayer # Developer debug menu DeveloperMode: + CheckboxLabel: Menu de depuração + CheckboxDescription: Ativa trapaças e comandos de desenvolvedor # Allow players to place building. PlaceBuilding: + # Required for mission scripts to attach player triggers (OnPlayerWon...). + ScriptTriggers: # Enable mission objectives, required to win or loose mission. MissionObjectives: # Default objective: Win by killing all enemies. ConquestVictoryConditions: # Amount of selectable starting resources. PlayerResources: - DefaultCashDropdownLabel: Resources + DefaultCashDropdownLabel: Recursos + DefaultCashDropdownDescription: Quantidade de dinheiro com que os jogadores começam SelectableCash: 5000, 6000, 8000, 10000, 12500, 15000 # Enable super weapons support. SupportPowerManager: @@ -67,7 +77,7 @@ EditorPlayer: ShroudBlend: Multiply # Random faction setup. Faction@Random: - Name: Any + Name: Aleatória InternalName: Random Side: Random # Required for UI to load. @@ -100,13 +110,22 @@ World: SpawnMapActors: # Default game settings: gamespeed, techlevel, shortgame. MapOptions: + ShortGameCheckboxLabel: Partida curta + ShortGameCheckboxDescription: Jogadores são derrotados quando suas bases são destruídas + TechLevelDropdownLabel: Nível tecnológico + TechLevelDropdownDescription: As unidades e habilidades que os jogadores podem usar + GameSpeedDropdownLabel: Velocidade + GameSpeedDropdownDescription: A velocidade com que o tempo passa # Required for spawnpoint support. MapStartingLocations: + SeparateTeamSpawnsCheckboxLabel: Separar equipes + SeparateTeamSpawnsCheckboxDescription: Jogadores sem ponto de início definido começam o mais longe possível dos inimigos # Required to setup the players in lobby. CreateMapPlayers: # Required to spawn player units at spawnpoint. SpawnStartingUnits: - DropdownLabel: Units + DropdownLabel: Unidades + DropdownDescription: As unidades com que os jogadores começam a partida StartingUnitsClass: support # Cheat protection. ValidateOrder: @@ -128,7 +147,7 @@ World: LobbyOptionCategory@oilpatch: Category: oilpatch - Title: Oil + Title: Petróleo # Oilpatch selectbox. OilAmount: # Oilpatch selectbox. @@ -136,7 +155,7 @@ World: LobbyOptionCategory@research: Category: research - Title: Research + Title: Pesquisa # TechLimit selectbox. TechLimit: # Research duration selectbox. @@ -158,7 +177,7 @@ World: LobbyOptionCategory@saboteur: Category: saboteur - Title: Saboteurs + Title: Sabotagem # Saboteur usage selectbox. SaboteurUsage: diff --git a/mods/openkrush_gen1/actors/bunker/techbunker/rules.yaml b/mods/openkrush_gen1/actors/bunker/techbunker/rules.yaml index 2a72a579..437c8754 100644 --- a/mods/openkrush_gen1/actors/bunker/techbunker/rules.yaml +++ b/mods/openkrush_gen1/actors/bunker/techbunker/rules.yaml @@ -31,4 +31,4 @@ bunker_techbunker: Tooltip: Name: Tech Bunker TooltipDescription: - Description: Contains powerfull technology + Description: Contém tecnologia poderosa diff --git a/mods/openkrush_gen1/actors/evolved/aircrafts/wasp/rules.yaml b/mods/openkrush_gen1/actors/evolved/aircrafts/wasp/rules.yaml index 9eb67486..10ba995d 100644 --- a/mods/openkrush_gen1/actors/evolved/aircrafts/wasp/rules.yaml +++ b/mods/openkrush_gen1/actors/evolved/aircrafts/wasp/rules.yaml @@ -4,7 +4,7 @@ evolved_aircraft_wasp: Tooltip: Name: Wasp TooltipDescription: - Description: Goes boom! + Description: Faz bum! Health: HP: 1500 Aircraft: diff --git a/mods/openkrush_gen1/actors/evolved/buildings/beastenclosure/rules.yaml b/mods/openkrush_gen1/actors/evolved/buildings/beastenclosure/rules.yaml index b367ba94..336ae4a9 100644 --- a/mods/openkrush_gen1/actors/evolved/buildings/beastenclosure/rules.yaml +++ b/mods/openkrush_gen1/actors/evolved/buildings/beastenclosure/rules.yaml @@ -6,7 +6,7 @@ evolved_building_beastenclosure: Tooltip: Name: Beast Enclosure TooltipDescription: - Description: Produces beasts + Description: Produz feras Valued: Cost: 1250 Health: diff --git a/mods/openkrush_gen1/actors/evolved/buildings/beastforge/rules.yaml b/mods/openkrush_gen1/actors/evolved/buildings/beastforge/rules.yaml index bd63f54b..7b4350db 100644 --- a/mods/openkrush_gen1/actors/evolved/buildings/beastforge/rules.yaml +++ b/mods/openkrush_gen1/actors/evolved/buildings/beastforge/rules.yaml @@ -6,7 +6,7 @@ evolved_building_beastforge: Tooltip: Name: Beast Forge TooltipDescription: - Description: Produces vehicles & beasts + Description: Produz veículos e feras Valued: Cost: 1500 Health: diff --git a/mods/openkrush_gen1/actors/evolved/rules.yaml b/mods/openkrush_gen1/actors/evolved/rules.yaml index 4d0579c5..e3d189ba 100644 --- a/mods/openkrush_gen1/actors/evolved/rules.yaml +++ b/mods/openkrush_gen1/actors/evolved/rules.yaml @@ -4,12 +4,12 @@ World: InternalName: evolved StartingUnits@evolved0: Class: none - ClassName: Mobile Base + ClassName: Base móvel BaseActor: evolved_vehicle_clanhallwagon Factions: evolved StartingUnits@evolved1: Class: support - ClassName: With Derrick + ClassName: Com Derrick BaseActor: evolved_vehicle_clanhallwagon SupportActors: evolved_vehicle_derrick InnerSupportRadius: 4 @@ -17,7 +17,7 @@ World: Factions: evolved StartingUnits@evolved2: Class: light - ClassName: Light support + ClassName: Apoio leve BaseActor: evolved_vehicle_clanhallwagon SupportActors: evolved_vehicle_derrick, evolved_infantry_berserker, evolved_infantry_berserker, evolved_infantry_berserker, evolved_infantry_berserker, evolved_infantry_berserker InnerSupportRadius: 4 @@ -25,7 +25,7 @@ World: Factions: evolved StartingUnits@evolved3: Class: heavy - ClassName: Heavy support + ClassName: Apoio pesado BaseActor: evolved_vehicle_clanhallwagon SupportActors: evolved_vehicle_derrick, evolved_vehicle_direwolf, evolved_vehicle_bikeandsidecar, evolved_vehicle_monstertruck, evolved_vehicle_giantscorpion InnerSupportRadius: 4 @@ -33,7 +33,7 @@ World: Factions: evolved StartingUnits@evolved4: Class: eco - ClassName: Eco support + ClassName: Apoio econômico BaseActor: evolved_vehicle_clanhallwagon SupportActors: evolved_vehicle_derrick, evolved_vehicle_derrick, evolved_vehicle_oiltanker, evolved_vehicle_oiltanker InnerSupportRadius: 4 diff --git a/mods/openkrush_gen1/actors/survivors/aircrafts/bomber/rules.yaml b/mods/openkrush_gen1/actors/survivors/aircrafts/bomber/rules.yaml index 8da043c0..657c0d8e 100644 --- a/mods/openkrush_gen1/actors/survivors/aircrafts/bomber/rules.yaml +++ b/mods/openkrush_gen1/actors/survivors/aircrafts/bomber/rules.yaml @@ -4,7 +4,7 @@ survivors_aircraft_bomber: Tooltip: Name: Bomber TooltipDescription: - Description: Drops a present + Description: Solta um presentinho Health: HP: 1500 Aircraft: diff --git a/mods/openkrush_gen1/actors/survivors/rules.yaml b/mods/openkrush_gen1/actors/survivors/rules.yaml index 70210b89..e4ecc324 100644 --- a/mods/openkrush_gen1/actors/survivors/rules.yaml +++ b/mods/openkrush_gen1/actors/survivors/rules.yaml @@ -4,12 +4,12 @@ World: InternalName: survivors StartingUnits@survivors0: Class: none - ClassName: Mobile Base + ClassName: Base móvel BaseActor: survivors_vehicle_mobileoutpost Factions: survivors StartingUnits@survivors1: Class: support - ClassName: With Derrick + ClassName: Com Derrick BaseActor: survivors_vehicle_mobileoutpost SupportActors: survivors_vehicle_derrick InnerSupportRadius: 4 @@ -17,7 +17,7 @@ World: Factions: survivors StartingUnits@survivors2: Class: light - ClassName: Light support + ClassName: Apoio leve BaseActor: survivors_vehicle_mobileoutpost SupportActors: survivors_vehicle_derrick, survivors_infantry_rifleman, survivors_infantry_rifleman, survivors_infantry_rifleman, survivors_infantry_rifleman, survivors_infantry_rifleman InnerSupportRadius: 4 @@ -25,7 +25,7 @@ World: Factions: survivors StartingUnits@survivors3: Class: heavy - ClassName: Heavy support + ClassName: Apoio pesado BaseActor: survivors_vehicle_mobileoutpost SupportActors: survivors_vehicle_derrick, survivors_vehicle_dirtbike, survivors_vehicle_4x4pickup, survivors_vehicle_allterrainvehicle, survivors_vehicle_flameatv InnerSupportRadius: 4 @@ -33,7 +33,7 @@ World: Factions: survivors StartingUnits@survivors4: Class: eco - ClassName: Eco support + ClassName: Apoio econômico BaseActor: survivors_vehicle_mobileoutpost SupportActors: survivors_vehicle_derrick, survivors_vehicle_derrick, survivors_vehicle_oiltanker, survivors_vehicle_oiltanker InnerSupportRadius: 4 diff --git a/mods/openkrush_gen1/ai.yaml b/mods/openkrush_gen1/ai.yaml index 64894a9b..23ad8022 100644 --- a/mods/openkrush_gen1/ai.yaml +++ b/mods/openkrush_gen1/ai.yaml @@ -1,6 +1,6 @@ Player: ModularBot: - Name: Computer + Name: Computador Type: computer GrantConditionOnBotOwner: Condition: enable-ai diff --git a/mods/openkrush_gen1/chrome.yaml b/mods/openkrush_gen1/chrome.yaml index 822be401..9910079f 100644 --- a/mods/openkrush_gen1/chrome.yaml +++ b/mods/openkrush_gen1/chrome.yaml @@ -141,6 +141,12 @@ music: next: 51, 0, 16, 16 prev: 68, 0, 16, 16 fastforward: 85, 0, 16, 16 + random: 0, 34, 16, 16 + +sidebar-bits: + Inherits: ^Glyphs + Regions: + indicator-muted: 0, 119, 26, 24 progressbar-bg: Inherits: dialog3 diff --git a/mods/openkrush_gen1/chrome/assetbrowser.yaml b/mods/openkrush_gen1/chrome/assetbrowser.yaml new file mode 100644 index 00000000..63cd69f5 --- /dev/null +++ b/mods/openkrush_gen1/chrome/assetbrowser.yaml @@ -0,0 +1,293 @@ +Background@ASSETBROWSER_PANEL: + Logic: AssetBrowserLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 900 + Height: 600 + Children: + LogicTicker@ANIMATION_TICKER: + Label@ASSETBROWSER_TITLE: + Y: 16 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Navegador de recursos + Label@SOURCE_SELECTOR_DESC: + X: 20 + Y: 36 + Width: 195 + Height: 25 + Font: TinyBold + Align: Center + Text: Escolha a origem dos recursos + DropDownButton@SOURCE_SELECTOR: + X: 20 + Y: 60 + Width: 195 + Height: 25 + Font: Bold + Text: Pastas + DropDownButton@ASSET_TYPES_DROPDOWN: + X: 20 + Y: 90 + Width: 195 + Height: 25 + Font: Bold + Text: Tipos de recurso + Label@FILENAME_DESC: + X: 20 + Y: 115 + Width: 195 + Height: 25 + Font: TinyBold + Align: Center + Text: Filtrar por nome + TextField@FILENAME_INPUT: + X: 20 + Y: 140 + Width: 195 + Height: 25 + Type: Filename + ScrollPanel@ASSET_LIST: + X: 20 + Y: 170 + Width: 195 + Height: PARENT_BOTTOM - 250 + CollapseHiddenChildren: True + Children: + ScrollItem@ASSET_TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Visible: false + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 10 + Width: PARENT_RIGHT - 20 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@SPRITE_SCALE: + X: PARENT_RIGHT - WIDTH - 440 + Y: 60 + Width: 40 + Height: 25 + Font: Bold + Align: Left + Text: Escala: + Slider@SPRITE_SCALE_SLIDER: + X: PARENT_RIGHT - WIDTH - 330 + Y: 62 + Width: 100 + Height: 20 + MinimumValue: 0.5 + MaximumValue: 4 + Label@MODEL_SCALE: + X: PARENT_RIGHT - WIDTH - 440 + Y: 60 + Width: 40 + Height: 25 + Font: Bold + Align: Left + Text: Escala: + Slider@MODEL_SCALE_SLIDER: + X: PARENT_RIGHT - WIDTH - 330 + Y: 62 + Width: 100 + Height: 20 + MinimumValue: 10 + MaximumValue: 64 + Label@PALETTE_DESC: + X: PARENT_RIGHT - WIDTH - 270 + Y: 60 + Width: 150 + Height: 25 + Font: Bold + Align: Right + Text: Paleta: + DropDownButton@PALETTE_SELECTOR: + X: PARENT_RIGHT - WIDTH - 110 + Y: 60 + Width: 150 + Height: 25 + Font: Bold + DropDownButton@COLOR: + X: PARENT_RIGHT - WIDTH - 20 + Y: 60 + Width: 80 + Height: 25 + Children: + ColorBlock@COLORBLOCK: + X: 5 + Y: 6 + Width: PARENT_RIGHT - 35 + Height: PARENT_BOTTOM - 12 + Background@SPRITE_BG: + X: 226 + Y: 90 + Width: PARENT_RIGHT - 226 - 20 + Height: PARENT_BOTTOM - 170 + Background: dialog3 + Children: + Sprite@SPRITE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + VideoPlayer@PLAYER: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + AspectRatio: 1 + Model@VOXEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Palette: colorpicker + PlayerPalette: colorpicker + Label@ERROR: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Align: Center + Visible: false + Text: Erro ao exibir o arquivo. Veja o assetbrowser.log. + Container@FRAME_SELECTOR: + X: 226 + Y: PARENT_BOTTOM - 75 + Width: PARENT_RIGHT - 226 + Children: + Button@BUTTON_PREV: + Width: 26 + Height: 26 + Key: LEFT + Children: + Image@IMAGE_PREV: + X: 5 + Y: 5 + ImageCollection: music + ImageName: prev + Button@BUTTON_PLAY: + X: 35 + Width: 26 + Height: 26 + Key: SPACE + Children: + Image@IMAGE_PLAY: + X: 5 + Y: 5 + ImageCollection: music + ImageName: play + Button@BUTTON_PAUSE: + Visible: false + X: 35 + Width: 26 + Height: 26 + Key: SPACE + Children: + Image@IMAGE_PAUSE: + X: 5 + Y: 5 + ImageCollection: music + ImageName: pause + Button@BUTTON_STOP: + X: 70 + Width: 26 + Height: 26 + Key: RETURN + Children: + Image@IMAGE_STOP: + X: 5 + Y: 5 + ImageCollection: music + ImageName: stop + Button@BUTTON_NEXT: + X: 105 + Width: 26 + Height: 26 + Key: RIGHT + Children: + Image@IMAGE_NEXT: + X: 5 + Y: 5 + ImageCollection: music + ImageName: next + Slider@FRAME_SLIDER: + X: 140 + Y: 3 + Width: PARENT_RIGHT - 140 - 85 + Height: 20 + MinimumValue: 0 + Label@FRAME_COUNT: + X: PARENT_RIGHT - WIDTH + 5 + Y: 0 + Width: 85 + Height: 25 + Font: TinyBold + Align: Left + Container@VOXEL_SELECTOR: + X: 226 + Y: PARENT_BOTTOM - 75 + Children: + Label@ROLL: + Y: 1 + Width: 40 + Height: 25 + Font: TinyBold + Align: Left + Text: Rotação + Slider@ROLL_SLIDER: + X: 30 + Y: 3 + Width: 100 + Height: 20 + MinimumValue: 1 + MaximumValue: 1023 + Label@PITCH: + X: 150 + Y: 1 + Width: 40 + Height: 25 + Font: TinyBold + Align: Left + Text: Inclinação + Slider@PITCH_SLIDER: + X: 190 + Y: 3 + Width: 100 + Height: 20 + MinimumValue: 1 + MaximumValue: 1023 + Label@YAW: + X: 305 + Y: 1 + Width: 40 + Height: 25 + Font: TinyBold + Align: Left + Text: Giro + Slider@YAW_SLIDER: + X: 335 + Y: 3 + Width: 100 + Height: 20 + MinimumValue: 1 + MaximumValue: 1023 + Button@CLOSE_BUTTON: + Key: escape + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Font: Bold + Text: Fechar + TooltipContainer@TOOLTIP_CONTAINER: + +ScrollPanel@ASSET_TYPES_PANEL: + Width: 195 + Height: 130 + ItemSpacing: 5 + TopBottomSpacing: 0 + Children: + Checkbox@ASSET_TYPE_TEMPLATE: + X: 5 + Y: 5 + Width: PARENT_RIGHT - 29 + Height: 20 diff --git a/mods/openkrush_gen1/chrome/color-picker.yaml b/mods/openkrush_gen1/chrome/color-picker.yaml new file mode 100644 index 00000000..2cb8dcb6 --- /dev/null +++ b/mods/openkrush_gen1/chrome/color-picker.yaml @@ -0,0 +1,121 @@ +Background@COLOR_CHOOSER: + Logic: ColorPickerLogic + PaletteColumns: 8 + PalettePresetRows: 2 + PaletteCustomRows: 1 + Background: dialog2 + Width: 326 + Height: 154 + Children: + Button@RANDOM_BUTTON: + Key: tab + X: 245 + Y: 95 + Width: 76 + Height: 25 + Text: Aleatório + Font: Bold + Button@STORE_BUTTON: + X: 245 + Y: 124 + Width: 76 + Height: 25 + Text: Guardar + Font: Bold + ActorPreview@PREVIEW: + X: 245 + Y: 13 + Width: 76 + Height: 73 + Button@MIXER_TAB_BUTTON: + X: 5 + Y: PARENT_BOTTOM - 30 + Height: 25 + Width: 80 + Text: Mixer + Font: Bold + Button@PALETTE_TAB_BUTTON: + X: 85 + Y: PARENT_BOTTOM - 30 + Height: 25 + Width: 80 + Text: Paleta + Font: Bold + Background@MIXER_TAB: + Background: dialog3 + X: 5 + Y: 5 + Width: PARENT_RIGHT - 90 + Height: PARENT_BOTTOM - 34 + Children: + ColorMixer@MIXER: + X: 2 + Y: 2 + Width: PARENT_RIGHT - 4 + Height: PARENT_BOTTOM - 4 + Background@PALETTE_TAB: + Background: dialog3 + X: 5 + Y: 5 + Width: PARENT_RIGHT - 90 + Height: PARENT_BOTTOM - 34 + Visible: false + Children: + Container@PALETTE_TAB_PANEL: + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Background@PRESET_HEADER: + Background: dialog2 + Width: PARENT_RIGHT - 4 + Height: 13 + X: 2 + Y: 2 + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 13 + Align: Center + Text: Cores predefinidas + Container@PRESET_AREA: + Width: PARENT_RIGHT - 4 + Height: 58 + X: 2 + Y: 16 + Children: + ColorBlock@COLORPRESET: + X: 0 + Y: 0 + Width: 29 + Height: 29 + Visible: false + ClickSound: ClickSound + Background@CUSTOM_HEADER: + Background: dialog2 + Width: PARENT_RIGHT - 4 + Height: 13 + X: 2 + Y: 75 + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 13 + Align: Center + Text: Cores personalizadas + Container@CUSTOM_AREA: + Width: PARENT_RIGHT - 4 + Height: 31 + X: 2 + Y: 89 + Children: + ColorBlock@COLORCUSTOM: + X: 0 + Y: 0 + Width: 29 + Height: 29 + Visible: false + ClickSound: ClickSound diff --git a/mods/openkrush_gen1/chrome/confirmation-dialogs.yaml b/mods/openkrush_gen1/chrome/confirmation-dialogs.yaml new file mode 100644 index 00000000..86f7ccb4 --- /dev/null +++ b/mods/openkrush_gen1/chrome/confirmation-dialogs.yaml @@ -0,0 +1,121 @@ +Background@THREEBUTTON_PROMPT: + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - 90) / 2 + Width: 600 + Height: 110 + Children: + Label@PROMPT_TITLE: + Width: PARENT_RIGHT + Y: 21 + Height: 25 + Font: Bold + Align: Center + Label@PROMPT_TEXT: + X: 15 + Y: 51 + Width: PARENT_RIGHT - 30 + Height: 20 + Align: Center + Button@CONFIRM_BUTTON: + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Confirmar + Font: Bold + Key: return + Visible: false + Button@OTHER_BUTTON: + X: PARENT_RIGHT - 380 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Reiniciar + Font: Bold + Visible: false + Button@CANCEL_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape + Visible: false + +Background@TWOBUTTON_PROMPT: + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - 90) / 2 + Width: 370 + Height: 110 + Children: + Label@PROMPT_TITLE: + Width: PARENT_RIGHT + Y: 21 + Height: 25 + Font: Bold + Align: Center + Label@PROMPT_TEXT: + X: 15 + Y: 51 + Width: PARENT_RIGHT - 30 + Height: 20 + Align: Center + Button@CONFIRM_BUTTON: + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Confirmar + Font: Bold + Key: return + Visible: false + Button@CANCEL_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape + Visible: false + +Background@TEXT_INPUT_PROMPT: + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 370 + Height: 175 + Children: + Label@PROMPT_TITLE: + Width: PARENT_RIGHT + Y: 21 + Height: 25 + Font: Bold + Align: Center + Label@PROMPT_TEXT: + X: 20 + Y: 51 + Width: PARENT_RIGHT - 40 + Height: 25 + Align: Center + TextField@INPUT_TEXT: + X: 20 + Y: 80 + Width: PARENT_RIGHT - 40 + Height: 25 + Button@ACCEPT_BUTTON: + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: OK + Font: Bold + Key: return + Button@CANCEL_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape diff --git a/mods/openkrush_gen1/chrome/connection.yaml b/mods/openkrush_gen1/chrome/connection.yaml new file mode 100644 index 00000000..b0652eb2 --- /dev/null +++ b/mods/openkrush_gen1/chrome/connection.yaml @@ -0,0 +1,159 @@ +Background@CONNECTIONFAILED_PANEL: + Logic: ConnectionFailedLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 450 + Height: 160 + Children: + LogicTicker@CONNECTION_FAILED_TICKER: + Label@TITLE: + X: 0 + Y: 21 + Width: 450 + Height: 25 + Align: Center + Font: Bold + Label@CONNECTING_DESC: + X: 0 + Y: 46 + Width: PARENT_RIGHT + Height: 25 + Text: Não foi possível conectar a AAA.BBB.CCC.DDD:EEEE + Align: Center + Label@CONNECTION_ERROR: + X: 0 + Y: 76 + Width: PARENT_RIGHT + Height: 25 + Text: ServerError + Align: Center + Font: Bold + Label@PASSWORD_LABEL: + X: PARENT_RIGHT - 360 + Y: 111 + Width: 95 + Height: 25 + Text: Senha: + Font: Bold + PasswordField@PASSWORD: + X: PARENT_RIGHT - 285 + Y: 111 + Width: 190 + MaxLength: 20 + Height: 25 + Button@RETRY_BUTTON: + X: PARENT_RIGHT - 430 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Tentar de novo + Font: Bold + Key: return + Button@ABORT_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape + +Background@CONNECTING_PANEL: + Logic: ConnectionLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 450 + Height: 160 + Children: + Label@CONNECTING_TITLE: + X: 0 + Y: 21 + Width: 450 + Height: 25 + Text: Conectando + Align: Center + Font: Bold + Label@CONNECTING_DESC: + X: 0 + Y: 61 + Width: PARENT_RIGHT + Height: 25 + Text: Conectando a AAA.BBB.CCC.DDD:EEEE... + Align: Center + Button@ABORT_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Abortar + Font: Bold + Key: escape + +Background@CONNECTION_SWITCHMOD_PANEL: + Logic: ConnectionSwitchModLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 450 + Height: 191 + Children: + Label@TITLE: + X: 0 + Y: 21 + Width: 450 + Height: 25 + Align: Center + Font: Bold + Text: Trocar mod + Label@DESC: + Y: 46 + Width: PARENT_RIGHT + Height: 25 + Text: Este servidor usa outro mod: + Font: Bold + Align: Center + Container@MOD_CONTAINER: + X: 0 + Y: 72 + Width: PARENT_RIGHT + Children: + RGBASprite@MOD_ICON: + Y: 4 + Width: 32 + Height: 32 + Label@MOD_TITLE: + X: 37 + Y: 1 + Width: PARENT_RIGHT - 37 + Height: 25 + Font: Bold + Align: Left + Label@MOD_VERSION: + X: 37 + Y: 16 + Width: PARENT_RIGHT - 37 + Height: 25 + Font: Tiny + Align: Left + Label@DESC2: + Y: 111 + Width: PARENT_RIGHT + Height: 25 + Text: Trocar de mod e entrar no servidor? + Font: Bold + Align: Center + Button@SWITCH_BUTTON: + X: PARENT_RIGHT - 430 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Trocar + Font: Bold + Key: return + Button@ABORT_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape diff --git a/mods/openkrush_gen1/chrome/credits.yaml b/mods/openkrush_gen1/chrome/credits.yaml new file mode 100644 index 00000000..45895876 --- /dev/null +++ b/mods/openkrush_gen1/chrome/credits.yaml @@ -0,0 +1,51 @@ +Background@CREDITS_PANEL: + Logic: CreditsLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 410 + Height: 500 + Children: + Label@CREDITS_TITLE: + Width: PARENT_RIGHT + Y: 21 + Height: 25 + Font: Bold + Align: Center + Text: Créditos + Container@TAB_CONTAINER: + Visible: False + X: 20 + Y: 50 + Width: PARENT_RIGHT - 40 + Height: 30 + Children: + Button@MOD_TAB: + Width: 140 + Height: 31 + Font: Bold + Button@ENGINE_TAB: + X: 140 + Width: 140 + Height: 31 + Text: OpenRA + Font: Bold + ScrollPanel@CREDITS_DISPLAY: + X: 20 + Y: 50 + Width: PARENT_RIGHT - 40 + Height: 395 + TopBottomSpacing: 8 + Children: + Label@CREDITS_TEMPLATE: + X: 8 + Width: PARENT_RIGHT - 25 + Height: 16 + VAlign: Top + Button@BACK_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Fechar + Font: Bold + Key: escape diff --git a/mods/openkrush_gen1/chrome/dropdowns.yaml b/mods/openkrush_gen1/chrome/dropdowns.yaml new file mode 100644 index 00000000..e54d4248 --- /dev/null +++ b/mods/openkrush_gen1/chrome/dropdowns.yaml @@ -0,0 +1,185 @@ +ScrollPanel@LABEL_DROPDOWN_TEMPLATE: + Width: DROPDOWN_WIDTH + Children: + ScrollItem@HEADER: + Background: scrollheader + Width: PARENT_RIGHT - 27 + Height: 13 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 13 + Align: Center + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + X: 10 + Width: PARENT_RIGHT - 20 + Height: 25 + +ScrollPanel@PLAYERACTION_DROPDOWN_TEMPLATE: + Width: DROPDOWN_WIDTH + Children: + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + X: 10 + Width: PARENT_RIGHT - 20 + Height: 25 + Align: Left + +ScrollPanel@TEAM_DROPDOWN_TEMPLATE: + Width: DROPDOWN_WIDTH + Children: + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + X: 0 + Width: PARENT_RIGHT + Height: 25 + Align: Center + +ScrollPanel@SPAWN_DROPDOWN_TEMPLATE: + Width: DROPDOWN_WIDTH + Children: + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + X: 0 + Width: PARENT_RIGHT + Height: 25 + Align: Center + +ScrollPanel@SPECTATOR_DROPDOWN_TEMPLATE: + Width: DROPDOWN_WIDTH + Background: observer-scrollpanel-button-pressed + ScrollBarBackground: observer-scrollpanel-button-pressed + Button: observer-scrollpanel-button + Children: + ScrollItem@HEADER: + Background: observer-scrollheader + Width: PARENT_RIGHT - 27 + Height: 13 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center + ScrollItem@TEMPLATE: + Background: observer-scrollitem + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Image@FLAG: + X: 4 + Y: 6 + Width: 32 + Height: 16 + Label@LABEL: + X: 40 + Width: PARENT_RIGHT + Height: 25 + Shadow: True + Label@NOFLAG_LABEL: + X: 5 + Width: PARENT_RIGHT + Height: 25 + Shadow: True + +ScrollPanel@SPECTATOR_LABEL_DROPDOWN_TEMPLATE: + Width: DROPDOWN_WIDTH + Background: observer-scrollpanel-button-pressed + ScrollBarBackground: observer-scrollpanel-button-pressed + Button: observer-scrollpanel-button + Children: + ScrollItem@HEADER: + Background: observer-scrollitem + Width: PARENT_RIGHT - 27 + Height: 13 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center + ScrollItem@TEMPLATE: + Background: observer-scrollitem + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + X: 10 + Width: PARENT_RIGHT - 20 + Height: 25 + +ScrollPanel@NEWS_PANEL: + Width: 400 + Height: 265 + TopBottomSpacing: 5 + ItemSpacing: 5 + Children: + Container@NEWS_ITEM_TEMPLATE: + X: 10 + Y: 5 + Width: PARENT_RIGHT - 40 + Height: 45 + Children: + Label@TITLE: + Width: PARENT_RIGHT + Height: 25 + Align: Center + Font: Bold + Label@AUTHOR_DATETIME: + Y: 25 + Width: PARENT_RIGHT + Height: 15 + Align: Center + Text: por {0} em {1} + Font: TinyBold + Label@CONTENT: + Y: 45 + Width: PARENT_RIGHT + Label@NEWS_STATUS: + X: 80 + Y: 0 + Width: PARENT_RIGHT - 80 - 80 - 24 + Height: PARENT_BOTTOM + Align: Center + VAlign: Middle diff --git a/mods/openkrush_gen1/chrome/editor.yaml b/mods/openkrush_gen1/chrome/editor.yaml new file mode 100644 index 00000000..7bc55a3d --- /dev/null +++ b/mods/openkrush_gen1/chrome/editor.yaml @@ -0,0 +1,695 @@ +Background@NEW_MAP_BG: + Logic: NewMapLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 300 + Height: 185 + Children: + Label@LABEL_TITLE: + X: 0 + Y: 21 + Width: 300 + Height: 25 + Text: Novo mapa + Align: Center + Font: Bold + Label@TILESET_LABEL: + X: 20 + Y: 60 + Width: 95 + Height: 25 + Align: Right + Text: Tileset: + DropDownButton@TILESET: + X: 120 + Y: 60 + Width: 160 + Height: 25 + Label@WIDTH_LABEL: + X: 20 + Y: 95 + Width: 95 + Height: 25 + Align: Right + Text: Largura: + TextField@WIDTH: + X: 120 + Y: 95 + Width: 50 + MaxLength: 3 + Height: 25 + Text: 128 + Type: Integer + Label@HEIGHT_LABEL: + X: 130 + Y: 95 + Width: 95 + Height: 25 + Align: Right + Text: Altura: + TextField@HEIGHT: + X: 230 + Y: 95 + Width: 50 + MaxLength: 3 + Height: 25 + Text: 128 + Type: Integer + Button@CREATE_BUTTON: + X: 30 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Criar + Font: Bold + Key: return + Button@CANCEL_BUTTON: + X: 160 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape + +Background@SAVE_MAP_PANEL: + Logic: SaveMapLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 350 + Height: 300 + Children: + Label@LABEL_TITLE: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 21 + Width: 250 + Height: 25 + Text: Salvar mapa + Align: Center + Font: Bold + Label@TITLE_LABEL: + X: 10 + Y: 60 + Width: 95 + Height: 25 + Align: Right + Text: Título: + TextField@TITLE: + X: 110 + Y: 60 + Width: 220 + MaxLength: 50 + Height: 25 + Label@AUTHOR_LABEL: + X: 10 + Y: 95 + Width: 95 + Height: 25 + Align: Right + Text: Autor: + TextField@AUTHOR: + X: 110 + Y: 95 + Width: 220 + MaxLength: 50 + Height: 25 + Label@VISIBILITY_LABEL: + X: 10 + Y: 130 + Width: 95 + Height: 25 + Align: Right + Text: Visibilidade: + DropDownButton@VISIBILITY_DROPDOWN: + X: 110 + Y: 130 + Width: 220 + Height: 25 + Text: Visibilidade do mapa + Label@DIRECTORY_LABEL: + X: 10 + Y: 165 + Width: 95 + Height: 25 + Align: Right + Text: Pasta: + DropDownButton@DIRECTORY_DROPDOWN: + X: 110 + Y: 165 + Width: 220 + Height: 25 + Label@FILENAME_LABEL: + X: 10 + Y: 200 + Width: 95 + Height: 25 + Align: Right + Text: Arquivo: + TextField@FILENAME: + X: 110 + Y: 200 + Width: 105 + Height: 25 + Type: Filename + DropDownButton@TYPE_DROPDOWN: + X: 220 + Y: 200 + Width: 110 + Height: 25 + Button@SAVE_BUTTON: + X: 80 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Salvar + Font: Bold + Button@BACK_BUTTON: + X: 210 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape + +ScrollPanel@MAP_SAVE_VISIBILITY_PANEL: + TopBottomSpacing: 5 + ItemSpacing: 5 + Width: 220 + Height: 55 + Children: + Checkbox@VISIBILITY_TEMPLATE: + X: 5 + Width: PARENT_RIGHT - 29 + Height: 20 + Font: Regular + +Container@EDITOR_ROOT: + Logic: LoadMapEditorLogic + Children: + LogicKeyListener@GLOBAL_KEYHANDLER: + Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic, MuteHotkeyLogic + StopMusicKey: StopMusic + PauseMusicKey: PauseMusic + PrevMusicKey: PrevMusic + NextMusicKey: NextMusic + TakeScreenshotKey: TakeScreenshot + MuteAudioKey: ToggleMute + LogicKeyListener@WORLD_KEYHANDLER: + Logic: ResetZoomHotkeyLogic + ResetZoomKey: ResetZoom + Container@WORLD_ROOT: + Container@MENU_ROOT: + TooltipContainer@TOOLTIP_CONTAINER: + +Container@EDITOR_WORLD_ROOT: + Logic: LoadIngamePerfLogic, MapEditorLogic, ActorEditLogic, MapOverlaysLogic + ToggleGridOverlayKey: EditorToggleGridOverlay + ToggleBuildableOverlayKey: EditorToggleBuildableOverlay + Children: + LogicKeyListener@OVERLAY_KEYHANDLER: + Container@PERF_ROOT: + EditorViewportController@MAP_EDITOR: + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Children: + Background@ACTOR_EDIT_PANEL: + X: 32 + Y: 32 + Width: 294 + Height: 114 + Children: + Label@ACTOR_TYPE_LABEL: + X: 15 + Y: 16 + Width: 265 + Height: 24 + Align: Center + Font: Bold + Label@ACTOR_ID_LABEL: + X: 15 + Y: 45 + Width: 55 + Height: 25 + Text: ID + Align: Right + TextField@ACTOR_ID: + X: 84 + Y: 45 + Width: 192 + Height: 25 + Label@ACTOR_ID_ERROR_LABEL: + X: 84 + Y: 71 + Width: 192 + Height: 15 + Font: TinyBold + TextColor: FF0000 + Container@ACTOR_INIT_CONTAINER: + Y: 73 + Width: PARENT_RIGHT + Children: + Container@CHECKBOX_OPTION_TEMPLATE: + Width: PARENT_RIGHT + Height: 22 + Children: + Checkbox@OPTION: + X: 84 + Y: 1 + Width: PARENT_RIGHT - 84 + Height: 20 + Container@SLIDER_OPTION_TEMPLATE: + Width: PARENT_RIGHT + Height: 22 + Children: + Label@LABEL: + X: 15 + Y: 1 + Width: 55 + Height: 16 + Align: Right + Slider@OPTION: + X: 75 + Y: 1 + Width: 149 + Height: 20 + TextField@VALUE: + X: 226 + Y: 1 + Width: 50 + Height: 20 + Type: Integer + Container@DROPDOWN_OPTION_TEMPLATE: + Width: PARENT_RIGHT + Height: 27 + Children: + Label@LABEL: + X: 15 + Y: 2 + Width: 55 + Height: 24 + Align: Right + DropDownButton@OPTION: + X: 84 + Y: 1 + Width: 192 + Height: 25 + Font: Bold + Container@BUTTON_CONTAINER: + Y: 75 + Children: + Button@DELETE_BUTTON: + X: 15 + Width: 75 + Height: 25 + Text: Apagar + Font: Bold + Button@CANCEL_BUTTON: + X: 125 + Width: 75 + Height: 25 + Text: Cancelar + Font: Bold + Button@OK_BUTTON: + X: 205 + Width: 75 + Height: 25 + Text: OK + Font: Bold + ViewportController: + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + IgnoreMouseOver: True + ZoomInKey: ZoomIn + ZoomOutKey: ZoomOut + ScrollUpKey: MapScrollUp + ScrollDownKey: MapScrollDown + ScrollLeftKey: MapScrollLeft + ScrollRightKey: MapScrollRight + JumpToTopEdgeKey: MapJumpToTopEdge + JumpToBottomEdgeKey: MapJumpToBottomEdge + JumpToLeftEdgeKey: MapJumpToLeftEdge + JumpToRightEdgeKey: MapJumpToRightEdge + BookmarkSaveKeyPrefix: MapBookmarkSave + BookmarkRestoreKeyPrefix: MapBookmarkRestore + BookmarkKeyCount: 4 + Background@RADAR_BG: + X: WINDOW_RIGHT - 325 + Y: 5 + Width: 320 + Height: 320 + Children: + Radar@INGAME_RADAR: + X: 10 + Y: 10 + Width: PARENT_RIGHT - 19 + Height: PARENT_BOTTOM - 19 + Container@TILE_WIDGETS: + Logic: TileSelectorLogic + Children: + Background@TILES_BG: + X: WINDOW_RIGHT - 320 + Y: 360 + Width: 310 + Height: WINDOW_BOTTOM - 452 + Children: + Label@SEARCH_LABEL: + Y: 12 + Width: 55 + Height: 25 + Text: Buscar: + Align: Right + Font: TinyBold + TextField@SEARCH_TEXTFIELD: + X: 60 + Y: 10 + Width: PARENT_RIGHT - 70 + Height: 25 + Label@CATEGORIES_LABEL: + Y: 36 + Width: 55 + Height: 25 + Text: Filtro: + Align: Right + Font: TinyBold + DropDownButton@CATEGORIES_DROPDOWN: + X: 60 + Y: 34 + Width: PARENT_RIGHT - 70 + Height: 25 + Font: Bold + ScrollPanel@TILETEMPLATE_LIST: + X: 10 + Y: 58 + Width: PARENT_RIGHT - 20 + Height: PARENT_BOTTOM - 68 + TopBottomSpacing: 4 + ItemSpacing: 4 + Children: + ScrollItem@TILEPREVIEW_TEMPLATE: + Visible: false + Width: PARENT_RIGHT - 35 + TooltipContainer: TOOLTIP_CONTAINER + Children: + TerrainTemplatePreview@TILE_PREVIEW: + X: 4 + Y: 4 + Container@LAYER_WIDGETS: + Visible: false + Logic: LayerSelectorLogic + Children: + Background@LAYERS_BG: + X: WINDOW_RIGHT - 320 + Y: 360 + Width: 310 + Height: WINDOW_BOTTOM - 452 + Children: + ScrollPanel@LAYERTEMPLATE_LIST: + X: 10 + Y: 10 + Width: PARENT_RIGHT - 20 + Height: PARENT_BOTTOM - 20 + TopBottomSpacing: 4 + ItemSpacing: 4 + Children: + ScrollItem@LAYERPREVIEW_TEMPLATE: + Visible: false + IgnoreChildMouseOver: true + TooltipContainer: TOOLTIP_CONTAINER + Children: + ResourcePreview@LAYER_PREVIEW: + X: 4 + Y: 4 + Visible: false + Container@ACTOR_WIDGETS: + Visible: false + Logic: ActorSelectorLogic + Children: + Background@ACTORS_BG: + X: WINDOW_RIGHT - 320 + Y: 360 + Width: 310 + Height: WINDOW_BOTTOM - 452 + Children: + Label@SEARCH_LABEL: + Y: 12 + Width: 55 + Height: 25 + Text: Buscar: + Align: Right + Font: TinyBold + TextField@SEARCH_TEXTFIELD: + X: 60 + Y: 10 + Width: PARENT_RIGHT - 70 + Height: 25 + Label@CATEGORIES_LABEL: + Y: 36 + Width: 55 + Height: 25 + Text: Filtro: + Align: Right + Font: TinyBold + DropDownButton@CATEGORIES_DROPDOWN: + X: 60 + Y: 34 + Width: PARENT_RIGHT - 70 + Height: 25 + Font: Bold + Label@OWNERS_LABEL: + Y: 60 + Width: 55 + Height: 25 + Text: Dono: + Align: Right + Font: TinyBold + DropDownButton@OWNERS_DROPDOWN: + X: 60 + Y: 58 + Width: PARENT_RIGHT - 70 + Height: 25 + Font: Bold + ScrollPanel@ACTORTEMPLATE_LIST: + X: 10 + Y: 82 + Width: PARENT_RIGHT - 20 + Height: PARENT_BOTTOM - 92 + TopBottomSpacing: 4 + ItemSpacing: 4 + Children: + ScrollItem@ACTORPREVIEW_TEMPLATE: + Visible: false + Width: PARENT_RIGHT - 35 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + IgnoreChildMouseOver: true + Children: + ActorPreview@ACTOR_PREVIEW: + X: 4 + Y: 4 + Visible: true + Container@HISTORY_WIDGETS: + Logic: HistoryLogLogic + Visible: false + Children: + Background@HISTORY_BG: + X: WINDOW_RIGHT - 320 + Y: 360 + Width: 310 + Height: WINDOW_BOTTOM - 452 + Children: + ScrollPanel@HISTORY_LIST: + X: 10 + Y: 10 + Width: PARENT_RIGHT - 20 + Height: PARENT_BOTTOM - 20 + CollapseHiddenChildren: True + TopBottomSpacing: 4 + ItemSpacing: 4 + Children: + ScrollItem@HISTORY_TEMPLATE: + X: 4 + Visible: false + Width: PARENT_RIGHT - 31 + Height: 25 + IgnoreChildMouseOver: true + TextColor: ffffff + TextColorDisabled: 8f8f8f + Children: + Label@TITLE: + X: 5 + Width: PARENT_RIGHT + Height: 25 + Align: Left + Container@MAP_EDITOR_TAB_CONTAINER: + Logic: MapEditorTabsLogic + X: WINDOW_RIGHT - 315 + Y: 330 + Width: 310 + Height: 25 + Children: + Button@TILES_TAB: + X: 0 + Width: 70 + Height: 25 + Text: Peças + Font: Bold + Key: EditorTilesTab + TooltipTemplate: BUTTON_TOOLTIP + TooltipText: Peças + TooltipContainer: TOOLTIP_CONTAINER + Button@OVERLAYS_TAB: + X: 70 + Width: 90 + Height: 25 + Text: Sobreposições + Font: Bold + Key: EditorOverlaysTab + TooltipTemplate: BUTTON_TOOLTIP + TooltipText: Sobreposições + TooltipContainer: TOOLTIP_CONTAINER + Button@ACTORS_TAB: + X: 160 + Width: 70 + Height: 25 + Text: Atores + Font: Bold + Key: EditorActorsTab + TooltipTemplate: BUTTON_TOOLTIP + TooltipText: Atores + TooltipContainer: TOOLTIP_CONTAINER + Button@HISTORY_TAB: + X: 230 + Width: 70 + Height: 25 + Text: Histórico + Font: Bold + Key: EditorHistoryTab + TooltipTemplate: BUTTON_TOOLTIP + TooltipText: Histórico + TooltipContainer: TOOLTIP_CONTAINER + MenuButton@OPTIONS_BUTTON: + Logic: MenuButtonsChromeLogic + MenuContainer: INGAME_MENU + HideIngameUI: true + Pause: true + Width: 60 + Height: 25 + Text: Menu + TooltipText: Menu + TooltipContainer: TOOLTIP_CONTAINER + Font: Bold + Key: escape + Button@COPYPASTE_BUTTON: + X: 70 + Width: 90 + Height: 25 + Text: Copiar/Colar + TooltipTemplate: BUTTON_TOOLTIP + TooltipText: Copiar + TooltipContainer: TOOLTIP_CONTAINER + Font: Bold + Key: EditorCopy + DropDownButton@COPYFILTER_BUTTON: + X: 170 + Width: 140 + Height: 25 + Text: Filtros de cópia + Font: Bold + Button@UNDO_BUTTON: + X: 320 + Height: 25 + Width: 70 + Text: Desfazer + Font: Bold + Key: EditorUndo + TooltipTemplate: BUTTON_TOOLTIP + TooltipText: Desfazer último passo + TooltipContainer: TOOLTIP_CONTAINER + Button@REDO_BUTTON: + X: 400 + Height: 25 + Width: 70 + Text: Refazer + Font: Bold + Key: EditorRedo + TooltipTemplate: BUTTON_TOOLTIP + TooltipText: Refazer último passo + TooltipContainer: TOOLTIP_CONTAINER + DropDownButton@OVERLAY_BUTTON: + X: 480 + Width: 140 + Height: 25 + Text: Sobreposições + Font: Bold + Label@COORDINATE_LABEL: + X: 630 + Width: 50 + Height: 25 + Align: Left + Font: Bold + Contrast: true + Label@CASH_LABEL: + X: 745 + Width: 50 + Height: 25 + Align: Left + Font: Bold + Contrast: true + +ScrollPanel@CATEGORY_FILTER_PANEL: + Width: 240 + TopBottomSpacing: 5 + ItemSpacing: 5 + Children: + Container@SELECT_CATEGORIES_BUTTONS: + Width: PARENT_RIGHT + Height: 25 + Children: + Button@SELECT_ALL: + X: 10 + Y: 0 - 5 + Width: 93 + Height: 25 + Text: Todos + Font: Bold + Button@SELECT_NONE: + X: 10 + 93 + 10 + Y: 0 - 5 + Width: 93 + Height: 25 + Text: Nenhum + Font: Bold + Checkbox@CATEGORY_TEMPLATE: + X: 5 + Width: PARENT_RIGHT - 29 + Height: 20 + Visible: false + +ScrollPanel@COPY_FILTER_PANEL: + Width: 140 + Height: 80 + ItemSpacing: 5 + TopBottomSpacing: 0 + Children: + Checkbox@CATEGORY_TEMPLATE: + X: 5 + Y: 5 + Width: PARENT_RIGHT - 29 + Height: 20 + Visible: false + +ScrollPanel@OVERLAY_PANEL: + Width: 140 + Height: 55 + ItemSpacing: 5 + TopBottomSpacing: 0 + Children: + Checkbox@CATEGORY_TEMPLATE: + X: 5 + Y: 5 + Width: PARENT_RIGHT - 29 + Height: 20 + Visible: false diff --git a/mods/openkrush_gen1/chrome/gamesave-browser.yaml b/mods/openkrush_gen1/chrome/gamesave-browser.yaml new file mode 100644 index 00000000..54823b3c --- /dev/null +++ b/mods/openkrush_gen1/chrome/gamesave-browser.yaml @@ -0,0 +1,119 @@ +Background@GAMESAVE_BROWSER_PANEL: + Logic: GameSaveBrowserLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 700 + Height: 500 + Children: + Label@LOAD_TITLE: + Width: PARENT_RIGHT + Y: 16 + Height: 25 + Font: Bold + Align: Center + Text: Carregar jogo + Visible: False + Label@SAVE_TITLE: + Width: PARENT_RIGHT + Y: 16 + Height: 25 + Font: Bold + Align: Center + Text: Salvar jogo + Visible: False + ScrollPanel@GAME_LIST: + X: 20 + Y: 45 + Width: PARENT_RIGHT - 40 + Height: PARENT_BOTTOM - 97 + Children: + ScrollItem@NEW_TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Visible: false + Children: + Label@TITLE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Align: Center + Text: [CRIAR NOVO ARQUIVO] + ScrollItem@GAME_TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Visible: false + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 10 + Width: PARENT_RIGHT - 200 - 10 + Height: 25 + TooltipContainer: GAMESAVE_TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@DATE: + X: PARENT_RIGHT - WIDTH - 10 + Width: 200 + Height: 25 + Align: Right + Container@SAVE_WIDGETS: + X: 20 + Y: PARENT_BOTTOM - 77 + Width: PARENT_RIGHT - 40 + Height: 32 + Visible: False + Children: + TextField@SAVE_TEXTFIELD: + Width: PARENT_RIGHT + Height: 25 + Type: Filename + Button@CANCEL_BUTTON: + Key: escape + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Voltar + Font: Bold + Button@DELETE_ALL_BUTTON: + X: PARENT_RIGHT - 350 - WIDTH + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Apagar todos + Font: Bold + Button@DELETE_BUTTON: + X: PARENT_RIGHT - 240 - WIDTH + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Apagar + Font: Bold + Key: Delete + Button@RENAME_BUTTON: + X: PARENT_RIGHT - 130 - WIDTH + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Renomear + Font: Bold + Key: F2 + Button@LOAD_BUTTON: + Key: return + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Carregar + Font: Bold + Visible: False + Button@SAVE_BUTTON: + Key: return + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - 45 + Width: 100 + Height: 25 + Text: Salvar + Font: Bold + Visible: False + TooltipContainer@GAMESAVE_TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/gamesave-loading.yaml b/mods/openkrush_gen1/chrome/gamesave-loading.yaml new file mode 100644 index 00000000..5793ac58 --- /dev/null +++ b/mods/openkrush_gen1/chrome/gamesave-loading.yaml @@ -0,0 +1,35 @@ +Container@GAMESAVE_LOADING_SCREEN: + Logic: GameSaveLoadingLogic + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Children: + LogicKeyListener@CANCEL_HANDLER: + Background@STRIPE: + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: WINDOW_RIGHT + Height: 256 + Background: loadscreen-stripe + Image@LOGO: + X: (WINDOW_RIGHT - 256) / 2 + Y: (WINDOW_BOTTOM - 256) / 2 + ImageCollection: logos + ImageName: logo + Label@TITLE: + Width: WINDOW_RIGHT + Y: 3 * WINDOW_BOTTOM / 4 - 29 + Height: 25 + Font: Bold + Align: Center + Text: Carregando jogo salvo + ProgressBar@PROGRESS: + X: (WINDOW_RIGHT - 500) / 2 + Y: 3 * WINDOW_BOTTOM / 4 + Width: 500 + Height: 20 + Label@DESC: + Width: WINDOW_RIGHT + Y: 3 * WINDOW_BOTTOM / 4 + 19 + Height: 25 + Font: Regular + Align: Center + Text: Pressione Esc para cancelar e voltar ao menu principal diff --git a/mods/openkrush_gen1/chrome/ingame-chat.yaml b/mods/openkrush_gen1/chrome/ingame-chat.yaml new file mode 100644 index 00000000..04a979b4 --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-chat.yaml @@ -0,0 +1,60 @@ +Container@CHAT_PANEL: + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: WINDOW_BOTTOM - HEIGHT - 56 + Width: 550 + Height: 194 + Logic: IngameChatLogic + OpenTeamChatKey: OpenTeamChat + OpenGeneralChatKey: OpenGeneralChat + Templates: + Chat: CHAT_LINE_TEMPLATE + System: SYSTEM_LINE_TEMPLATE + Mission: CHAT_LINE_TEMPLATE + Children: + Container@CHAT_OVERLAY: + Width: PARENT_RIGHT - 24 + Height: PARENT_BOTTOM - 30 + Visible: false + Children: + TextNotificationsDisplay@CHAT_DISPLAY: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + RemoveTime: 250 + BottomSpacing: 3 + Container@CHAT_CHROME: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Button@CHAT_MODE: + Y: PARENT_BOTTOM - HEIGHT + Width: 50 + Height: 25 + Text: Equipe + Font: Bold + Key: ToggleChatMode + TooltipText: Alternar modo do chat + TooltipContainer: TOOLTIP_CONTAINER + TextField@CHAT_TEXTFIELD: + X: 55 + Y: PARENT_BOTTOM - HEIGHT + Width: 466 + Height: 25 + Button@CHAT_CLOSE: + X: 526 + Y: PARENT_BOTTOM - HEIGHT + Width: 24 + Height: 25 + Children: + Image: + ImageCollection: lobby-bits + ImageName: kick + X: 6 + Y: 8 + LogicKeyListener@KEY_LISTENER: + ScrollPanel@CHAT_SCROLLPANEL: + Y: PARENT_BOTTOM - HEIGHT - 30 + Width: 550 + Height: 164 + TopBottomSpacing: 3 + ItemSpacing: 4 + Align: Bottom diff --git a/mods/openkrush_gen1/chrome/ingame-debug.yaml b/mods/openkrush_gen1/chrome/ingame-debug.yaml new file mode 100644 index 00000000..bb29564d --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-debug.yaml @@ -0,0 +1,137 @@ +Container@DEBUG_PANEL: + Logic: DebugMenuLogic + Y: 10 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@TITLE: + Y: 26 + Font: Bold + Text: Opções de depuração + Align: Center + Width: PARENT_RIGHT + Checkbox@INSTANT_BUILD: + X: 45 + Y: 45 + Width: 200 + Height: 20 + Font: Regular + Text: Construção instantânea + Checkbox@ENABLE_TECH: + X: 45 + Y: 75 + Width: 200 + Height: 20 + Font: Regular + Text: Construir tudo + Checkbox@BUILD_ANYWHERE: + X: 45 + Y: 105 + Width: 200 + Height: 20 + Font: Regular + Text: Construir em qualquer lugar + Checkbox@UNLIMITED_POWER: + X: 290 + Y: 45 + Width: 200 + Height: 20 + Font: Regular + Text: Energia ilimitada + Checkbox@INSTANT_CHARGE: + X: 290 + Y: 75 + Width: 200 + Height: 20 + Font: Regular + Text: Recarga instantânea + Checkbox@DISABLE_VISIBILITY_CHECKS: + X: 290 + Y: 105 + Height: 20 + Width: 200 + Font: Regular + Text: Desativar verificação de visão + Button@GIVE_CASH: + X: 90 + Y: 150 + Width: 140 + Height: 30 + Font: Bold + Text: Dar $20.000 + Button@GROW_RESOURCES: + X: 271 + Y: 150 + Width: 140 + Height: 30 + Font: Bold + Text: Crescer recursos + Button@GIVE_EXPLORATION: + X: 90 + Y: 200 + Width: 140 + Height: 30 + Font: Bold + Text: Remover névoa + Button@RESET_EXPLORATION: + X: 271 + Y: 200 + Width: 140 + Height: 30 + Font: Bold + Text: Restaurar névoa + Label@VISUALIZATIONS_TITLE: + Y: 256 + Font: Bold + Text: Visualizações + Align: Center + Width: PARENT_RIGHT + Checkbox@SHOW_UNIT_PATHS: + X: 45 + Y: 275 + Width: 200 + Height: 20 + Font: Regular + Text: Mostrar caminhos das unidades + Checkbox@SHOW_CUSTOMTERRAIN_OVERLAY: + X: 45 + Y: 305 + Height: 20 + Width: 200 + Font: Regular + Text: Mostrar terreno personalizado + Checkbox@SHOW_ACTOR_TAGS: + X: 45 + Y: 335 + Height: 20 + Width: 200 + Font: Regular + Text: Mostrar tags dos atores + Checkbox@SHOW_COMBATOVERLAY: + X: 290 + Y: 275 + Height: 20 + Width: 200 + Font: Regular + Text: Mostrar geometria de combate + Checkbox@SHOW_GEOMETRY: + X: 290 + Y: 305 + Height: 20 + Width: 200 + Font: Regular + Text: Mostrar geometria de renderização + Checkbox@SHOW_TERRAIN_OVERLAY: + X: 290 + Y: 335 + Height: 20 + Width: 200 + Font: Regular + Text: Mostrar geometria do terreno + Checkbox@SHOW_SCREENMAP: + X: 290 + Y: 365 + Height: 20 + Width: 200 + Font: Regular + Text: Mostrar mapa de tela diff --git a/mods/openkrush_gen1/chrome/ingame-debuginfo.yaml b/mods/openkrush_gen1/chrome/ingame-debuginfo.yaml new file mode 100644 index 00000000..fd28c298 --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-debuginfo.yaml @@ -0,0 +1,14 @@ +Container@DEBUG_WIDGETS: + Logic: DebugLogic + X: WINDOW_RIGHT / 2 - WIDTH + Y: 60 + Width: 100 + Height: 55 + Children: + Label@DEBUG_TEXT: + Y: 35 + Width: PARENT_RIGHT + Height: 15 + Align: Center + Font: Bold + Contrast: true diff --git a/mods/openkrush_gen1/chrome/ingame-fmvplayer.yaml b/mods/openkrush_gen1/chrome/ingame-fmvplayer.yaml new file mode 100644 index 00000000..00cfcdcd --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-fmvplayer.yaml @@ -0,0 +1,10 @@ +Background@FMVPLAYER: + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Background: dialog5 + Children: + VideoPlayer@PLAYER: + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM diff --git a/mods/openkrush_gen1/chrome/ingame-info-lobby-options.yaml b/mods/openkrush_gen1/chrome/ingame-info-lobby-options.yaml new file mode 100644 index 00000000..52d1b1d7 --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-info-lobby-options.yaml @@ -0,0 +1,68 @@ +Container@LOBBY_OPTIONS_PANEL: + Height: PARENT_BOTTOM + Width: PARENT_RIGHT + Children: + ScrollPanel: + Logic: LobbyOptionsLogic + X: 20 + Y: 20 + Width: PARENT_RIGHT - 40 + Height: 365 + Children: + Container@LOBBY_OPTIONS: + Y: 10 + Width: PARENT_RIGHT - 24 + Children: + Label@HEADLINE_TEMPLATE: + Width: PARENT_RIGHT + Height: 30 + Font: Bold + Align: Center + Container@CHECKBOX_ROW_TEMPLATE: + Width: PARENT_RIGHT + Height: 30 + Children: + Checkbox@A: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Height: 20 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + Checkbox@B: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Height: 20 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + Container@DROPDOWN_ROW_TEMPLATE: + Height: 60 + Width: PARENT_RIGHT + Children: + LabelForInput@A_DESC: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Height: 20 + Visible: False + For: A + DropDownButton@A: + X: 10 + Y: 25 + Width: PARENT_RIGHT / 2 - 20 + Height: 25 + Font: Regular + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + LabelForInput@B_DESC: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Height: 20 + Visible: False + For: B + DropDownButton@B: + X: PARENT_RIGHT / 2 + 10 + Y: 25 + Width: PARENT_RIGHT / 2 - 20 + Height: 25 + Font: Regular + Visible: False + TooltipContainer: TOOLTIP_CONTAINER diff --git a/mods/openkrush_gen1/chrome/ingame-info.yaml b/mods/openkrush_gen1/chrome/ingame-info.yaml new file mode 100644 index 00000000..b6424638 --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-info.yaml @@ -0,0 +1,142 @@ +Container@GAME_INFO_PANEL: + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 580 + Height: 500 + Logic: GameInfoLogic + Visible: False + Children: + Background@BACKGROUND: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Label@TITLE: + Y: 21 + Width: PARENT_RIGHT + Height: 25 + Align: Center + Font: Bold + Container@TAB_CONTAINER_2: + X: (PARENT_RIGHT - WIDTH) / 2 + Width: 280 + Height: 25 + Visible: False + Children: + Button@BUTTON1: + Y: 50 + Width: 140 + Height: 25 + Font: Bold + Button@BUTTON2: + X: 140 + Y: 50 + Width: 140 + Height: 25 + Font: Bold + Container@TAB_CONTAINER_3: + X: (PARENT_RIGHT - WIDTH) / 2 + Width: 360 + Height: 25 + Visible: False + Children: + Button@BUTTON1: + Y: 50 + Width: 120 + Height: 25 + Font: Bold + Button@BUTTON2: + X: 120 + Y: 50 + Width: 120 + Height: 25 + Font: Bold + Button@BUTTON3: + X: 240 + Y: 50 + Width: 120 + Height: 25 + Font: Bold + Container@TAB_CONTAINER_4: + X: (PARENT_RIGHT - WIDTH) / 2 + Width: 480 + Height: 25 + Visible: False + Children: + Button@BUTTON1: + Y: 50 + Width: 120 + Height: 25 + Font: Bold + Button@BUTTON2: + X: 120 + Y: 50 + Width: 120 + Height: 25 + Font: Bold + Button@BUTTON3: + X: 240 + Y: 50 + Width: 120 + Height: 25 + Font: Bold + Button@BUTTON4: + X: 360 + Y: 50 + Width: 120 + Height: 25 + Font: Bold + Container@TAB_CONTAINER_5: + X: (PARENT_RIGHT - WIDTH) / 2 + Width: 480 + Height: 25 + Visible: False + Children: + Button@BUTTON1: + Y: 50 + Width: 96 + Height: 25 + Font: Bold + Button@BUTTON2: + X: 96 + Y: 50 + Width: 96 + Height: 25 + Font: Bold + Button@BUTTON3: + X: 192 + Y: 50 + Width: 96 + Height: 25 + Font: Bold + Button@BUTTON4: + X: 288 + Y: 50 + Width: 96 + Height: 25 + Font: Bold + Button@BUTTON5: + X: 384 + Y: 50 + Width: 96 + Height: 25 + Font: Bold + Container@STATS_PANEL: + Y: 65 + Container@MAP_PANEL: + Y: 65 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Container@OBJECTIVES_PANEL: + Y: 65 + Width: PARENT_RIGHT + Container@DEBUG_PANEL: + Y: 65 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Container@CHAT_PANEL: + Y: 65 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Container@LOBBY_OPTIONS_PANEL: + Y: 65 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM diff --git a/mods/openkrush_gen1/chrome/ingame-infobriefing.yaml b/mods/openkrush_gen1/chrome/ingame-infobriefing.yaml new file mode 100644 index 00000000..d227858c --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-infobriefing.yaml @@ -0,0 +1,30 @@ +Container@MAP_PANEL: + Height: PARENT_BOTTOM + Width: PARENT_RIGHT + Logic: GameInfoBriefingLogic + Children: + Background@PREVIEW_BG: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 20 + Width: 362 + Height: 202 + Background: dialog3 + Children: + MapPreview@MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + IgnoreMouseOver: True + IgnoreMouseInput: True + ShowSpawnPoints: False + ScrollPanel@MAP_DESCRIPTION_PANEL: + X: 20 + Y: 232 + Width: PARENT_RIGHT - 40 + Height: 153 + Children: + Label@MAP_DESCRIPTION: + X: 4 + Y: 2 + Width: PARENT_RIGHT - 32 diff --git a/mods/openkrush_gen1/chrome/ingame-infochat.yaml b/mods/openkrush_gen1/chrome/ingame-infochat.yaml new file mode 100644 index 00000000..1ff8e1ac --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-infochat.yaml @@ -0,0 +1,34 @@ +Container@CHAT_CONTAINER: + Y: 20 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 105 + Logic: IngameChatLogic + Templates: + Chat: CHAT_LINE_TEMPLATE + System: SYSTEM_LINE_TEMPLATE + Mission: CHAT_LINE_TEMPLATE + Children: + Container@CHAT_CHROME: + X: 20 + Width: PARENT_RIGHT - 40 + Height: PARENT_BOTTOM + Children: + Button@CHAT_MODE: + Y: PARENT_BOTTOM - HEIGHT + Width: 50 + Height: 25 + Text: Equipe + Font: Bold + Key: ToggleChatMode + TooltipText: Alternar modo do chat + TooltipContainer: TOOLTIP_CONTAINER + TextField@CHAT_TEXTFIELD: + X: 55 + Y: PARENT_BOTTOM - HEIGHT + Width: PARENT_RIGHT - 55 + Height: 25 + ScrollPanel@CHAT_SCROLLPANEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 30 + TopBottomSpacing: 3 + ItemSpacing: 2 diff --git a/mods/openkrush_gen1/chrome/ingame-infoobjectives.yaml b/mods/openkrush_gen1/chrome/ingame-infoobjectives.yaml new file mode 100644 index 00000000..237b4b2b --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-infoobjectives.yaml @@ -0,0 +1,43 @@ +Container@MISSION_OBJECTIVES: + Height: PARENT_BOTTOM + Width: PARENT_RIGHT + Logic: GameInfoObjectivesLogic + Children: + Label@MISSION: + X: 20 + Y: 21 + Width: 80 + Height: 25 + Font: MediumBold + Text: Missão: + Label@MISSION_STATUS: + X: 100 + Y: 21 + Width: PARENT_RIGHT - 120 + Height: 25 + Font: MediumBold + ScrollPanel@OBJECTIVES_PANEL: + X: 20 + Y: 60 + Width: 482 + Height: 325 + TopBottomSpacing: 15 + ItemSpacing: 15 + Children: + Container@OBJECTIVE_TEMPLATE: + Width: PARENT_RIGHT + Height: 20 + Children: + Label@OBJECTIVE_TYPE: + X: 10 + Y: 1 + Width: 70 + Height: PARENT_BOTTOM + Align: Center + Checkbox@OBJECTIVE_STATUS: + X: 90 + Y: 0 + Width: PARENT_RIGHT - 100 + Height: PARENT_BOTTOM + Disabled: True + TextColorDisabled: FFFFFF diff --git a/mods/openkrush_gen1/chrome/ingame-infoscripterror.yaml b/mods/openkrush_gen1/chrome/ingame-infoscripterror.yaml new file mode 100644 index 00000000..cdcd7a2b --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-infoscripterror.yaml @@ -0,0 +1,27 @@ +Container@SCRIPT_ERROR_PANEL: + Height: PARENT_BOTTOM + Width: PARENT_RIGHT + Children: + Label@DESCA: + X: 15 + Y: 16 + Width: PARENT_RIGHT - 30 + Height: 20 + Font: Bold + Align: Center + Text: O script do mapa encontrou um erro fatal + Label@DESCB: + X: 15 + Y: 46 + Width: PARENT_RIGHT - 30 + Height: 20 + Font: Regular + WordWrap: true + Text: Os detalhes do erro foram salvos no lua.log, na pasta de logs. + Label@DESCC: + X: 15 + Y: 66 + Width: PARENT_RIGHT - 30 + Height: 20 + Font: Regular + Text: Envie este arquivo ao autor do mapa para que ele corrija o problema. diff --git a/mods/openkrush_gen1/chrome/ingame-infostats.yaml b/mods/openkrush_gen1/chrome/ingame-infostats.yaml new file mode 100644 index 00000000..bbce8e79 --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-infostats.yaml @@ -0,0 +1,175 @@ +Container@SKIRMISH_STATS: + Height: PARENT_BOTTOM + Width: PARENT_RIGHT + Logic: GameInfoStatsLogic + Children: + Container@OBJECTIVE: + Height: 75 + Children: + Label@MISSION: + X: 20 + Y: 22 + Width: 482 + Height: 25 + Font: MediumBold + Text: Missão: + Label@STATS_STATUS: + X: 100 + Y: 22 + Width: PARENT_RIGHT - 10 + Height: 25 + Font: MediumBold + Checkbox@STATS_CHECKBOX: + X: 20 + Y: 55 + Width: 482 + Height: 20 + Font: Bold + Text: Destrua toda a oposição! + Disabled: true + TextColorDisabled: FFFFFF + Container@STATS_HEADERS: + X: 22 + Y: 81 + Width: PARENT_RIGHT - 44 + Children: + Label@NAME: + X: 10 + Width: 210 + Height: 25 + Text: Jogador + Font: Bold + Label@FACTION: + X: 230 + Width: 120 + Height: 25 + Text: Facção + Font: Bold + Label@SCORE: + X: 397 + Width: 60 + Height: 25 + Text: Pontuação + Font: Bold + Label@ACTIONS: + X: 457 + Width: 20 + Height: 25 + Text: Ações + Font: Bold + ScrollPanel@PLAYER_LIST: + X: 20 + Y: 105 + Width: PARENT_RIGHT - 40 + Height: 280 + ItemSpacing: 5 + Children: + ScrollItem@TEAM_TEMPLATE: + Background: scrollheader + Width: PARENT_RIGHT - 26 + Height: 20 + X: 2 + Visible: false + Children: + Label@TEAM: + X: 6 + Y: 0 + Width: 160 + Height: 20 + Font: Bold + Label@TEAM_SCORE: + X: 392 + Y: 0 + Width: 60 + Height: 20 + Font: Bold + Container@PLAYER_TEMPLATE: + Width: PARENT_RIGHT - 26 + 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 + Label@NAME: + X: 29 + Width: 191 + Height: 25 + Shadow: True + Image@FACTIONFLAG: + X: 230 + Y: 5 + 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 + Container@SPECTATOR_TEMPLATE: + Width: PARENT_RIGHT - 26 + 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 + Label@NAME: + X: 29 + Width: 191 + 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 + TooltipText: Expulsar este jogador + Children: + Image: + ImageCollection: lobby-bits + ImageName: kick + X: 7 + Y: 7 diff --git a/mods/openkrush_gen1/chrome/ingame-observer.yaml b/mods/openkrush_gen1/chrome/ingame-observer.yaml new file mode 100644 index 00000000..66dd2885 --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-observer.yaml @@ -0,0 +1,1011 @@ +Container@OBSERVER_WIDGETS: + Logic: MenuButtonsChromeLogic, LoadIngameChatLogic + Children: + Container@CHAT_ROOT: + LogicKeyListener@OBSERVER_KEY_LISTENER: + MenuButton@OPTIONS_BUTTON: + X: 5 + Y: 5 + Width: 160 + Height: 25 + Text: Opções (Esc) + Font: Bold + Key: escape + DisableWorldSounds: true + Container@GAME_TIMER_BLOCK: + Logic: GameTimerLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Width: 100 + Height: 55 + Children: + LabelWithTooltip@GAME_TIMER: + Width: PARENT_RIGHT + Height: 30 + Align: Center + Font: Title + Contrast: true + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@GAME_TIMER_STATUS: + Y: 32 + Width: PARENT_RIGHT + Height: 15 + Align: Center + Font: Bold + Contrast: true + Background@RADAR_BG: + X: WINDOW_RIGHT - 255 + Y: 5 + Width: 250 + Height: 250 + Children: + Radar@INGAME_RADAR: + X: 10 + Y: 10 + Width: PARENT_RIGHT - 19 + Height: PARENT_BOTTOM - 19 + WorldInteractionController: INTERACTION_CONTROLLER + VideoPlayer@PLAYER: + X: 10 + Y: 10 + Width: PARENT_RIGHT - 20 + Height: PARENT_BOTTOM - 20 + Skippable: false + Background@OBSERVER_CONTROL_BG: + X: WINDOW_RIGHT - 255 + Y: 260 + Width: 250 + Height: 55 + Children: + DropDownButton@SHROUD_SELECTOR: + Logic: ObserverShroudSelectorLogic + CombinedViewKey: ObserverCombinedView + WorldViewKey: ObserverWorldView + X: 15 + Y: 15 + Width: 220 + Height: 25 + Font: Bold + Children: + LogicKeyListener@SHROUD_KEYHANDLER: + Image@FLAG: + Width: 23 + Height: 23 + X: 4 + Y: 2 + Label@LABEL: + X: 34 + Width: PARENT_RIGHT + Height: 25 + Shadow: True + Label@NOFLAG_LABEL: + X: 5 + Width: PARENT_RIGHT + Height: 25 + Shadow: True + Container@REPLAY_PLAYER: + Logic: ReplayControlBarLogic + Y: 39 + Width: 160 + Height: 35 + Visible: false + Children: + Button@BUTTON_PAUSE: + X: 15 + Y: 10 + Width: 26 + Height: 26 + Key: Pause + TooltipText: Pausar + TooltipContainer: TOOLTIP_CONTAINER + IgnoreChildMouseOver: true + Children: + Image@IMAGE_PAUSE: + X: 5 + Y: 5 + ImageCollection: music + ImageName: pause + Button@BUTTON_PLAY: + X: 15 + Y: 10 + Width: 26 + Height: 26 + Key: Pause + IgnoreChildMouseOver: true + TooltipText: Jogar + TooltipContainer: TOOLTIP_CONTAINER + Children: + Image@IMAGE_PLAY: + X: 5 + Y: 5 + ImageCollection: music + ImageName: play + Button@BUTTON_SLOW: + X: 55 + Y: 13 + Width: 36 + Height: 20 + Key: ReplaySpeedSlow + TooltipText: Velocidade lenta + TooltipContainer: TOOLTIP_CONTAINER + Text: 50% + Font: TinyBold + Button@BUTTON_REGULAR: + X: 55 + 45 + Y: 13 + Width: 38 + Height: 20 + Key: ReplaySpeedRegular + TooltipText: Velocidade normal + TooltipContainer: TOOLTIP_CONTAINER + Text: 100% + Font: TinyBold + Button@BUTTON_FAST: + X: 55 + 45 * 2 + Y: 13 + Width: 38 + Height: 20 + Key: ReplaySpeedFast + TooltipText: Velocidade rápida + TooltipContainer: TOOLTIP_CONTAINER + Text: 200% + Font: TinyBold + Button@BUTTON_MAXIMUM: + X: 55 + 45 * 3 + Y: 13 + Width: 38 + Height: 20 + Key: ReplaySpeedMax + TooltipText: Velocidade máxima + TooltipContainer: TOOLTIP_CONTAINER + Text: MAX + Font: TinyBold + Container@INGAME_OBSERVERSTATS_BG: + Logic: ObserverStatsLogic + StatisticsNoneKey: StatisticsNone + StatisticsBasicKey: StatisticsBasic + StatisticsEconomyKey: StatisticsEconomy + StatisticsProductionKey: StatisticsProduction + StatisticsSupportPowersKey: StatisticsSupportPowers + StatisticsCombatKey: StatisticsCombat + StatisticsArmyKey: StatisticsArmy + StatisticsGraphKey: StatisticsGraph + StatisticsArmyGraphKey: StatisticsArmyGraph + X: 5 + Y: 5 + Width: 760 + Height: 250 + Children: + DropDownButton@STATS_DROPDOWN: + X: 165 + Y: 0 + Width: 185 + Height: 25 + Font: Bold + Children: + LogicKeyListener@STATS_DROPDOWN_KEYHANDLER: + Container@GRAPH_BG: + Y: 30 + X: 0 + Width: PARENT_RIGHT + Height: 25 + Children: + Container@BASIC_STATS_HEADERS: + X: 0 + Y: 0 + Width: 700 + Height: PARENT_BOTTOM + Children: + ColorBlock@HEADER_COLOR: + X: 0 + Y: 0 + Color: 00000090 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@HEADER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + TopLeftColor: 00000090 + BottomLeftColor: 00000090 + Width: 200 + Height: PARENT_BOTTOM + Label@PLAYER_HEADER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Text: Jogador + Align: Left + Shadow: True + Label@CASH_HEADER: + X: 155 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Dinheiro + Align: Right + Shadow: True + Label@POWER_HEADER: + X: 235 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Energia + Align: Center + Shadow: True + Label@KILLS_HEADER: + X: 315 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Font: Bold + Text: Abates + Align: Right + Shadow: True + Label@DEATHS_HEADER: + X: 355 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Font: Bold + Text: Mortes + Align: Right + Shadow: True + Label@ASSETS_DESTROYED_HEADER: + X: 415 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Destruídos + Align: Right + Shadow: True + Label@ASSETS_LOST_HEADER: + X: 495 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Perdido + Align: Right + Shadow: True + Label@EXPERIENCE_HEADER: + X: 575 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Font: Bold + Text: Pontuação + Align: Right + Shadow: True + Label@ACTIONS_MIN_HEADER: + X: 635 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Font: Bold + Text: APM + Align: Right + Shadow: True + Container@ECONOMY_STATS_HEADERS: + X: 0 + Y: 0 + Width: 640 + Height: PARENT_BOTTOM + Children: + ColorBlock@HEADER_COLOR: + X: 0 + Y: 0 + Color: 00000090 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@HEADER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + TopLeftColor: 00000090 + BottomLeftColor: 00000090 + Width: 200 + Height: PARENT_BOTTOM + Label@PLAYER_HEADER: + X: 35 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Text: Jogador + Shadow: True + Label@CASH_HEADER: + X: 155 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Dinheiro + Align: Right + Shadow: True + Label@INCOME_HEADER: + X: 235 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Renda + Align: Right + Shadow: True + Label@ASSETS_HEADER: + X: 315 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Recursos + Align: Right + Shadow: True + Label@EARNED_HEADER: + X: 395 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Ganho + Align: Right + Shadow: True + Label@SPENT_HEADER: + X: 475 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Gasto + Align: Right + Shadow: True + Label@HARVESTERS_HEADER: + X: 555 + Width: 80 + Height: PARENT_BOTTOM + Font: Bold + Text: Coletores + Align: Right + Shadow: True + Container@PRODUCTION_STATS_HEADERS: + X: 0 + Y: 0 + Width: 400 + Height: PARENT_BOTTOM + Children: + ColorBlock@HEADER_COLOR: + X: 0 + Y: 0 + Color: 00000090 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@HEADER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + TopLeftColor: 00000090 + BottomLeftColor: 00000090 + Width: 200 + Height: PARENT_BOTTOM + Label@PLAYER_HEADER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Text: Jogador + Align: Left + Shadow: True + Label@PRODUCTION_HEADER: + X: 155 + Y: 0 + Width: 100 + Height: PARENT_BOTTOM + Font: Bold + Text: Produção + Shadow: True + Container@SUPPORT_POWERS_HEADERS: + X: 0 + Y: 0 + Width: 400 + Height: PARENT_BOTTOM + Children: + ColorBlock@HEADER_COLOR: + X: 0 + Y: 0 + Color: 00000090 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@HEADER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + TopLeftColor: 00000090 + BottomLeftColor: 00000090 + Width: 200 + Height: PARENT_BOTTOM + Label@PLAYER_HEADER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Text: Jogador + Align: Left + Shadow: True + Label@SUPPORT_POWERS_HEADER: + X: 155 + Y: 0 + Width: 100 + Height: PARENT_BOTTOM + Font: Bold + Text: Poderes especiais + Shadow: True + Container@ARMY_HEADERS: + X: 0 + Y: 0 + Width: 400 + Height: PARENT_BOTTOM + Children: + ColorBlock@HEADER_COLOR: + X: 0 + Y: 0 + Color: 00000090 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@HEADER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + TopLeftColor: 00000090 + BottomLeftColor: 00000090 + Width: 200 + Height: PARENT_BOTTOM + Label@PLAYER_HEADER: + X: 40 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Text: Jogador + Align: Left + Shadow: True + Label@ARMY_HEADER: + X: 160 + Y: 0 + Width: 100 + Height: PARENT_BOTTOM + Font: Bold + Text: Exército + Shadow: True + Container@COMBAT_STATS_HEADERS: + X: 0 + Y: 0 + Width: 760 + Height: PARENT_BOTTOM + Children: + ColorBlock@HEADER_COLOR: + X: 0 + Y: 0 + Color: 00000090 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@HEADER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + TopLeftColor: 00000090 + BottomLeftColor: 00000090 + Width: 200 + Height: PARENT_BOTTOM + Label@PLAYER_HEADER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Text: Jogador + Align: Left + Shadow: True + Label@ASSETS_DESTROYED_HEADER: + X: 155 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Font: Bold + Text: Destruídos + Align: Right + Shadow: True + Label@ASSETS_LOST_HEADER: + X: 230 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Font: Bold + Text: Perdido + Align: Right + Shadow: True + Label@UNITS_KILLED_HEADER: + X: 310 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Font: Bold + Text: Unid. dest. + Align: Right + Shadow: True + Label@UNITS_DEAD_HEADER: + X: 385 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Font: Bold + Text: Unid. perd. + Align: Right + Shadow: True + Label@BUILDINGS_KILLED_HEADER: + X: 460 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Font: Bold + Text: Constr. dest. + Align: Right + Shadow: True + Label@BUILDINGS_DEAD_HEADER: + X: 535 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Font: Bold + Text: Constr. perd. + Align: Right + Shadow: True + Label@ARMY_VALUE_HEADER: + X: 610 + Y: 0 + Width: 90 + Height: PARENT_BOTTOM + Font: Bold + Text: Valor do exército + Align: Right + Shadow: True + Label@VISION_HEADER: + X: 700 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Font: Bold + Text: Visão + Align: Right + Shadow: True + ScrollPanel@PLAYER_STATS_PANEL: + X: 0 + Y: 55 + Width: PARENT_RIGHT + Height: 250 + TopBottomSpacing: 0 + BorderWidth: 0 + Background: + ScrollbarWidth: 25 + ScrollBar: Hidden + Children: + ScrollItem@TEAM_TEMPLATE: + X: 0 + Y: 0 + Width: 650 #PARENT_RIGHT - 35 + Height: 25 + Children: + ColorBlock@TEAM_COLOR: + X: 0 + Y: 0 + Color: 00000090 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@TEAM_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + TopLeftColor: 00000090 + BottomLeftColor: 00000090 + Width: 200 + Height: PARENT_BOTTOM + Label@TEAM: + X: 10 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: Bold + Shadow: True + ScrollItem@BASIC_PLAYER_TEMPLATE: + X: 0 + Y: 0 + Width: 700 + Height: 25 + Background: scrollitem-nohover + Children: + ColorBlock@PLAYER_COLOR: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@PLAYER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + Width: 200 + Height: PARENT_BOTTOM + Image@FLAG: + X: 2 + Y: 2 + ImageName: random + ImageCollection: flags + Label@PLAYER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Shadow: True + Label@CASH: + X: 155 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@POWER: + X: 235 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Center + Shadow: True + Label@KILLS: + X: 315 + Y: 0 + Width: 40 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@DEATHS: + X: 355 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@ASSETS_DESTROYED: + X: 415 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@ASSETS_LOST: + X: 495 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@EXPERIENCE: + X: 575 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@ACTIONS_MIN: + X: 635 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + ScrollItem@ECONOMY_PLAYER_TEMPLATE: + X: 0 + Y: 0 + Width: 640 + Height: 25 + Background: scrollitem-nohover + Children: + ColorBlock@PLAYER_COLOR: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@PLAYER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + Width: 200 + Height: PARENT_BOTTOM + Image@FLAG: + X: 2 + Y: 2 + ImageName: random + ImageCollection: flags + Label@PLAYER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Shadow: True + Label@CASH: + X: 155 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@INCOME: + X: 235 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@ASSETS: + X: 315 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@EARNED: + X: 395 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@SPENT: + X: 475 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@HARVESTERS: + X: 555 + Y: 0 + Width: 80 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + ScrollItem@PRODUCTION_PLAYER_TEMPLATE: + X: 0 + Y: 0 + Width: 400 + Height: 25 + Background: scrollitem-nohover + Children: + ColorBlock@PLAYER_COLOR: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@PLAYER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + Width: 200 + Height: PARENT_BOTTOM + Image@FLAG: + X: 2 + Y: 2 + ImageName: random + ImageCollection: flags + Label@PLAYER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Shadow: True + ObserverProductionIcons@PRODUCTION_ICONS: + X: 155 + Y: 0 + Width: 0 + Height: PARENT_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER + ScrollItem@SUPPORT_POWERS_PLAYER_TEMPLATE: + X: 0 + Y: 0 + Width: 400 + Height: 25 + Background: scrollitem-nohover + Children: + ColorBlock@PLAYER_COLOR: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@PLAYER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + Width: 200 + Height: PARENT_BOTTOM + Image@FLAG: + X: 2 + Y: 2 + ImageName: random + ImageCollection: flags + Label@PLAYER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Shadow: True + ObserverSupportPowerIcons@SUPPORT_POWER_ICONS: + X: 155 + Y: 0 + Width: 0 + Height: PARENT_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER + ScrollItem@ARMY_PLAYER_TEMPLATE: + X: 0 + Y: 0 + Width: 400 + Height: 25 + Background: scrollitem-nohover + Children: + ColorBlock@PLAYER_COLOR: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@PLAYER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + Width: 200 + Height: PARENT_BOTTOM + Image@FLAG: + X: 5 + Y: 4 + Width: 35 + Height: PARENT_BOTTOM - 4 + ImageName: random + ImageCollection: flags + Label@PLAYER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Shadow: True + ObserverArmyIcons@ARMY_ICONS: + X: 155 + Y: 0 + Width: 0 + Height: PARENT_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER + ScrollItem@COMBAT_PLAYER_TEMPLATE: + X: 0 + Y: 0 + Width: 760 + Height: 25 + Background: scrollitem-nohover + Children: + ColorBlock@PLAYER_COLOR: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 200 + Height: PARENT_BOTTOM + GradientColorBlock@PLAYER_GRADIENT: + X: PARENT_RIGHT - 200 + Y: 0 + Width: 200 + Height: PARENT_BOTTOM + Image@FLAG: + X: 2 + Y: 2 + ImageName: random + ImageCollection: flags + Label@PLAYER: + X: 35 + Y: 0 + Width: 120 + Height: PARENT_BOTTOM + Font: Bold + Shadow: True + Label@ASSETS_DESTROYED: + X: 155 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@ASSETS_LOST: + X: 230 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@UNITS_KILLED: + X: 310 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@UNITS_DEAD: + X: 385 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@BUILDINGS_KILLED: + X: 460 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@BUILDINGS_DEAD: + X: 535 + Y: 0 + Width: 75 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@ARMY_VALUE: + X: 610 + Y: 0 + Width: 90 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Label@VISION: + X: 700 + Y: 0 + Width: 60 + Height: PARENT_BOTTOM + Align: Right + Shadow: True + Container@INCOME_GRAPH_CONTAINER: + X: 0 + Y: 30 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Visible: False + Children: + ColorBlock@GRAPH_BACKGROUND: + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Color: 00000090 + LineGraph@INCOME_GRAPH: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 5 + Height: PARENT_BOTTOM + ValueFormat: ${0} + YAxisValueFormat: ${0:F0} + XAxisSize: 40 + XAxisTicksPerLabel: 2 + XAxisLabel: Minuto de jogo + YAxisLabel: Ganhos + LabelFont: TinyBold + AxisFont: TinyBold + Container@ARMY_VALUE_GRAPH_CONTAINER: + X: 0 + Y: 30 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Visible: False + Children: + ColorBlock@GRAPH_BACKGROUND: + X: 0 + Y: 0 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Color: 00000090 + LineGraph@ARMY_VALUE_GRAPH: + X: 0 + Y: 0 + Width: PARENT_RIGHT - 5 + Height: PARENT_BOTTOM + ValueFormat: ${0} + YAxisValueFormat: ${0:F0} + XAxisSize: 40 + XAxisTicksPerLabel: 2 + XAxisLabel: Minuto de jogo + YAxisLabel: Valor do exército + LabelFont: TinyBold + AxisFont: TinyBold diff --git a/mods/openkrush_gen1/chrome/ingame-perf.yaml b/mods/openkrush_gen1/chrome/ingame-perf.yaml new file mode 100644 index 00000000..75512304 --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-perf.yaml @@ -0,0 +1,22 @@ +Container@PERF_WIDGETS: + Logic: PerfDebugLogic + Children: + Label@PERF_TEXT: + X: WINDOW_RIGHT - 200 + Y: WINDOW_BOTTOM - 69 + Width: 170 + Height: 40 + Contrast: true + Background@GRAPH_BG: + ClickThrough: true + Background: dialog4 + X: 10 + Y: WINDOW_BOTTOM - HEIGHT - 156 + Width: 210 + Height: 210 + Children: + PerfGraph@GRAPH: + X: 5 + Y: 5 + Width: 200 + Height: 200 diff --git a/mods/openkrush_gen1/chrome/ingame-transients.yaml b/mods/openkrush_gen1/chrome/ingame-transients.yaml new file mode 100644 index 00000000..b6f3313a --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame-transients.yaml @@ -0,0 +1,13 @@ +Container@TRANSIENTS_PANEL: + X: 5 + Y: WINDOW_BOTTOM - HEIGHT - 55 + Width: 550 + Height: 80 + Logic: IngameTransientNotificationsLogic + Children: + TextNotificationsDisplay@TRANSIENTS_DISPLAY: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + RemoveTime: 100 + LogLength: 5 + HideOverflow: False diff --git a/mods/openkrush_gen1/chrome/ingame.yaml b/mods/openkrush_gen1/chrome/ingame.yaml new file mode 100644 index 00000000..a4faab3d --- /dev/null +++ b/mods/openkrush_gen1/chrome/ingame.yaml @@ -0,0 +1,65 @@ +Container@INGAME_ROOT: + Logic: LoadIngamePlayerOrObserverUILogic + Children: + LogicKeyListener@GLOBAL_KEYHANDLER: + Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic, MuteHotkeyLogic + StopMusicKey: StopMusic + PauseMusicKey: PauseMusic + PrevMusicKey: PrevMusic + NextMusicKey: NextMusic + TakeScreenshotKey: TakeScreenshot + MuteAudioKey: ToggleMute + LogicKeyListener@WORLD_KEYHANDLER: + Logic: CycleBasesHotkeyLogic, CycleProductionActorsHotkeyLogic, CycleHarvestersHotkeyLogic, JumpToLastEventHotkeyLogic, JumpToSelectedActorsHotkeyLogic, ResetZoomHotkeyLogic, TogglePlayerStanceColorHotkeyLogic, CycleStatusBarsHotkeyLogic, PauseHotkeyLogic, SelectUnitsByTypeHotkeyLogic, SelectAllUnitsHotkeyLogic + CycleBasesKey: CycleBase + CycleProductionActorsKey: CycleProductionBuildings + CycleHarvestersKey: CycleHarvesters + JumpToLastEventKey: ToLastEvent + JumpToSelectedActorsKey: ToSelection + ResetZoomKey: ResetZoom + TogglePlayerStanceColorKey: TogglePlayerStanceColor + CycleStatusBarsKey: CycleStatusBars + PauseKey: Pause + SelectAllUnitsKey: SelectAllUnits + SelectUnitsByTypeKey: SelectUnitsByType + Container@WORLD_ROOT: + Logic: LoadIngamePerfLogic + Children: + LogicTicker@DISCONNECT_WATCHER: + Logic: DisconnectWatcherLogic + Label@MISSION_TEXT: + X: WINDOW_RIGHT / 2 - 256 + Y: 23 + Width: 512 + Height: 25 + Font: Bold + Align: Center + Contrast: true + WorldInteractionController@INTERACTION_CONTROLLER: + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + ViewportController: + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + TooltipContainer: TOOLTIP_CONTAINER + ZoomInKey: ZoomIn + ZoomOutKey: ZoomOut + ScrollUpKey: MapScrollUp + ScrollDownKey: MapScrollDown + ScrollLeftKey: MapScrollLeft + ScrollRightKey: MapScrollRight + JumpToTopEdgeKey: MapJumpToTopEdge + JumpToBottomEdgeKey: MapJumpToBottomEdge + JumpToLeftEdgeKey: MapJumpToLeftEdge + JumpToRightEdgeKey: MapJumpToRightEdge + BookmarkSaveKeyPrefix: MapBookmarkSave + BookmarkRestoreKeyPrefix: MapBookmarkRestore + BookmarkKeyCount: 4 + StrategicProgress@STRATEGIC_PROGRESS: + X: WINDOW_RIGHT / 2 + Y: 40 + Container@PLAYER_ROOT: + Container@PERF_ROOT: + Container@MENU_ROOT: + TooltipContainer@TOOLTIP_CONTAINER: + MouseAttachment@MOUSE_ATTATCHMENT: diff --git a/mods/openkrush_gen1/chrome/lobby-kickdialogs.yaml b/mods/openkrush_gen1/chrome/lobby-kickdialogs.yaml new file mode 100644 index 00000000..13a6451c --- /dev/null +++ b/mods/openkrush_gen1/chrome/lobby-kickdialogs.yaml @@ -0,0 +1,140 @@ +Background@KICK_CLIENT_DIALOG: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Logic: KickClientLogic + Background: dialog3 + Children: + Label@TITLE: + Y: 41 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Label@TEXTA: + Y: 68 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: Você também pode aplicar um banimento temporário, impedindo + Label@TEXTB: + Y: 86 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: que ele volte até o fim desta partida. + Checkbox@PREVENT_REJOINING_CHECKBOX: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 120 + Width: 150 + Height: 20 + Text: Banir temporariamente + Button@OK_BUTTON: + X: (PARENT_RIGHT - WIDTH) / 2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Expulsar + Font: Bold + Button@CANCEL_BUTTON: + X: (PARENT_RIGHT - WIDTH) / 2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancelar + Font: Bold + +Background@KICK_SPECTATORS_DIALOG: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Logic: KickSpectatorsLogic + Background: dialog3 + Children: + Label@TITLE: + Y: 41 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Expulsar espectadores + Label@TEXT: + Y: 86 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Button@OK_BUTTON: + X: (PARENT_RIGHT - WIDTH) / 2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Ok + Font: Bold + Button@CANCEL_BUTTON: + X: (PARENT_RIGHT - WIDTH) / 2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancelar + Font: Bold + +Background@FORCE_START_DIALOG: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog3 + Children: + Label@TITLE: + Y: 41 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Iniciar jogo? + Label@TEXTA: + Y: 68 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: Um ou mais jogadores ainda não estão prontos. + Label@TEXTB: + Y: 86 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Align: Center + Text: Tem certeza de que quer forçar o início do jogo? + Container@KICK_WARNING: + Width: PARENT_RIGHT + Children: + Label@KICK_WARNING_A: + X: 0 + Y: 107 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Um ou mais clientes não têm o mapa + Label@KICK_WARNING_B: + X: 0 + Y: 124 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: e serão expulsos do servidor. + Button@OK_BUTTON: + X: (PARENT_RIGHT - WIDTH) / 2 + 75 + Y: 155 + Width: 120 + Height: 25 + Text: Iniciar + Font: Bold + Button@CANCEL_BUTTON: + X: (PARENT_RIGHT - WIDTH) / 2 - 75 + Y: 155 + Width: 120 + Height: 25 + Text: Cancelar + Font: Bold diff --git a/mods/openkrush_gen1/chrome/lobby-mappreview.yaml b/mods/openkrush_gen1/chrome/lobby-mappreview.yaml new file mode 100644 index 00000000..75c8de29 --- /dev/null +++ b/mods/openkrush_gen1/chrome/lobby-mappreview.yaml @@ -0,0 +1,228 @@ +Container@MAP_PREVIEW: + Logic: MapPreviewLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Container@MAP_AVAILABLE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Background@MAP_BG: + Width: PARENT_RIGHT + Height: 174 + Background: dialog3 + Children: + MapPreview@MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer: TOOLTIP_CONTAINER + LabelWithTooltip@MAP_TITLE: + Y: 173 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@MAP_TYPE: + Y: 188 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center + IgnoreMouseOver: true + Label@MAP_AUTHOR: + Y: 201 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Container@MAP_INVALID: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Background@MAP_BG: + Width: PARENT_RIGHT + Height: 174 + Background: dialog3 + Children: + MapPreview@MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer: TOOLTIP_CONTAINER + LabelWithTooltip@MAP_TITLE: + Y: 173 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@MAP_STATUS_A: + Y: 188 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Este mapa não é compatível + IgnoreMouseOver: true + Label@MAP_STATUS_B: + Y: 201 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: com esta versão do OpenRA + Container@MAP_VALIDATING: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Background@MAP_BG: + Width: PARENT_RIGHT + Height: 158 + Background: dialog3 + Children: + MapPreview@MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer: TOOLTIP_CONTAINER + LabelWithTooltip@MAP_TITLE: + Y: 159 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@MAP_STATUS_VALIDATING: + Y: 174 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Validando... + IgnoreMouseOver: true + ProgressBar@MAP_PROGRESSBAR: + Y: 194 + Width: PARENT_RIGHT + Height: 25 + Indeterminate: True + Container@MAP_DOWNLOADABLE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Background@MAP_BG: + Width: PARENT_RIGHT + Height: 142 + Background: dialog3 + Children: + MapPreview@MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer: TOOLTIP_CONTAINER + LabelWithTooltip@MAP_TITLE: + Y: 143 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@MAP_TYPE: + Y: 158 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center + IgnoreMouseOver: true + Label@MAP_AUTHOR: + Y: 171 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Button@MAP_INSTALL: + Y: 194 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Text: Instalar mapa + Container@MAP_PROGRESS: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Background@MAP_BG: + Width: PARENT_RIGHT + Height: 142 + Background: dialog3 + Children: + MapPreview@MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer: TOOLTIP_CONTAINER + LabelWithTooltip@MAP_TITLE: + Y: 143 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@MAP_STATUS_SEARCHING: + Y: 158 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Buscando no Resource Center do OpenRA... + IgnoreMouseOver: true + Container@MAP_STATUS_UNAVAILABLE: + Width: PARENT_RIGHT + Children: + Label@a: + Y: 158 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Este mapa não foi encontrado no + Label@b: + Y: 171 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Resource Center do OpenRA + Label@MAP_STATUS_ERROR: + Y: 158 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Text: Ocorreu um erro durante a instalação + Label@MAP_STATUS_DOWNLOADING: + Y: 158 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + ProgressBar@MAP_PROGRESSBAR: + Y: 194 + Width: PARENT_RIGHT + Height: 25 + Indeterminate: True + Button@MAP_RETRY: + Y: 194 + Width: PARENT_RIGHT + Height: 25 + Font: Bold diff --git a/mods/openkrush_gen1/chrome/lobby-music.yaml b/mods/openkrush_gen1/chrome/lobby-music.yaml new file mode 100644 index 00000000..735e2aa3 --- /dev/null +++ b/mods/openkrush_gen1/chrome/lobby-music.yaml @@ -0,0 +1,184 @@ +Container@LOBBY_MUSIC_BIN: + Logic: MusicPlayerLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + LogicTicker@SONG_WATCHER: + Container@LABEL_CONTAINER: + Y: 0 - 24 + Width: PARENT_RIGHT + Children: + Label@MUSIC: + Width: 268 + Height: 25 + Text: Música + Align: Center + Font: Bold + Label@TITLE: + X: 278 + Width: 230 + Height: 25 + Text: Faixa + Font: Bold + Label@LENGTH: + X: PARENT_RIGHT - 80 + Height: 25 + Width: 50 + Text: Tempo + Font: Bold + Align: Right + Background@CONTROLS: + Background: dialog3 + Width: 268 + Height: PARENT_BOTTOM + Children: + Label@MUTE_LABEL: + X: 45 + Y: 12 + Width: 300 + Height: 20 + Font: Small + Label@TITLE_LABEL: + Y: 46 + Width: PARENT_RIGHT + Height: 25 + Align: Center + Font: Bold + Label@TIME_LABEL: + Y: 66 + Width: PARENT_RIGHT + Height: 25 + Align: Center + Container@BUTTONS: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 100 + Width: 131 + Children: + Button@BUTTON_PREV: + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_PREV: + X: 5 + Y: 5 + ImageCollection: music + ImageName: prev + Button@BUTTON_PLAY: + X: 35 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_PLAY: + X: 5 + Y: 5 + ImageCollection: music + ImageName: play + Button@BUTTON_PAUSE: + Visible: false + X: 35 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_PAUSE: + X: 5 + Y: 5 + ImageCollection: music + ImageName: pause + Button@BUTTON_STOP: + X: 70 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_STOP: + X: 5 + Y: 5 + ImageCollection: music + ImageName: stop + Button@BUTTON_NEXT: + X: 105 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_NEXT: + X: 5 + Y: 5 + ImageCollection: music + ImageName: next + Checkbox@SHUFFLE: + X: 25 + Y: 150 + Width: 85 + Height: 20 + Font: Regular + Text: Embaralhar + Checkbox@REPEAT: + X: PARENT_RIGHT - 15 - WIDTH + Y: 150 + Width: 70 + Height: 20 + Font: Regular + Text: Repetir + Label@VOLUME_LABEL: + Y: 181 + Width: 65 + Height: 25 + Align: Right + Text: Volume: + ExponentialSlider@MUSIC_SLIDER: + X: 70 + Y: 186 + Width: PARENT_RIGHT - 80 + Height: 20 + Ticks: 7 + ScrollPanel@MUSIC_LIST: + X: 268 + Width: PARENT_RIGHT - 268 + Height: PARENT_BOTTOM + Children: + ScrollItem@MUSIC_TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Visible: false + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 10 + Width: PARENT_RIGHT - 50 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@LENGTH: + X: PARENT_RIGHT - 60 + Width: 50 + Height: 25 + Align: Right + Container@NO_MUSIC_LABEL: + X: 268 + Width: PARENT_RIGHT - 268 + Visible: false + Children: + Label@TITLE: + Y: 76 + Width: PARENT_RIGHT - 24 + Height: 25 + Font: Bold + Align: Center + Text: Música não instalada + Label@DESCA: + Y: 96 + Width: PARENT_RIGHT - 24 + Height: 25 + Align: Center + Text: As músicas do jogo podem ser instaladas + Label@DESCB: + Y: 116 + Width: PARENT_RIGHT - 24 + Height: 25 + Align: Center + Text: pelo menu "Gerenciar conteúdo". diff --git a/mods/openkrush_gen1/chrome/lobby-options.yaml b/mods/openkrush_gen1/chrome/lobby-options.yaml new file mode 100644 index 00000000..75be9ac7 --- /dev/null +++ b/mods/openkrush_gen1/chrome/lobby-options.yaml @@ -0,0 +1,90 @@ +Container@LOBBY_OPTIONS_BIN: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@TITLE: + Y: 0 - 24 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Opções do mapa + ScrollPanel: + Logic: LobbyOptionsLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Container@LOBBY_OPTIONS: + Y: 10 + Width: PARENT_RIGHT - 24 + Children: + Label@HEADLINE_TEMPLATE: + Width: PARENT_RIGHT + Height: 30 + Font: Bold + Align: Center + Container@CHECKBOX_ROW_TEMPLATE: + Width: PARENT_RIGHT + Height: 30 + Children: + Checkbox@A: + X: 10 + Width: PARENT_RIGHT / 3 - 20 + Height: 20 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + Checkbox@B: + X: PARENT_RIGHT / 3 + 10 + Width: PARENT_RIGHT / 3 - 20 + Height: 20 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + Checkbox@C: + X: (PARENT_RIGHT / 3) * 2 + 10 + Width: PARENT_RIGHT / 3 - 20 + Height: 20 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + Container@DROPDOWN_ROW_TEMPLATE: + Height: 60 + Width: PARENT_RIGHT + Children: + LabelForInput@A_DESC: + X: 10 + Width: PARENT_RIGHT / 3 - 20 + Height: 20 + Visible: False + For: A + DropDownButton@A: + X: 10 + Width: PARENT_RIGHT / 3 - 20 + Y: 25 + Height: 25 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + LabelForInput@B_DESC: + X: PARENT_RIGHT / 3 + 10 + Width: PARENT_RIGHT / 3 - 20 + Height: 20 + Visible: False + For: B + DropDownButton@B: + X: PARENT_RIGHT / 3 + 10 + Width: PARENT_RIGHT / 3 - 20 + Y: 25 + Height: 25 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER + LabelForInput@C_DESC: + X: (PARENT_RIGHT / 3) * 2 + 10 + Width: PARENT_RIGHT / 3 - 20 + Height: 20 + Visible: False + For: C + DropDownButton@C: + X: (PARENT_RIGHT / 3) * 2 + 10 + Width: PARENT_RIGHT / 3 - 20 + Y: 25 + Height: 25 + Visible: False + TooltipContainer: TOOLTIP_CONTAINER diff --git a/mods/openkrush_gen1/chrome/lobby-players.yaml b/mods/openkrush_gen1/chrome/lobby-players.yaml new file mode 100644 index 00000000..5aa6f03c --- /dev/null +++ b/mods/openkrush_gen1/chrome/lobby-players.yaml @@ -0,0 +1,505 @@ +Container@LOBBY_PLAYER_BIN: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Container@LABEL_CONTAINER: + X: 5 + Y: 0 - 24 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@LABEL_LOBBY_NAME: + Width: 180 + Height: 25 + Text: Nome + Align: Center + Font: Bold + Label@LABEL_LOBBY_COLOR: + X: 190 + Width: 70 + Height: 25 + Text: Cor + Align: Center + Font: Bold + Label@LABEL_LOBBY_FACTION: + X: 270 + Width: 140 + Height: 25 + Text: Facção + Align: Center + Font: Bold + Label@LABEL_LOBBY_TEAM: + X: 420 + Width: 48 + Height: 25 + Text: Equipe + Align: Center + Font: Bold + Label@LABEL_LOBBY_HANDICAP: + X: 478 + Width: 72 + Height: 25 + Text: Desvantagem + Align: Center + Font: Bold + Label@LABEL_LOBBY_SPAWN: + X: 560 + Width: 48 + Height: 25 + Text: Início + Align: Center + Font: Bold + Label@LABEL_LOBBY_STATUS: + X: 617 + Width: 20 + Height: 25 + Text: Pronto + Align: Left + Font: Bold + ScrollPanel@LOBBY_PLAYERS: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + 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_RIGHT - 4 + Height: PARENT_BOTTOM - 4 + ClientTooltipRegion@LATENCY_REGION: + Width: 11 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + Template: LATENCY_TOOLTIP + TextField@NAME: + X: 15 + Width: 165 + Height: 25 + Text: Nome + 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: Nome + Font: Regular + Visible: false + DropDownButton@COLOR: + X: 190 + Width: 70 + Height: 25 + IgnoreChildMouseOver: true + Children: + ColorBlock@COLORBLOCK: + X: 5 + Y: 6 + Width: PARENT_RIGHT - 35 + Height: PARENT_BOTTOM - 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: 5 + Y: 5 + Width: 30 + Height: 15 + Label@FACTIONNAME: + X: 40 + Width: 70 + Height: 25 + Text: Facção + DropDownButton@TEAM_DROPDOWN: + X: 420 + Width: 48 + Height: 25 + Text: Equipe + DropDownButton@HANDICAP_DROPDOWN: + X: 478 + Width: 72 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipText: A desvantagem reduz a eficiência em combate das forças do jogador + DropDownButton@SPAWN_DROPDOWN: + X: 560 + Width: 48 + Height: 25 + Text: Início + 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_RIGHT - 4 + Height: PARENT_BOTTOM - 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: Nome + 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: 160 + Height: 25 + Children: + Image@FACTIONFLAG: + X: 5 + Y: 5 + Width: 30 + Height: 15 + Label@FACTIONNAME: + X: 40 + Width: 70 + Height: 25 + Text: Facção + Label@TEAM: + X: 420 + Width: 23 + Height: 25 + Text: Equipe + Align: Center + 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: A desvantagem reduz a eficiência em combate das forças do jogador + 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: + Width: 165 + Height: 25 + X: 20 + Text: Nome + DropDownButton@SLOT_OPTIONS: + X: 15 + Width: 165 + Height: 25 + Text: Nome + Visible: false + Button@JOIN: + X: 190 + Text: Jogar nesta vaga + Width: 418 + Height: 25 + 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_RIGHT - 4 + Height: PARENT_BOTTOM - 4 + ClientTooltipRegion@LATENCY_REGION: + Width: 11 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + Template: LATENCY_TOOLTIP + TextField@NAME: + X: 15 + Width: 165 + Height: 25 + Text: Nome + 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: Espectador + 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_RIGHT - 4 + Height: PARENT_BOTTOM - 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: 179 + Height: 25 + Text: Nome + 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: Espectador + 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 + Font: Regular + Text: Permitir espectadores? + Button@SPECTATE: + X: 190 + Width: 418 + Height: 25 + Text: Assistir + Font: Regular + +ScrollPanel@FACTION_DROPDOWN_TEMPLATE: + Width: DROPDOWN_WIDTH + Children: + ScrollItem@HEADER: + Background: scrollheader + Width: PARENT_RIGHT - 27 + Height: 13 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 10 + Align: Center + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + TooltipContainer: TOOLTIP_CONTAINER + Children: + Image@FLAG: + X: 5 + Y: 5 + Width: 30 + Height: 15 + Label@LABEL: + X: 40 + Width: 70 + Height: 25 diff --git a/mods/openkrush_gen1/chrome/lobby-servers.yaml b/mods/openkrush_gen1/chrome/lobby-servers.yaml new file mode 100644 index 00000000..649aec57 --- /dev/null +++ b/mods/openkrush_gen1/chrome/lobby-servers.yaml @@ -0,0 +1,198 @@ +Container@LOBBY_SERVERS_BIN: + Logic: ServerListLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Container@LABEL_CONTAINER: + Y: 0 - 24 + Width: PARENT_RIGHT + Children: + Label@NAME: + X: 5 + Width: 347 + Height: 25 + Text: Servidor + Align: Center + Font: Bold + Label@PLAYERS: + X: 382 + Width: 85 + Height: 25 + Text: Jogadores + Font: Bold + Label@LOCATION: + X: 472 + Width: 110 + Height: 25 + Text: Local + Font: Bold + Label@STATUS: + X: 587 + Width: 50 + Height: 25 + Text: Status + Font: Bold + LogicTicker@NOTICE_WATCHER: + Background@NOTICE_CONTAINER: + Width: PARENT_RIGHT + Height: 20 + Background: dialog2 + Children: + Label@OUTDATED_VERSION_LABEL: + X: 5 + Width: PARENT_RIGHT-10 + Height: 20 + Align: Center + Text: Você está usando uma versão desatualizada do OpenRA. Baixe a mais recente em www.openra.net + Font: TinyBold + Label@UNKNOWN_VERSION_LABEL: + X: 5 + Width: PARENT_RIGHT-10 + Height: 20 + Align: Center + Text: Você está usando uma versão não reconhecida do OpenRA. Baixe a mais recente em www.openra.net + Font: TinyBold + Label@PLAYTEST_AVAILABLE_LABEL: + X: 5 + Width: PARENT_RIGHT-10 + Height: 20 + Align: Center + Text: Uma prévia da próxima versão do OpenRA está disponível para teste. Baixe em www.openra.net + Font: TinyBold + ScrollPanel@SERVER_LIST: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + ScrollItem@HEADER_TEMPLATE: + X: 2 + Width: PARENT_RIGHT - 27 + Height: 20 + Background: scrollheader + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 20 + Align: Center + ScrollItem@SERVER_TEMPLATE: + X: 2 + Width: PARENT_RIGHT - 27 + Height: 25 + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 5 + Width: 337 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Image@PASSWORD_PROTECTED: + X: 364 + Y: 6 + Width: 12 + Height: 13 + ImageCollection: lobby-bits + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + TooltipText: Requer senha + Image@REQUIRES_AUTHENTICATION: + X: 364 + Y: 6 + Width: 12 + Height: 13 + ImageCollection: lobby-bits + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + TooltipText: Requer conta no fórum do OpenRA + LabelWithTooltip@PLAYERS: + X: 382 + Width: 85 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@LOCATION: + X: 472 + Width: 110 + Height: 25 + Label@STATUS: + X: 587 + Width: 50 + Height: 25 + Label@PROGRESS_LABEL: + Y: (PARENT_BOTTOM - HEIGHT) / 2 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Visible: false + DropDownButton@FILTERS_DROPDOWNBUTTON: + Y: PARENT_BOTTOM + 5 + Width: 154 + Height: 25 + Text: Filtrar partidas + Font: Bold + Button@RELOAD_BUTTON: + X: 159 + Y: PARENT_BOTTOM + 5 + Width: 26 + Height: 25 + Children: + Image@IMAGE_RELOAD: + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: reload-icon + ImageName: enabled + IgnoreMouseOver: True + Children: + LogicTicker@ANIMATION: + Container@SELECTED_SERVER: + X: PARENT_RIGHT + 11 + Width: 174 + Height: 280 + Children: + Background@MAP_BG: + Width: PARENT_RIGHT + Height: 174 + Background: dialog3 + Children: + MapPreview@SELECTED_MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer: TOOLTIP_CONTAINER + LabelWithTooltip@SELECTED_MAP: + Y: 173 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@SELECTED_IP: + Y: 188 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Label@SELECTED_STATUS: + Y: 204 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center + Label@SELECTED_MOD_VERSION: + Y: 217 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Label@SELECTED_PLAYERS: + Y: 230 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center diff --git a/mods/openkrush_gen1/chrome/lobby.yaml b/mods/openkrush_gen1/chrome/lobby.yaml new file mode 100644 index 00000000..9f4421a6 --- /dev/null +++ b/mods/openkrush_gen1/chrome/lobby.yaml @@ -0,0 +1,140 @@ +Background@SERVER_LOBBY: + Logic: LobbyLogic + ChatTemplates: + Chat: CHAT_LINE_TEMPLATE + System: SYSTEM_LINE_TEMPLATE + Mission: CHAT_LINE_TEMPLATE + Feedback: TRANSIENT_LINE_TEMPLATE + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 900 + Height: 600 + Children: + Label@SERVER_NAME: + Y: 16 + Align: Center + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Container@MAP_PREVIEW_ROOT: + X: PARENT_RIGHT - 20 - WIDTH + Y: 67 + Width: 174 + Height: 250 + DropDownButton@SLOTS_DROPDOWNBUTTON: + X: 20 + Y: 291 + Width: 185 + Height: 25 + Font: Bold + Text: Admin da vaga + Container@SKIRMISH_TABS: + X: 695 - WIDTH + Width: 486 + Visible: False + Children: + Button@PLAYERS_TAB: + Y: 285 + Width: 162 + Height: 31 + Font: Bold + Text: Jogadores + Button@OPTIONS_TAB: + X: 162 + Y: 285 + Width: 162 + Height: 31 + Font: Bold + Text: Opções + Button@MUSIC_TAB: + X: 2*162 + Y: 285 + Width: 162 + Height: 31 + Font: Bold + Text: Música + Container@MULTIPLAYER_TABS: + X: 695 - WIDTH + Width: 486 + Visible: False + Children: + Button@PLAYERS_TAB: + Y: 285 + Width: 121 + Height: 31 + Font: Bold + Text: Jogadores + Button@OPTIONS_TAB: + X: 121 + Y: 285 + Width: 122 + Height: 31 + Font: Bold + Text: Opções + Button@MUSIC_TAB: + X: 243 + Y: 285 + Width: 121 + Height: 31 + Font: Bold + Text: Música + Button@SERVERS_TAB: + X: 364 + Y: 285 + Width: 122 + Height: 31 + Font: Bold + Text: Servidores + Container@TOP_PANELS_ROOT: + X: 20 + Y: 67 + Width: 675 + Height: 219 + Button@CHANGEMAP_BUTTON: + X: PARENT_RIGHT - WIDTH - 20 + Y: 291 + Width: 174 + Height: 25 + Text: Trocar mapa + Font: Bold + Container@LOBBYCHAT: + X: 20 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: PARENT_RIGHT - 40 + Height: 259 + Children: + ScrollPanel@CHAT_DISPLAY: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 30 + TopBottomSpacing: 2 + ItemSpacing: 2 + Button@CHAT_MODE: + Y: PARENT_BOTTOM - HEIGHT + Width: 50 + Height: 25 + Text: Equipe + Font: Bold + Key: ToggleChatMode + TooltipText: Alternar modo do chat + TooltipContainer: TOOLTIP_CONTAINER + TextField@CHAT_TEXTFIELD: + X: 55 + Y: PARENT_BOTTOM - HEIGHT + Width: PARENT_RIGHT - 260 - 55 + Height: 25 + Button@START_GAME_BUTTON: + X: PARENT_RIGHT - WIDTH - 150 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 120 + Height: 25 + Text: Iniciar jogo + Font: Bold + Button@DISCONNECT_BUTTON: + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 120 + Height: 25 + Text: Sair do jogo + Font: Bold + Container@FACTION_DROPDOWN_PANEL_ROOT: + TooltipContainer@TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/mainmenu-prompts.yaml b/mods/openkrush_gen1/chrome/mainmenu-prompts.yaml new file mode 100644 index 00000000..751b6032 --- /dev/null +++ b/mods/openkrush_gen1/chrome/mainmenu-prompts.yaml @@ -0,0 +1,355 @@ +Background@MAINMENU_INTRODUCTION_PROMPT: + Logic: IntroductionPromptLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 700 + Height: 525 + Children: + Label@PROMPT_TITLE: + Width: PARENT_RIGHT + Y: 20 + Height: 25 + Font: Bold + Align: Center + Text: Estabelecendo controle do campo de batalha + Label@DESC_A: + Width: PARENT_RIGHT + Y: 50 + Height: 16 + Font: Regular + Align: Center + Text: Bem-vindo de volta, Comandante! Defina os parâmetros de combate abaixo. + Label@DESC_B: + Width: PARENT_RIGHT + Y: 68 + Height: 16 + Font: Regular + Align: Center + Text: Outras opções podem ser ajustadas depois no menu Configurações. + ScrollPanel@SETTINGS_SCROLLPANEL: + X: 20 + Y: 100 + Width: PARENT_RIGHT - 40 + Height: PARENT_BOTTOM - 155 + CollapseHiddenChildren: True + TopBottomSpacing: 5 + ItemSpacing: 10 + ScrollBar: Hidden + Children: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Perfil + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@PLAYER_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@PLAYER: + Width: PARENT_RIGHT + Height: 20 + Text: Nome do jogador: + TextField@PLAYERNAME: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + MaxLength: 16 + Text: Nome + Container@PLAYERCOLOR_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@COLOR: + Width: PARENT_RIGHT + Height: 20 + Text: Cor preferida: + DropDownButton@PLAYERCOLOR: + Y: 25 + Width: 75 + Height: 25 + IgnoreChildMouseOver: true + PanelAlign: Right + Children: + ColorBlock@COLORBLOCK: + X: 5 + Y: 6 + Width: PARENT_RIGHT - 35 + Height: PARENT_BOTTOM - 12 + Container@SPACER: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Controles + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@MOUSE_CONTROL_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@MOUSE_CONTROL_LABEL: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Esquema de controle: + DropDownButton@MOUSE_CONTROL_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@MOUSE_CONTROL_DESC_CLASSIC: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Selecione unidades com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Comande unidades com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Posicione construções com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Mire os poderes especiais com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com a {roda do mouse} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com {MODIFICADOR + roda do mouse} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {direito} do mouse + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {do meio} do mouse + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: ou levando o cursor até a borda da tela + Container@MOUSE_CONTROL_DESC_MODERN: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Selecione unidades com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Comande unidades com o botão {direito} do mouse + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Posicione construções com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Mire os poderes especiais com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com a {roda do mouse} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com {MODIFICADOR + roda do mouse} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {direito} do mouse + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {do meio} do mouse + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: ou levando o cursor até a borda da tela + Container@ROW: + Width: PARENT_RIGHT + Height: 20 + Children: + Container@EDGESCROLL_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@EDGESCROLL_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mover câmera pela borda da tela + Container@SPACER: + Height: 30 + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Vídeo + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@BATTLEFIELD_CAMERA_DROPDOWN_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@BATTLEFIELD_CAMERA: + Width: PARENT_RIGHT + Height: 20 + Text: Câmera: + DropDownButton@BATTLEFIELD_CAMERA_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@UI_SCALE_DROPDOWN_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@UI_SCALE: + Width: PARENT_RIGHT + Height: 20 + Text: Escala da interface: + DropDownButton@UI_SCALE_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@ROW: + Width: PARENT_RIGHT + Height: 20 + Children: + Container@CURSORDOUBLE_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CURSORDOUBLE_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Aumentar cursor + Button@CONTINUE_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Continuar + Font: Bold + Key: return + +Background@MAINMENU_SYSTEM_INFO_PROMPT: + Logic: SystemInfoPromptLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 600 + Height: 430 + Children: + Label@PROMPT_TITLE: + Width: PARENT_RIGHT + Y: 20 + Height: 25 + Font: Bold + Align: Center + Text: Estabelecendo controle do campo de batalha + Label@PROMPT_TEXT_A: + X: 15 + Y: 50 + Width: PARENT_RIGHT - 30 + Height: 16 + Align: Center + Text: Gostaríamos de coletar alguns dados do sistema para ajudar a otimizar o OpenRA. + Label@PROMPT_TEXT_B: + X: 15 + Y: 68 + Width: PARENT_RIGHT - 30 + Height: 16 + Align: Center + Text: Com sua permissão, estes dados anônimos serão enviados a cada início do jogo: + ScrollPanel@SYSINFO_DATA: + X: 20 + Y: 98 + Width: PARENT_RIGHT - 40 + Height: 355-98-10 + TopBottomSpacing: 4 + ItemSpacing: 4 + Children: + Label@DATA_TEMPLATE: + X: 8 + Height: 13 + VAlign: Top + Font: Small + Checkbox@SYSINFO_CHECKBOX: + X: 390 + Y: 353 + Width: 200 + Height: 20 + Font: Regular + Text: Enviar informações do sistema + Button@CONTINUE_BUTTON: + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Continuar + Font: Bold + Key: return diff --git a/mods/openkrush_gen1/chrome/map-chooser.yaml b/mods/openkrush_gen1/chrome/map-chooser.yaml new file mode 100644 index 00000000..b7308ff5 --- /dev/null +++ b/mods/openkrush_gen1/chrome/map-chooser.yaml @@ -0,0 +1,169 @@ +Background@MAPCHOOSER_PANEL: + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Logic: MapChooserLogic + Width: 900 + Height: 600 + Children: + Label@MAPCHOOSER_TITLE: + Y: 17 + Align: Center + Width: PARENT_RIGHT + Height: 20 + Text: Escolher mapa + Font: Bold + Button@SYSTEM_MAPS_TAB_BUTTON: + X: 20 + Y: 48 + Height: 31 + Width: 140 + Text: Mapas oficiais + Font: Bold + Button@USER_MAPS_TAB_BUTTON: + X: 160 + Y: 48 + Height: 31 + Width: 140 + Text: Mapas personalizados + Font: Bold + Container@MAP_TAB_PANES: + Width: PARENT_RIGHT - 40 + Height: 438 + X: 20 + Y: 77 + Children: + Container@SYSTEM_MAPS_TAB: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + ScrollPanel@MAP_LIST: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Container@USER_MAPS_TAB: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + ScrollPanel@MAP_LIST: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + ScrollItem@MAP_TEMPLATE: + Width: 208 + Height: 266 + X: 2 + Visible: false + EnableChildMouseOver: True + Children: + MapPreview@PREVIEW: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 3 + Width: 202 + Height: 202 + IgnoreMouseOver: true + IgnoreMouseInput: true + LabelWithTooltip@TITLE: + X: 4 + Y: PARENT_BOTTOM - HEIGHT - 39 + Width: PARENT_RIGHT - 8 + Height: 24 + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@DETAILS: + Width: PARENT_RIGHT - 8 + Height: 12 + X: 4 + Y: PARENT_BOTTOM - HEIGHT - 30 + Align: Center + Font: Tiny + LabelWithTooltip@AUTHOR: + Width: PARENT_RIGHT - 8 + Height: 12 + X: 4 + Y: PARENT_BOTTOM - HEIGHT - 18 + Align: Center + Font: Tiny + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@SIZE: + Width: PARENT_RIGHT - 8 + Height: 12 + X: 4 + Y: PARENT_BOTTOM - HEIGHT - 6 + Align: Center + Font: Tiny + Container@FILTER_ORDER_CONTROLS: + X: 20 + Y: PARENT_BOTTOM - 80 + Width: PARENT_RIGHT - 40 + Height: PARENT_BOTTOM + Children: + Label@FILTER_DESC: + Width: 40 + Height: 24 + Font: Bold + Align: Right + Text: Filtro: + TextField@MAPFILTER_INPUT: + X: 45 + Width: 150 + Height: 25 + Label@FILTER_DESC_JOINER: + X: 195 + Width: 30 + Height: 24 + Font: Bold + Align: Center + Text: em + DropDownButton@GAMEMODE_FILTER: + X: 225 + Width: 200 + Height: 25 + Label@ORDERBY_LABEL: + X: PARENT_RIGHT - WIDTH - 200 - 5 + Width: 100 + Height: 24 + Font: Bold + Align: Right + Text: Ordenar por: + DropDownButton@ORDERBY: + X: PARENT_RIGHT - WIDTH + Width: 200 + Height: 25 + Button@RANDOMMAP_BUTTON: + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Mapa aleatório + Font: Bold + Button@DELETE_MAP_BUTTON: + X: 160 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Apagar mapa + Font: Bold + Button@DELETE_ALL_MAPS_BUTTON: + X: 300 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Apagar todos os mapas + Font: Bold + Button@BUTTON_OK: + X: PARENT_RIGHT - 270 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Ok + Font: Bold + Key: return + Button@BUTTON_CANCEL: + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Voltar + Font: Bold + Key: escape + TooltipContainer@TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/missionbrowser.yaml b/mods/openkrush_gen1/chrome/missionbrowser.yaml new file mode 100644 index 00000000..bd0ebd38 --- /dev/null +++ b/mods/openkrush_gen1/chrome/missionbrowser.yaml @@ -0,0 +1,167 @@ +Background@MISSIONBROWSER_PANEL: + Logic: MissionBrowserLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 700 + Height: 500 + Children: + Label@MISSIONBROWSER_TITLE: + Y: 21 + Width: PARENT_RIGHT + Height: 25 + Text: Missões + Align: Center + Font: Bold + ScrollPanel@MISSION_LIST: + X: 20 + Y: 50 + Width: 288 + Height: PARENT_BOTTOM - 110 + Children: + ScrollItem@HEADER: + Background: scrollheader + Width: PARENT_RIGHT - 27 + Height: 13 + X: 2 + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 13 + Align: Center + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 10 + Width: PARENT_RIGHT - 20 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Container@MISSION_INFO: + X: 318 + Y: 50 + Width: 362 + Height: PARENT_BOTTOM - 110 + Children: + Background@MISSION_BG: + Width: PARENT_RIGHT + Height: 202 + Background: dialog3 + Children: + MapPreview@MISSION_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + IgnoreMouseOver: True + IgnoreMouseInput: True + ShowSpawnPoints: False + ScrollPanel@MISSION_DESCRIPTION_PANEL: + Y: 212 + Width: PARENT_RIGHT + Height: 143 + TopBottomSpacing: 5 + Children: + Label@MISSION_DESCRIPTION: + X: 4 + Width: PARENT_RIGHT - 32 + VAlign: Top + Font: Small + Label@DIFFICULTY_DESC: + Y: PARENT_BOTTOM - HEIGHT + Width: 56 + Height: 25 + Text: Dificuldade: + Align: Right + DropDownButton@DIFFICULTY_DROPDOWNBUTTON: + X: 61 + Y: PARENT_BOTTOM - HEIGHT + Width: 135 + Height: 25 + Font: Regular + Label@GAMESPEED_DESC: + X: PARENT_RIGHT - WIDTH - 115 + Y: PARENT_BOTTOM - HEIGHT + Width: 120 + Height: 25 + Text: Velocidade: + Align: Right + DropDownButton@GAMESPEED_DROPDOWNBUTTON: + X: PARENT_RIGHT - WIDTH + Y: PARENT_BOTTOM - HEIGHT + Width: 110 + Height: 25 + Font: Regular + Button@START_BRIEFING_VIDEO_BUTTON: + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 130 + Height: 25 + Text: Ver briefing + Font: Bold + Button@STOP_BRIEFING_VIDEO_BUTTON: + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 130 + Height: 25 + Text: Parar briefing + Font: Bold + Button@START_INFO_VIDEO_BUTTON: + X: 160 + Y: PARENT_BOTTOM - 45 + Width: 130 + Height: 25 + Text: Ver vídeo + Font: Bold + Button@STOP_INFO_VIDEO_BUTTON: + X: 160 + Y: PARENT_BOTTOM - 45 + Width: 130 + Height: 25 + Text: Parar vídeo + Font: Bold + Button@STARTGAME_BUTTON: + X: PARENT_RIGHT - 140 - 130 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Jogar + Font: Bold + Button@BACK_BUTTON: + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Voltar + Font: Bold + Key: escape + Background@MISSION_BIN: + X: 20 + Y: 50 + Width: PARENT_RIGHT - 40 + Height: PARENT_BOTTOM - 110 + Background: dialog3 + Children: + VideoPlayer@MISSION_VIDEO: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer@TOOLTIP_CONTAINER: + +Background@FULLSCREEN_PLAYER: + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM + Background: dialog5 + Visible: False + Children: + VideoPlayer@PLAYER: + X: 0 + Y: 0 + Width: WINDOW_RIGHT + Height: WINDOW_BOTTOM diff --git a/mods/openkrush_gen1/chrome/multiplayer-browser.yaml b/mods/openkrush_gen1/chrome/multiplayer-browser.yaml new file mode 100644 index 00000000..5927d3b9 --- /dev/null +++ b/mods/openkrush_gen1/chrome/multiplayer-browser.yaml @@ -0,0 +1,258 @@ +Background@MULTIPLAYER_PANEL: + Logic: MultiplayerLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 900 + Height: 600 + Children: + Label@TITLE: + Y: 16 + Width: PARENT_RIGHT + Height: 25 + Text: Multijogador + Align: Center + Font: Bold + Container@LABEL_CONTAINER: + X: 20 + Y: 43 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@NAME: + X: 5 + Width: 347 + Height: 25 + Text: Servidor + Align: Center + Font: Bold + Label@PLAYERS: + X: 382 + Width: 85 + Height: 25 + Text: Jogadores + Font: Bold + Label@LOCATION: + X: 472 + Width: 110 + Height: 25 + Text: Local + Font: Bold + Label@STATUS: + X: 587 + Width: 50 + Height: 25 + Text: Status + Font: Bold + LogicTicker@NOTICE_WATCHER: + Background@NOTICE_CONTAINER: + X: 20 + Y: 67 + Width: 675 + Height: 20 + Background: dialog2 + Children: + Label@OUTDATED_VERSION_LABEL: + X: 5 + Width: PARENT_RIGHT-10 + Height: 20 + Align: Center + Text: Você está usando uma versão desatualizada do OpenRA. Baixe a mais recente em www.openra.net + Font: TinyBold + Label@UNKNOWN_VERSION_LABEL: + X: 5 + Width: PARENT_RIGHT-10 + Height: 20 + Align: Center + Text: Você está usando uma versão não reconhecida do OpenRA. Baixe a mais recente em www.openra.net + Font: TinyBold + Label@PLAYTEST_AVAILABLE_LABEL: + X: 5 + Width: PARENT_RIGHT-10 + Height: 20 + Align: Center + Text: Uma prévia da próxima versão do OpenRA está disponível para teste. Baixe em www.openra.net + Font: TinyBold + ScrollPanel@SERVER_LIST: + X: 20 + Y: 67 + Width: 675 + Height: PARENT_BOTTOM - 122 + TopBottomSpacing: 2 + Children: + ScrollItem@HEADER_TEMPLATE: + X: 2 + Width: PARENT_RIGHT - 27 + Height: 20 + Background: scrollheader + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 20 + Align: Center + ScrollItem@SERVER_TEMPLATE: + X: 2 + Width: PARENT_RIGHT - 27 + Height: 25 + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 5 + Width: 337 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Image@PASSWORD_PROTECTED: + X: 364 + Y: 6 + Width: 12 + Height: 13 + ImageCollection: lobby-bits + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + TooltipText: Requer senha + Image@REQUIRES_AUTHENTICATION: + X: 364 + Y: 6 + Width: 12 + Height: 13 + ImageCollection: lobby-bits + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + TooltipText: Requer conta no fórum do OpenRA + LabelWithTooltip@PLAYERS: + X: 382 + Width: 85 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@LOCATION: + X: 472 + Width: 110 + Height: 25 + Label@STATUS: + X: 587 + Width: 50 + Height: 25 + Label@PROGRESS_LABEL: + X: 20 + Y: 67 + (PARENT_BOTTOM - 119 - HEIGHT) / 2 + Width: 675 + Height: 25 + Font: Bold + Align: Center + Visible: false + Container@SELECTED_SERVER: + X: PARENT_RIGHT - WIDTH - 20 + Y: 67 + Width: 174 + Height: 280 + Children: + Background@MAP_BG: + Width: PARENT_RIGHT + Height: 174 + Background: dialog3 + Children: + MapPreview@SELECTED_MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_BOTTOM - 2 + TooltipContainer: TOOLTIP_CONTAINER + LabelWithTooltip@SELECTED_MAP: + Y: 173 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@SELECTED_IP: + Y: 188 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Label@SELECTED_STATUS: + Y: 204 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center + Label@SELECTED_MOD_VERSION: + Y: 217 + Width: PARENT_RIGHT + Height: 25 + Font: Tiny + Align: Center + Label@SELECTED_PLAYERS: + Y: 230 + Width: PARENT_RIGHT + Height: 25 + Font: TinyBold + Align: Center + Container@CLIENT_LIST_CONTAINER: + Y: 240 + Width: PARENT_RIGHT + Height: 166 + Button@JOIN_BUTTON: + Key: return + Y: 255 + Width: PARENT_RIGHT + Height: 25 + Text: Entrar + Font: Bold + DropDownButton@FILTERS_DROPDOWNBUTTON: + X: 20 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 158 + Height: 25 + Text: Filtrar partidas + Font: Bold + Button@RELOAD_BUTTON: + X: 182 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 26 + Height: 25 + Children: + Image@IMAGE_RELOAD: + X: 5 + Y: 5 + Width: 16 + Height: 16 + ImageCollection: reload-icon + ImageName: enabled + IgnoreMouseOver: True + Children: + LogicTicker@ANIMATION: + Label@PLAYER_COUNT: + X: 254 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 190 + Height: 25 + Align: Center + Font: Bold + Button@DIRECTCONNECT_BUTTON: + X: 490 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 100 + Height: 25 + Text: IP direto + Font: Bold + Button@CREATE_BUTTON: + X: 595 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 100 + Height: 25 + Text: Criar + Font: Bold + Button@BACK_BUTTON: + Key: escape + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - HEIGHT - 20 + Width: 174 + Height: 25 + Text: Voltar + Font: Bold + TooltipContainer@TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/multiplayer-browserpanels.yaml b/mods/openkrush_gen1/chrome/multiplayer-browserpanels.yaml new file mode 100644 index 00000000..9be38096 --- /dev/null +++ b/mods/openkrush_gen1/chrome/multiplayer-browserpanels.yaml @@ -0,0 +1,85 @@ +ScrollPanel@MULTIPLAYER_CLIENT_LIST: + Width: PARENT_RIGHT + Height: 159 + IgnoreChildMouseOver: true + Children: + ScrollItem@HEADER: + Background: scrollheader + Width: PARENT_RIGHT - 27 + Height: 13 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 13 + Align: Center + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Image@FLAG: + X: 4 + Y: 5 + Width: 32 + Height: 16 + Visible: False + Label@LABEL: + X: 40 + Width: PARENT_RIGHT - 50 + Height: 25 + Shadow: True + Label@NOFLAG_LABEL: + X: 5 + Width: PARENT_RIGHT + Height: 25 + Shadow: True + +ScrollPanel@MULTIPLAYER_FILTER_PANEL: + Width: PARENT_RIGHT + Height: 130 + Children: + Checkbox@WAITING_FOR_PLAYERS: + X: 5 + Y: 5 + Width: PARENT_RIGHT - 29 + Height: 20 + Text: Aguardando + TextColor: 32CD32 + Font: Regular + Checkbox@EMPTY: + X: 5 + Y: 30 + Width: PARENT_RIGHT - 29 + Height: 20 + Text: Vazias + Font: Regular + Checkbox@PASSWORD_PROTECTED: + X: 5 + Y: 55 + Width: PARENT_RIGHT - 29 + Height: 20 + Text: Protegidas + TextColor: FF0000 + Font: Regular + Checkbox@ALREADY_STARTED: + X: 5 + Y: 80 + Width: PARENT_RIGHT - 29 + Height: 20 + Text: Iniciadas + TextColor: FFA500 + Font: Regular + Checkbox@INCOMPATIBLE_VERSION: + X: 5 + Y: 105 + Width: PARENT_RIGHT - 29 + Height: 20 + Text: Incompatível + TextColor: BEBEBE + Font: Regular diff --git a/mods/openkrush_gen1/chrome/multiplayer-createserver.yaml b/mods/openkrush_gen1/chrome/multiplayer-createserver.yaml new file mode 100644 index 00000000..702fd279 --- /dev/null +++ b/mods/openkrush_gen1/chrome/multiplayer-createserver.yaml @@ -0,0 +1,261 @@ +Background@MULTIPLAYER_CREATESERVER_PANEL: + Logic: ServerCreationLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 530 + Height: 315 + Children: + Label@TITLE: + Y: 16 + Width: PARENT_RIGHT + Height: 25 + Text: Criar servidor + Align: Center + Font: Bold + Label@SERVER_NAME_LABEL: + Y: 45 + Width: 105 + Height: 25 + Align: Right + Text: Nome do servidor: + TextField@SERVER_NAME: + X: 110 + Y: 45 + Width: 215 + MaxLength: 50 + Height: 25 + Text: Meu servidor OpenRA + Label@PASSWORD_LABEL: + Y: 80 + Width: 105 + Height: 25 + Align: Right + Text: Senha: + PasswordField@PASSWORD: + X: 110 + Y: 80 + Width: 145 + MaxLength: 20 + Height: 25 + Label@AFTER_PASSWORD_LABEL: + X: 265 + Y: 80 + Width: 95 + Height: 25 + Align: Left + Text: (opcional) + Label@LISTEN_PORT_LABEL: + Y: 115 + Width: 105 + Height: 25 + Align: Right + Text: Porta: + TextField@LISTEN_PORT: + X: 110 + Y: 115 + Width: 50 + Height: 25 + MaxLength: 5 + Text: 1234 + Type: Integer + Checkbox@ADVERTISE_CHECKBOX: + X: 180 + Y: 117 + Width: 150 + Height: 20 + Font: Regular + Text: Anunciar online + Label@NOTICES_HEADER_A: + X: 20 + Y: 156 + Height: 25 + Align: Left + Font: Bold + Label@NOTICES_HEADER_B: + X: 20 + Y: 156 + Height: 25 + Align: Left + Font: Bold + Label@NOTICES_HEADER_C: + X: 20 + Y: 156 + Height: 25 + Align: Left + Font: Bold + Container@NOTICES_LAN: + X: 25 + Y: 176 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@ADVERTISING: + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - A partida será anunciada só na rede local. + Label@FIREWALL: + Y: 12 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - Você precisa liberar as conexões no firewall manualmente. + Label@PORTFORWARD_A: + Y: 24 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - Jogadores podem conectar por IP direto pela internet se você + Label@PORTFORWARD_B: + X: 7 + Y: 36 + Width: 295 + Height: 25 + Font: Tiny + Align: Left + Text: configurar o redirecionamento de portas no roteador. + Container@NOTICES_NO_UPNP: + X: 25 + Y: 176 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@ADVERTISING: + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - A partida será anunciada na rede local e na internet. + Label@FIREWALL: + Y: 12 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - Você precisa liberar as conexões no firewall manualmente. + Label@PORTFORWARD_A: + Y: 24 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - Você precisa configurar o roteador para liberar e redirecionar + Label@PORTFORWARD_B: + X: 7 + Y: 36 + Width: 295 + Height: 25 + Font: Tiny + Align: Left + Text: as conexões para o seu IP local e porta. + Label@SETTINGS_A: + Y: 48 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - Você pode ativar o UPnP/NAT-PMP (se o roteador suportar) + Label@SETTINGS_B: + X: 7 + Y: 60 + Width: 295 + Height: 25 + Font: Tiny + Align: Left + Text: na aba Avançado das configurações. + Container@NOTICES_UPNP: + X: 25 + Y: 176 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@ADVERTISING: + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - A partida será anunciada na rede local e na internet. + Label@FIREWALL: + Y: 12 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - Você precisa liberar as conexões no firewall manualmente. + Label@PORTFORWARD_A: + Y: 24 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - O jogo vai configurar o redirecionamento de portas sozinho. + Label@SETTINGS_A: + Y: 36 + Width: 305 + Height: 25 + Font: Tiny + Align: Left + Text: - Você pode desativar o UPnP/NAT-PMP nas configurações. + Background@MAP_BG: + X: PARENT_RIGHT - 194 + Y: 45 + Width: 174 + Height: 174 + Background: dialog3 + Children: + MapPreview@MAP_PREVIEW: + X: 1 + Y: 1 + Width: PARENT_RIGHT - 2 + Height: PARENT_RIGHT - 2 + LabelWithTooltip@MAP_TITLE: + X: PARENT_RIGHT - 194 + Y: 218 + Width: 174 + Height: 25 + Font: Bold + Align: Center + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@MAP_TYPE: + X: PARENT_RIGHT - 194 + Y: 233 + Width: 174 + Height: 25 + Font: TinyBold + Align: Center + IgnoreMouseOver: true + Label@MAP_AUTHOR: + X: PARENT_RIGHT - 194 + Y: 246 + Width: 174 + Height: 25 + Font: Tiny + Align: Center + Button@MAP_BUTTON: + X: 20 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Trocar mapa + Font: Bold + Button@BACK_BUTTON: + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Voltar + Font: Bold + Key: escape + Button@CREATE_BUTTON: + Key: return + X: PARENT_RIGHT - 2*WIDTH - 30 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Criar + Font: Bold + TooltipContainer@TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/multiplayer-directconnect.yaml b/mods/openkrush_gen1/chrome/multiplayer-directconnect.yaml new file mode 100644 index 00000000..d76177b5 --- /dev/null +++ b/mods/openkrush_gen1/chrome/multiplayer-directconnect.yaml @@ -0,0 +1,58 @@ +Background@DIRECTCONNECT_PANEL: + Logic: DirectConnectLogic + X: (WINDOW_RIGHT - WIDTH)/2 + Y: (WINDOW_BOTTOM - HEIGHT)/2 + Width: 450 + Height: 160 + Children: + Label@DIRECTCONNECT_LABEL_TITLE: + X: 0 + Y: 21 + Width: 450 + Height: 25 + Text: Conectar ao servidor + Align: Center + Font: Bold + Label@ADDRESS_LABEL: + X: 50 + Y: 60 + Width: 95 + Height: 25 + Align: Right + Text: Endereço do servidor: + TextField@IP: + X: 150 + Y: 60 + Width: 210 + MaxLength: 50 + Height: 25 + Label@PORT_LABEL: + X: 360 + Y: 60 + Width: 10 + Height: 25 + Align: Center + Text: : + TextField@PORT: + X: 370 + Y: 60 + Width: 60 + MaxLength: 5 + Height: 25 + Type: Integer + Button@JOIN_BUTTON: + X: PARENT_RIGHT - 430 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Entrar + Font: Bold + Key: return + Button@BACK_BUTTON: + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Cancelar + Font: Bold + Key: escape diff --git a/mods/openkrush_gen1/chrome/musicplayer.yaml b/mods/openkrush_gen1/chrome/musicplayer.yaml new file mode 100644 index 00000000..5950086f --- /dev/null +++ b/mods/openkrush_gen1/chrome/musicplayer.yaml @@ -0,0 +1,176 @@ +Background@MUSIC_PANEL: + Logic: MusicPlayerLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 410 + Height: 500 + Children: + LogicTicker@SONG_WATCHER: + ScrollPanel@MUSIC_LIST: + X: 20 + Y: 45 + Width: PARENT_RIGHT - 40 + Height: PARENT_BOTTOM - 175 + Children: + ScrollItem@MUSIC_TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 10 + Width: PARENT_RIGHT - 50 + Height: 25 + TooltipContainer: MUSIC_TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Label@LENGTH: + Width: 50 + X: PARENT_RIGHT - 60 + Align: Right + Height: 25 + Container@LABEL_CONTAINER: + X: 20 + Y: 16 + Width: PARENT_RIGHT - 40 + Children: + Label@TITLE: + Width: 100 + Height: 25 + Text: Faixa + Align: Center + Font: Bold + Label@TYPE: + X: PARENT_RIGHT - WIDTH + Height: 25 + Width: 95 + Text: Tempo + Align: Center + Font: Bold + Container@BUTTONS: + X: 20 + Y: PARENT_BOTTOM - HEIGHT - 85 + Width: PARENT_RIGHT - 40 + Children: + Button@BUTTON_PREV: + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_PREV: + X: 5 + Y: 5 + ImageCollection: music + ImageName: prev + Button@BUTTON_PLAY: + X: 35 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_PLAY: + X: 5 + Y: 5 + ImageCollection: music + ImageName: play + Button@BUTTON_PAUSE: + Visible: false + X: 35 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_PAUSE: + X: 5 + Y: 5 + ImageCollection: music + ImageName: pause + Button@BUTTON_STOP: + X: 70 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_STOP: + X: 5 + Y: 5 + ImageCollection: music + ImageName: stop + Button@BUTTON_NEXT: + X: 105 + Width: 26 + Height: 26 + IgnoreChildMouseOver: true + Children: + Image@IMAGE_NEXT: + X: 5 + Y: 5 + ImageCollection: music + ImageName: next + ExponentialSlider@MUSIC_SLIDER: + X: PARENT_RIGHT - WIDTH + Y: 3 + Width: PARENT_RIGHT - 145 + Height: 20 + Ticks: 7 + Label@TIME_LABEL: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: PARENT_BOTTOM - HEIGHT - 95 - 3 + Width: 140 + Height: 25 + Align: Center + Font: Bold + Checkbox@SHUFFLE: + X: 20 + Y: PARENT_BOTTOM - HEIGHT - 95 + Width: 85 + Height: 20 + Text: Embaralhar + Checkbox@REPEAT: + X: PARENT_RIGHT - 15 - WIDTH + Y: PARENT_BOTTOM - HEIGHT - 95 + Width: 70 + Height: 20 + Text: Repetir + Container@NO_MUSIC_LABEL: + X: 20 + Y: (PARENT_BOTTOM - HEIGHT - 95) / 2 + Width: PARENT_RIGHT - 40 + Height: 75 + Visible: false + Children: + Label@TITLE: + Width: PARENT_RIGHT - 24 + Height: 25 + Font: Bold + Align: Center + Text: Música não instalada + Label@DESCA: + Y: 20 + Width: PARENT_RIGHT - 24 + Height: 25 + Align: Center + Text: As músicas do jogo podem ser instaladas + Label@DESCB: + Y: 40 + Width: PARENT_RIGHT - 24 + Height: 25 + Align: Center + Text: pelo menu "Gerenciar conteúdo". + Button@BACK_BUTTON: + X: PARENT_RIGHT - WIDTH - 20 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Fechar + Font: Bold + Key: escape + Label@MUTE_LABEL: + X: 25 + Y: PARENT_BOTTOM - 45 + Width: 300 + Height: 20 + Font: Small + TooltipContainer@MUSIC_TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/playerprofile.yaml b/mods/openkrush_gen1/chrome/playerprofile.yaml new file mode 100644 index 00000000..ff9819bf --- /dev/null +++ b/mods/openkrush_gen1/chrome/playerprofile.yaml @@ -0,0 +1,230 @@ +Container@LOCAL_PROFILE_PANEL: + Logic: LocalProfileLogic + Width: 270 + Height: 100 + Children: + Background@PROFILE_HEADER: + Width: PARENT_RIGHT + Height: 50 + Background: dialog2 + Children: + Label@PROFILE_NAME: + X: 10 + Y: 5 + Width: PARENT_RIGHT - 20 + Height: 25 + Font: MediumBold + Label@PROFILE_RANK: + X: 10 + Y: 24 + Width: PARENT_RIGHT - 20 + Height: 25 + Font: TinyBold + Button@DESTROY_KEY: + X: PARENT_RIGHT - 70 + Y: 15 + Width: 60 + Height: 20 + Font: TinyBold + Text: Desconectar + Background@BADGES_CONTAINER: + Width: PARENT_RIGHT + Y: 48 + Visible: false + Background: dialog3 + Background@GENERATE_KEYS: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog2 + Children: + Label@DESC_A: + Y: 5 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Conecte uma conta do fórum para se identificar + Label@DESC_B: + Y: 21 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: para outros jogadores, entrar em servidores + Label@DESC_C: + Y: 37 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: privados e exibir medalhas. + Button@GENERATE_KEY: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 70 + Width: 240 + Height: 20 + Font: TinyBold + Text: Conectar a uma conta do fórum do OpenRA + Background@GENERATING_KEYS: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog2 + Children: + Label@DESC_A: + Y: 13 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Gerando par de chaves de autenticação. + Label@DESC_B: + Y: 29 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Isso vai levar alguns segundos... + ProgressBar: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 70 + Width: 240 + Height: 20 + Indeterminate: true + Background@REGISTER_FINGERPRINT: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog2 + Children: + Label@DESC_A: + Y: 2 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Uma chave de autenticação foi copiada para a sua + Label@DESC_B: + Y: 18 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: área de transferência. Adicione-a ao seu Painel de Controle + Label@DESC_C: + Y: 34 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: no fórum do OpenRA e clique em Continuar. + Button@DELETE_KEY: + X: 15 + Y: 70 + Width: 70 + Height: 20 + Font: TinyBold + Text: Cancelar + Button@CHECK_KEY: + X: 185 + Y: 70 + Width: 70 + Height: 20 + Font: TinyBold + Text: Continuar + Background@CHECKING_FINGERPRINT: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog2 + Children: + Label@DESC_A: + Y: 13 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Buscando os dados da conta no + Label@DESC_B: + Y: 29 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: fórum do OpenRA... + ProgressBar: + X: (PARENT_RIGHT - WIDTH) / 2 + Y: 70 + Width: 240 + Height: 20 + Indeterminate: true + Background@FINGERPRINT_NOT_FOUND: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog2 + Children: + Label@DESC_A: + Y: 13 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Sua chave de autenticação não está conectada + Label@DESC_B: + Y: 29 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: a uma conta do fórum do OpenRA. + Button@FINGERPRINT_NOT_FOUND_CONTINUE: + X: 185 + Y: 70 + Width: 70 + Height: 20 + Font: TinyBold + Text: Voltar + Background@CONNECTION_ERROR: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Background: dialog2 + Children: + Label@DESC_A: + Y: 13 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Falha ao conectar ao fórum do OpenRA. + Label@DESC_B: + Y: 29 + Width: PARENT_RIGHT + Height: 25 + Font: Small + Align: Center + Text: Verifique sua conexão com a internet. + Button@CONNECTION_ERROR_RETRY: + X: 185 + Y: 70 + Width: 70 + Height: 20 + Font: TinyBold + Text: Tentar de novo + +Container@PLAYER_PROFILE_BADGES_INSERT: + Logic: PlayerProfileBadgesLogic + Width: PARENT_RIGHT + Height: 110 + Children: + Container@BADGE_TEMPLATE: + Width: PARENT_RIGHT + Height: 25 + Children: + Badge@ICON: + X: 6 + Y: 1 + Width: 24 + Height: 24 + Label@LABEL: + X: 36 + Y: 2 + Width: PARENT_RIGHT - 60 + Height: 24 + Font: Bold diff --git a/mods/openkrush_gen1/chrome/replaybrowser.yaml b/mods/openkrush_gen1/chrome/replaybrowser.yaml new file mode 100644 index 00000000..50029626 --- /dev/null +++ b/mods/openkrush_gen1/chrome/replaybrowser.yaml @@ -0,0 +1,269 @@ +Background@REPLAYBROWSER_PANEL: + Logic: ReplayBrowserLogic + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 900 + Height: 600 + Children: + Label@TITLE: + Y: 16 + Width: PARENT_RIGHT + Height: 25 + Text: Visualizador de replays + Align: Center + Font: Bold + Container@FILTER_AND_MANAGE_CONTAINER: + X: 20 + Y: 37 + Width: 280 + Height: PARENT_BOTTOM - 75 + Children: + Container@FILTERS: + Width: 280 + Height: 320 + Children: + Label@FILTERS_TITLE: + X: 85 + Y: 6 + Width: PARENT_RIGHT - 85 + Height: 25 + Font: Bold + Align: Center + Text: Filtro + Label@FLT_GAMETYPE_DESC: + X: 0 + Y: 30 + Width: 80 + Height: 25 + Text: Tipo: + Align: Right + DropDownButton@FLT_GAMETYPE_DROPDOWNBUTTON: + X: 85 + Y: 30 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Qualquer + Label@FLT_DATE_DESC: + X: 0 + Y: 60 + Width: 80 + Height: 25 + Text: Data: + Align: Right + DropDownButton@FLT_DATE_DROPDOWNBUTTON: + X: 85 + Y: 60 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Qualquer + Label@FLT_DURATION_DESC: + X: 0 + Y: 90 + Width: 80 + Height: 25 + Text: Duração: + Align: Right + DropDownButton@FLT_DURATION_DROPDOWNBUTTON: + X: 85 + Y: 90 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Qualquer + Label@FLT_MAPNAME_DESC: + X: 0 + Y: 120 + Width: 80 + Height: 25 + Text: Mapa: + Align: Right + DropDownButton@FLT_MAPNAME_DROPDOWNBUTTON: + X: 85 + Y: 120 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Qualquer + Label@FLT_PLAYER_DESC: + X: 0 + Y: 150 + Width: 80 + Height: 25 + Text: Jogador: + Align: Right + DropDownButton@FLT_PLAYER_DROPDOWNBUTTON: + X: 85 + Y: 150 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Qualquer um + Label@FLT_OUTCOME_DESC: + X: 0 + Y: 180 + Width: 80 + Height: 25 + Text: Resultado: + Align: Right + DropDownButton@FLT_OUTCOME_DROPDOWNBUTTON: + X: 85 + Y: 180 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Qualquer + Label@FLT_FACTION_DESC: + X: 0 + Y: 210 + Width: 80 + Height: 25 + Text: Facção: + Align: Right + DropDownButton@FLT_FACTION_DROPDOWNBUTTON: + X: 85 + Y: 210 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Qualquer + Button@FLT_RESET_BUTTON: + X: 85 + Y: 250 + Width: PARENT_RIGHT - 85 + Height: 25 + Text: Limpar filtros + Font: Bold + Container@MANAGEMENT: + X: 85 + Y: 395 + Width: PARENT_RIGHT - 85 + Children: + Label@MANAGE_TITLE: + Y: 1 + Width: PARENT_RIGHT + Height: 25 + Font: Bold + Align: Center + Text: Gerenciar + Button@MNG_RENSEL_BUTTON: + Y: 30 + Width: PARENT_RIGHT + Height: 25 + Text: Renomear + Font: Bold + Key: F2 + Button@MNG_DELSEL_BUTTON: + Y: 60 + Width: PARENT_RIGHT + Height: 25 + Text: Apagar + Font: Bold + Key: Delete + Button@MNG_DELALL_BUTTON: + Y: 90 + Width: PARENT_RIGHT + Height: 25 + Text: Apagar todos + Font: Bold + Container@REPLAY_LIST_CONTAINER: + X: 311 + Y: 37 + Width: 384 + Height: PARENT_BOTTOM - 37 - 55 + Children: + Label@REPLAYBROWSER_LABEL_TITLE: + Y: 6 + Width: PARENT_RIGHT + Height: 25 + Text: Escolher replay + Align: Center + Font: Bold + ScrollPanel@REPLAY_LIST: + X: 0 + Y: 30 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 30 + CollapseHiddenChildren: True + Children: + ScrollItem@REPLAY_TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Visible: false + EnableChildMouseOver: True + Children: + LabelWithTooltip@TITLE: + X: 10 + Width: PARENT_RIGHT - 20 + Height: 25 + TooltipContainer: TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Container@MAP_PREVIEW_ROOT: + X: PARENT_RIGHT - WIDTH - 20 + Y: 67 + Width: 174 + Height: 250 + Container@REPLAY_INFO: + X: PARENT_RIGHT - WIDTH - 20 + Y: 267 + Width: 174 + Height: PARENT_BOTTOM - 267 - 45 + Children: + Label@DURATION: + Y: 19 + Width: PARENT_RIGHT + Height: 15 + Font: Tiny + Align: Center + ScrollPanel@PLAYER_LIST: + Y: 40 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 50 + IgnoreChildMouseOver: true + Children: + ScrollItem@HEADER: + Background: scrollheader + Width: PARENT_RIGHT - 27 + Height: 13 + X: 2 + Y: 0 + Visible: false + Children: + Label@LABEL: + Font: TinyBold + Width: PARENT_RIGHT + Height: 13 + Align: Center + ScrollItem@TEMPLATE: + Width: PARENT_RIGHT - 27 + Height: 25 + X: 2 + Y: 0 + Visible: false + Children: + Image@FLAG: + X: 4 + Y: 6 + Width: 32 + Height: 16 + Label@LABEL: + X: 40 + Width: PARENT_RIGHT - 50 + Height: 25 + Shadow: True + Label@NOFLAG_LABEL: + X: 5 + Width: PARENT_RIGHT + Height: 25 + Button@WATCH_BUTTON: + X: PARENT_RIGHT - 140 - 130 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Assistir + Font: Bold + Key: return + Button@CANCEL_BUTTON: + X: PARENT_RIGHT - 140 + Y: PARENT_BOTTOM - 45 + Width: 120 + Height: 25 + Text: Voltar + Font: Bold + Key: escape + TooltipContainer@TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/settings-advanced.yaml b/mods/openkrush_gen1/chrome/settings-advanced.yaml new file mode 100644 index 00000000..1adfe2a7 --- /dev/null +++ b/mods/openkrush_gen1/chrome/settings-advanced.yaml @@ -0,0 +1,197 @@ +Container@ADVANCED_PANEL: + Logic: AdvancedSettingsLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + ScrollPanel@SETTINGS_SCROLLPANEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + CollapseHiddenChildren: True + TopBottomSpacing: 5 + ItemSpacing: 10 + Children: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 24 - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Avançado + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@NAT_DISCOVERY_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@NAT_DISCOVERY: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Ativar detecção UPnP/NAT-PMP + Container@FETCH_NEWS_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@FETCH_NEWS_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Buscar notícias da comunidade + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@PERFGRAPH_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@PERFGRAPH_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mostrar gráfico de desempenho + Container@CHECK_VERSION_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CHECK_VERSION_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Verificar atualizações + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@PERFTEXT_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@PERFTEXT_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mostrar texto de desempenho + Container@SENDSYSINFO_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@SENDSYSINFO_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Enviar informações do sistema + Label@SENDSYSINFO_DESC: + Y: 15 + Width: PARENT_RIGHT + Height: 30 + Font: Tiny + WordWrap: True + Text: As versões do sistema operacional, OpenGL e .NET, e o idioma serão enviados com um ID anônimo para ajudar a priorizar o desenvolvimento. + Container@SPACER: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 24 - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Desenvolvedor + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 40 + Children: + Container@DEBUG_HIDDEN_CONTAINER: + X: 10 + Width: PARENT_RIGHT - 10 + Children: + Label@A: + Width: PARENT_RIGHT + Height: 20 + Text: Outras opções de desenvolvedor podem ser ativadas pela + Align: Center + Label@B: + Y: 20 + Width: PARENT_RIGHT + Height: 20 + Text: opção Debug.DisplayDeveloperSettings ou parâmetro de inicialização + Align: Center + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@BOTDEBUG_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@BOTDEBUG_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mostrar mensagens de depuração dos bots + Container@CHECKBOTSYNC_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CHECKBOTSYNC_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Verificar sincronia no código de bots + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@LUADEBUG_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@LUADEBUG_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mostrar mensagens de depuração do mapa + Container@CHECKUNSYNCED_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CHECKUNSYNCED_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Verificar sincronia no código não sincronizado + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@REPLAY_COMMANDS_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@REPLAY_COMMANDS_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Ativar comandos de depuração em replays + Container@PERFLOGGING_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@PERFLOGGING_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Registrar desempenho por tick diff --git a/mods/openkrush_gen1/chrome/settings-audio.yaml b/mods/openkrush_gen1/chrome/settings-audio.yaml new file mode 100644 index 00000000..8116f28c --- /dev/null +++ b/mods/openkrush_gen1/chrome/settings-audio.yaml @@ -0,0 +1,143 @@ +Container@AUDIO_PANEL: + Logic: AudioSettingsLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + ScrollPanel@SETTINGS_SCROLLPANEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + CollapseHiddenChildren: True + TopBottomSpacing: 5 + ItemSpacing: 10 + Children: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 24 - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Áudio + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@NO_AUDIO_DEVICE_CONTAINER: + X: 10 + Width: PARENT_RIGHT - 10 + Children: + Label@NO_AUDIO_DEVICE: + Width: PARENT_RIGHT + Height: 20 + Align: Center + Text: Os controles de áudio exigem um dispositivo de som ativo + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@CASH_TICKS_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CASH_TICKS: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Contagem do dinheiro + Container@MUTE_SOUND_CONTAINER: + X: 10 + Y: 30 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@MUTE_SOUND: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Silenciar som + Container@SOUND_VOLUME_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@SOUND_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Volume dos efeitos: + ExponentialSlider@SOUND_VOLUME: + Y: 30 + Width: PARENT_RIGHT + Height: 20 + Ticks: 7 + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@MUTE_BACKGROUND_MUSIC_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@MUTE_BACKGROUND_MUSIC: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Silenciar música de fundo + Container@MUSIC_VOLUME_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@MUSIC_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Volume da música: + ExponentialSlider@MUSIC_VOLUME: + Y: 25 + Width: PARENT_RIGHT + Height: 20 + Ticks: 7 + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@AUDIO_DEVICE_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@AUDIO_DEVICE_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Dispositivo de áudio: + DropDownButton@AUDIO_DEVICE: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Container@VIDEO_VOLUME_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@VIDEO_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Volume dos vídeos: + ExponentialSlider@VIDEO_VOLUME: + Y: 25 + Width: PARENT_RIGHT + Height: 20 + Ticks: 7 + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@RESTART_REQUIRED_CONTAINER: + X: 10 + Width: PARENT_RIGHT - 10 + Children: + Label@RESTART_REQUIRED_DESC: + Width: PARENT_RIGHT + Height: 20 + Font: Tiny + Align: Center + Text: Mudanças de dispositivo valem depois de reiniciar o jogo diff --git a/mods/openkrush_gen1/chrome/settings-display.yaml b/mods/openkrush_gen1/chrome/settings-display.yaml new file mode 100644 index 00000000..f8b6e786 --- /dev/null +++ b/mods/openkrush_gen1/chrome/settings-display.yaml @@ -0,0 +1,355 @@ +Container@DISPLAY_PANEL: + Logic: DisplaySettingsLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + ScrollPanel@SETTINGS_SCROLLPANEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + CollapseHiddenChildren: True + TopBottomSpacing: 5 + ItemSpacing: 10 + Children: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 24 - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Perfil + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@PLAYER_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelForInput@PLAYER: + Width: PARENT_RIGHT + Height: 20 + Text: Nome do jogador: + For: PLAYERNAME + TextField@PLAYERNAME: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + MaxLength: 16 + Text: Nome + Container@PLAYERCOLOR_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelForInput@COLOR: + Width: PARENT_RIGHT + Height: 20 + Text: Cor preferida: + For: PLAYERCOLOR + DropDownButton@PLAYERCOLOR: + Y: 25 + Width: 75 + Height: 25 + IgnoreChildMouseOver: true + PanelAlign: Right + Children: + ColorBlock@COLORBLOCK: + X: 5 + Y: 6 + Width: PARENT_RIGHT - 35 + Height: PARENT_BOTTOM - 12 + Container@SPACER: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 24 - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Vídeo + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@BATTLEFIELD_CAMERA_DROPDOWN_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@BATTLEFIELD_CAMERA: + Width: PARENT_RIGHT + Height: 20 + Text: Câmera: + DropDownButton@BATTLEFIELD_CAMERA_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@TARGET_LINES_DROPDOWN_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@TARGET_LINES: + Width: PARENT_RIGHT + Height: 20 + Text: Linhas de alvo: + DropDownButton@TARGET_LINES_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@UI_SCALE_DROPDOWN_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelForInput@UI_SCALE: + Width: PARENT_RIGHT + Height: 20 + Text: Escala da interface: + For: UI_SCALE_DROPDOWN + DropDownButton@UI_SCALE_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@STATUS_BAR_DROPDOWN_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@STATUS_BARS: + Width: PARENT_RIGHT + Height: 20 + Text: Barras de status: + DropDownButton@STATUS_BAR_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@CURSORDOUBLE_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CURSORDOUBLE_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Aumentar cursor + Container@PLAYER_STANCE_COLORS_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@PLAYER_STANCE_COLORS_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Cores por relação + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@UI_FEEDBACK_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 10 + Children: + Checkbox@UI_FEEDBACK_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mostrar avisos da interface + Container@TRANSIENTS_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@TRANSIENTS_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mostrar avisos de eventos do jogo + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@PAUSE_SHELLMAP_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 10 + Children: + Checkbox@PAUSE_SHELLMAP_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Pausar fundo do menu + Container@HIDE_REPLAY_CHAT_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 10 + Children: + Checkbox@HIDE_REPLAY_CHAT_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Ocultar chat em replays + Container@SPACER: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 24 - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Vídeo + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@VIDEO_MODE_DROPDOWN_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@VIDEO_MODE: + Width: PARENT_RIGHT + Height: 20 + Text: Modo de vídeo: + DropDownButton@MODE_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Text: Janela + Container@WINDOW_RESOLUTION_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@WINDOW_SIZE: + Width: PARENT_RIGHT + Height: 20 + Text: Tamanho da janela: + TextField@WINDOW_WIDTH: + Y: 25 + Width: 55 + Height: 25 + MaxLength: 5 + Type: Integer + Label@X: + X: 55 + Y: 25 + Text: x + Font: Bold + Height: 25 + Width: 15 + Align: Center + TextField@WINDOW_HEIGHT: + X: 70 + Y: 25 + Width: 55 + Height: 25 + MaxLength: 5 + Type: Integer + Container@DISPLAY_SELECTION_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@DISPLAY_SELECTION_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Monitor: + DropDownButton@DISPLAY_SELECTION_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Text: Padrão + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@FRAME_LIMIT_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@FRAME_LIMIT_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Limitar FPS + Container@FRAME_LIMIT_SLIDER_CONTAINER: + Width: PARENT_RIGHT / 2 - 20 + Children: + Slider@FRAME_LIMIT_SLIDER: + X: 20 + Y: 25 + Width: PARENT_RIGHT - 20 + Height: 20 + Ticks: 20 + MinimumValue: 50 + MaximumValue: 240 + Container@VSYNC_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@VSYNC_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Ativar VSync + Container@FRAME_LIMIT_GAMESPEED_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Y: 25 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@FRAME_LIMIT_GAMESPEED_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Limitar FPS à velocidade do jogo + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@GL_PROFILE_DROPDOWN_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@GL_PROFILE: + Width: PARENT_RIGHT + Height: 20 + Text: Perfil OpenGL: + DropDownButton@GL_PROFILE_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 30 + Children: + Container@RESTART_REQUIRED_CONTAINER: + X: 10 + Width: PARENT_RIGHT - 20 + Children: + Label@RESTART_REQUIRED_DESC: + Width: PARENT_RIGHT + Height: 20 + Font: Tiny + Text: Mudanças de vídeo e OpenGL exigem reiniciar + Align: Center diff --git a/mods/openkrush_gen1/chrome/settings-hotkeys.yaml b/mods/openkrush_gen1/chrome/settings-hotkeys.yaml new file mode 100644 index 00000000..96fdcb51 --- /dev/null +++ b/mods/openkrush_gen1/chrome/settings-hotkeys.yaml @@ -0,0 +1,165 @@ +Container@HOTKEYS_PANEL: + Logic: HotkeysSettingsLogic + HotkeyGroups: + Comandos do jogo: + Types: OrderGenerator, World, Menu + Câmera: + Types: Viewport + Espectador / Replay: + Types: Observer, Replay + Comandos de unidade: + Types: Unit + Postura das unidades: + Types: Stance + Produção: + Types: Production, ProductionSlot + Poderes especiais: + Types: SupportPower + Música: + Types: Music + Chat: + Types: Chat + Grupos de controle: + Types: ControlGroups + Editor de mapas: + Types: Editor + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@FILTER_INPUT_LABEL: + Width: 100 + Height: 25 + Font: Bold + Text: Filtrar por nome: + TextField@FILTER_INPUT: + X: 108 + Width: 180 + Height: 25 + Label@CONTEXT_DROPDOWN_LABEL: + X: PARENT_RIGHT - WIDTH - 195 - 5 + Width: 100 + Height: 25 + Font: Bold + Text: Contexto: + Align: Right + DropDownButton@CONTEXT_DROPDOWN: + X: PARENT_RIGHT - WIDTH + Width: 195 + Height: 25 + Font: Bold + ScrollPanel@HOTKEY_LIST: + Y: 35 + Width: PARENT_RIGHT + Height: PARENT_BOTTOM - 65 - 35 + TopBottomSpacing: 5 + ItemSpacing: 5 + Children: + Container@HEADER: + Width: PARENT_RIGHT - 24 - 10 + Height: 18 + Children: + Background@BACKGROUND: + Width: PARENT_RIGHT + Height: 13 + Background: separator + ClickThrough: True + Label@LABEL: + Width: PARENT_RIGHT + Height: 13 + Font: TinyBold + Align: Center + Container@TEMPLATE: + Width: (PARENT_RIGHT - 24) / 2 - 10 + Height: 30 + Visible: false + Children: + Label@FUNCTION: + Y: 0 - 1 + Width: PARENT_RIGHT - 120 - 5 + Height: 25 + Align: Right + Button@HOTKEY: + X: PARENT_RIGHT - WIDTH + Width: 120 + Height: 25 + TooltipContainer: SETTINGS_TOOLTIP_CONTAINER + Container@HOTKEY_EMPTY_LIST: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Visible: false + Children: + Label@HOTKEY_EMPTY_LIST_MESSAGE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Align: Center + Text: Nenhum atalho corresponde ao filtro. + Background@HOTKEY_REMAP_BGND: + Y: PARENT_BOTTOM - HEIGHT + Width: PARENT_RIGHT + Height: 65 + Background: dialog3 + Children: + Container@HOTKEY_REMAP_DIALOG: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Label@HOTKEY_LABEL: + X: 15 + Y: 19 + Width: 200 + Height: 25 + Font: Bold + Align: Right + HotkeyEntry@HOTKEY_ENTRY: + X: 15 + 200 + 5 + Y: 20 + Width: 300 + Height: 25 + Container@NOTICES: + X: 15 + 200 + 5 + Y: 42 + Width: 300 + Height: 25 + Children: + Label@ORIGINAL_NOTICE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: Tiny + Text: O padrão é "{0}" + Label@DUPLICATE_NOTICE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: Tiny + Text: Já está em uso por "{0}" no contexto {1} + Label@READONLY_NOTICE: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: Tiny + Text: Este atalho não pode ser alterado + Button@OVERRIDE_HOTKEY_BUTTON: + X: PARENT_RIGHT - 3 * WIDTH - 30 + Y: 20 + Width: 70 + Height: 25 + Text: Substituir + Font: Bold + Button@CLEAR_HOTKEY_BUTTON: + X: PARENT_RIGHT - 2 * WIDTH - 30 + Y: 20 + Width: 65 + Height: 25 + Text: Limpar + Font: Bold + TooltipText: Remover o atalho + TooltipContainer: SETTINGS_TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP + Button@RESET_HOTKEY_BUTTON: + X: PARENT_RIGHT - WIDTH - 20 + Y: 20 + Width: 65 + Height: 25 + Text: Redefinir + Font: Bold + TooltipText: Restaurar padrão + TooltipContainer: SETTINGS_TOOLTIP_CONTAINER + TooltipTemplate: SIMPLE_TOOLTIP diff --git a/mods/openkrush_gen1/chrome/settings-input.yaml b/mods/openkrush_gen1/chrome/settings-input.yaml new file mode 100644 index 00000000..9280144d --- /dev/null +++ b/mods/openkrush_gen1/chrome/settings-input.yaml @@ -0,0 +1,269 @@ +Container@INPUT_PANEL: + Logic: InputSettingsLogic + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + ScrollPanel@SETTINGS_SCROLLPANEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + CollapseHiddenChildren: True + TopBottomSpacing: 5 + ItemSpacing: 10 + Children: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 24 - 10 + Height: 13 + Background: separator + ClickThrough: True + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Controles + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@MOUSE_CONTROL_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@MOUSE_CONTROL_LABEL: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Esquema de controle: + DropDownButton@MOUSE_CONTROL_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@ZOOM_MODIFIER_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@ZOOM_MODIFIER_LABEL: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Tecla de zoom: + DropDownButton@ZOOM_MODIFIER: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@MOUSE_CONTROL_DESC_CLASSIC: + X: 10 + Y: 55 + Width: PARENT_RIGHT + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Selecione unidades com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Comande unidades com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Posicione construções com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Mire os poderes especiais com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com a {roda do mouse} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com {MODIFICADOR + roda do mouse} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {direito} do mouse + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {do meio} do mouse + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: ou levando o cursor até a borda da tela + Container@MOUSE_CONTROL_DESC_MODERN: + X: 10 + Y: 55 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Selecione unidades com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Comande unidades com o botão {direito} do mouse + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Posicione construções com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Mire os poderes especiais com o botão {esquerdo} do mouse + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com a {roda do mouse} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Aproxime a câmera com {MODIFICADOR + roda do mouse} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {direito} do mouse + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Mova a câmera com o botão {do meio} do mouse + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: ou levando o cursor até a borda da tela + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@EDGESCROLL_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@EDGESCROLL_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Mover câmera pela borda da tela + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@ALTERNATE_SCROLL_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@ALTERNATE_SCROLL_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Movimento alternativo com o mouse + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 20 + Children: + Container@LOCKMOUSE_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@LOCKMOUSE_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Prender mouse na janela + Container@SPACER: + Height: 30 + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@MOUSE_SCROLL_TYPE_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@MOUSE_SCROLL_TYPE_LABEL: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Movimento da câmera: + DropDownButton@MOUSE_SCROLL_TYPE_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@SCROLLSPEED_SLIDER_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@SCROLL_SPEED_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Velocidade da câmera: + Slider@SCROLLSPEED_SLIDER: + Y: 25 + Width: PARENT_RIGHT + Height: 20 + Ticks: 7 + MinimumValue: 10 + MaximumValue: 50 + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@ZOOMSPEED_SLIDER_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@ZOOM_SPEED_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Velocidade do zoom: + ExponentialSlider@ZOOMSPEED_SLIDER: + Y: 25 + Width: PARENT_RIGHT + Height: 20 + Ticks: 7 + MinimumValue: 0.01 + MaximumValue: 0.4 + Container@ROW: + Width: PARENT_RIGHT - 24 + Height: 50 + Children: + Container@UI_SCROLLSPEED_SLIDER_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@UI_SCROLL_SPEED_LABEL: + Width: PARENT_RIGHT + Height: 20 + Text: Rolagem da interface: + Slider@UI_SCROLLSPEED_SLIDER: + Y: 25 + Width: PARENT_RIGHT + Height: 20 + Ticks: 7 + MinimumValue: 1 + MaximumValue: 100 diff --git a/mods/openkrush_gen1/chrome/settings.yaml b/mods/openkrush_gen1/chrome/settings.yaml new file mode 100644 index 00000000..00fd7214 --- /dev/null +++ b/mods/openkrush_gen1/chrome/settings.yaml @@ -0,0 +1,56 @@ +Background@SETTINGS_PANEL: + Logic: SettingsLogic + ButtonStride: 0, 35 + Panels: + DISPLAY_PANEL: Display + AUDIO_PANEL: Audio + INPUT_PANEL: Input + HOTKEYS_PANEL: Hotkeys + ADVANCED_PANEL: Advanced + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 + Width: 900 + Height: 600 + Children: + Label@SETTINGS_LABEL_TITLE: + Y: 20 + Width: PARENT_RIGHT + Height: 25 + Text: Configurações + Align: Center + Font: Bold + Button@RESET_BUTTON: + X: 20 + 10 + WIDTH + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Redefinir + Font: Bold + Button@BACK_BUTTON: + Key: escape + X: PARENT_RIGHT - 180 + Y: PARENT_BOTTOM - 45 + Width: 160 + Height: 25 + Text: Voltar + Font: Bold + Container@SETTINGS_TAB_CONTAINER: + X: 20 + Y: 50 + Width: PARENT_RIGHT + Height: 25 + Children: + Button@BUTTON_TEMPLATE: + Width: 160 + Height: 25 + Font: Bold + Container@PANEL_CONTAINER: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Children: + Container@PANEL_TEMPLATE: + X: 190 + Y: 50 + Width: PARENT_RIGHT - 190 - 20 + Height: PARENT_BOTTOM - 105 + TooltipContainer@SETTINGS_TOOLTIP_CONTAINER: diff --git a/mods/openkrush_gen1/chrome/text-notifications.yaml b/mods/openkrush_gen1/chrome/text-notifications.yaml new file mode 100644 index 00000000..b1a77599 --- /dev/null +++ b/mods/openkrush_gen1/chrome/text-notifications.yaml @@ -0,0 +1,55 @@ +Container@CHAT_LINE_TEMPLATE: + Width: PARENT_RIGHT + Height: 16 + Children: + Label@TIME: + X: 5 + Width: 37 + Height: 16 + Shadow: True + Label@PREFIX: + X: 5 + Height: 16 + Shadow: True + Label@TEXT: + X: 5 + Height: 16 + WordWrap: True + Shadow: True + +Container@SYSTEM_LINE_TEMPLATE: + Width: PARENT_RIGHT + Height: 16 + Children: + Label@TIME: + X: 5 + Width: 37 + Height: 16 + Shadow: True + Label@PREFIX: + X: 5 + Height: 16 + Shadow: True + TextColor: FFFF00 + Label@TEXT: + X: 5 + Height: 16 + WordWrap: True + Shadow: True + TextColor: FFFF00 + +Container@TRANSIENT_LINE_TEMPLATE: + Width: PARENT_RIGHT + Height: 16 + Children: + Label@TIME: + X: 5 + Width: 37 + Height: 16 + Shadow: True + Label@TEXT: + X: 5 + Height: 16 + WordWrap: True + Shadow: True + TextColor: AFEEEE diff --git a/mods/openkrush_gen1/chrome/tooltips.yaml b/mods/openkrush_gen1/chrome/tooltips.yaml new file mode 100644 index 00000000..19d3d9c9 --- /dev/null +++ b/mods/openkrush_gen1/chrome/tooltips.yaml @@ -0,0 +1,339 @@ +Background@SIMPLE_TOOLTIP: + Logic: SimpleTooltipLogic + Background: dialog4 + Height: 32 + Children: + Container@LINE_HEIGHT: + Y: 3 + Height: 19 + Label@LABEL: + X: 7 + Y: 0 - 1 + Height: 23 + Font: Bold + +Background@BUTTON_TOOLTIP: + Logic: ButtonTooltipLogic + Background: dialog4 + Height: 29 + Children: + Label@LABEL: + X: 7 + Y: 3 + Height: 23 + Font: Bold + Label@HOTKEY: + Visible: false + Y: 2 + Height: 23 + TextColor: FFFF00 + Font: Bold + Label@DESC: + X: 7 + Y: 28 + Height: 12 + Font: TinyBold + VAlign: Top + +Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP: + Logic: ButtonTooltipLogic + Background: dialog4 + Height: 29 + Children: + Label@LABEL: + X: 7 + Y: 3 + Height: 23 + Font: Bold + Label@HOTKEY: + Y: 3 + Visible: false + TextColor: FFFF00 + Height: 23 + Font: Bold + LabelWithHighlight@DESC: + X: 7 + Y: 27 + Height: 12 + Font: TinyBold + VAlign: Top + +Background@WORLD_TOOLTIP: + Logic: WorldTooltipLogic + Background: dialog4 + Children: + Container@SINGLE_HEIGHT: + Height: 29 + Container@DOUBLE_HEIGHT: + Height: 50 + Label@LABEL: + X: 7 + Y: 2 + Height: 23 + Font: Bold + Image@FLAG: + X: 7 + Y: 27 + Width: 32 + Height: 16 + Label@OWNER: + X: 45 + Y: 23 + Height: 23 + Font: Bold + Shadow: True + Label@EXTRA: + X: 7 + Y: 51 + Height: 5 + Font: Bold + +Background@SPAWN_TOOLTIP: + Logic: SpawnSelectorTooltipLogic + Background: dialog4 + Width: 7 + Children: + Container@SINGLE_HEIGHT: + Height: 29 + Container@DOUBLE_HEIGHT: + Height: 44 + Label@LABEL: + Y: 3 + Height: 23 + Font: Bold + Image@FLAG: + X: 7 + Y: 7 + Width: 32 + Height: 16 + Label@TEAM: + Y: 24 + Height: 15 + Font: TinyBold + Align: center + +Background@LATENCY_TOOLTIP: + Logic: LatencyTooltipLogic + Background: dialog4 + Height: 29 + Width: 7 + Children: + Label@LATENCY_PREFIX: + X: 7 + Y: 3 + Height: 26 + Font: Bold + Text: Latência: + Label@LATENCY: + Y: 3 + Height: 26 + Font: Bold + +Background@ANONYMOUS_PLAYER_TOOLTIP: + Logic: AnonymousProfileTooltipLogic + Background: dialog4 + Height: 30 + Width: 200 + Children: + Label@NAME: + X: 7 + Y: 2 + Text: Jogador anônimo + Height: 24 + Font: MediumBold + Label@LOCATION: + X: 7 + Y: 25 + Height: 12 + Visible: False + Font: TinyBold + Label@IP: + X: 7 + Y: 25 + Height: 12 + Visible: False + Font: TinyBold + Container@GAME_ADMIN: + X: 7 + Y: 25 + Height: 12 + Visible: False + Children: + Image@ICON: + X: 1 + Y: 4 + Width: 7 + Height: 5 + ImageCollection: lobby-bits + ImageName: admin + Label@LABEL: + X: 10 + Height: 12 + Text: Administrador + Font: TinyBold + +Background@REGISTERED_PLAYER_TOOLTIP: + Logic: RegisteredProfileTooltipLogic + Width: 270 + Background: dialog4 + Children: + Container@HEADER: + Width: PARENT_RIGHT + Children: + Container@PROFILE_HEADER: + Height: 43 + Children: + Label@PROFILE_NAME: + X: 7 + Y: 2 + Width: PARENT_RIGHT - 20 + Height: 24 + Font: MediumBold + Label@PROFILE_RANK: + X: 7 + Y: 24 + Width: PARENT_RIGHT - 20 + Height: 12 + Font: TinyBold + Container@GAME_ADMIN: + X: 7 + Y: 36 + Width: PARENT_RIGHT - 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 + Height: 12 + Text: Administrador + Font: TinyBold + Container@MESSAGE_HEADER: + Height: 26 + Width: PARENT_RIGHT + Children: + Label@MESSAGE: + X: 7 + Width: PARENT_RIGHT - 14 + Height: 23 + Font: Bold + Container@BADGES_CONTAINER: + Width: PARENT_RIGHT + Visible: false + Children: + Background@SEPARATOR: + X: 10 + Height: 1 + Background: tooltip-separator + +Background@PRODUCTION_TOOLTIP: + Logic: ProductionTooltipLogic + Background: dialog4 + 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: 26 + Height: 15 + Font: TinyBold + Text: Requer {0} + Label@DESC: + X: 7 + Y: 27 + Height: 2 + 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: dialog4 + Width: 200 + Height: 32 + Children: + Label@NAME: + X: 7 + Y: 4 + Height: 20 + Font: Bold + Label@HOTKEY: + Visible: false + Y: 4 + Height: 20 + TextColor: FFFF00 + Font: Bold + Label@TIME: + Y: 10 + Font: TinyBold + VAlign: Top + Label@DESC: + X: 7 + Y: 24 + Font: TinyBold + VAlign: Top + +Background@ARMY_TOOLTIP: + Logic: ArmyTooltipLogic + Background: dialog4 + Width: 200 + Height: 65 + Children: + Label@NAME: + X: 7 + Y: 3 + Height: 23 + Font: Bold + Label@DESC: + X: 7 + Y: 27 + Height: 2 + Font: TinyBold + VAlign: Top diff --git a/mods/openkrush_gen1/core/rules/mechanics/extracts_oil.yaml b/mods/openkrush_gen1/core/rules/mechanics/extracts_oil.yaml index b67dbd2f..13f89298 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/extracts_oil.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/extracts_oil.yaml @@ -9,4 +9,4 @@ GivesBuildableArea: AreaTypes: defence TooltipDescription: - Description: Extracts oil + Description: Extrai petróleo diff --git a/mods/openkrush_gen1/core/rules/mechanics/grants_superweapon.yaml b/mods/openkrush_gen1/core/rules/mechanics/grants_superweapon.yaml index 481f65bd..cfb8fda2 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/grants_superweapon.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/grants_superweapon.yaml @@ -8,4 +8,4 @@ Cursor: attack RequiresCondition: !selfconstructing && !deconstructing TooltipDescription: - Description: Grants superweapon + Description: Libera superarma diff --git a/mods/openkrush_gen1/core/rules/mechanics/mobile_base.yaml b/mods/openkrush_gen1/core/rules/mechanics/mobile_base.yaml index fcf0cfb8..77d6c10d 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/mobile_base.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/mobile_base.yaml @@ -2,7 +2,7 @@ Inherits@1: ^CoreVehicle Inherits@2: ^CoreHeavyVehicle TooltipDescription: - Description: Mobile base + Description: Base móvel Transforms: Offset: -1,0 MustBeDestroyed: diff --git a/mods/openkrush_gen1/core/rules/mechanics/oil_derrick.yaml b/mods/openkrush_gen1/core/rules/mechanics/oil_derrick.yaml index 250367ea..1b9ae33d 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/oil_derrick.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/oil_derrick.yaml @@ -11,4 +11,4 @@ DeployCursor: dock Offset: -2,-2 TooltipDescription: - Description: Deploys on oilpatch + Description: Instala-se em poço de petróleo diff --git a/mods/openkrush_gen1/core/rules/mechanics/oil_tanker.yaml b/mods/openkrush_gen1/core/rules/mechanics/oil_tanker.yaml index 6146684e..ac7957e5 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/oil_tanker.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/oil_tanker.yaml @@ -7,4 +7,4 @@ Selectable: Priority: 15 TooltipDescription: - Description: Transports oil + Description: Transporta petróleo diff --git a/mods/openkrush_gen1/core/rules/mechanics/processes_oil.yaml b/mods/openkrush_gen1/core/rules/mechanics/processes_oil.yaml index d6a01152..f9c7ef66 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/processes_oil.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/processes_oil.yaml @@ -3,4 +3,4 @@ Dock: RequiresCondition: !selfconstructing && !deconstructing TooltipDescription: - Description: Processes oil + Description: Processa petróleo diff --git a/mods/openkrush_gen1/core/rules/mechanics/produces_buildings.yaml b/mods/openkrush_gen1/core/rules/mechanics/produces_buildings.yaml index 13618c4d..72d2eae2 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/produces_buildings.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/produces_buildings.yaml @@ -8,4 +8,4 @@ RequiresCondition: !selfconstructing && !deconstructing BaseBuilding: TooltipDescription: - Description: Produces buildings + Description: Produz construções diff --git a/mods/openkrush_gen1/core/rules/mechanics/produces_infantry.yaml b/mods/openkrush_gen1/core/rules/mechanics/produces_infantry.yaml index c9736764..0be6de27 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/produces_infantry.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/produces_infantry.yaml @@ -14,4 +14,4 @@ GrantExternalConditionToProduced: Condition: produced TooltipDescription: - Description: Produces infantry + Description: Produz infantaria diff --git a/mods/openkrush_gen1/core/rules/mechanics/produces_resources.yaml b/mods/openkrush_gen1/core/rules/mechanics/produces_resources.yaml index fe044e14..e5ea510f 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/produces_resources.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/produces_resources.yaml @@ -2,4 +2,4 @@ CashTrickler: ShowTicks: false TooltipDescription: - Description: Produces additional resources + Description: Produz recursos extras diff --git a/mods/openkrush_gen1/core/rules/mechanics/produces_vehicles.yaml b/mods/openkrush_gen1/core/rules/mechanics/produces_vehicles.yaml index 1f8b53fc..2f1fb89d 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/produces_vehicles.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/produces_vehicles.yaml @@ -14,4 +14,4 @@ GrantExternalConditionToProduced: Condition: produced TooltipDescription: - Description: Produces vehicles + Description: Produz veículos diff --git a/mods/openkrush_gen1/core/rules/mechanics/repairs_vehicles.yaml b/mods/openkrush_gen1/core/rules/mechanics/repairs_vehicles.yaml index 6361a467..f82b415a 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/repairs_vehicles.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/repairs_vehicles.yaml @@ -7,4 +7,4 @@ Cursor: move Image: TooltipDescription: - Description: Repairs vehicles + Description: Conserta veículos diff --git a/mods/openkrush_gen1/core/rules/mechanics/researches_buildings.yaml b/mods/openkrush_gen1/core/rules/mechanics/researches_buildings.yaml index 70bac2ec..23a02c57 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/researches_buildings.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/researches_buildings.yaml @@ -2,4 +2,4 @@ Researches: RequiresCondition: !selfconstructing && !deconstructing TooltipDescription: - Description: Researches buildings + Description: Pesquisa construções diff --git a/mods/openkrush_gen1/core/rules/mechanics/saboteur.yaml b/mods/openkrush_gen1/core/rules/mechanics/saboteur.yaml index 31f8a9fc..5960439c 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/saboteur.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/saboteur.yaml @@ -4,4 +4,4 @@ Saboteur: IgnoreRallyPoint: TooltipDescription: - Description: Conquers buildings + Description: Conquista construções diff --git a/mods/openkrush_gen1/core/rules/mechanics/technician.yaml b/mods/openkrush_gen1/core/rules/mechanics/technician.yaml index 144298af..2b0ef091 100644 --- a/mods/openkrush_gen1/core/rules/mechanics/technician.yaml +++ b/mods/openkrush_gen1/core/rules/mechanics/technician.yaml @@ -4,4 +4,4 @@ Technician: IgnoreRallyPoint: TooltipDescription: - Description: Repairs buildings + Description: Conserta construções diff --git a/mods/openkrush_gen1/hotkeys/chat.yaml b/mods/openkrush_gen1/hotkeys/chat.yaml new file mode 100644 index 00000000..a4dbb344 --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/chat.yaml @@ -0,0 +1,21 @@ +OpenTeamChat: Return + Description: Abrir chat da equipe + Types: Chat + Contexts: Player, Spectator + +OpenGeneralChat: Return Shift + Description: Abrir chat geral + Types: Chat + Contexts: Player, Spectator + +ToggleChatMode: Tab Shift + Description: Alternar modo do chat + Types: Chat + Contexts: Chat Input, Menu + Readonly: True + +Autocomplete: Tab + Description: Autocompletar + Types: Chat + Contexts: Chat Input + Readonly: True diff --git a/mods/openkrush_gen1/hotkeys/control-groups.yaml b/mods/openkrush_gen1/hotkeys/control-groups.yaml new file mode 100644 index 00000000..1386d6d7 --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/control-groups.yaml @@ -0,0 +1,294 @@ +ControlGroupSelect01: NUMBER_1 + Description: Selecionar grupo 1 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect02: NUMBER_2 + Description: Selecionar grupo 2 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect03: NUMBER_3 + Description: Selecionar grupo 3 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect04: NUMBER_4 + Description: Selecionar grupo 4 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect05: NUMBER_5 + Description: Selecionar grupo 5 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect06: NUMBER_6 + Description: Selecionar grupo 6 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect07: NUMBER_7 + Description: Selecionar grupo 7 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect08: NUMBER_8 + Description: Selecionar grupo 8 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect09: NUMBER_9 + Description: Selecionar grupo 9 + Types: ControlGroups + Contexts: Player + +ControlGroupSelect10: NUMBER_0 + Description: Selecionar grupo 0 + Types: ControlGroups + Contexts: Player + +ControlGroupCreate01: NUMBER_1 Ctrl + Description: Criar grupo 1 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_1 Meta + +ControlGroupCreate02: NUMBER_2 Ctrl + Description: Criar grupo 2 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_2 Meta + +ControlGroupCreate03: NUMBER_3 Ctrl + Description: Criar grupo 3 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_3 Meta + +ControlGroupCreate04: NUMBER_4 Ctrl + Description: Criar grupo 4 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_4 Meta + +ControlGroupCreate05: NUMBER_5 Ctrl + Description: Criar grupo 5 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_5 Meta + +ControlGroupCreate06: NUMBER_6 Ctrl + Description: Criar grupo 6 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_6 Meta + +ControlGroupCreate07: NUMBER_7 Ctrl + Description: Criar grupo 7 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_7 Meta + +ControlGroupCreate08: NUMBER_8 Ctrl + Description: Criar grupo 8 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_8 Meta + +ControlGroupCreate09: NUMBER_9 Ctrl + Description: Criar grupo 9 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_9 Meta + +ControlGroupCreate10: NUMBER_0 Ctrl + Description: Criar grupo 0 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_0 Meta + +ControlGroupAddTo01: NUMBER_1 Ctrl, Shift + Description: Adicionar ao grupo 1 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_1 Meta, Shift + +ControlGroupAddTo02: NUMBER_2 Ctrl, Shift + Description: Adicionar ao grupo 2 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_2 Meta, Shift + +ControlGroupAddTo03: NUMBER_3 Ctrl, Shift + Description: Adicionar ao grupo 3 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_3 Meta, Shift + +ControlGroupAddTo04: NUMBER_4 Ctrl, Shift + Description: Adicionar ao grupo 4 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_4 Meta, Shift + +ControlGroupAddTo05: NUMBER_5 Ctrl, Shift + Description: Adicionar ao grupo 5 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_5 Meta, Shift + +ControlGroupAddTo06: NUMBER_6 Ctrl, Shift + Description: Adicionar ao grupo 6 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_6 Meta, Shift + +ControlGroupAddTo07: NUMBER_7 Ctrl, Shift + Description: Adicionar ao grupo 7 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_7 Meta, Shift + +ControlGroupAddTo08: NUMBER_8 Ctrl, Shift + Description: Adicionar ao grupo 8 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_8 Meta, Shift + +ControlGroupAddTo09: NUMBER_9 Ctrl, Shift + Description: Adicionar ao grupo 9 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_9 Meta, Shift + +ControlGroupAddTo10: NUMBER_0 Ctrl, Shift + Description: Adicionar ao grupo 0 + Types: ControlGroups + Contexts: Player + Platform: + OSX: NUMBER_0 Meta, Shift + +ControlGroupCombineWith01: NUMBER_1 Shift + Description: Juntar ao grupo 1 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith02: NUMBER_2 Shift + Description: Juntar ao grupo 2 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith03: NUMBER_3 Shift + Description: Juntar ao grupo 3 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith04: NUMBER_4 Shift + Description: Juntar ao grupo 4 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith05: NUMBER_5 Shift + Description: Juntar ao grupo 5 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith06: NUMBER_6 Shift + Description: Juntar ao grupo 6 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith07: NUMBER_7 Shift + Description: Juntar ao grupo 7 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith08: NUMBER_8 Shift + Description: Juntar ao grupo 8 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith09: NUMBER_9 Shift + Description: Juntar ao grupo 9 + Types: ControlGroups + Contexts: Player + +ControlGroupCombineWith10: NUMBER_0 Shift + Description: Juntar ao grupo 0 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo01: NUMBER_1 Alt + Description: Ir para o grupo 1 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo02: NUMBER_2 Alt + Description: Ir para o grupo 2 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo03: NUMBER_3 Alt + Description: Ir para o grupo 3 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo04: NUMBER_4 Alt + Description: Ir para o grupo 4 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo05: NUMBER_5 Alt + Description: Ir para o grupo 5 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo06: NUMBER_6 Alt + Description: Ir para o grupo 6 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo07: NUMBER_7 Alt + Description: Ir para o grupo 7 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo08: NUMBER_8 Alt + Description: Ir para o grupo 8 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo09: NUMBER_9 Alt + Description: Ir para o grupo 9 + Types: ControlGroups + Contexts: Player + +ControlGroupJumpTo10: NUMBER_0 Alt + Description: Ir para o grupo 0 + Types: ControlGroups + Contexts: Player + +RemoveFromControlGroup: + Description: Remover do grupo + Types: ControlGroups + Contexts: Player diff --git a/mods/openkrush_gen1/hotkeys/editor.yaml b/mods/openkrush_gen1/hotkeys/editor.yaml new file mode 100644 index 00000000..7f5382c7 --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/editor.yaml @@ -0,0 +1,51 @@ +EditorUndo: Z Ctrl + Description: Desfazer + Types: Editor + Contexts: Editor + Platform: + OSX: Z Meta + +EditorRedo: Y Ctrl + Description: Refazer + Types: Editor + Contexts: Editor + Platform: + OSX: Z Meta, Shift + Linux: Z Ctrl, Shift + +EditorCopy: C Ctrl + Description: Copiar + Types: Editor + Contexts: Editor + Platform: + OSX: C Meta + +EditorTilesTab: E + Description: Aba Peças + Types: Editor + Contexts: Editor + +EditorOverlaysTab: R + Description: Aba Sobreposições + Types: Editor + Contexts: Editor + +EditorActorsTab: T + Description: Aba Atores + Types: Editor + Contexts: Editor + +EditorHistoryTab: Y + Description: Aba Histórico + Types: Editor + Contexts: Editor + +EditorToggleGridOverlay: F1 + Description: Mostrar grade + Types: Editor + Contexts: Editor + +EditorToggleBuildableOverlay: F2 + Description: Mostrar terreno construível + Types: Editor + Contexts: Editor diff --git a/mods/openkrush_gen1/hotkeys/game.yaml b/mods/openkrush_gen1/hotkeys/game.yaml new file mode 100644 index 00000000..f3f157ee --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/game.yaml @@ -0,0 +1,134 @@ +CycleBase: H + Description: Ir para a base + Types: World + Contexts: Player, Spectator + +ToLastEvent: SPACE + Description: Ir para o último alerta do radar + Types: World + Contexts: Player, Spectator + +ToSelection: HOME + Description: Ir para a seleção + Types: World + Contexts: Player, Spectator + +SelectAllUnits: Q + Description: Selecionar todas as unidades de combate + Types: World + Contexts: Player, Spectator + +SelectUnitsByType: W + Description: Selecionar unidades do mesmo tipo + Types: World + Contexts: Player, Spectator + +CycleHarvesters: N + Description: Alternar coletores + Types: World + Contexts: Player, Spectator + +Pause: PAUSE + Description: Pausar / continuar + Types: World + Contexts: Player, Spectator + +Sell: Z + Description: Modo venda + Types: OrderGenerator + Contexts: Player + +Repair: C + Description: Modo conserto + Types: OrderGenerator + Contexts: Player + +PlaceBeacon: B + Description: Colocar sinalizador + Types: OrderGenerator + Contexts: Player + +CycleStatusBars: COMMA + Description: Alternar barras de status + Types: World + Contexts: Player, Spectator + +ToggleMute: M + Description: Silenciar/reativar áudio + Types: World + Contexts: Menu, Player, Spectator + +TogglePlayerStanceColor: COMMA Ctrl + Description: Alternar cores por relação + Types: World + Contexts: Player, Spectator + +TakeScreenshot: P Ctrl + Description: Capturar tela + Types: World + Contexts: Menu, Player, Spectator + +AttackMove: A + Description: Mover atacando + Types: Unit + Contexts: Player + +Stop: S + Description: Parar + Types: Unit + Contexts: Player + +Scatter: X Ctrl + Description: Dispersar + Types: Unit + Contexts: Player + +Deploy: F + Description: Posicionar + Types: Unit + Contexts: Player + +Guard: D + Description: Escoltar + Types: Unit + Contexts: Player + +StanceAttackAnything: A Alt + Description: Atacar qualquer coisa + Types: Stance + Contexts: Player + +StanceDefend: S Alt + Description: Defender + Types: Stance + Contexts: Player + +StanceReturnFire: D Alt + Description: Revidar + Types: Stance + Contexts: Player + +StanceHoldFire: F Alt + Description: Cessar fogo + Types: Stance + Contexts: Player + +StopMusic: AUDIOSTOP + Description: Parar + Types: Music + Contexts: Menu, Player, Spectator + +PauseMusic: AUDIOPLAY + Description: Pausar ou continuar + Types: Music + Contexts: Menu, Player, Spectator + +PrevMusic: AUDIOPREV + Description: Anterior + Types: Music + Contexts: Menu, Player, Spectator + +NextMusic: AUDIONEXT + Description: Próxima + Types: Music + Contexts: Menu, Player, Spectator diff --git a/mods/openkrush_gen1/hotkeys/observer.yaml b/mods/openkrush_gen1/hotkeys/observer.yaml new file mode 100644 index 00000000..a18c66e7 --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/observer.yaml @@ -0,0 +1,74 @@ +ObserverCombinedView: MINUS + Description: Todos os jogadores + Types: Observer + Contexts: Spectator + +ObserverWorldView: EQUALS + Description: Desativar névoa + Types: Observer + Contexts: Spectator + +ReplaySpeedSlow: F9 + Description: Velocidade lenta + Types: Replay + Contexts: Spectator + +ReplaySpeedRegular: F10 + Description: Velocidade normal + Types: Replay + Contexts: Spectator + +ReplaySpeedFast: F11 + Description: Velocidade rápida + Types: Replay + Contexts: Spectator + +ReplaySpeedMax: F12 + Description: Velocidade máxima + Types: Replay + Contexts: Spectator + +StatisticsNone: F1 + Description: Ocultar estatísticas + Types: Observer + Contexts: Spectator + +StatisticsBasic: F2 + Description: Estatísticas básicas + Types: Observer + Contexts: Spectator + +StatisticsEconomy: F3 + Description: Estatísticas de economia + Types: Observer + Contexts: Spectator + +StatisticsProduction: F4 + Description: Estatísticas de produção + Types: Observer + Contexts: Spectator + +StatisticsSupportPowers: F5 + Description: Estatísticas de poderes especiais + Types: Observer + Contexts: Spectator + +StatisticsCombat: F6 + Description: Estatísticas de combate + Types: Observer + Contexts: Spectator + +StatisticsArmy: F7 + Description: Estatísticas do exército + Types: Observer + Contexts: Spectator + +StatisticsGraph: + Description: Gráfico de estatísticas + Types: Observer + Contexts: Spectator + +StatisticsArmyGraph: + Description: Gráfico do valor do exército + Types: Observer + Contexts: Spectator diff --git a/mods/openkrush_gen1/hotkeys/production-common.yaml b/mods/openkrush_gen1/hotkeys/production-common.yaml new file mode 100644 index 00000000..cd24e9a8 --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/production-common.yaml @@ -0,0 +1,129 @@ +CycleProductionBuildings: TAB Ctrl + Description: Próxima fábrica + Types: Production + Contexts: Player, Spectator + +SelectProductionBuilding: TAB + Description: Fábrica atual + Types: Production + Contexts: Player + +Production01: F1 + Description: Vaga 01 + Types: ProductionSlot + Contexts: Player + +Production02: F2 + Description: Vaga 02 + Types: ProductionSlot + Contexts: Player + +Production03: F3 + Description: Vaga 03 + Types: ProductionSlot + Contexts: Player + +Production04: F4 + Description: Vaga 04 + Types: ProductionSlot + Contexts: Player + +Production05: F5 + Description: Vaga 05 + Types: ProductionSlot + Contexts: Player + +Production06: F6 + Description: Vaga 06 + Types: ProductionSlot + Contexts: Player + +Production07: F7 + Description: Vaga 07 + Types: ProductionSlot + Contexts: Player + +Production08: F8 + Description: Vaga 08 + Types: ProductionSlot + Contexts: Player + +Production09: F9 + Description: Vaga 09 + Types: ProductionSlot + Contexts: Player + +Production10: F10 + Description: Vaga 10 + Types: ProductionSlot + Contexts: Player + +Production11: F11 + Description: Vaga 11 + Types: ProductionSlot + Contexts: Player + +Production12: F12 + Description: Vaga 12 + Types: ProductionSlot + Contexts: Player + +Production13: F1 CTRL + Description: Vaga 13 + Types: ProductionSlot + Contexts: Player + +Production14: F2 CTRL + Description: Vaga 14 + Types: ProductionSlot + Contexts: Player + +Production15: F3 CTRL + Description: Vaga 15 + Types: ProductionSlot + Contexts: Player + +Production16: F4 CTRL + Description: Vaga 16 + Types: ProductionSlot + Contexts: Player + +Production17: F5 CTRL + Description: Vaga 17 + Types: ProductionSlot + Contexts: Player + +Production18: F6 CTRL + Description: Vaga 18 + Types: ProductionSlot + Contexts: Player + +Production19: F7 CTRL + Description: Vaga 19 + Types: ProductionSlot + Contexts: Player + +Production20: F8 CTRL + Description: Vaga 20 + Types: ProductionSlot + Contexts: Player + +Production21: F9 CTRL + Description: Vaga 21 + Types: ProductionSlot + Contexts: Player + +Production22: F10 CTRL + Description: Vaga 22 + Types: ProductionSlot + Contexts: Player + +Production23: F11 CTRL + Description: Vaga 23 + Types: ProductionSlot + Contexts: Player + +Production24: F12 CTRL + Description: Vaga 24 + Types: ProductionSlot + Contexts: Player diff --git a/mods/openkrush_gen1/hotkeys/supportpowers.yaml b/mods/openkrush_gen1/hotkeys/supportpowers.yaml new file mode 100644 index 00000000..1b88ef30 --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/supportpowers.yaml @@ -0,0 +1,29 @@ +SupportPower01: + Description: Vaga 01 + Types: SupportPower + Contexts: Player + +SupportPower02: + Description: Vaga 02 + Types: SupportPower + Contexts: Player + +SupportPower03: + Description: Vaga 03 + Types: SupportPower + Contexts: Player + +SupportPower04: + Description: Vaga 04 + Types: SupportPower + Contexts: Player + +SupportPower05: + Description: Vaga 05 + Types: SupportPower + Contexts: Player + +SupportPower06: + Description: Vaga 06 + Types: SupportPower + Contexts: Player diff --git a/mods/openkrush_gen1/hotkeys/viewport.yaml b/mods/openkrush_gen1/hotkeys/viewport.yaml new file mode 100644 index 00000000..bf1b0835 --- /dev/null +++ b/mods/openkrush_gen1/hotkeys/viewport.yaml @@ -0,0 +1,94 @@ +MapScrollUp: UP + Description: Rolar para cima + Types: Viewport + Contexts: Player, Spectator, Editor + +MapScrollDown: DOWN + Description: Rolar para baixo + Types: Viewport + Contexts: Player, Spectator, Editor + +MapScrollLeft: LEFT + Description: Rolar para a esquerda + Types: Viewport + Contexts: Player, Spectator, Editor + +MapScrollRight: RIGHT + Description: Rolar para a direita + Types: Viewport + Contexts: Player, Spectator, Editor + +MapJumpToTopEdge: UP Alt + Description: Ir para a borda superior + Types: Viewport + Contexts: Player, Spectator, Editor + +MapJumpToBottomEdge: DOWN Alt + Description: Ir para a borda inferior + Types: Viewport + Contexts: Player, Spectator, Editor + +MapJumpToLeftEdge: LEFT Alt + Description: Ir para a borda esquerda + Types: Viewport + Contexts: Player, Spectator, Editor + +MapJumpToRightEdge: RIGHT Alt + Description: Ir para a borda direita + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkSave01: Q Ctrl + Description: Gravar marcador 1 + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkRestore01: Q Alt + Description: Ir para o marcador 1 + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkSave02: W Ctrl + Description: Gravar marcador 2 + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkRestore02: W Alt + Description: Ir para o marcador 2 + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkSave03: E Ctrl + Description: Gravar marcador 3 + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkRestore03: E Alt + Description: Ir para o marcador 3 + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkSave04: R Ctrl + Description: Gravar marcador 4 + Types: Viewport + Contexts: Player, Spectator, Editor + +MapBookmarkRestore04: R Alt + Description: Ir para o marcador 4 + Types: Viewport + Contexts: Player, Spectator, Editor + +ZoomIn: RIGHTBRACKET + Description: Aproximar + Types: Viewport + Contexts: Player, Spectator, Editor + +ZoomOut: LEFTBRACKET + Description: Afastar + Types: Viewport + Contexts: Player, Spectator, Editor + +ResetZoom: PERIOD + Description: Zoom padrão + Types: Viewport + Contexts: Player, Spectator, Editor diff --git a/mods/openkrush_gen1/languages/pt.ftl b/mods/openkrush_gen1/languages/pt.ftl new file mode 100644 index 00000000..23c436d1 --- /dev/null +++ b/mods/openkrush_gen1/languages/pt.ftl @@ -0,0 +1,665 @@ +## MapOptions, MissionBrowserLogic +slowest = Muito lenta +slower = Lenta +normal = Normal +fast = Rápida +faster = Muito rápida +fastest = Máxima + +## Server Orders +custom-rules = Este mapa tem regras personalizadas. A experiência de jogo pode mudar. +map-bots-disabled = Os bots foram desativados neste mapa. +two-humans-required = Este servidor exige pelo menos dois jogadores humanos para iniciar uma partida. +unknown-server-command = Comando de servidor desconhecido: { $command } +only-only-host-start-game = Apenas o anfitrião pode iniciar o jogo. +no-start-until-required-slots-full = Não é possível iniciar até que as vagas obrigatórias estejam preenchidas. +no-start-without-players = Não é possível iniciar o jogo sem jogadores. +insufficient-enabled-spawnPoints = Não é possível iniciar até que mais pontos de início sejam ativados. +malformed-command = Comando { $command } malformado +state-unchanged-ready = Não é possível mudar o estado enquanto estiver marcado como pronto. +invalid-faction-selected = Facção inválida selecionada: { $faction } +supported-factions = Valores aceitos: { $factions } +state-unchanged-game-started = Não é possível mudar o estado com o jogo iniciado. ({ $command }) +requires-host = Apenas o anfitrião pode fazer isso. +invalid-bot-slot = Não é possível adicionar bots a uma vaga ocupada por outro cliente. +invalid-bot-type = Tipo de bot inválido. +only-host-change-map = Apenas o anfitrião pode mudar o mapa. +lobby-disconnected = { $player } saiu. +player-disconnected = { $player } desconectou. +player-team-disconnected = { $player } (Equipe { $team }) desconectou. +observer-disconnected = { $player } (Espectador) desconectou. +unknown-map = O mapa não foi encontrado no servidor. +searching-map = Procurando o mapa no Resource Center... +only-host-change-configuration = Apenas o anfitrião pode mudar a configuração. +changed-map = { $player } mudou o mapa para { $map } +value-changed = { $player } mudou { $name } para { $value }. +you-were-kicked = Você foi expulso do servidor. +kicked = { $admin } expulsou { $player } do servidor. +temp-ban = { $admin } baniu temporariamente { $player } do servidor. +only-host-transfer-admin = Apenas administradores podem transferir a administração para outro jogador. +only-host-move-spectators = Apenas o anfitrião pode mover jogadores para espectadores. +empty-slot = Ninguém nessa vaga. +move-spectators = { $admin } moveu { $player } para os espectadores. +nick = { $player } agora se chama { $name }. +player-dropped = Um jogador foi desconectado por inatividade. +connection-problems = { $player } está com problemas de conexão. +timeout = { $player } foi desconectado por inatividade. +timeout-in = + { $timeout -> + [one] { $player } será desconectado em { $timeout } segundo. + *[other] { $player } será desconectado em { $timeout } segundos. + } +error-game-started = O jogo já começou. +requires-password = O servidor exige uma senha. +incorrect-password = Senha incorreta. +incompatible-mod = O servidor está rodando um mod incompatível. +incompatible-version = O servidor está rodando uma versão incompatível. +incompatible-protocol = O servidor está usando um protocolo incompatível. +banned = Você foi banido do servidor. +temp-banned = Você foi banido temporariamente do servidor. +full = A partida está cheia. +joined = { $player } entrou no jogo. +new-admin = { $player } agora é o administrador. +option-locked = { $option } não pode ser alterado. +invalid-configuration-command = Comando de configuração inválido. +admin-option = Apenas o anfitrião pode definir essa opção. +number-teams = Não foi possível entender o número de equipes: { $raw } +admin-kick = Apenas o anfitrião pode expulsar jogadores. +kick-none = Ninguém nessa vaga. +no-kick-game-started = Depois que o jogo começa, só espectadores podem ser expulsos. +admin-clear-spawn = Apenas administradores podem limpar pontos de início. +spawn-occupied = Você não pode ocupar o mesmo ponto de início que outro jogador. +spawn-locked = Esse ponto de início está reservado para outra vaga. +admin-lobby-info = Apenas o anfitrião pode definir as informações do lobby. +invalid-lobby-info = Informações de lobby inválidas. +player-color-terrain = A cor foi ajustada para ficar menos parecida com o terreno. +player-color-player = A cor foi ajustada para ficar menos parecida com a de outro jogador. +invalid-player-color = Não foi possível definir uma cor válida. Uma cor aleatória foi escolhida. +invalid-error-code = Falha ao interpretar a mensagem de erro. +master-server-connected = Comunicação com o servidor principal estabelecida. +master-server-error = "Falha na comunicação com o servidor principal." +game-offline = A partida não foi anunciada online. +no-port-forward = A porta do servidor não está acessível pela internet. +blacklisted-title = O nome do servidor contém uma palavra proibida. +requires-forum-account = O servidor exige uma conta no fórum do OpenRA. +no-permission = Você não tem permissão para entrar neste servidor. +slot-closed = Sua vaga foi fechada pelo anfitrião. + +## Server +game-started = Jogo iniciado + +## PlayerMessageTracker +chat-temp-disabled = + { $remaining -> + [one] O chat está desativado. Tente de novo em { $remaining } segundo. + *[other] O chat está desativado. Tente de novo em { $remaining } segundos. + } + +## ActorEditLogic +duplicate-actor-id = ID de ator duplicado +enter-actor-id = Digite um ID de ator +owner = Dono + +## ActorSelectorLogic +type = Tipo + +## CommonSelectorLogic +search-results = Resultados da busca +multiple = Vários + +## SaveMapLogic +unpacked = descompactado + +save-map-failed-title = Falha ao salvar o mapa +save-map-failed-prompt = Veja o debug.log para mais detalhes. +save-map-failed-accept = OK + +overwrite-map-failed-title = Atenção +overwrite-map-failed-prompt = Ao salvar, você vai sobrescrever + um mapa que já existe. +overwrite-map-failed-confirm = Salvar + +overwrite-map-outside-edit-title = Atenção +overwrite-map-outside-edit-prompt = "O mapa foi editado fora do editor. + Ao salvar, você pode perder alterações +overwrite-map-outside-edit-confirm = Salvar + +## GameInfoLogic +objectives = Objetivos +briefing = Briefing +options = Opções +debug = Depuração +chat = Chat + +## GameInfoObjectivesLogic, GameInfoStatsLogic +in-progress = Em andamento +accomplished = Concluído +failed = Falhou + +## GameInfoStatsLogic +mute = Silenciar este jogador +unmute = Reativar som deste jogador + +## GameInfoStatsLogic +gone = Saiu + +kick-title = Expulsar { $player }? +kick-prompt = Ele não poderá voltar a esta partida. +kick-accept = Expulsar + +## GameTimerLogic +paused = Pausado +max-speed = Velocidade máxima +speed = Velocidade { $percentage }% +complete = { $percentage }% concluído + +## LobbyLogic, InGameChatLogic +chat-disabled = Chat desativado +chat-availability = + { $seconds -> + [one] Chat disponível em { $seconds } segundo... + *[other] Chat disponível em { $seconds } segundos... + } + +## IngameMenuLogic +leave = Sair +abort-mission = Abandonar missão + +leave-mission-title = Sair da missão +leave-mission-prompt = Sair desta partida e voltar ao menu? +leave-mission-accept = Sair +leave-mission-cancel = Ficar + +restart-button = Reiniciar + +restart-mission-title = Reiniciar +restart-mission-prompt = Tem certeza de que quer reiniciar? +restart-mission-accept = Reiniciar +restart-mission-cancel = Ficar + +surrender-button = Render-se + +surrender-title = Render-se +surrender-prompt = Tem certeza de que quer se render? +surrender-accept = Render-se +surrender-cancel = Ficar + +load-game-button = Carregar jogo +save-game-button = Salvar jogo + +music-button = Música + +settings-button = Configurações + +return-to-map = Voltar ao mapa +resume = Continuar + +save-map-button = Salvar mapa + +error-max-player-title = Erro: limite de jogadores excedido +error-max-player-prompt = Há jogadores demais definidos ({ $players }/{ $max }). +error-max-player-accept = Voltar + +exit-map-button = Sair do editor + +exit-map-editor-title = Sair do editor de mapas +exit-map-editor-prompt-unsaved = Sair e perder todas as alterações não salvas? +exit-map-editor-prompt-deleted = O mapa pode ter sido apagado fora do editor. +exit-map-editor-confirm-anyway = Sair mesmo assim +exit-map-editor-confirm = Sair + +## IngamePowerBarLogic +## IngamePowerCounterLogic +power-usage = Uso de energia: { $usage }/{ $capacity } +infinite-power = Infinita + +## IngameSiloBarLogic +## IngameCashCounterLogic +silo-usage = Uso dos silos: { $usage }/{ $capacity } + +## ObserverShroudSelectorLogic +camera-option-all-players = Todos os jogadores +camera-option-disable-shroud = Desativar névoa +camera-option-other = Outro + +## ObserverStatsLogic +information-none = Informação: nenhuma +basic = Básico +economy = Economia +production = Produção +support-powers = Poderes especiais +combat = Combate +army = Exército +earnings-graph = Ganhos (gráfico) +army-graph = Exército (gráfico) + +## WorldTooltipLogic +unrevealed-terrain = Terreno inexplorado + +## DownloadPackageLogic +downloading = Baixando { $title } +fetching-mirror-list = Buscando lista de servidores de download... +downloading-from = Baixando de { $host } { $received } { $suffix } +downloading-from-progress = Baixando de { $host } { $received } / { $total } { $suffix } ({ $progress }%) +unknown-host = servidor desconhecido +verifying-archive = Verificando arquivo... +archive-validation-failed = Falha na verificação do arquivo +extracting = Extraindo... +extracting-entry = Extraindo { $entry } +archive-extraction-failed = Falha ao extrair o arquivo +mirror-selection-failed = Download online indisponível. Instale a partir de uma fonte original. + +## InstallFromSourceLogic +detecting-sources = Detectando unidades +checking-sources = Verificando fontes +searching-source-for = Procurando { $title } +content-package-installation = Os seguintes pacotes de conteúdo serão instalados: +game-sources = Fontes do jogo +digital-installs = Instalações digitais +game-content-not-found = Conteúdo do jogo não encontrado +alternative-content-sources = Insira ou instale uma das seguintes fontes de conteúdo: +installing-content = Instalando conteúdo +copying-filename = Copiando { $filename } +copying-filename-progress = Copiando { $filename } ({ $progress }%) +installation-failed = Falha na instalação +check-install-log = Veja o install.log na pasta de logs para mais detalhes. +extracting-filename = Extraindo { $filename } +extracting-filename-progress = Extraindo { $filename } ({ $progress }%) +cancel = Cancelar +retry = Tentar de novo + +## InstallFromSourceLogic, LobbyLogic +back = Voltar + +# InstallFromSourceLogic, ModContentPromptLogic +continue = Continuar + +## ModContentLogic +manual-install = Instalação manual + +## ModContentPromptLogic +quit = Sair + +## KickClientLogic +kick-client = Expulsar { $player }? + +## KickSpectatorsLogic +kick-spectators = + { $count -> + [one] Tem certeza de que quer expulsar um espectador? + *[other] Tem certeza de que quer expulsar { $count } espectadores? + } + +## LobbyLogic +add = Adicionar +remove = Remover +configure-bots = Configurar bots +n-teams = { $count } equipes +humans-vs-bots = Humanos contra bots +free-for-all = Todos contra todos +configure-teams = Configurar equipes + +## LobbyLogic, CommonSelectorLogic, InGameChatLogic +all = Todos + +## InputSettingsLogic, CommonSelectorLogic +none = Nenhum + +## LobbyLogic, IngameChatLogic +team = Equipe + +## LobbyOptionsLogic +not-available = Indisponível + +## LobbyUtils +slot = Vaga +open = Aberta +closed = Fechada +bots = Bots + +# LobbyUtils, Server +bots-disabled = Bots desativados + +## MapPreviewLogic +connecting = Conectando... +downloading-map = Baixando { $size } kB +downloading-map-progress = Baixando { $size } kB ({ $progress }%) +retry-install = Tentar instalar de novo +retry-search = Buscar de novo +## also MapChooserLogic +created-by = Criado por { $author } + +## SpawnSelectorTooltipLogic +disabled-spawn = Ponto de início desativado +available-spawn = Ponto de início disponível + +## DisplaySettingsLogic +close = Perto +medium = Médio +far = Longe +furthest = Mais longe + +windowed = Janela +legacy-fullscreen = Tela cheia (antigo) +fullscreen = Tela cheia + +display = Monitor { $number } + +show-on-damage = Mostrar ao sofrer dano +always-show = Sempre mostrar + +automatic = Automático +manual = Manual + +## DisplaySettingsLogic, InputSettingsLogic +disabled = Desativado + +## DisplaySettingsLogic, InputSettingsLogic, IntroductionPromptLogic +classic = Clássico +modern = Moderno +standard = Padrão + +## DisplaySettingsLogic, IntroductionPromptLogic +inverted = Invertido +joystick = Joystick + +alt = Alt +ctrl = Ctrl +meta = Meta +shift = Shift + +## SettingsLogic +settings-save-title = Reinício necessário +settings-save-prompt = Algumas mudanças só serão aplicadas + depois que o jogo for reiniciado. +settings-save-cancel = Continuar + +restart-title = Reiniciar agora? +restart-prompt = Algumas mudanças só serão aplicadas + depois que o jogo for reiniciado. Reiniciar agora? +restart-accept = Reiniciar agora +restart-cancel = Reiniciar depois + +reset-title = Redefinir { $panel } +reset-prompt = Tem certeza de que quer redefinir + todas as configurações deste painel? +reset-accept = Redefinir +reset-cancel = Cancelar + +## AssetBrowserLogic +all-packages = Todos os pacotes +length-in-seconds = { $length } s + +## ConnectionLogic +connecting-to-endpoint = Conectando a { $endpoint }... +could-not-connect-to-target = Não foi possível conectar a { $target } +unknown-error = Erro desconhecido +password-required = Senha necessária +connection-failed = Falha na conexão +mod-switch-failed = Falha ao trocar de mod. + +## GameSaveBrowserLogic +rename-save-title = Renomear jogo salvo +rename-save-prompt = Digite um novo nome de arquivo: +rename-save-accept = Renomear + +delete-save-title = Apagar o jogo salvo selecionado? +delete-save-prompt = Apagar '{ $save }' +delete-save-accept = Apagar + +delete-all-saves-title = Apagar todos os jogos salvos? +delete-all-saves-prompt = + { $count -> + [one] Apagar { $count } jogo salvo. + *[other] Apagar { $count } jogos salvos. + } +delete-all-saves-accept = Apagar todos + +save-deletion-failed = Falha ao apagar o jogo salvo '{ $savePath }'. Veja os logs para mais detalhes. + +overwrite-save-title = Sobrescrever jogo salvo? +overwrite-save-prompt = Sobrescrever { $file }? +overwrite-save-accept = Sobrescrever + +## MainMenuLogic +loading-news = Carregando notícias +news-retrival-failed = Falha ao buscar notícias: { $message } +news-parsing-failed = Falha ao ler notícias: { $message } + +## MapChooserLogic +all-maps = Todos os mapas +no-matches = Nenhum resultado +player-players = + { $players -> + [one] { $players } jogador + *[other] { $players } jogadores + } +map-size-huge = (Enorme) +map-size-large = (Grande) +map-size-medium = (Médio) +map-size-small = (Pequeno) + +map-deletion-failed = Falha ao apagar o mapa '{ $map }'. Veja o debug.log para mais detalhes. + +delete-map-title = Apagar mapa +delete-map-prompt = Apagar o mapa '{ $title }'? +delete-map-accept = Apagar + +delete-all-maps-title = Apagar mapas +delete-all-maps-prompt = Apagar todos os mapas desta página? +delete-all-maps-accept = Apagar + +order-maps-players = Jogadores +order-maps-date = Data do mapa + +## MissionBrowserLogic +no-video-title = Vídeo não instalado +no-video-prompt = Os vídeos do jogo podem ser instalados pelo + menu "Gerenciar conteúdo" na escolha de mods. +no-video-cancel = Voltar + +cant-play-title = Não foi possível reproduzir o vídeo +cant-play-prompt = Algo deu errado durante a reprodução do vídeo. +cant-play-cancel = Voltar + +## MusicPlayerLogic +sound-muted = O áudio foi silenciado nas configurações. +no-song-playing = Nenhuma música tocando + +## MuteHotkeyLogic +audio-muted = Áudio silenciado. +audio-unmuted = Áudio reativado. + +## PlayerProfileLogic +loading-player-profile = Carregando perfil do jogador... +loading-player-profile-failed = Falha ao carregar o perfil do jogador. + +## ReplayBrowserLogic +duration = Duração: { $time } +singleplayer = Um jogador +multiplayer = Multijogador + +victory = Vitória +defeat = Derrota + +today = Hoje +last-week = Últimos 7 dias +last-fortnight = Últimos 14 dias +last-month = Últimos 30 dias + +replay-duration-very-short = Menos de 5 min +replay-duration-short = Curta (10 min) +replay-duration-medium = Média (30 min) +replay-duration-long = Longa (60+ min) + +rename-replay-title = Renomear replay +rename-replay-prompt = Digite um novo nome de arquivo: +rename-replay-accept = Renomear + +delete-replay-title = Apagar o replay selecionado? +delete-replay-prompt = Apagar o replay { $replay }? +delete-replay-accept = Apagar + +delete-all-replays-title = Apagar todos os replays selecionados? +delete-all-replays-prompt = + { $count -> + [one] Apagar { $count } replay. + *[other] Apagar { $count } replays. + } +delete-all-replays-accept = Apagar todos + +replay-deletion-failed = Falha ao apagar o replay '{ $file }'. Veja o debug.log para mais detalhes. + +## ReplayUtils +incompatible-replay-title = Replay incompatível +incompatible-replay-prompt = Não foi possível ler os dados do replay. +incompatible-replay-accept = OK +-incompatible-replay-recorded = Ele foi gravado com +incompatible-replay-unknown-version = { -incompatible-replay-recorded } uma versão desconhecida. +incompatible-replay-unknown-mod = { -incompatible-replay-recorded } um mod desconhecido. +incompatible-replay-unavailable-mod = { -incompatible-replay-recorded } um mod indisponível: { $mod }. +incompatible-replay-incompatible-version = { -incompatible-replay-recorded } uma versão incompatível: + { $version }. +incompatible-replay-unavailable-map = { -incompatible-replay-recorded } um mapa indisponível: + { $map }. + +## ServerCreationLogic +internet-server-nat-A = Servidor de internet (UPnP/NAT-PMP +internet-server-nat-B-enabled = Ativado +internet-server-nat-B-not-supported = Não suportado +internet-server-nat-B-disabled = Desativado +internet-server-nat-C = ): + +local-server = Servidor local: + +server-creation-failed-prompt = Não foi possível escutar na porta { $port } +server-creation-failed-port-used = Verifique se a porta já está em uso. +server-creation-failed-error = Erro: "{ $message }" ({ $code }) +server-creation-failed-title = Falha ao criar o servidor +server-creation-failed-cancel = Voltar + +## ServerListLogic +players-online = + { $players -> + [one] { $players } jogador online + *[other] { $players } jogadores online + } + +search-status-failed = Falha ao buscar a lista de servidores. +search-status-no-games = Nenhuma partida encontrada. Tente mudar os filtros. +no-server-selected = Nenhum servidor selecionado + +map-status-searching = Procurando... +map-classification-unknown = Mapa desconhecido + +players-label = + { $players -> + [0] Nenhum jogador + [one] Um jogador + *[other] { $players } jogadores + } + +bots-label = + { $bots -> + [0] Nenhum bot + [one] Um bot + *[other] { $bots } bots + } + +## ServerListLogic, ReplayBrowserLogic, ObserverShroudSelectorLogic +players = Jogadores + +## ServerListLogic, GameInfoStatsLogic +spectators = Espectadores +spectators-label = + { $spectators -> + [0] Nenhum espectador + [one] Um espectador + *[other] { $spectators } espectadores + } + +## ServerlistLogic, GameInfoStatsLogic, ObserverShroudSelectorLogic, SpawnSelectorTooltipLogic, ReplayBrowserLogic +team-number = Equipe { $team } +no-team = Sem equipe + +playing = Jogando +waiting = Aguardando + +n-other-players = + { $players -> + [one] Mais um jogador + *[other] Mais { $players } jogadores + } + +in-progress-for = + { $minutes -> + [0] Em andamento + [one] Em andamento há { $minutes } minuto. + *[other] Em andamento há { $minutes } minutos. + } +password-protected = Protegido por senha +waiting-for-players = Aguardando jogadores +server-shutting-down = Servidor encerrando +unknown-server-state = Estado do servidor desconhecido + +## Game +saved-screenshot = Captura de tela salva: { $filename } + +## ChatCommands +invalid-command = { $name } não é um comando válido. + +## DebugVisualizationCommands +combat-geometry-description = liga/desliga a sobreposição de geometria de combate. +render-geometry-description = liga/desliga a sobreposição de geometria de renderização. +screen-map-overlay-description = liga/desliga a sobreposição do mapa de tela. +depth-buffer-description = liga/desliga a sobreposição do buffer de profundidade. +actor-tags-overlay-description = liga/desliga a sobreposição das tags dos atores. + +## DevCommands +cheats-disabled = As trapaças estão desativadas. +invalid-cash-amount = Quantia de dinheiro inválida. +toggle-visibility = liga/desliga as verificações de visibilidade e o minimapa. +give-cash = dá a quantia padrão ou especificada de dinheiro. +give-cash-all = dá a quantia padrão ou especificada de dinheiro a todos os jogadores e à IA. +instant-building = liga/desliga a construção instantânea. +build-anywhere = liga/desliga a construção em qualquer lugar. +unlimited-power = liga/desliga a energia infinita. +enable-tech = liga/desliga a possibilidade de construir tudo. +fast-charge = liga/desliga a recarga quase instantânea dos poderes especiais. +dev-cheat-all = liga/desliga todas as trapaças e ainda dá um dinheiro pelo incômodo. +dev-crash = faz o jogo travar. +levelup-actor = adiciona um número de níveis aos atores selecionados. +player-experience = adiciona uma quantidade de experiência ao(s) dono(s) dos atores selecionados. +power-outage = causa um apagão de 5 segundos ao(s) dono(s) dos atores selecionados. +kill-selected-actors = destrói os atores selecionados. +dispose-selected-actors = remove os atores selecionados. + +## HelpCommands +available-commands = Estes são os comandos disponíveis: +no-description = sem descrição disponível. +help-description = mostra informações úteis sobre os comandos + +## PlayerCommands +pause-description = pausa ou retoma o jogo +surrender-description = autodestrói tudo e perde o jogo + +## DeveloperMode +cheat-used = Trapaça usada: { $cheat } por { $player }{ $suffix } + +## CustomTerrainDebugOverlay +custom-terrain-debug-overlay-description = liga/desliga a sobreposição de depuração de terreno personalizado. + +## CellTriggerOverlay +cell-trigger-overlay-description = liga/desliga a sobreposição de gatilhos de script. + +## ExitsDebugOverlay +exits-debug-overlay-description = Mostra as saídas das fábricas. + +## HierarchicalPathFinderOverlay +hpf-overlay-description = liga/desliga a sobreposição do pathfinder hierárquico. + +## PathFinderOverlay +path-debug-description = liga/desliga a visualização da busca de caminhos. + +## TerrainGeometryOverlay +terrain-geometry-overlay = liga/desliga a sobreposição de geometria do terreno. diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/ground-rules.yaml b/mods/openkrush_gen1/maps/campaign/survivors-01/ground-rules.yaml new file mode 100644 index 00000000..f6435ef1 --- /dev/null +++ b/mods/openkrush_gen1/maps/campaign/survivors-01/ground-rules.yaml @@ -0,0 +1,223 @@ +# Chão gerado a partir dos pixels originais do KKnD; os blocos do tileset só definem o terreno. +World: + PaletteFromPng@mapground: + Name: mapground + Filename: mapground-palette.png + +^MapGround: + WithSpriteBody: + BodyOrientation: + QuantizeFacingsFromSequence: + Immobile: + OccupiesSpace: false + AlwaysVisible: + +mapground_0_0: + Inherits: ^MapGround + RenderSprites: + Image: mapground_0_0 + Palette: mapground + +mapground_1_0: + Inherits: ^MapGround + RenderSprites: + Image: mapground_1_0 + Palette: mapground + +mapground_2_0: + Inherits: ^MapGround + RenderSprites: + Image: mapground_2_0 + Palette: mapground + +mapground_3_0: + Inherits: ^MapGround + RenderSprites: + Image: mapground_3_0 + Palette: mapground + +mapground_4_0: + Inherits: ^MapGround + RenderSprites: + Image: mapground_4_0 + Palette: mapground + +mapground_5_0: + Inherits: ^MapGround + RenderSprites: + Image: mapground_5_0 + Palette: mapground + +mapground_6_0: + Inherits: ^MapGround + RenderSprites: + Image: mapground_6_0 + Palette: mapground + +mapground_0_1: + Inherits: ^MapGround + RenderSprites: + Image: mapground_0_1 + Palette: mapground + +mapground_1_1: + Inherits: ^MapGround + RenderSprites: + Image: mapground_1_1 + Palette: mapground + +mapground_2_1: + Inherits: ^MapGround + RenderSprites: + Image: mapground_2_1 + Palette: mapground + +mapground_3_1: + Inherits: ^MapGround + RenderSprites: + Image: mapground_3_1 + Palette: mapground + +mapground_4_1: + Inherits: ^MapGround + RenderSprites: + Image: mapground_4_1 + Palette: mapground + +mapground_5_1: + Inherits: ^MapGround + RenderSprites: + Image: mapground_5_1 + Palette: mapground + +mapground_6_1: + Inherits: ^MapGround + RenderSprites: + Image: mapground_6_1 + Palette: mapground + +mapground_0_2: + Inherits: ^MapGround + RenderSprites: + Image: mapground_0_2 + Palette: mapground + +mapground_1_2: + Inherits: ^MapGround + RenderSprites: + Image: mapground_1_2 + Palette: mapground + +mapground_2_2: + Inherits: ^MapGround + RenderSprites: + Image: mapground_2_2 + Palette: mapground + +mapground_3_2: + Inherits: ^MapGround + RenderSprites: + Image: mapground_3_2 + Palette: mapground + +mapground_4_2: + Inherits: ^MapGround + RenderSprites: + Image: mapground_4_2 + Palette: mapground + +mapground_5_2: + Inherits: ^MapGround + RenderSprites: + Image: mapground_5_2 + Palette: mapground + +mapground_6_2: + Inherits: ^MapGround + RenderSprites: + Image: mapground_6_2 + Palette: mapground + +mapground_0_3: + Inherits: ^MapGround + RenderSprites: + Image: mapground_0_3 + Palette: mapground + +mapground_1_3: + Inherits: ^MapGround + RenderSprites: + Image: mapground_1_3 + Palette: mapground + +mapground_2_3: + Inherits: ^MapGround + RenderSprites: + Image: mapground_2_3 + Palette: mapground + +mapground_3_3: + Inherits: ^MapGround + RenderSprites: + Image: mapground_3_3 + Palette: mapground + +mapground_4_3: + Inherits: ^MapGround + RenderSprites: + Image: mapground_4_3 + Palette: mapground + +mapground_5_3: + Inherits: ^MapGround + RenderSprites: + Image: mapground_5_3 + Palette: mapground + +mapground_6_3: + Inherits: ^MapGround + RenderSprites: + Image: mapground_6_3 + Palette: mapground + +mapground_0_4: + Inherits: ^MapGround + RenderSprites: + Image: mapground_0_4 + Palette: mapground + +mapground_1_4: + Inherits: ^MapGround + RenderSprites: + Image: mapground_1_4 + Palette: mapground + +mapground_2_4: + Inherits: ^MapGround + RenderSprites: + Image: mapground_2_4 + Palette: mapground + +mapground_3_4: + Inherits: ^MapGround + RenderSprites: + Image: mapground_3_4 + Palette: mapground + +mapground_4_4: + Inherits: ^MapGround + RenderSprites: + Image: mapground_4_4 + Palette: mapground + +mapground_5_4: + Inherits: ^MapGround + RenderSprites: + Image: mapground_5_4 + Palette: mapground + +mapground_6_4: + Inherits: ^MapGround + RenderSprites: + Image: mapground_6_4 + Palette: mapground diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/ground-sequences.yaml b/mods/openkrush_gen1/maps/campaign/survivors-01/ground-sequences.yaml new file mode 100644 index 00000000..cb16a72c --- /dev/null +++ b/mods/openkrush_gen1/maps/campaign/survivors-01/ground-sequences.yaml @@ -0,0 +1,174 @@ +mapground_0_0: + idle: mapground_0_0.png + ZOffset: -65536 + Offset: 112,112 + +mapground_1_0: + idle: mapground_1_0.png + ZOffset: -65536 + Offset: 112,112 + +mapground_2_0: + idle: mapground_2_0.png + ZOffset: -65536 + Offset: 112,112 + +mapground_3_0: + idle: mapground_3_0.png + ZOffset: -65536 + Offset: 112,112 + +mapground_4_0: + idle: mapground_4_0.png + ZOffset: -65536 + Offset: 112,112 + +mapground_5_0: + idle: mapground_5_0.png + ZOffset: -65536 + Offset: 112,112 + +mapground_6_0: + idle: mapground_6_0.png + ZOffset: -65536 + Offset: 112,112 + +mapground_0_1: + idle: mapground_0_1.png + ZOffset: -65536 + Offset: 112,112 + +mapground_1_1: + idle: mapground_1_1.png + ZOffset: -65536 + Offset: 112,112 + +mapground_2_1: + idle: mapground_2_1.png + ZOffset: -65536 + Offset: 112,112 + +mapground_3_1: + idle: mapground_3_1.png + ZOffset: -65536 + Offset: 112,112 + +mapground_4_1: + idle: mapground_4_1.png + ZOffset: -65536 + Offset: 112,112 + +mapground_5_1: + idle: mapground_5_1.png + ZOffset: -65536 + Offset: 112,112 + +mapground_6_1: + idle: mapground_6_1.png + ZOffset: -65536 + Offset: 112,112 + +mapground_0_2: + idle: mapground_0_2.png + ZOffset: -65536 + Offset: 112,112 + +mapground_1_2: + idle: mapground_1_2.png + ZOffset: -65536 + Offset: 112,112 + +mapground_2_2: + idle: mapground_2_2.png + ZOffset: -65536 + Offset: 112,112 + +mapground_3_2: + idle: mapground_3_2.png + ZOffset: -65536 + Offset: 112,112 + +mapground_4_2: + idle: mapground_4_2.png + ZOffset: -65536 + Offset: 112,112 + +mapground_5_2: + idle: mapground_5_2.png + ZOffset: -65536 + Offset: 112,112 + +mapground_6_2: + idle: mapground_6_2.png + ZOffset: -65536 + Offset: 112,112 + +mapground_0_3: + idle: mapground_0_3.png + ZOffset: -65536 + Offset: 112,112 + +mapground_1_3: + idle: mapground_1_3.png + ZOffset: -65536 + Offset: 112,112 + +mapground_2_3: + idle: mapground_2_3.png + ZOffset: -65536 + Offset: 112,112 + +mapground_3_3: + idle: mapground_3_3.png + ZOffset: -65536 + Offset: 112,112 + +mapground_4_3: + idle: mapground_4_3.png + ZOffset: -65536 + Offset: 112,112 + +mapground_5_3: + idle: mapground_5_3.png + ZOffset: -65536 + Offset: 112,112 + +mapground_6_3: + idle: mapground_6_3.png + ZOffset: -65536 + Offset: 112,112 + +mapground_0_4: + idle: mapground_0_4.png + ZOffset: -65536 + Offset: 112,112 + +mapground_1_4: + idle: mapground_1_4.png + ZOffset: -65536 + Offset: 112,112 + +mapground_2_4: + idle: mapground_2_4.png + ZOffset: -65536 + Offset: 112,112 + +mapground_3_4: + idle: mapground_3_4.png + ZOffset: -65536 + Offset: 112,112 + +mapground_4_4: + idle: mapground_4_4.png + ZOffset: -65536 + Offset: 112,112 + +mapground_5_4: + idle: mapground_5_4.png + ZOffset: -65536 + Offset: 112,112 + +mapground_6_4: + idle: mapground_6_4.png + ZOffset: -65536 + Offset: 112,112 diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/map.bin b/mods/openkrush_gen1/maps/campaign/survivors-01/map.bin new file mode 100644 index 00000000..e1166da1 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/map.bin differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/map.png b/mods/openkrush_gen1/maps/campaign/survivors-01/map.png new file mode 100644 index 00000000..f92eb5c2 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/map.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/map.yaml b/mods/openkrush_gen1/maps/campaign/survivors-01/map.yaml new file mode 100644 index 00000000..15d264aa --- /dev/null +++ b/mods/openkrush_gen1/maps/campaign/survivors-01/map.yaml @@ -0,0 +1,385 @@ +MapFormat: 11 + +RequiresMod: openkrush_gen1 + +Title: Survivors 01 - Limpeza Estética + +Author: Beam Software (convertido para o OpenKrush) + +Tileset: desert + +MapSize: 52,42 + +Bounds: 1,1,50,40 + +Visibility: MissionSelector + +Categories: Campanha Survivors + +LockPreview: True + +Players: + PlayerReference@Neutral: + Name: Neutral + OwnsWorld: True + NonCombatant: True + Faction: Random + PlayerReference@Survivors: + Name: Survivors + Playable: True + AllowBots: False + Required: True + LockFaction: True + Faction: survivors + LockColor: True + Color: 4A6FD6 + LockSpawn: True + LockTeam: True + Enemies: Evolved + PlayerReference@Evolved: + Name: Evolved + Faction: evolved + Color: C83C2E + Enemies: Survivors + +Actors: + Actor0: desert_objects_2 + Owner: Neutral + Location: 15,12 + Actor1: desert_objects_1 + Owner: Neutral + Location: 33,16 + Actor2: desert_objects_25 + Owner: Neutral + Location: 29,38 + Actor3: desert_objects_6 + Owner: Neutral + Location: 17,33 + Actor4: desert_objects_6 + Owner: Neutral + Location: 14,14 + Actor5: desert_objects_6 + Owner: Neutral + Location: 14,23 + Actor6: desert_objects_9 + Owner: Neutral + Location: 4,31 + Actor7: desert_objects_9 + Owner: Neutral + Location: 35,13 + Actor8: desert_objects_7 + Owner: Neutral + Location: 36,9 + Actor9: desert_objects_3 + Owner: Neutral + Location: 18,31 + Actor10: desert_objects_3 + Owner: Neutral + Location: 23,25 + Actor11: desert_objects_3 + Owner: Neutral + Location: 14,11 + Actor12: desert_objects_3 + Owner: Neutral + Location: 12,22 + Actor13: desert_objects_10 + Owner: Neutral + Location: 35,11 + Actor14: desert_objects_5 + Owner: Neutral + Location: 5,29 + Actor15: desert_objects_10 + Owner: Neutral + Location: 2,29 + Actor16: desert_objects_25 + Owner: Neutral + Location: 30,39 + Actor17: desert_objects_5 + Owner: Neutral + Location: 16,31 + Actor18: desert_objects_5 + Owner: Neutral + Location: 11,24 + Actor19: desert_objects_9 + Owner: Neutral + Location: 33,12 + Actor20: desert_objects_3 + Owner: Neutral + Location: 10,22 + Actor21: desert_objects_8 + Owner: Neutral + Location: 32,6 + Actor22: desert_objects_8 + Owner: Neutral + Location: 39,5 + Actor23: desert_objects_5 + Owner: Neutral + Location: 39,12 + Actor24: desert_objects_15 + Owner: Neutral + Location: 12,7 + Actor25: desert_objects_15 + Owner: Neutral + Location: 1,37 + Actor26: desert_objects_15 + Owner: Neutral + Location: 34,33 + Actor27: desert_objects_9 + Owner: Neutral + Location: 37,11 + Actor28: desert_objects_5 + Owner: Neutral + Location: 35,14 + Actor29: desert_objects_5 + Owner: Neutral + Location: 13,15 + Actor30: desert_objects_5 + Owner: Neutral + Location: 13,24 + Actor31: desert_objects_4 + Owner: Neutral + Location: 43,21 + Actor32: desert_objects_4 + Owner: Neutral + Location: 17,29 + Actor33: desert_objects_4 + Owner: Neutral + Location: 2,31 + Actor34: desert_objects_31 + Owner: Neutral + Location: 26,38 + Actor35: mapground_0_0 + Owner: Neutral + Location: 1,1 + Actor36: mapground_1_0 + Owner: Neutral + Location: 9,1 + Actor37: mapground_2_0 + Owner: Neutral + Location: 17,1 + Actor38: mapground_3_0 + Owner: Neutral + Location: 25,1 + Actor39: mapground_4_0 + Owner: Neutral + Location: 33,1 + Actor40: mapground_5_0 + Owner: Neutral + Location: 41,1 + Actor41: mapground_6_0 + Owner: Neutral + Location: 49,1 + Actor42: mapground_0_1 + Owner: Neutral + Location: 1,9 + Actor43: mapground_1_1 + Owner: Neutral + Location: 9,9 + Actor44: mapground_2_1 + Owner: Neutral + Location: 17,9 + Actor45: mapground_3_1 + Owner: Neutral + Location: 25,9 + Actor46: mapground_4_1 + Owner: Neutral + Location: 33,9 + Actor47: mapground_5_1 + Owner: Neutral + Location: 41,9 + Actor48: mapground_6_1 + Owner: Neutral + Location: 49,9 + Actor49: mapground_0_2 + Owner: Neutral + Location: 1,17 + Actor50: mapground_1_2 + Owner: Neutral + Location: 9,17 + Actor51: mapground_2_2 + Owner: Neutral + Location: 17,17 + Actor52: mapground_3_2 + Owner: Neutral + Location: 25,17 + Actor53: mapground_4_2 + Owner: Neutral + Location: 33,17 + Actor54: mapground_5_2 + Owner: Neutral + Location: 41,17 + Actor55: mapground_6_2 + Owner: Neutral + Location: 49,17 + Actor56: mapground_0_3 + Owner: Neutral + Location: 1,25 + Actor57: mapground_1_3 + Owner: Neutral + Location: 9,25 + Actor58: mapground_2_3 + Owner: Neutral + Location: 17,25 + Actor59: mapground_3_3 + Owner: Neutral + Location: 25,25 + Actor60: mapground_4_3 + Owner: Neutral + Location: 33,25 + Actor61: mapground_5_3 + Owner: Neutral + Location: 41,25 + Actor62: mapground_6_3 + Owner: Neutral + Location: 49,25 + Actor63: mapground_0_4 + Owner: Neutral + Location: 1,33 + Actor64: mapground_1_4 + Owner: Neutral + Location: 9,33 + Actor65: mapground_2_4 + Owner: Neutral + Location: 17,33 + Actor66: mapground_3_4 + Owner: Neutral + Location: 25,33 + Actor67: mapground_4_4 + Owner: Neutral + Location: 33,33 + Actor68: mapground_5_4 + Owner: Neutral + Location: 41,33 + Actor69: mapground_6_4 + Owner: Neutral + Location: 49,33 + Actor70: evolved_vehicle_direwolf + Owner: Evolved + Location: 18,6 + Actor71: evolved_vehicle_direwolf + Owner: Evolved + Location: 41,7 + Actor72: evolved_infantry_berserker + Owner: Evolved + Location: 26,10 + SubCell: 1 + Actor73: evolved_infantry_berserker + Owner: Evolved + Location: 27,10 + SubCell: 1 + Actor74: evolved_infantry_berserker + Owner: Evolved + Location: 26,11 + SubCell: 1 + Actor75: evolved_infantry_berserker + Owner: Evolved + Location: 26,11 + SubCell: 2 + Actor76: evolved_infantry_berserker + Owner: Evolved + Location: 7,11 + SubCell: 1 + Actor77: evolved_infantry_berserker + Owner: Evolved + Location: 6,11 + SubCell: 1 + Actor78: evolved_vehicle_direwolf + Owner: Evolved + Location: 5,11 + Actor79: evolved_infantry_berserker + Owner: Evolved + Location: 6,12 + SubCell: 1 + Actor80: evolved_infantry_berserker + Owner: Evolved + Location: 44,13 + SubCell: 1 + Actor81: evolved_infantry_berserker + Owner: Evolved + Location: 43,13 + SubCell: 1 + Actor82: evolved_infantry_berserker + Owner: Evolved + Location: 43,14 + SubCell: 1 + Actor83: evolved_infantry_berserker + Owner: Evolved + Location: 44,14 + SubCell: 1 + Actor84: evolved_infantry_berserker + Owner: Evolved + Location: 9,20 + SubCell: 1 + Actor85: evolved_infantry_berserker + Owner: Evolved + Location: 9,20 + SubCell: 2 + Actor86: evolved_infantry_berserker + Owner: Evolved + Location: 28,23 + SubCell: 1 + Actor87: evolved_infantry_berserker + Owner: Evolved + Location: 29,23 + SubCell: 1 + Actor88: evolved_infantry_berserker + Owner: Evolved + Location: 27,23 + SubCell: 1 + Actor89: evolved_infantry_berserker + Owner: Evolved + Location: 28,24 + SubCell: 1 + Actor90: survivors_vehicle_dirtbike + Owner: Survivors + Location: 41,29 + Actor91: survivors_infantry_rifleman + Owner: Survivors + Location: 42,29 + SubCell: 1 + Actor92: survivors_infantry_rifleman + Owner: Survivors + Location: 42,29 + SubCell: 2 + Actor93: survivors_infantry_rifleman + Owner: Survivors + Location: 42,30 + SubCell: 1 + Actor94: survivors_infantry_rifleman + Owner: Survivors + Location: 42,30 + SubCell: 2 + Actor95: survivors_infantry_rifleman + Owner: Survivors + Location: 42,30 + SubCell: 3 + Actor96: survivors_vehicle_4x4pickup + Owner: Survivors + Location: 41,32 + Actor97: survivors_vehicle_dirtbike + Owner: Survivors + Location: 39,32 + Actor98: survivors_infantry_rifleman + Owner: Survivors + Location: 40,34 + SubCell: 1 + Actor99: survivors_infantry_rifleman + Owner: Survivors + Location: 40,34 + SubCell: 2 + Actor100: survivors_infantry_rifleman + Owner: Survivors + Location: 40,34 + SubCell: 3 + Actor101: survivors_infantry_rifleman + Owner: Survivors + Location: 40,34 + SubCell: 4 + Actor102: survivors_infantry_rifleman + Owner: Survivors + Location: 40,34 + SubCell: 5 + +Rules: ground-rules.yaml, rules.yaml + +Sequences: ground-sequences.yaml diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground-palette.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground-palette.png new file mode 100644 index 00000000..04bc07ce Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground-palette.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_0.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_0.png new file mode 100644 index 00000000..1e211e95 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_0.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_1.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_1.png new file mode 100644 index 00000000..b3c461bb Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_1.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_2.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_2.png new file mode 100644 index 00000000..cc044b5f Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_2.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_3.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_3.png new file mode 100644 index 00000000..ca6b6e0e Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_3.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_4.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_4.png new file mode 100644 index 00000000..d957d08f Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_0_4.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_0.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_0.png new file mode 100644 index 00000000..e216df47 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_0.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_1.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_1.png new file mode 100644 index 00000000..851fffdf Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_1.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_2.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_2.png new file mode 100644 index 00000000..d224aa84 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_2.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_3.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_3.png new file mode 100644 index 00000000..134b37a4 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_3.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_4.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_4.png new file mode 100644 index 00000000..fab18092 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_1_4.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_0.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_0.png new file mode 100644 index 00000000..e9292efd Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_0.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_1.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_1.png new file mode 100644 index 00000000..56f53324 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_1.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_2.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_2.png new file mode 100644 index 00000000..b6c0fa4f Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_2.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_3.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_3.png new file mode 100644 index 00000000..4d576a1b Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_3.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_4.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_4.png new file mode 100644 index 00000000..5578f1ec Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_2_4.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_0.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_0.png new file mode 100644 index 00000000..9dbff582 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_0.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_1.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_1.png new file mode 100644 index 00000000..0daed061 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_1.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_2.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_2.png new file mode 100644 index 00000000..251ea837 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_2.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_3.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_3.png new file mode 100644 index 00000000..ecd5061e Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_3.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_4.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_4.png new file mode 100644 index 00000000..11d1517e Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_3_4.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_0.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_0.png new file mode 100644 index 00000000..70570b6a Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_0.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_1.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_1.png new file mode 100644 index 00000000..5e05c39e Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_1.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_2.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_2.png new file mode 100644 index 00000000..d9a1211f Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_2.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_3.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_3.png new file mode 100644 index 00000000..5229c8c5 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_3.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_4.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_4.png new file mode 100644 index 00000000..f26c8096 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_4_4.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_0.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_0.png new file mode 100644 index 00000000..1dc5e04b Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_0.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_1.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_1.png new file mode 100644 index 00000000..4e64605e Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_1.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_2.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_2.png new file mode 100644 index 00000000..ff62756a Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_2.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_3.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_3.png new file mode 100644 index 00000000..4b5e6e54 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_3.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_4.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_4.png new file mode 100644 index 00000000..818c28ee Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_5_4.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_0.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_0.png new file mode 100644 index 00000000..b188c323 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_0.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_1.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_1.png new file mode 100644 index 00000000..3ae57c23 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_1.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_2.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_2.png new file mode 100644 index 00000000..e121e34b Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_2.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_3.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_3.png new file mode 100644 index 00000000..c7323b73 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_3.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_4.png b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_4.png new file mode 100644 index 00000000..acba5460 Binary files /dev/null and b/mods/openkrush_gen1/maps/campaign/survivors-01/mapground_6_4.png differ diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/mission.lua b/mods/openkrush_gen1/maps/campaign/survivors-01/mission.lua new file mode 100644 index 00000000..7d124e12 --- /dev/null +++ b/mods/openkrush_gen1/maps/campaign/survivors-01/mission.lua @@ -0,0 +1,44 @@ +--[[ + Survivors - Missão 1, recriada a partir de SURV_01.LVL do KKnD Xtreme. + Briefing original: limpar a vila de aberrações perto do acampamento Survivor. +]] + +local briefing = "Uma vila horrorosa de aberrações surgiu perto de um dos nossos impecáveis acampamentos de alta tecnologia. Nem que seja só pela estética, vá lá e jogue o lixo fora." + +WorldLoaded = function() + Survivors = Player.GetPlayer("Survivors") + Evolved = Player.GetPlayer("Evolved") + + KillAll = Survivors.AddPrimaryObjective("Elimine todas as forças Evolved da região.") + + Trigger.OnPlayerWon(Survivors, function() + Media.DisplayMessage("Região limpa. Bom trabalho, soldado!", "Comando") + end) + + Trigger.OnPlayerLost(Survivors, function() + Media.DisplayMessage("Nossas forças foram aniquiladas.", "Comando") + end) + + local enemies = Evolved.GetGroundAttackers() + Trigger.OnAllKilled(enemies, function() + Survivors.MarkCompletedObjective(KillAll) + end) + + -- Área inicial dos Survivors no mapa original (canto inferior direito). + Camera.Position = Map.CenterOfCell(CPos.New(41, 31)) + Trigger.AfterDelay(DateTime.Seconds(1), function() + Media.DisplayMessage(briefing, "Comando") + end)end + +-- HasNoRequiredUnits() só conta prédios quando "Partida curta" está ligada; esta missão não tem prédios. +local function AliveUnits(player) + return Utils.Where(player.GetActors(), function(a) + return a.HasProperty("Health") and not a.IsDead + end) +end + +Tick = function() + if DateTime.GameTime % DateTime.Seconds(1) == 0 and not Survivors.IsObjectiveCompleted(KillAll) and #AliveUnits(Survivors) == 0 then + Survivors.MarkFailedObjective(KillAll) + end +end diff --git a/mods/openkrush_gen1/maps/campaign/survivors-01/rules.yaml b/mods/openkrush_gen1/maps/campaign/survivors-01/rules.yaml new file mode 100644 index 00000000..0a6d6743 --- /dev/null +++ b/mods/openkrush_gen1/maps/campaign/survivors-01/rules.yaml @@ -0,0 +1,11 @@ +World: + LuaScript: + Scripts: mission.lua + MissionData: + Briefing: Uma vila horrorosa de aberrações surgiu perto de um dos nossos impecáveis acampamentos de alta tecnologia. Nem que seja só pela estética, vá lá e jogue o lixo fora.\n\nObjetivo: elimine todas as forças Evolved da região. + BriefingVideo: heads01.vbc + -SpawnStartingUnits: + -MapStartingLocations: + +Player: + -ConquestVictoryConditions: diff --git a/mods/openkrush_gen1/mod.yaml b/mods/openkrush_gen1/mod.yaml index 539ee332..9c377552 100644 --- a/mods/openkrush_gen1/mod.yaml +++ b/mods/openkrush_gen1/mod.yaml @@ -25,6 +25,7 @@ ModCredits: MapFolders: openkrush_gen1|maps/classic: System openkrush_gen1|maps/multiplayer: System + openkrush_gen1|maps/campaign: System ~^SupportDir|maps/openkrush_gen1/{DEV_VERSION}: User Rules: @@ -66,73 +67,74 @@ Assemblies: ^BinDir|OpenRA.Mods.OpenKrush.dll ChromeLayout: - common|chrome/ingame.yaml - common|chrome/ingame-chat.yaml - common|chrome/ingame-transients.yaml - common|chrome/ingame-fmvplayer.yaml - common|chrome/ingame-info.yaml - common|chrome/ingame-infoscripterror.yaml - common|chrome/ingame-infobriefing.yaml - common|chrome/ingame-infoobjectives.yaml - common|chrome/ingame-infostats.yaml - common|chrome/ingame-info-lobby-options.yaml + openkrush_gen1|chrome/ingame.yaml + openkrush_gen1|chrome/ingame-chat.yaml + openkrush_gen1|chrome/ingame-transients.yaml + openkrush_gen1|chrome/ingame-fmvplayer.yaml + openkrush_gen1|chrome/ingame-info.yaml + openkrush_gen1|chrome/ingame-infoscripterror.yaml + openkrush_gen1|chrome/ingame-infobriefing.yaml + openkrush_gen1|chrome/ingame-infoobjectives.yaml + openkrush_gen1|chrome/ingame-infostats.yaml + openkrush_gen1|chrome/ingame-info-lobby-options.yaml openkrush|chrome/ingame-menu.yaml - common|chrome/ingame-observer.yaml + openkrush_gen1|chrome/ingame-observer.yaml openkrush|chrome/ingame-player.yaml - common|chrome/ingame-perf.yaml - common|chrome/ingame-debug.yaml - common|chrome/ingame-debuginfo.yaml - common|chrome/ingame-infochat.yaml + openkrush_gen1|chrome/ingame-perf.yaml + openkrush_gen1|chrome/ingame-debug.yaml + openkrush_gen1|chrome/ingame-debuginfo.yaml + openkrush_gen1|chrome/ingame-infochat.yaml openkrush|chrome/mainmenu.yaml - common|chrome/mainmenu-prompts.yaml - common|chrome/settings.yaml - common|chrome/settings-display.yaml - common|chrome/settings-audio.yaml - common|chrome/settings-input.yaml - common|chrome/settings-hotkeys.yaml - common|chrome/settings-advanced.yaml - common|chrome/credits.yaml - common|chrome/lobby.yaml - common|chrome/lobby-mappreview.yaml - common|chrome/lobby-players.yaml - common|chrome/lobby-options.yaml - common|chrome/lobby-music.yaml - common|chrome/lobby-servers.yaml - common|chrome/lobby-kickdialogs.yaml - common|chrome/color-picker.yaml - common|chrome/map-chooser.yaml - common|chrome/multiplayer-browser.yaml - common|chrome/multiplayer-browserpanels.yaml - common|chrome/multiplayer-createserver.yaml - common|chrome/multiplayer-directconnect.yaml - common|chrome/connection.yaml - common|chrome/replaybrowser.yaml - common|chrome/gamesave-browser.yaml - common|chrome/gamesave-loading.yaml - common|chrome/dropdowns.yaml - common|chrome/musicplayer.yaml - common|chrome/tooltips.yaml - common|chrome/assetbrowser.yaml - common|chrome/missionbrowser.yaml - common|chrome/confirmation-dialogs.yaml - common|chrome/editor.yaml - common|chrome/playerprofile.yaml - common|chrome/text-notifications.yaml + openkrush_gen1|chrome/mainmenu-prompts.yaml + openkrush_gen1|chrome/settings.yaml + openkrush_gen1|chrome/settings-display.yaml + openkrush_gen1|chrome/settings-audio.yaml + openkrush_gen1|chrome/settings-input.yaml + openkrush_gen1|chrome/settings-hotkeys.yaml + openkrush_gen1|chrome/settings-advanced.yaml + openkrush_gen1|chrome/credits.yaml + openkrush_gen1|chrome/lobby.yaml + openkrush_gen1|chrome/lobby-mappreview.yaml + openkrush_gen1|chrome/lobby-players.yaml + openkrush_gen1|chrome/lobby-options.yaml + openkrush_gen1|chrome/lobby-music.yaml + openkrush_gen1|chrome/lobby-servers.yaml + openkrush_gen1|chrome/lobby-kickdialogs.yaml + openkrush_gen1|chrome/color-picker.yaml + openkrush_gen1|chrome/map-chooser.yaml + openkrush_gen1|chrome/multiplayer-browser.yaml + openkrush_gen1|chrome/multiplayer-browserpanels.yaml + openkrush_gen1|chrome/multiplayer-createserver.yaml + openkrush_gen1|chrome/multiplayer-directconnect.yaml + openkrush_gen1|chrome/connection.yaml + openkrush_gen1|chrome/replaybrowser.yaml + openkrush_gen1|chrome/gamesave-browser.yaml + openkrush_gen1|chrome/gamesave-loading.yaml + openkrush_gen1|chrome/dropdowns.yaml + openkrush_gen1|chrome/musicplayer.yaml + openkrush_gen1|chrome/tooltips.yaml + openkrush_gen1|chrome/assetbrowser.yaml + openkrush_gen1|chrome/missionbrowser.yaml + openkrush_gen1|chrome/confirmation-dialogs.yaml + openkrush_gen1|chrome/editor.yaml + openkrush_gen1|chrome/playerprofile.yaml + openkrush_gen1|chrome/text-notifications.yaml Translations: common|languages/en.ftl + openkrush_gen1|languages/pt.ftl Hotkeys: - common|hotkeys/chat.yaml - common|hotkeys/control-groups.yaml - common|hotkeys/editor.yaml - common|hotkeys/game.yaml + openkrush_gen1|hotkeys/chat.yaml + openkrush_gen1|hotkeys/control-groups.yaml + openkrush_gen1|hotkeys/editor.yaml + openkrush_gen1|hotkeys/game.yaml openkrush|hotkeys/game.yaml - common|hotkeys/observer.yaml - common|hotkeys/production-common.yaml + openkrush_gen1|hotkeys/observer.yaml + openkrush_gen1|hotkeys/production-common.yaml openkrush|hotkeys/production.yaml - common|hotkeys/supportpowers.yaml - common|hotkeys/viewport.yaml + openkrush_gen1|hotkeys/supportpowers.yaml + openkrush_gen1|hotkeys/viewport.yaml LoadScreen: LoadScreen @@ -214,11 +216,11 @@ GameSpeeds: DefaultSpeed: default Speeds: slowest: - Name: Slowest + Name: Muito lenta Timestep: 80 OrderLatency: 2 slower: - Name: Slower + Name: Lenta Timestep: 50 OrderLatency: 3 default: @@ -226,15 +228,15 @@ GameSpeeds: Timestep: 40 OrderLatency: 3 fast: - Name: Fast + Name: Rápida Timestep: 35 OrderLatency: 4 faster: - Name: Faster + Name: Muito rápida Timestep: 30 OrderLatency: 4 fastest: - Name: Fastest + Name: Máxima Timestep: 20 OrderLatency: 6 diff --git a/mods/openkrush_gen1/tilesets/desert/tileset.yaml b/mods/openkrush_gen1/tilesets/desert/tileset.yaml index e80eae2b..4173a632 100644 --- a/mods/openkrush_gen1/tilesets/desert/tileset.yaml +++ b/mods/openkrush_gen1/tilesets/desert/tileset.yaml @@ -1,5 +1,5 @@ General: - Name: Desert + Name: Deserto Id: desert EditorTemplateOrder: Terrain, Beach, Bridge, Cliff, Cliff Extra, Cliff Ramp, Decoration, Path, Path Extra, Street, Street Extra, Transition Dirt Sand, Transition Dirt Sand Extra, Transition Grass Dirt SheetSize: 2048 diff --git a/mods/openkrush_gen1/tilesets/highland/tileset.yaml b/mods/openkrush_gen1/tilesets/highland/tileset.yaml index 1accd4b2..2f2df30f 100644 --- a/mods/openkrush_gen1/tilesets/highland/tileset.yaml +++ b/mods/openkrush_gen1/tilesets/highland/tileset.yaml @@ -1,5 +1,5 @@ General: - Name: Highland + Name: Planalto Id: highland EditorTemplateOrder: Terrain, Decoration, Decoration Dirt, Dirt Cliff, Dirt Cliff Extra, Dirt Cliff Ramp, Grass Cliff, Grass Cliff Extra, Grass Cliff Ramp, Narrow Path, Narrow Path Extra, River, River Crossing, River Extra, Street, Transition, Wide Path, Wide Path Extra SheetSize: 2048 diff --git a/mods/openkrush_gen1/tilesets/urban/tileset.yaml b/mods/openkrush_gen1/tilesets/urban/tileset.yaml index b040a475..5abf36c4 100644 --- a/mods/openkrush_gen1/tilesets/urban/tileset.yaml +++ b/mods/openkrush_gen1/tilesets/urban/tileset.yaml @@ -1,5 +1,5 @@ General: - Name: Urban + Name: Urbano Id: urban EditorTemplateOrder: Terrain, Beach, Bridge, Decoration, Dirt Cliff, Dirt Cliff Extra, Dirt Cliff Ramp, Path, Path Extra, Street, Street Extra, Water Cliff, Water Cliff Extra, Water Cliff Ramp SheetSize: 2048 diff --git a/packaging/artwork/openkrush.ico b/packaging/artwork/openkrush.ico new file mode 100644 index 00000000..7f7d2571 Binary files /dev/null and b/packaging/artwork/openkrush.ico differ