More shellmap polish. Add another badger paradrop
This commit is contained in:
@@ -44,8 +44,10 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
int coastUnitsLeft;
|
int coastUnitsLeft;
|
||||||
static readonly string[] CoastUnits = { "e1", "e1", "e2", "e3", "e4" };
|
static readonly string[] CoastUnits = { "e1", "e1", "e2", "e3", "e4" };
|
||||||
|
|
||||||
Actor paradropLZ;
|
Actor paradrop1LZ;
|
||||||
Actor paradropEntry;
|
Actor paradrop1Entry;
|
||||||
|
Actor paradrop2LZ;
|
||||||
|
Actor paradrop2Entry;
|
||||||
static readonly string[] ParadropUnits = { "e1", "e1", "e1", "e2", "e2" };
|
static readonly string[] ParadropUnits = { "e1", "e1", "e1", "e2", "e2" };
|
||||||
|
|
||||||
Actor offmapAttackerSpawn1;
|
Actor offmapAttackerSpawn1;
|
||||||
@@ -116,7 +118,10 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (world.FrameNumber == 1)
|
if (world.FrameNumber == 1)
|
||||||
MissionUtils.Paradrop(world, soviets, ParadropUnits, paradropEntry.Location, paradropLZ.Location);
|
{
|
||||||
|
MissionUtils.Paradrop(world, soviets, ParadropUnits, paradrop1Entry.Location, paradrop1LZ.Location);
|
||||||
|
MissionUtils.Paradrop(world, soviets, ParadropUnits, paradrop2Entry.Location, paradrop2LZ.Location);
|
||||||
|
}
|
||||||
|
|
||||||
if (--waitTicks <= 0)
|
if (--waitTicks <= 0)
|
||||||
{
|
{
|
||||||
@@ -136,7 +141,10 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
SendChinookReinforcements(chinook2Entry.Location, chinook2LZ.Location);
|
SendChinookReinforcements(chinook2Entry.Location, chinook2LZ.Location);
|
||||||
}
|
}
|
||||||
if (viewportTargetNumber == 1)
|
if (viewportTargetNumber == 1)
|
||||||
MissionUtils.Paradrop(world, soviets, ParadropUnits, paradropEntry.Location, paradropLZ.Location);
|
{
|
||||||
|
MissionUtils.Paradrop(world, soviets, ParadropUnits, paradrop1Entry.Location, paradrop1LZ.Location);
|
||||||
|
MissionUtils.Paradrop(world, soviets, ParadropUnits, paradrop2Entry.Location, paradrop2LZ.Location);
|
||||||
|
}
|
||||||
if (viewportTargetNumber == 2)
|
if (viewportTargetNumber == 2)
|
||||||
{
|
{
|
||||||
AttackWithHeavyTanks();
|
AttackWithHeavyTanks();
|
||||||
@@ -200,13 +208,7 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
chinook.QueueActivity(new HeliFly(Util.CenterOfCell(lz)));
|
chinook.QueueActivity(new HeliFly(Util.CenterOfCell(lz)));
|
||||||
chinook.QueueActivity(new Turn(0));
|
chinook.QueueActivity(new Turn(0));
|
||||||
chinook.QueueActivity(new HeliLand(false, 0));
|
chinook.QueueActivity(new HeliLand(false, 0));
|
||||||
|
chinook.QueueActivity(new UnloadCargo(true));
|
||||||
foreach (var _ in cargo.Passengers)
|
|
||||||
{
|
|
||||||
chinook.QueueActivity(new UnloadCargo(false));
|
|
||||||
chinook.QueueActivity(new Wait(15));
|
|
||||||
}
|
|
||||||
|
|
||||||
chinook.QueueActivity(new Wait(150));
|
chinook.QueueActivity(new Wait(150));
|
||||||
chinook.QueueActivity(new HeliFly(Util.CenterOfCell(entry)));
|
chinook.QueueActivity(new HeliFly(Util.CenterOfCell(entry)));
|
||||||
chinook.QueueActivity(new RemoveSelf());
|
chinook.QueueActivity(new RemoveSelf());
|
||||||
@@ -225,8 +227,11 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
attackLocation = actors["AttackLocation"];
|
attackLocation = actors["AttackLocation"];
|
||||||
coastWP1 = actors["CoastWP1"];
|
coastWP1 = actors["CoastWP1"];
|
||||||
coastWP2 = actors["CoastWP2"];
|
coastWP2 = actors["CoastWP2"];
|
||||||
paradropLZ = actors["ParadropLZ"];
|
|
||||||
paradropEntry = actors["ParadropEntry"];
|
paradrop1LZ = actors["Paradrop1LZ"];
|
||||||
|
paradrop1Entry = actors["Paradrop1Entry"];
|
||||||
|
paradrop2LZ = actors["Paradrop2LZ"];
|
||||||
|
paradrop2Entry = actors["Paradrop2Entry"];
|
||||||
|
|
||||||
var t1 = actors["ViewportTarget1"];
|
var t1 = actors["ViewportTarget1"];
|
||||||
var t2 = actors["ViewportTarget2"];
|
var t2 = actors["ViewportTarget2"];
|
||||||
|
|||||||
@@ -521,10 +521,10 @@ Actors:
|
|||||||
Actor155: apwr
|
Actor155: apwr
|
||||||
Location: 84,84
|
Location: 84,84
|
||||||
Owner: Allies
|
Owner: Allies
|
||||||
ParadropEntry: waypoint
|
Paradrop1Entry: waypoint
|
||||||
Location: 63,126
|
Location: 63,30
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
ParadropLZ: waypoint
|
Paradrop1LZ: waypoint
|
||||||
Location: 63,88
|
Location: 63,88
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor149: pbox.e1
|
Actor149: pbox.e1
|
||||||
@@ -763,7 +763,7 @@ Actors:
|
|||||||
Owner: Allies
|
Owner: Allies
|
||||||
Facing: 0
|
Facing: 0
|
||||||
HeavyTankSpawn: waypoint
|
HeavyTankSpawn: waypoint
|
||||||
Location: 80,50
|
Location: 80,45
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor216: arty
|
Actor216: arty
|
||||||
Location: 74,71
|
Location: 74,71
|
||||||
@@ -837,6 +837,12 @@ Actors:
|
|||||||
Chinook2Entry: waypoint
|
Chinook2Entry: waypoint
|
||||||
Location: 47,126
|
Location: 47,126
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
|
Paradrop2LZ: waypoint
|
||||||
|
Location: 55,74
|
||||||
|
Owner: Neutral
|
||||||
|
Paradrop2Entry: waypoint
|
||||||
|
Location: 55,22
|
||||||
|
Owner: Neutral
|
||||||
|
|
||||||
Smudges:
|
Smudges:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user