Overhaul Soviet base

This commit is contained in:
Scott_NZ
2012-08-20 03:32:09 +12:00
parent 7e8313b808
commit 7e2866714c
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ namespace OpenRA.Mods.RA.Missions
static List<string> sovietInfantry = new List<string> { "e1", "e2", "e3" }; static List<string> sovietInfantry = new List<string> { "e1", "e2", "e3" };
static List<string> sovietVehicles = new List<string> { "3tnk" }; static List<string> sovietVehicles = new List<string> { "3tnk" };
static readonly string[] SovietVehicleAdditions = { "v2rl" }; static readonly string[] SovietVehicleAdditions = { "v2rl" };
const int SovietGroupSize = 3; const int SovietGroupSize = 5;
const int SovietVehicleAdditionsTicks = 1500 * 4; const int SovietVehicleAdditionsTicks = 1500 * 4;
const int ReinforcementsTicks = 1500 * 12; const int ReinforcementsTicks = 1500 * 12;
@@ -237,7 +237,7 @@ namespace OpenRA.Mods.RA.Missions
void ManageSovietUnits() void ManageSovietUnits()
{ {
var idleSovietUnits = ForcesNearActor(allies2BasePoint, 20).Where(a => a.Owner == soviets && a.IsIdle); var idleSovietUnits = ForcesNearActor(allies2BasePoint, 10).Where(a => a.Owner == soviets && a.IsIdle);
var idleSovietUnitsAtRP = ForcesNearActor(sovietRallyPoint, 5).Where(a => a.Owner == soviets && a.IsIdle); var idleSovietUnitsAtRP = ForcesNearActor(sovietRallyPoint, 5).Where(a => a.Owner == soviets && a.IsIdle);
if (idleSovietUnitsAtRP.Count() >= SovietGroupSize) if (idleSovietUnitsAtRP.Count() >= SovietGroupSize)
{ {

Binary file not shown.