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 SovietTownAttackGroupRange = 5;
const int SovietTownMoveNearEnough = 5;
const int SovietTownMoveNearEnough = 3;
void MissionFailed(string text)
{
@@ -195,7 +195,7 @@ namespace OpenRA.Mods.RA.Missions
}
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();
if (world.FrameNumber == ParatroopersTicks)
@@ -258,12 +258,12 @@ namespace OpenRA.Mods.RA.Missions
MissionFailed("Einstein was killed.");
}
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()
@@ -383,7 +383,7 @@ namespace OpenRA.Mods.RA.Missions
void RushSovietFlamers()
{
var closestAlliedBuilding = ClosestAlliedBuilding(badgerDropPoint, 10);
var closestAlliedBuilding = ClosestAlliedBuilding(badgerDropPoint, 40);
if (closestAlliedBuilding == null)
{
return;

Binary file not shown.

View File

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