some Nod triggers
This commit is contained in:
@@ -107,8 +107,26 @@ namespace OpenRA.Mods.RA
|
||||
return;
|
||||
|
||||
if (ticks == 0)
|
||||
{
|
||||
SetGunboatPath();
|
||||
|
||||
self.World.AddFrameEndTask(w =>
|
||||
{
|
||||
//Initial Nod reinforcements
|
||||
foreach (var i in new[]{ "e1", "e1" })
|
||||
{
|
||||
var a = self.World.CreateActor(i.ToLowerInvariant(), new TypeDictionary
|
||||
{
|
||||
new OwnerInit( Players["BadGuy"] ),
|
||||
new FacingInit( 0 ),
|
||||
new LocationInit ( Map.Waypoints["nod0"] ),
|
||||
});
|
||||
a.QueueActivity( new Move( Map.Waypoints["nod1"], 2 ) );
|
||||
a.QueueActivity( new Move( Map.Waypoints["nod2"], 2 ) );
|
||||
a.QueueActivity( new Move( Map.Waypoints["nod3"], 2 ) );
|
||||
// Todo: Queue hunt order
|
||||
}
|
||||
});
|
||||
}
|
||||
// GoodGuy win conditions
|
||||
// BadGuy is dead
|
||||
int badcount = self.World.Queries.OwnedBy[Players["BadGuy"]].Count(a => a.IsInWorld && !a.IsDead());
|
||||
|
||||
@@ -1 +1 @@
|
||||
8a67362f59ab8f4ecb9f92abd817304ab0692a52
|
||||
15075d8a67acf81b884fa107850043b342db52b3
|
||||
@@ -8,7 +8,7 @@ Description: Describe your map here
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
PlayerCount: 9
|
||||
PlayerCount: 10
|
||||
|
||||
Tileset: TEMPERAT
|
||||
|
||||
@@ -434,10 +434,10 @@ Actors:
|
||||
|
||||
Waypoints:
|
||||
spawn27: 51,47
|
||||
spawn26: 48,52
|
||||
spawn3: 58,53
|
||||
spawn1: 38,55
|
||||
spawn0: 37,46
|
||||
nod0: 36,39
|
||||
nod1: 37,46
|
||||
nod2: 38,55
|
||||
nod3: 52,52
|
||||
gunboatRight: 61,59
|
||||
gunboatLeft: 35,59
|
||||
lstStart: 54,61
|
||||
@@ -455,3 +455,4 @@ Rules:
|
||||
Gdi01Script:
|
||||
Player:
|
||||
-ConquestVictoryConditions:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user