Small map/behaviour adjustments

This commit is contained in:
Scott_NZ
2012-09-22 18:08:43 +12:00
parent deede92fbc
commit 2e2b4d04db
3 changed files with 69 additions and 43 deletions

View File

@@ -138,7 +138,7 @@ namespace OpenRA.Mods.RA.Missions
const int AlliedTownTransferRange = 15; const int AlliedTownTransferRange = 15;
const int SovietTownAttackGroupRange = 5; const int SovietTownAttackGroupRange = 5;
const int SovietTownMoveNearEnough = 5; const int SovietTownMoveNearEnough = 3;
void MissionFailed(string text) void MissionFailed(string text)
{ {
@@ -195,7 +195,7 @@ namespace OpenRA.Mods.RA.Missions
} }
if (world.FrameNumber == HintPowerTicks) if (world.FrameNumber == HintPowerTicks)
{ {
DisplayHint("Destroy the Soviet power stations to stop enemy attacks."); DisplayHint("Destroy the Soviet power stations to stop the attacks on the Allied reinforcements.");
} }
reinforcementsTimer.Tick(); reinforcementsTimer.Tick();
if (world.FrameNumber == ParatroopersTicks) if (world.FrameNumber == ParatroopersTicks)
@@ -258,12 +258,12 @@ namespace OpenRA.Mods.RA.Missions
MissionFailed("Einstein was killed."); MissionFailed("Einstein was killed.");
} }
world.AddFrameEndTask(w => world.AddFrameEndTask(w =>
{
if (!world.FindAliveCombatantActorsInCircle(allies2BasePoint.CenterLocation, 20).Any(a => a.HasTrait<Building>() && !a.HasTrait<Wall>() && a.Owner == allies2))
{ {
if (!world.FindAliveCombatantActorsInCircle(allies2BasePoint.CenterLocation, 20).Any(a => a.HasTrait<Building>() && !a.HasTrait<Wall>() && a.Owner == allies2)) MissionFailed("The Allied reinforcements have been defeated.");
{ }
MissionFailed("The Allied reinforcements have been defeated."); });
}
});
} }
void AddSovietCashIfRequired() void AddSovietCashIfRequired()
@@ -383,7 +383,7 @@ namespace OpenRA.Mods.RA.Missions
void RushSovietFlamers() void RushSovietFlamers()
{ {
var closestAlliedBuilding = ClosestAlliedBuilding(badgerDropPoint, 10); var closestAlliedBuilding = ClosestAlliedBuilding(badgerDropPoint, 40);
if (closestAlliedBuilding == null) if (closestAlliedBuilding == null)
{ {
return; return;

Binary file not shown.

View File

@@ -128,7 +128,7 @@ Actors:
Location: 93,86 Location: 93,86
Owner: Neutral Owner: Neutral
Actor26: v12 Actor26: v12
Location: 74,103 Location: 79,91
Owner: Neutral Owner: Neutral
Actor31: wood Actor31: wood
Location: 63,96 Location: 63,96
@@ -1051,8 +1051,8 @@ Actors:
Actor123: apwr Actor123: apwr
Location: 25,55 Location: 25,55
Owner: Soviets Owner: Soviets
Actor261: apwr Actor240: apwr
Location: 45,17 Location: 46,17
Owner: Soviets Owner: Soviets
Actor124: mine Actor124: mine
Location: 49,25 Location: 49,25
@@ -1608,11 +1608,13 @@ Actors:
Location: 25,91 Location: 25,91
Owner: Allies2 Owner: Allies2
Actor534: 1tnk Actor534: 1tnk
Location: 35,97 Location: 37,90
Owner: Allies2 Owner: Allies2
Actor546: 1tnk Facing: 0
Location: 34,97 Actor398: 1tnk
Location: 36,90
Owner: Allies2 Owner: Allies2
Facing: 0
Actor457: fenc Actor457: fenc
Location: 42,93 Location: 42,93
Owner: Allies2 Owner: Allies2
@@ -1673,44 +1675,41 @@ Actors:
Actor570: t17 Actor570: t17
Location: 18,70 Location: 18,70
Owner: Neutral Owner: Neutral
Actor572: fenc Actor447: fenc
Location: 30,78 Location: 43,76
Owner: Soviets Owner: Soviets
Actor571: t14 Actor571: t14
Location: 26,79 Location: 26,79
Owner: Neutral Owner: Neutral
Actor573: fenc Actor358: fenc
Location: 29,78 Location: 30,78
Owner: Soviets Owner: Soviets
Actor574: fenc Actor409: fenc
Location: 31,77 Location: 43,77
Owner: Soviets Owner: Soviets
Actor575: fenc Actor572: fenc
Location: 32,77 Location: 42,76
Owner: Soviets Owner: Soviets
Actor576: fenc Actor406: fenc
Location: 31,78
Owner: Soviets
Actor577: fenc
Location: 32,76
Owner: Soviets
Actor578: fenc
Location: 33,76
Owner: Soviets
Actor579: fenc
Location: 43,78 Location: 43,78
Owner: Soviets Owner: Soviets
Actor580: fenc Actor405: fenc
Location: 44,78 Location: 45,79
Owner: Soviets Owner: Soviets
Actor581: fenc Actor359: fenc
Location: 42,78 Location: 30,77
Owner: Soviets Owner: Soviets
Actor582: fenc Actor357: fenc
Location: 41,78 Location: 29,78
Owner: Soviets Owner: Soviets
Actor583: fenc Actor360: fenc
Location: 41,77 Location: 30,76
Owner: Soviets
Actor361: fenc
Location: 31,76
Owner: Soviets
Actor261: fenc
Location: 29,79
Owner: Soviets Owner: Soviets
Actor584: tc04 Actor584: tc04
Location: 52,70 Location: 52,70
@@ -2128,9 +2127,6 @@ Actors:
Actor702: e1 Actor702: e1
Location: 74,109 Location: 74,109
Owner: Soviets Owner: Soviets
Actor703: e1
Location: 77,110
Owner: Soviets
Actor704: e1 Actor704: e1
Location: 73,110 Location: 73,110
Owner: Soviets Owner: Soviets
@@ -2248,6 +2244,36 @@ Actors:
Actor40: tran.husk1 Actor40: tran.husk1
Location: 69,87 Location: 69,87
Owner: Allies1 Owner: Allies1
Actor400: fenc
Location: 44,78
Owner: Soviets
Actor399: fenc
Location: 44,79
Owner: Soviets
Actor575: tc05
Location: 17,88
Owner: Neutral
Actor573: 2tnk
Location: 34,92
Owner: Allies2
Facing: 0
Actor577: v06
Location: 75,83
Owner: Neutral
Actor576: tc04
Location: 15,89
Owner: Neutral
Actor574: 2tnk
Location: 35,92
Owner: Allies2
Facing: 0
Actor578: v11
Location: 64,84
Owner: Neutral
Actor546: 1tnk
Location: 38,90
Owner: Allies2
Facing: 0
Smudges: Smudges: