Finished Fort LoneStar
Finished Fort LoneStar + Added 2 new Desert maps: -Great Sahara -Suffrage
This commit is contained in:
@@ -20,6 +20,9 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
class FortScript : IWorldLoaded, ITick
|
class FortScript : IWorldLoaded, ITick
|
||||||
{
|
{
|
||||||
Player multi0;
|
Player multi0;
|
||||||
|
Player multi1;
|
||||||
|
Player multi2;
|
||||||
|
Player multi3;
|
||||||
Player soviets;
|
Player soviets;
|
||||||
|
|
||||||
Actor entry1;
|
Actor entry1;
|
||||||
@@ -46,7 +49,7 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
const string ShortEvacuateTemplate = "Wave {0}";
|
const string ShortEvacuateTemplate = "Wave {0}";
|
||||||
static readonly string[] Patrol = { "e1", "e2", "e1" };
|
static readonly string[] Patrol = { "e1", "e2", "e1" };
|
||||||
static readonly string[] Infantry = { "e4", "e1", "e1", "e2", "e1", "e2" };
|
static readonly string[] Infantry = { "e4", "e1", "e1", "e2", "e1", "e2" };
|
||||||
static readonly string[] Vehicles = { "arty", "ftrk", "ftrk", "apc", "apc", };
|
static readonly string[] Vehicles = { "arty", "ftrk", "ftrk", "apc", "apc" };
|
||||||
const string tank = "3tnk";
|
const string tank = "3tnk";
|
||||||
const string v2 = "v2rl";
|
const string v2 = "v2rl";
|
||||||
const string boss = "4tnk";
|
const string boss = "4tnk";
|
||||||
@@ -172,6 +175,8 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
|
|
||||||
public void Tick(Actor self)
|
public void Tick(Actor self)
|
||||||
{
|
{
|
||||||
|
if (multi0.WinState != WinState.Undefined) return;
|
||||||
|
|
||||||
if (world.FrameNumber == patrolAttackFrame)
|
if (world.FrameNumber == patrolAttackFrame)
|
||||||
{
|
{
|
||||||
patrolAttackFrame += patrolattackAtFrameIncrement;
|
patrolAttackFrame += patrolattackAtFrameIncrement;
|
||||||
@@ -341,6 +346,9 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
world = w;
|
world = w;
|
||||||
soviets = w.Players.Single(p => p.InternalName == "Soviets");
|
soviets = w.Players.Single(p => p.InternalName == "Soviets");
|
||||||
multi0 = w.Players.Single(p => p.InternalName == "Multi0");
|
multi0 = w.Players.Single(p => p.InternalName == "Multi0");
|
||||||
|
multi1 = w.Players.SingleOrDefault(p => p.InternalName == "Multi1");
|
||||||
|
multi2 = w.Players.SingleOrDefault(p => p.InternalName == "Multi2");
|
||||||
|
multi3 = w.Players.SingleOrDefault(p => p.InternalName == "Multi3");
|
||||||
patrolAttackFrame = 750;
|
patrolAttackFrame = 750;
|
||||||
patrolattackAtFrameIncrement = 750;
|
patrolattackAtFrameIncrement = 750;
|
||||||
WaveAttackFrame = 500;
|
WaveAttackFrame = 500;
|
||||||
|
|||||||
@@ -314,9 +314,6 @@ Actors:
|
|||||||
Actor42: t16
|
Actor42: t16
|
||||||
Location: 53,19
|
Location: 53,19
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Actor70: t16
|
|
||||||
Location: 20,45
|
|
||||||
Owner: Neutral
|
|
||||||
Actor68: tc05
|
Actor68: tc05
|
||||||
Location: 35,7
|
Location: 35,7
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
@@ -521,6 +518,18 @@ Rules:
|
|||||||
OILB:
|
OILB:
|
||||||
Health:
|
Health:
|
||||||
HP: 3000
|
HP: 3000
|
||||||
|
Armor:
|
||||||
|
Type: Wood
|
||||||
|
Bib:
|
||||||
|
RevealsShroud:
|
||||||
|
Range: 3
|
||||||
|
Capturable:
|
||||||
|
CapturableBar:
|
||||||
|
EngineerRepairable:
|
||||||
|
-MustBeDestroyed:
|
||||||
|
CashTrickler:
|
||||||
|
Period: 250
|
||||||
|
Amount: 50
|
||||||
BARR:
|
BARR:
|
||||||
Buildable:
|
Buildable:
|
||||||
Owner: allies,soviet
|
Owner: allies,soviet
|
||||||
@@ -530,6 +539,7 @@ Rules:
|
|||||||
HP: 1000
|
HP: 1000
|
||||||
Production:
|
Production:
|
||||||
Produces: Defense,Infantry
|
Produces: Defense,Infantry
|
||||||
|
-Sellable:
|
||||||
FTUR:
|
FTUR:
|
||||||
Building:
|
Building:
|
||||||
Power: 0
|
Power: 0
|
||||||
@@ -739,7 +749,6 @@ Rules:
|
|||||||
Hotkey: h
|
Hotkey: h
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 1150
|
Cost: 1150
|
||||||
|
|
||||||
Health:
|
Health:
|
||||||
HP: 700
|
HP: 700
|
||||||
Armor:
|
Armor:
|
||||||
@@ -767,7 +776,7 @@ Rules:
|
|||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: 3TNK.Husk
|
HuskActor: 3TNK.Husk
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 30,30
|
Bounds: 30,30
|
||||||
MECH:
|
MECH:
|
||||||
Buildable:
|
Buildable:
|
||||||
Owner: None
|
Owner: None
|
||||||
@@ -786,11 +795,11 @@ Rules:
|
|||||||
SNIPER:
|
SNIPER:
|
||||||
Inherits: ^Infantry
|
Inherits: ^Infantry
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 300
|
Cost: 200
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Infantry
|
Queue: Infantry
|
||||||
BuildPaletteOrder: 80
|
BuildPaletteOrder: 80
|
||||||
Owner: soviet
|
Owner: soviet, allies
|
||||||
Prerequisites: barr,oilb
|
Prerequisites: barr,oilb
|
||||||
Hotkey: n
|
Hotkey: n
|
||||||
Selectable:
|
Selectable:
|
||||||
@@ -813,7 +822,7 @@ Rules:
|
|||||||
Queue: Infantry
|
Queue: Infantry
|
||||||
BuildPaletteOrder: 60
|
BuildPaletteOrder: 60
|
||||||
Prerequisites: barr,oilb
|
Prerequisites: barr,oilb
|
||||||
Owner: allies, soviets
|
Owner: allies, soviet
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 300
|
Cost: 300
|
||||||
Selectable:
|
Selectable:
|
||||||
@@ -843,7 +852,7 @@ Rules:
|
|||||||
Cost: 600
|
Cost: 600
|
||||||
Health:
|
Health:
|
||||||
HP: 150
|
HP: 150
|
||||||
Armor:
|
Armor:
|
||||||
Type: Light
|
Type: Light
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 10
|
ROT: 10
|
||||||
@@ -918,10 +927,8 @@ Rules:
|
|||||||
AutoTarget:
|
AutoTarget:
|
||||||
V2RL:
|
V2RL:
|
||||||
Inherits: ^Vehicle
|
Inherits: ^Vehicle
|
||||||
Valued:
|
|
||||||
Cost: 700
|
|
||||||
Health:
|
Health:
|
||||||
HP: 150
|
HP: 100
|
||||||
Armor:
|
Armor:
|
||||||
Type: Light
|
Type: Light
|
||||||
Mobile:
|
Mobile:
|
||||||
@@ -1156,7 +1163,7 @@ Weapons:
|
|||||||
High: true
|
High: true
|
||||||
Warhead:
|
Warhead:
|
||||||
Spread: 5
|
Spread: 5
|
||||||
Versus:
|
Versus:
|
||||||
None: 35%
|
None: 35%
|
||||||
Wood: 30%
|
Wood: 30%
|
||||||
Light: 30%
|
Light: 30%
|
||||||
@@ -1166,7 +1173,7 @@ Weapons:
|
|||||||
Damage: 25
|
Damage: 25
|
||||||
SCUD:
|
SCUD:
|
||||||
ROF: 280
|
ROF: 280
|
||||||
Range: 10
|
Range: 7
|
||||||
MinRange: 3
|
MinRange: 3
|
||||||
Report: MISSILE1
|
Report: MISSILE1
|
||||||
Projectile: Bullet
|
Projectile: Bullet
|
||||||
@@ -1181,7 +1188,7 @@ Weapons:
|
|||||||
Angle: .1
|
Angle: .1
|
||||||
Warhead:
|
Warhead:
|
||||||
Spread: 20
|
Spread: 20
|
||||||
Versus:
|
Versus:
|
||||||
None: 100%
|
None: 100%
|
||||||
Wood: 90%
|
Wood: 90%
|
||||||
Light: 80%
|
Light: 80%
|
||||||
|
|||||||
BIN
mods/ra/maps/suffrage.oramap
Normal file
BIN
mods/ra/maps/suffrage.oramap
Normal file
Binary file not shown.
Reference in New Issue
Block a user