Rename Evacuees player to Allies. Make AA gun buildable.

This commit is contained in:
Scott_NZ
2012-11-03 01:44:01 +13:00
parent c634867cdd
commit b2c5f488a7
2 changed files with 33 additions and 37 deletions

View File

@@ -45,7 +45,7 @@ namespace OpenRA.Mods.RA.Missions
World world; World world;
Player allies1; Player allies1;
Player allies2; Player allies2;
Player evacuees; Player allies;
Player soviets; Player soviets;
Actor exit1TopLeft; Actor exit1TopLeft;
@@ -238,7 +238,7 @@ namespace OpenRA.Mods.RA.Missions
foreach (var unit in units) foreach (var unit in units)
{ {
unit.CancelActivity(); unit.CancelActivity();
unit.ChangeOwner(evacuees); unit.ChangeOwner(allies);
unit.QueueActivity(new Move.Move(exit)); unit.QueueActivity(new Move.Move(exit));
unit.QueueActivity(new CallFunc(() => { unitsEvacuated++; UpdateUnitsEvacuated(); })); unit.QueueActivity(new CallFunc(() => { unitsEvacuated++; UpdateUnitsEvacuated(); }));
unit.QueueActivity(new RemoveSelf()); unit.QueueActivity(new RemoveSelf());
@@ -256,7 +256,7 @@ namespace OpenRA.Mods.RA.Missions
attackAtFrame = 500; attackAtFrame = 500;
attackAtFrameIncrement = 500; attackAtFrameIncrement = 500;
} }
evacuees = w.Players.Single(p => p.InternalName == "Evacuees"); allies = w.Players.Single(p => p.InternalName == "Allies");
soviets = w.Players.Single(p => p.InternalName == "Soviets"); soviets = w.Players.Single(p => p.InternalName == "Soviets");
var actors = w.WorldActor.Trait<SpawnMapActors>().Actors; var actors = w.WorldActor.Trait<SpawnMapActors>().Actors;
exit1TopLeft = actors["Exit1TopLeft"]; exit1TopLeft = actors["Exit1TopLeft"];

View File

@@ -36,7 +36,7 @@ Players:
ColorRamp: 153,240,130,10 ColorRamp: 153,240,130,10
LockSpawn: True LockSpawn: True
LockTeam: True LockTeam: True
Allies: Allies2,Evacuees Allies: Allies2,Allies
Enemies: Soviets Enemies: Soviets
PlayerReference@Allies2: PlayerReference@Allies2:
Name: Allies2 Name: Allies2
@@ -48,11 +48,10 @@ Players:
ColorRamp: 115,240,130,10 ColorRamp: 115,240,130,10
LockSpawn: True LockSpawn: True
LockTeam: True LockTeam: True
Allies: Allies1,Evacuees Allies: Allies1,Allies
Enemies: Soviets Enemies: Soviets
PlayerReference@Evacuees: PlayerReference@Allies:
Name: Evacuees Name: Allies
NonCombatant: True
Race: allies Race: allies
ColorRamp: 80,240,130,10 ColorRamp: 80,240,130,10
Allies: Allies1,Allies2 Allies: Allies1,Allies2
@@ -61,7 +60,7 @@ Players:
Name: Soviets Name: Soviets
Race: soviet Race: soviet
ColorRamp: 0,255,128,10 ColorRamp: 0,255,128,10
Enemies: Allies1,Allies2,Evacuees Enemies: Allies1,Allies2,Allies
Actors: Actors:
Actor11: t05 Actor11: t05
@@ -333,7 +332,7 @@ Actors:
Owner: Neutral Owner: Neutral
Actor48: fenc Actor48: fenc
Location: 29,27 Location: 29,27
Owner: Evacuees Owner: Allies
Actor130: t02 Actor130: t02
Location: 28,16 Location: 28,16
Owner: Neutral Owner: Neutral
@@ -600,7 +599,7 @@ Actors:
Owner: Neutral Owner: Neutral
Actor8: e1 Actor8: e1
Location: 26,46 Location: 26,46
Owner: Evacuees Owner: Allies
Actor264: t02 Actor264: t02
Location: 127,17 Location: 127,17
Owner: Neutral Owner: Neutral
@@ -921,67 +920,67 @@ Actors:
Owner: Neutral Owner: Neutral
Actor7: e1 Actor7: e1
Location: 27,50 Location: 27,50
Owner: Evacuees Owner: Allies
Actor5: gun Actor5: gun
Location: 28,51 Location: 28,51
Owner: Evacuees Owner: Allies
Actor6: gun Actor6: gun
Location: 28,44 Location: 28,44
Owner: Evacuees Owner: Allies
Actor47: powr Actor47: powr
Location: 3,37 Location: 3,37
Owner: Evacuees Owner: Allies
Actor45: 2tnk Actor45: 2tnk
Location: 28,28 Location: 28,28
Owner: Evacuees Owner: Allies
Actor35: gun Actor35: gun
Location: 29,29 Location: 29,29
Owner: Evacuees Owner: Allies
Actor24: gun Actor24: gun
Location: 25,30 Location: 25,30
Owner: Evacuees Owner: Allies
Actor41: e1 Actor41: e1
Location: 30,28 Location: 30,28
Owner: Evacuees Owner: Allies
Actor4: jeep Actor4: jeep
Location: 27,45 Location: 27,45
Owner: Evacuees Owner: Allies
Actor40: e1 Actor40: e1
Location: 24,30 Location: 24,30
Owner: Evacuees Owner: Allies
Actor46: powr Actor46: powr
Location: 1,37 Location: 1,37
Owner: Evacuees Owner: Allies
Actor49: fenc Actor49: fenc
Location: 28,27 Location: 28,27
Owner: Evacuees Owner: Allies
Actor50: fenc Actor50: fenc
Location: 27,27 Location: 27,27
Owner: Evacuees Owner: Allies
Actor122: fenc Actor122: fenc
Location: 30,27 Location: 30,27
Owner: Evacuees Owner: Allies
Actor124: fenc Actor124: fenc
Location: 31,27 Location: 31,27
Owner: Evacuees Owner: Allies
Actor125: fenc Actor125: fenc
Location: 32,27 Location: 32,27
Owner: Evacuees Owner: Allies
Actor126: fenc Actor126: fenc
Location: 32,25 Location: 32,25
Owner: Evacuees Owner: Allies
Actor128: fenc Actor128: fenc
Location: 32,26 Location: 32,26
Owner: Evacuees Owner: Allies
Actor129: fenc Actor129: fenc
Location: 33,25 Location: 33,25
Owner: Evacuees Owner: Allies
Actor145: fenc Actor145: fenc
Location: 34,25 Location: 34,25
Owner: Evacuees Owner: Allies
Actor146: fenc Actor146: fenc
Location: 35,25 Location: 35,25
Owner: Evacuees Owner: Allies
Allies1MovePoint: waypoint Allies1MovePoint: waypoint
Location: 149,24 Location: 149,24
Owner: Neutral Owner: Neutral
@@ -1086,10 +1085,10 @@ Actors:
Owner: Neutral Owner: Neutral
Actor168: powr Actor168: powr
Location: 1,34 Location: 1,34
Owner: Evacuees Owner: Allies
Actor183: powr Actor183: powr
Location: 3,34 Location: 3,34
Owner: Evacuees Owner: Allies
Smudges: Smudges:
@@ -1160,9 +1159,6 @@ Rules:
TSLA: TSLA:
Buildable: Buildable:
Owner: None Owner: None
AGUN:
Buildable:
Owner: None
FTUR: FTUR:
Buildable: Buildable:
Owner: None Owner: None