Various fixes to gdi04a
* Remove support for difficulty levels * Fix victory conditions for the enemy player * Adjust difficulty due to the recent balance changes
This commit is contained in:
@@ -1,20 +1,15 @@
|
|||||||
Nod1Template = { {HandOfNod, {"e1", "e1", "e1", "e3", "e3"}} }
|
Nod1Template = { {HandOfNod, {"e1", "e1", "e3", "e3"}} }
|
||||||
Auto1Template = { {HandOfNod, {"e1", "e1", "e3"}} }
|
Auto1Template = { {HandOfNod, {"e1", "e1", "e3"}} }
|
||||||
|
|
||||||
if OpenRA.GetDifficulty() == "Easy" then
|
KillsUntilReinforcements = 12
|
||||||
KillsUntilReinforcements = 8
|
HeliDelay = {83, 137, 211}
|
||||||
HeliDelay = {83, 137, 211}
|
|
||||||
else
|
|
||||||
KillsUntilReinforcements = 16
|
|
||||||
HeliDelay = {57, 89, 123}
|
|
||||||
end
|
|
||||||
|
|
||||||
GDIReinforcements = {"e2", "e2", "e2", "e2"}
|
GDIReinforcements = {"e2", "e2", "e2", "e2"}
|
||||||
GDIReinforcementsWaypoints = {GDIReinforcementsEntry, GDIReinforcementsWP1}
|
GDIReinforcementsWaypoints = {GDIReinforcementsEntry, GDIReinforcementsWP1}
|
||||||
|
|
||||||
NodHelis = {
|
NodHelis = {
|
||||||
{Utils.Seconds(HeliDelay[1]), {NodHeliEntry, NodHeliLZ1}, {"e1", "e3", "e3"}},
|
{Utils.Seconds(HeliDelay[1]), {NodHeliEntry, NodHeliLZ1}, {"e1", "e1", "e3"}},
|
||||||
{Utils.Seconds(HeliDelay[2]), {NodHeliEntry, NodHeliLZ2}, {"e1", "e1", "e1", "e1", "e1"}},
|
{Utils.Seconds(HeliDelay[2]), {NodHeliEntry, NodHeliLZ2}, {"e1", "e1", "e1", "e1"}},
|
||||||
{Utils.Seconds(HeliDelay[3]), {NodHeliEntry, NodHeliLZ3}, {"e1", "e1", "e3"}}
|
{Utils.Seconds(HeliDelay[3]), {NodHeliEntry, NodHeliLZ3}, {"e1", "e1", "e3"}}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,11 +44,7 @@ BuildNod1 = function()
|
|||||||
Production.BuildTeamFromTemplate(nod, Nod1Template, function(team)
|
Production.BuildTeamFromTemplate(nod, Nod1Template, function(team)
|
||||||
Team.Do(team, function(actor)
|
Team.Do(team, function(actor)
|
||||||
if not Actor.IsDead(actor) then
|
if not Actor.IsDead(actor) then
|
||||||
if OpenRA.GetDifficulty() == "Normal" then
|
Actor.OnIdle(actor, Actor.Hunt)
|
||||||
Actor.OnIdle(actor, Actor.Hunt)
|
|
||||||
else
|
|
||||||
Actor.Scatter(actor)
|
|
||||||
end
|
|
||||||
Actor.OnKilled(actor, KillCounter)
|
Actor.OnKilled(actor, KillCounter)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ Options:
|
|||||||
FragileAlliances: False
|
FragileAlliances: False
|
||||||
StartingCash: 0
|
StartingCash: 0
|
||||||
ConfigurableStartingUnits: False
|
ConfigurableStartingUnits: False
|
||||||
Difficulties: Easy,Normal
|
|
||||||
|
|
||||||
Players:
|
Players:
|
||||||
PlayerReference@Nod:
|
PlayerReference@Nod:
|
||||||
@@ -551,6 +550,10 @@ Rules:
|
|||||||
-ConquestVictoryConditions:
|
-ConquestVictoryConditions:
|
||||||
^Infantry:
|
^Infantry:
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
|
^Vehicle:
|
||||||
|
MustBeDestroyed:
|
||||||
|
^Tank:
|
||||||
|
MustBeDestroyed:
|
||||||
CRATE:
|
CRATE:
|
||||||
Crate:
|
Crate:
|
||||||
Lifetime: 9999
|
Lifetime: 9999
|
||||||
|
|||||||
Reference in New Issue
Block a user