Merge pull request #6217 from Mailaender/starting-units-classname
Fixed lobby start unit notifications not showing class names
This commit is contained in:
@@ -336,10 +336,6 @@ namespace OpenRA.Server
|
|||||||
// Send initial ping
|
// Send initial ping
|
||||||
SendOrderTo(newConn, "Ping", Game.RunTime.ToString());
|
SendOrderTo(newConn, "Ping", Game.RunTime.ToString());
|
||||||
|
|
||||||
// Send Lobby info to newly connected client
|
|
||||||
if (!client.IsAdmin)
|
|
||||||
NotifyNewClientOfLobbyInfo(newConn);
|
|
||||||
|
|
||||||
if (Settings.Dedicated)
|
if (Settings.Dedicated)
|
||||||
{
|
{
|
||||||
var motdFile = Path.Combine(Platform.SupportDir, "motd.txt");
|
var motdFile = Path.Combine(Platform.SupportDir, "motd.txt");
|
||||||
@@ -359,39 +355,6 @@ namespace OpenRA.Server
|
|||||||
catch (Exception) { DropClient(newConn); }
|
catch (Exception) { DropClient(newConn); }
|
||||||
}
|
}
|
||||||
|
|
||||||
void NotifyNewClientOfLobbyInfo(Connection newConn)
|
|
||||||
{
|
|
||||||
var defaults = new Session.Global();
|
|
||||||
FieldLoader.Load(defaults, Game.modData.Manifest.LobbyDefaults);
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.FragileAlliances != defaults.FragileAlliances)
|
|
||||||
SendOrderTo(newConn, "Message", "Diplomacy Changes: {0}".F(LobbyInfo.GlobalSettings.FragileAlliances));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.AllowCheats != defaults.AllowCheats)
|
|
||||||
SendOrderTo(newConn, "Message", "Allow Cheats: {0}".F(LobbyInfo.GlobalSettings.AllowCheats));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.Shroud != defaults.Shroud)
|
|
||||||
SendOrderTo(newConn, "Message", "Shroud: {0}".F(LobbyInfo.GlobalSettings.Shroud));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.Fog != defaults.Fog)
|
|
||||||
SendOrderTo(newConn, "Message", "Fog of war: {0}".F(LobbyInfo.GlobalSettings.Fog));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.Crates != defaults.Crates)
|
|
||||||
SendOrderTo(newConn, "Message", "Crates Appear: {0}".F(LobbyInfo.GlobalSettings.Crates));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.AllyBuildRadius != defaults.AllyBuildRadius)
|
|
||||||
SendOrderTo(newConn, "Message", "Build off Ally ConYards: {0}".F(LobbyInfo.GlobalSettings.AllyBuildRadius));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.StartingUnitsClass != defaults.StartingUnitsClass)
|
|
||||||
SendOrderTo(newConn, "Message", "Starting Units: {0}".F(LobbyInfo.GlobalSettings.StartingUnitsClass));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.StartingCash != defaults.StartingCash)
|
|
||||||
SendOrderTo(newConn, "Message", "Starting Cash: ${0}".F(LobbyInfo.GlobalSettings.StartingCash));
|
|
||||||
|
|
||||||
if (LobbyInfo.GlobalSettings.TechLevel != defaults.TechLevel)
|
|
||||||
SendOrderTo(newConn, "Message", "Tech Level: {0}".F(LobbyInfo.GlobalSettings.TechLevel));
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetOrderLag()
|
void SetOrderLag()
|
||||||
{
|
{
|
||||||
if (LobbyInfo.IsSinglePlayer)
|
if (LobbyInfo.IsSinglePlayer)
|
||||||
|
|||||||
@@ -15,10 +15,19 @@ namespace OpenRA.Mods.RA
|
|||||||
[Desc("Used by SpawnMPUnits. Attach these to the world actor. You can have multiple variants by adding @suffixes.")]
|
[Desc("Used by SpawnMPUnits. Attach these to the world actor. You can have multiple variants by adding @suffixes.")]
|
||||||
public class MPStartUnitsInfo : TraitInfo<MPStartUnits>
|
public class MPStartUnitsInfo : TraitInfo<MPStartUnits>
|
||||||
{
|
{
|
||||||
|
[Desc("Internal class ID.")]
|
||||||
public readonly string Class = "none";
|
public readonly string Class = "none";
|
||||||
|
|
||||||
|
[Desc("Exposed via the UI to the player.")]
|
||||||
|
public readonly string ClassName = "Unlabeled";
|
||||||
|
|
||||||
|
[Desc("Only available when selecting this faction.", "Leave empty for no restrictions.")]
|
||||||
public readonly string[] Races = { };
|
public readonly string[] Races = { };
|
||||||
|
|
||||||
|
[Desc("The mobile construction vehicle.")]
|
||||||
public readonly string BaseActor = null;
|
public readonly string BaseActor = null;
|
||||||
|
|
||||||
|
[Desc("A group of units ready to defend or scout.")]
|
||||||
public readonly string[] SupportActors = { };
|
public readonly string[] SupportActors = { };
|
||||||
|
|
||||||
[Desc("Inner radius for spawning support actors")]
|
[Desc("Inner radius for spawning support actors")]
|
||||||
|
|||||||
@@ -561,6 +561,7 @@
|
|||||||
<Compile Include="Player\GlobalUpgradeManager.cs" />
|
<Compile Include="Player\GlobalUpgradeManager.cs" />
|
||||||
<Compile Include="GainsStatUpgrades.cs" />
|
<Compile Include="GainsStatUpgrades.cs" />
|
||||||
<Compile Include="Player\Extensions.cs" />
|
<Compile Include="Player\Extensions.cs" />
|
||||||
|
<Compile Include="ServerTraits\LobbySettingsNotification.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
||||||
|
|||||||
@@ -552,9 +552,13 @@ namespace OpenRA.Mods.RA.Server
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var startUnitsInfo = server.Map.Rules.Actors["world"].Traits.WithInterface<MPStartUnitsInfo>();
|
||||||
|
var selectedClass = startUnitsInfo.Where(u => u.Class == s).Select(u => u.ClassName).FirstOrDefault();
|
||||||
|
var className = selectedClass != null ? selectedClass : s;
|
||||||
|
|
||||||
server.LobbyInfo.GlobalSettings.StartingUnitsClass = s;
|
server.LobbyInfo.GlobalSettings.StartingUnitsClass = s;
|
||||||
server.SyncLobbyGlobalSettings();
|
server.SyncLobbyGlobalSettings();
|
||||||
server.SendMessage("{0} changed Starting Units to {1}.".F(client.Name, s));
|
server.SendMessage("{0} changed Starting Units to {1}.".F(client.Name, className));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}},
|
}},
|
||||||
|
|||||||
60
OpenRA.Mods.RA/ServerTraits/LobbySettingsNotification.cs
Normal file
60
OpenRA.Mods.RA/ServerTraits/LobbySettingsNotification.cs
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
#region Copyright & License Information
|
||||||
|
/*
|
||||||
|
* Copyright 2007-2014 The OpenRA Developers (see AUTHORS)
|
||||||
|
* This file is part of OpenRA, which is free software. It is made
|
||||||
|
* available to you under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation. For more information,
|
||||||
|
* see COPYING.
|
||||||
|
*/
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
using System.Linq;
|
||||||
|
using OpenRA.Network;
|
||||||
|
using OpenRA.Server;
|
||||||
|
|
||||||
|
namespace OpenRA.Mods.RA.Server
|
||||||
|
{
|
||||||
|
public class LobbySettingsNotification : ServerTrait, IClientJoined
|
||||||
|
{
|
||||||
|
public void ClientJoined(OpenRA.Server.Server server, Connection conn)
|
||||||
|
{
|
||||||
|
if (server.LobbyInfo.ClientWithIndex(conn.PlayerIndex).IsAdmin)
|
||||||
|
return;
|
||||||
|
|
||||||
|
var defaults = new Session.Global();
|
||||||
|
FieldLoader.Load(defaults, Game.modData.Manifest.LobbyDefaults);
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.FragileAlliances != defaults.FragileAlliances)
|
||||||
|
server.SendOrderTo(conn, "Message", "Diplomacy Changes: {0}".F(server.LobbyInfo.GlobalSettings.FragileAlliances));
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.AllowCheats != defaults.AllowCheats)
|
||||||
|
server.SendOrderTo(conn, "Message", "Allow Cheats: {0}".F(server.LobbyInfo.GlobalSettings.AllowCheats));
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.Shroud != defaults.Shroud)
|
||||||
|
server.SendOrderTo(conn, "Message", "Shroud: {0}".F(server.LobbyInfo.GlobalSettings.Shroud));
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.Fog != defaults.Fog)
|
||||||
|
server.SendOrderTo(conn, "Message", "Fog of war: {0}".F(server.LobbyInfo.GlobalSettings.Fog));
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.Crates != defaults.Crates)
|
||||||
|
server.SendOrderTo(conn, "Message", "Crates Appear: {0}".F(server.LobbyInfo.GlobalSettings.Crates));
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.AllyBuildRadius != defaults.AllyBuildRadius)
|
||||||
|
server.SendOrderTo(conn, "Message", "Build off Ally ConYards: {0}".F(server.LobbyInfo.GlobalSettings.AllyBuildRadius));
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.StartingUnitsClass != defaults.StartingUnitsClass)
|
||||||
|
{
|
||||||
|
var startUnitsInfo = server.Map.Rules.Actors["world"].Traits.WithInterface<MPStartUnitsInfo>();
|
||||||
|
var selectedClass = startUnitsInfo.Where(u => u.Class == server.LobbyInfo.GlobalSettings.StartingUnitsClass).Select(u => u.ClassName).FirstOrDefault();
|
||||||
|
var className = selectedClass != null ? selectedClass : server.LobbyInfo.GlobalSettings.StartingUnitsClass;
|
||||||
|
server.SendOrderTo(conn, "Message", "Starting Units: {0}".F(className));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.StartingCash != defaults.StartingCash)
|
||||||
|
server.SendOrderTo(conn, "Message", "Starting Cash: ${0}".F(server.LobbyInfo.GlobalSettings.StartingCash));
|
||||||
|
|
||||||
|
if (server.LobbyInfo.GlobalSettings.TechLevel != defaults.TechLevel)
|
||||||
|
server.SendOrderTo(conn, "Message", "Tech Level: {0}".F(server.LobbyInfo.GlobalSettings.TechLevel));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -371,17 +371,14 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
var startingUnits = optionsBin.GetOrNull<DropDownButtonWidget>("STARTINGUNITS_DROPDOWNBUTTON");
|
var startingUnits = optionsBin.GetOrNull<DropDownButtonWidget>("STARTINGUNITS_DROPDOWNBUTTON");
|
||||||
if (startingUnits != null)
|
if (startingUnits != null)
|
||||||
{
|
{
|
||||||
var classNames = new Dictionary<string, string>()
|
var startUnitsInfo = modRules.Actors["world"].Traits.WithInterface<MPStartUnitsInfo>();
|
||||||
|
var classes = startUnitsInfo.Select(a => a.Class).Distinct();
|
||||||
|
Func<string, string> className = c =>
|
||||||
{
|
{
|
||||||
{ "none", "MCV Only" },
|
var selectedClass = startUnitsInfo.Where(s => s.Class == c).Select(u => u.ClassName).FirstOrDefault();
|
||||||
{ "light", "Light Support" },
|
return selectedClass != null ? selectedClass : c;
|
||||||
{ "heavy", "Heavy Support" },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Func<string, string> className = c => classNames.ContainsKey(c) ? classNames[c] : c;
|
|
||||||
var classes = modRules.Actors["world"].Traits.WithInterface<MPStartUnitsInfo>()
|
|
||||||
.Select(a => a.Class).Distinct();
|
|
||||||
|
|
||||||
startingUnits.IsDisabled = () => Map.Status != MapStatus.Available || !Map.Map.Options.ConfigurableStartingUnits || configurationDisabled();
|
startingUnits.IsDisabled = () => Map.Status != MapStatus.Available || !Map.Map.Options.ConfigurableStartingUnits || configurationDisabled();
|
||||||
startingUnits.GetText = () => Map.Status != MapStatus.Available || !Map.Map.Options.ConfigurableStartingUnits ? "Not Available" : className(orderManager.LobbyInfo.GlobalSettings.StartingUnitsClass);
|
startingUnits.GetText = () => Map.Status != MapStatus.Available || !Map.Map.Options.ConfigurableStartingUnits ? "Not Available" : className(orderManager.LobbyInfo.GlobalSettings.StartingUnitsClass);
|
||||||
startingUnits.OnMouseDown = _ =>
|
startingUnits.OnMouseDown = _ =>
|
||||||
|
|||||||
@@ -152,6 +152,7 @@ ServerTraits:
|
|||||||
LobbyCommands
|
LobbyCommands
|
||||||
PlayerPinger
|
PlayerPinger
|
||||||
MasterServerPinger
|
MasterServerPinger
|
||||||
|
LobbySettingsNotification
|
||||||
|
|
||||||
LobbyDefaults:
|
LobbyDefaults:
|
||||||
AllowCheats: false
|
AllowCheats: false
|
||||||
|
|||||||
@@ -130,50 +130,60 @@ World:
|
|||||||
CreateMPPlayers:
|
CreateMPPlayers:
|
||||||
MPStartUnits@mcvonly:
|
MPStartUnits@mcvonly:
|
||||||
Class: none
|
Class: none
|
||||||
|
ClassName: MCV Only
|
||||||
Races: gdi, nod
|
Races: gdi, nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
MPStartUnits@defaultgdia:
|
MPStartUnits@defaultgdia:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: gdi
|
Races: gdi
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e1,e3,e3,jeep
|
SupportActors: e1,e1,e1,e1,e1,e3,e3,jeep
|
||||||
MPStartUnits@defaultgdib:
|
MPStartUnits@defaultgdib:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: gdi
|
Races: gdi
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e1,e1,e3,apc
|
SupportActors: e1,e1,e1,e1,e1,e1,e3,apc
|
||||||
MPStartUnits@defaultnoda:
|
MPStartUnits@defaultnoda:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: nod
|
Races: nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e3,bggy,bike
|
SupportActors: e1,e1,e1,e1,e3,bggy,bike
|
||||||
MPStartUnits@defaultnodb:
|
MPStartUnits@defaultnodb:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: nod
|
Races: nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e3,e3,e3,bggy
|
SupportActors: e1,e1,e1,e3,e3,e3,bggy
|
||||||
MPStartUnits@defaultnodc:
|
MPStartUnits@defaultnodc:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: nod
|
Races: nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e1,e1,e1,e3,bike
|
SupportActors: e1,e1,e1,e1,e1,e1,e1,e3,bike
|
||||||
MPStartUnits@heavynoda:
|
MPStartUnits@heavynoda:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: nod
|
Races: nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e3,e3,ltnk,ltnk,ftnk
|
SupportActors: e1,e1,e1,e1,e3,e3,ltnk,ltnk,ftnk
|
||||||
MPStartUnits@heavynodb:
|
MPStartUnits@heavynodb:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: nod
|
Races: nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e1,e3,e3,e3,ftnk,ftnk
|
SupportActors: e1,e1,e1,e1,e1,e3,e3,e3,ftnk,ftnk
|
||||||
MPStartUnits@heavygdia:
|
MPStartUnits@heavygdia:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: gdi
|
Races: gdi
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e3,e3,jeep,mtnk,mtnk
|
SupportActors: e1,e1,e1,e1,e3,e3,jeep,mtnk,mtnk
|
||||||
MPStartUnits@heavygdib:
|
MPStartUnits@heavygdib:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: gdi
|
Races: gdi
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e1,e1,e2,e2,e2,e3,e3,apc,mtnk
|
SupportActors: e1,e1,e1,e1,e1,e2,e2,e2,e3,e3,apc,mtnk
|
||||||
|
|||||||
@@ -134,6 +134,7 @@ ServerTraits:
|
|||||||
LobbyCommands
|
LobbyCommands
|
||||||
PlayerPinger
|
PlayerPinger
|
||||||
MasterServerPinger
|
MasterServerPinger
|
||||||
|
LobbySettingsNotification
|
||||||
|
|
||||||
LobbyDefaults:
|
LobbyDefaults:
|
||||||
AllowCheats: false
|
AllowCheats: false
|
||||||
|
|||||||
@@ -132,18 +132,22 @@ World:
|
|||||||
MPStartLocations:
|
MPStartLocations:
|
||||||
MPStartUnits@mcvatreides:
|
MPStartUnits@mcvatreides:
|
||||||
Class: none
|
Class: none
|
||||||
|
ClassName: MCV Only
|
||||||
Races: atreides
|
Races: atreides
|
||||||
BaseActor: mcva
|
BaseActor: mcva
|
||||||
MPStartUnits@mcvharkonnen:
|
MPStartUnits@mcvharkonnen:
|
||||||
Class: none
|
Class: none
|
||||||
Races: harkonnen
|
Races: harkonnen
|
||||||
|
ClassName: MCV Only
|
||||||
BaseActor: mcvh
|
BaseActor: mcvh
|
||||||
MPStartUnits@mcvordos:
|
MPStartUnits@mcvordos:
|
||||||
Class: none
|
Class: none
|
||||||
|
ClassName: MCV Only
|
||||||
Races: ordos
|
Races: ordos
|
||||||
BaseActor: mcvo
|
BaseActor: mcvo
|
||||||
MPStartUnits@lightatreides:
|
MPStartUnits@lightatreides:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: atreides
|
Races: atreides
|
||||||
BaseActor: mcva
|
BaseActor: mcva
|
||||||
SupportActors: rifle, rifle, bazooka, trike, quad
|
SupportActors: rifle, rifle, bazooka, trike, quad
|
||||||
@@ -151,6 +155,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@lightharkonnen:
|
MPStartUnits@lightharkonnen:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: harkonnen
|
Races: harkonnen
|
||||||
BaseActor: mcvh
|
BaseActor: mcvh
|
||||||
SupportActors: rifle, bazooka, grenadier, trike, quad
|
SupportActors: rifle, bazooka, grenadier, trike, quad
|
||||||
@@ -158,6 +163,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@lightordos:
|
MPStartUnits@lightordos:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: ordos
|
Races: ordos
|
||||||
BaseActor: mcvo
|
BaseActor: mcvo
|
||||||
SupportActors: rifle, rifle, engineer, raider, quad
|
SupportActors: rifle, rifle, engineer, raider, quad
|
||||||
@@ -165,6 +171,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@heavyatreides:
|
MPStartUnits@heavyatreides:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: atreides
|
Races: atreides
|
||||||
BaseActor: mcva
|
BaseActor: mcva
|
||||||
SupportActors: rifle, bazooka, grenadier, trike, combata, missiletank
|
SupportActors: rifle, bazooka, grenadier, trike, combata, missiletank
|
||||||
@@ -172,6 +179,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@heavyharkonnen:
|
MPStartUnits@heavyharkonnen:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: harkonnen
|
Races: harkonnen
|
||||||
BaseActor: mcvh
|
BaseActor: mcvh
|
||||||
SupportActors: rifle, bazooka, engineer, quad, combath, siegetank
|
SupportActors: rifle, bazooka, engineer, quad, combath, siegetank
|
||||||
@@ -179,6 +187,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@heavyordos:
|
MPStartUnits@heavyordos:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: ordos
|
Races: ordos
|
||||||
BaseActor: mcvo
|
BaseActor: mcvo
|
||||||
SupportActors: rifle, bazooka, engineer, raider, combato, missiletank
|
SupportActors: rifle, bazooka, engineer, raider, combato, missiletank
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ ServerTraits:
|
|||||||
LobbyCommands
|
LobbyCommands
|
||||||
PlayerPinger
|
PlayerPinger
|
||||||
MasterServerPinger
|
MasterServerPinger
|
||||||
|
LobbySettingsNotification
|
||||||
|
|
||||||
LobbyDefaults:
|
LobbyDefaults:
|
||||||
AllowCheats: false
|
AllowCheats: false
|
||||||
|
|||||||
@@ -137,10 +137,12 @@ World:
|
|||||||
CreateMPPlayers:
|
CreateMPPlayers:
|
||||||
MPStartUnits@mcvonly:
|
MPStartUnits@mcvonly:
|
||||||
Class: none
|
Class: none
|
||||||
|
ClassName: MCV Only
|
||||||
Races: soviet, allies
|
Races: soviet, allies
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
MPStartUnits@lightallies:
|
MPStartUnits@lightallies:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: allies
|
Races: allies
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e3,e3,jeep,1tnk
|
SupportActors: e1,e1,e1,e3,e3,jeep,1tnk
|
||||||
@@ -148,6 +150,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@lightsoviet:
|
MPStartUnits@lightsoviet:
|
||||||
Class: light
|
Class: light
|
||||||
|
ClassName: Light Support
|
||||||
Races: soviet
|
Races: soviet
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e3,e3,apc,ftrk
|
SupportActors: e1,e1,e1,e3,e3,apc,ftrk
|
||||||
@@ -155,6 +158,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@heavyallies:
|
MPStartUnits@heavyallies:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: allies
|
Races: allies
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e3,e3,jeep,1tnk,2tnk,2tnk,2tnk
|
SupportActors: e1,e1,e1,e3,e3,jeep,1tnk,2tnk,2tnk,2tnk
|
||||||
@@ -162,6 +166,7 @@ World:
|
|||||||
OuterSupportRadius: 5
|
OuterSupportRadius: 5
|
||||||
MPStartUnits@heavysoviet:
|
MPStartUnits@heavysoviet:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: soviet
|
Races: soviet
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e1,e1,e3,e3,apc,ftrk,3tnk,3tnk
|
SupportActors: e1,e1,e1,e3,e3,apc,ftrk,3tnk,3tnk
|
||||||
|
|||||||
@@ -179,6 +179,7 @@ ServerTraits:
|
|||||||
LobbyCommands
|
LobbyCommands
|
||||||
PlayerPinger
|
PlayerPinger
|
||||||
MasterServerPinger
|
MasterServerPinger
|
||||||
|
LobbySettingsNotification
|
||||||
|
|
||||||
LobbyDefaults:
|
LobbyDefaults:
|
||||||
AllowCheats: true
|
AllowCheats: true
|
||||||
|
|||||||
@@ -132,10 +132,13 @@ World:
|
|||||||
SpawnMapActors:
|
SpawnMapActors:
|
||||||
CreateMPPlayers:
|
CreateMPPlayers:
|
||||||
MPStartUnits@MCV:
|
MPStartUnits@MCV:
|
||||||
|
Class: none
|
||||||
|
ClassName: MCV Only
|
||||||
Races: gdi, nod
|
Races: gdi, nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
MPStartUnits@TEST:
|
MPStartUnits@TEST:
|
||||||
Class: heavy
|
Class: heavy
|
||||||
|
ClassName: Heavy Support
|
||||||
Races: gdi,nod
|
Races: gdi,nod
|
||||||
BaseActor: mcv
|
BaseActor: mcv
|
||||||
SupportActors: e1,e2,e3,cyborg,cyc2,jumpjet,umagon,ghost,mmch,smech,hmec,bggy,bike,art2,ttnk,hvr,sonic,subtank,repair,4tnk
|
SupportActors: e1,e2,e3,cyborg,cyc2,jumpjet,umagon,ghost,mmch,smech,hmec,bggy,bike,art2,ttnk,hvr,sonic,subtank,repair,4tnk
|
||||||
|
|||||||
Reference in New Issue
Block a user