Add a lobby option to control spawning creeps (viceroids/worms)

The lobby option is only exposed in d2k currently, not in TD or TS.
This commit is contained in:
Oliver Brakmann
2014-12-28 17:39:26 +01:00
parent c1bf8b29e3
commit de0a62eb42
9 changed files with 314 additions and 2 deletions

View File

@@ -40,6 +40,9 @@ namespace OpenRA.Mods.Common.Server
if (server.LobbyInfo.GlobalSettings.Crates != defaults.Crates)
server.SendOrderTo(conn, "Message", "Crates Appear: {0}".F(server.LobbyInfo.GlobalSettings.Crates));
if (server.LobbyInfo.GlobalSettings.Creeps != defaults.Creeps)
server.SendOrderTo(conn, "Message", "Creeps Spawn: {0}".F(server.LobbyInfo.GlobalSettings.Creeps));
if (server.LobbyInfo.GlobalSettings.AllyBuildRadius != defaults.AllyBuildRadius)
server.SendOrderTo(conn, "Message", "Build off Ally ConYards: {0}".F(server.LobbyInfo.GlobalSettings.AllyBuildRadius));