The Allies 02 Soviet reinforcements at 16 minutes are a bit too insane
This commit is contained in:
@@ -83,8 +83,6 @@ namespace OpenRA.Mods.RA.Missions
|
||||
Actor yakEntryPoint;
|
||||
Actor yakAttackPoint;
|
||||
Actor yak;
|
||||
Actor sovietReinforcementsEntryPoint1;
|
||||
Actor sovietReinforcementsEntryPoint2;
|
||||
|
||||
Actor einsteinChinook;
|
||||
|
||||
@@ -119,13 +117,6 @@ namespace OpenRA.Mods.RA.Missions
|
||||
"mcv",
|
||||
"truk", "truk", "truk", "truk", "truk", "truk"
|
||||
};
|
||||
const int SovietReinforcementsTicks = 1500 * 16;
|
||||
static readonly string[] SovietReinforcements =
|
||||
{
|
||||
"3tnk", "3tnk", "3tnk", "3tnk", "3tnk", "3tnk", "3tnk", "3tnk", "3tnk", "3tnk", "3tnk", "3tnk",
|
||||
"v2rl", "v2rl", "v2rl", "v2rl",
|
||||
"ftrk", "ftrk"
|
||||
};
|
||||
|
||||
const int ParabombTicks = 750;
|
||||
|
||||
@@ -217,10 +208,6 @@ namespace OpenRA.Mods.RA.Missions
|
||||
MissionUtils.Parabomb(world, soviets, badgerEntryPoint2.Location, parabombPoint1.Location);
|
||||
MissionUtils.Parabomb(world, soviets, badgerEntryPoint2.Location + new CVec(0, 3), parabombPoint2.Location);
|
||||
}
|
||||
if (world.FrameNumber == SovietReinforcementsTicks)
|
||||
{
|
||||
SendSovietReinforcements();
|
||||
}
|
||||
if (yak == null || (yak != null && !yak.IsDead() && (yak.GetCurrentActivity() is FlyCircle || yak.IsIdle)))
|
||||
{
|
||||
var alliedUnitsNearYakPoint = world.FindAliveCombatantActorsInCircle(yakAttackPoint.CenterLocation, 10)
|
||||
@@ -440,23 +427,6 @@ namespace OpenRA.Mods.RA.Missions
|
||||
Ui.Root.AddChild(reinforcementsTimerWidget);
|
||||
}
|
||||
|
||||
void SendSovietReinforcements()
|
||||
{
|
||||
foreach (var entryPoint in new[] { sovietReinforcementsEntryPoint1, sovietReinforcementsEntryPoint2 })
|
||||
{
|
||||
foreach (var unit in SovietReinforcements)
|
||||
{
|
||||
var u = world.CreateActor(unit, new TypeDictionary
|
||||
{
|
||||
new LocationInit(entryPoint.Location),
|
||||
new FacingInit(Util.GetFacing(allies2BasePoint.Location - entryPoint.Location, 0)),
|
||||
new OwnerInit(soviets)
|
||||
});
|
||||
u.QueueActivity(new Move.Move(sovietRallyPoint.Location, 3));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ReinforcementsTimerExpired(CountdownTimer countdownTimer)
|
||||
{
|
||||
reinforcementsTimerWidget.Visible = false;
|
||||
@@ -589,8 +559,6 @@ namespace OpenRA.Mods.RA.Missions
|
||||
sovietTownAttackPoint2 = actors["SovietTownAttackPoint2"];
|
||||
yakEntryPoint = actors["YakEntryPoint"];
|
||||
yakAttackPoint = actors["YakAttackPoint"];
|
||||
sovietReinforcementsEntryPoint1 = actors["SovietReinforcementsEntryPoint1"];
|
||||
sovietReinforcementsEntryPoint2 = actors["SovietReinforcementsEntryPoint2"];
|
||||
var shroud = w.WorldActor.Trait<Shroud>();
|
||||
shroud.Explore(w, sam1.Location, 2);
|
||||
shroud.Explore(w, sam2.Location, 2);
|
||||
|
||||
@@ -2594,12 +2594,6 @@ Actors:
|
||||
Actor835: sbag
|
||||
Location: 18,35
|
||||
Owner: Soviets
|
||||
SovietReinforcementsEntryPoint1: waypoint
|
||||
Location: 42,16
|
||||
Owner: Neutral
|
||||
SovietReinforcementsEntryPoint2: waypoint
|
||||
Location: 24,16
|
||||
Owner: Neutral
|
||||
Actor837: dog
|
||||
Location: 36,61
|
||||
Owner: Soviets
|
||||
|
||||
Reference in New Issue
Block a user