Don't translate enemy objectives.
This commit is contained in:
committed by
abcdefg30
parent
7cdc8c4ec5
commit
f013a003a0
@@ -25,15 +25,12 @@ kill-creatures = Kill all creatures in the area.
|
||||
## gdi01
|
||||
establish-beachhead = Establish a beachhead.
|
||||
|
||||
## gdi01, gdi02, gdi03, gdi04c, gdi05abc, nod07a, nod08ab, nod09, nod10b
|
||||
## gdi01, gdi02, gdi03, gdi04c, gdi05abc
|
||||
eliminate-nod = Eliminate all Nod forces in the area.
|
||||
|
||||
## gdi02, nod09
|
||||
capture-refinery = Capture the Tiberium refinery.
|
||||
|
||||
## gdi02, gdi04c, gdi05abc
|
||||
destroy-gdi = Destroy all GDI troops.
|
||||
|
||||
## gdi04ab
|
||||
battlefield-control = Battlefield Control
|
||||
apcs-left = APC squads in reserve: { $apcs }
|
||||
@@ -65,9 +62,6 @@ protect-hospital = Protect the Hospital.
|
||||
keep-civilians-alive = Keep at least { $civilians } out of 14 Civilians alive.
|
||||
destroy-nod-bases = Destroy the Nod bases.
|
||||
|
||||
## gdi08ab, gdi09, nod02ab, nod05, nod07c
|
||||
kill-all-enemies = Kill all enemies!
|
||||
|
||||
## gdi09
|
||||
destroy-nod-bunkers = Destroy the Nod bunkers to allow Carter's
|
||||
convoy to pass through safely.
|
||||
@@ -77,7 +71,6 @@ convoy-passed-partly = Part of Carter's convoy passed through!
|
||||
destroy-gdi-troops-area = Destroy all GDI troops in the area.
|
||||
kill-nikoomba = Kill Nikoomba.
|
||||
destroy-village = Destroy the village.
|
||||
eliminate-nod-forces = Eliminate all Nod forces.
|
||||
|
||||
## nod02a
|
||||
destroy-gdi-units = Destroy all GDI units.
|
||||
|
||||
@@ -44,7 +44,7 @@ WorldLoaded = function()
|
||||
|
||||
InitObjectives(GDI)
|
||||
|
||||
NodObjective = AddPrimaryObjective(Nod, "destroy-gdi")
|
||||
NodObjective = AddPrimaryObjective(Nod, "")
|
||||
GDIObjective1 = AddPrimaryObjective(GDI, "eliminate-nod")
|
||||
GDIObjective2 = AddSecondaryObjective(GDI, "capture-refinery")
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ WorldLoaded = function()
|
||||
GDI.MarkFailedObjective(DefendTown)
|
||||
end)
|
||||
|
||||
NodObjective = AddPrimaryObjective(Nod, "destroy-gdi")
|
||||
NodObjective = AddPrimaryObjective(Nod, "")
|
||||
DefendTown = AddPrimaryObjective(GDI, "defend-bialystok")
|
||||
EliminateNod = AddPrimaryObjective(GDI, "eliminate-nod")
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ WorldLoaded = function()
|
||||
|
||||
InitObjectives(GDI)
|
||||
|
||||
NodObjective = AddPrimaryObjective(Nod, "destroy-gdi")
|
||||
NodObjective = AddPrimaryObjective(Nod, "")
|
||||
FindBase = AddPrimaryObjective(GDI, "find-gdi-base")
|
||||
DestroySAMs = AddSecondaryObjective(GDI, "destroy-sams")
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ WorldLoaded = function()
|
||||
|
||||
FindBase = AddPrimaryObjective(GDI, "find-gdi-base")
|
||||
DestroySAMs = AddSecondaryObjective(GDI, "destroy-sams")
|
||||
NodObjective = AddPrimaryObjective(Nod, "destroy-gdi")
|
||||
NodObjective = AddPrimaryObjective(Nod, "")
|
||||
|
||||
Trigger.AfterDelay(Atk1Delay, Atk1TriggerFunction)
|
||||
Trigger.AfterDelay(Atk2Delay, Atk2TriggerFunction)
|
||||
|
||||
@@ -110,7 +110,7 @@ WorldLoaded = function()
|
||||
|
||||
FindBase = AddPrimaryObjective(GDI, "find-gdi-base")
|
||||
DestroySAMs = AddSecondaryObjective(GDI, "destroy-sams")
|
||||
NodObjective = AddPrimaryObjective(Nod, "destroy-gdi")
|
||||
NodObjective = AddPrimaryObjective(Nod, "")
|
||||
|
||||
Utils.Do(ActorRemovals[Difficulty], function(unit)
|
||||
unit.Destroy()
|
||||
|
||||
@@ -97,7 +97,7 @@ WorldLoaded = function()
|
||||
InitObjectives(GDI)
|
||||
|
||||
SecureArea = AddPrimaryObjective(GDI, "destroy-nod-force")
|
||||
KillGDI = AddPrimaryObjective(Nod, "kill-all-enemies")
|
||||
KillGDI = AddPrimaryObjective(Nod, "")
|
||||
|
||||
RepairAssets = AddSecondaryObjective(GDI, "repair-base-vehicles")
|
||||
Trigger.AfterDelay(DateTime.Seconds(5), function() CheckRepairGDIAssetsObjective() end)
|
||||
|
||||
@@ -130,7 +130,7 @@ WorldLoaded = function()
|
||||
|
||||
SecureArea = AddPrimaryObjective(GDI, "destroy-nod-bases")
|
||||
|
||||
KillGDI = AddPrimaryObjective(Nod, "kill-all-enemies")
|
||||
KillGDI = AddPrimaryObjective(Nod, "")
|
||||
|
||||
AirSupport = AddSecondaryObjective(GDI, "destroy-sams")
|
||||
Trigger.OnAllKilled(SamSites, function()
|
||||
|
||||
@@ -129,7 +129,7 @@ WorldLoaded = function()
|
||||
end)
|
||||
|
||||
SecureArea = AddPrimaryObjective(GDI, "destroy-nod-force")
|
||||
KillGDI = AddPrimaryObjective(Nod, "kill-all-enemies")
|
||||
KillGDI = AddPrimaryObjective(Nod, "")
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(5), SendGDIReinforcements)
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ WorldLoaded = function()
|
||||
KillNikoomba = AddPrimaryObjective(Nod, "kill-nikoomba")
|
||||
DestroyVillage = AddPrimaryObjective(Nod, "destroy-village")
|
||||
DestroyGDI = AddSecondaryObjective(Nod, "destroy-gdi-troops-area")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "eliminate-nod-forces")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
|
||||
Trigger.OnKilled(Nikoomba, function()
|
||||
Nod.MarkCompletedObjective(KillNikoomba)
|
||||
|
||||
@@ -31,7 +31,7 @@ WorldLoaded = function()
|
||||
|
||||
InitObjectives(Nod)
|
||||
|
||||
GDIObjective = AddPrimaryObjective(GDI, "kill-all-enemies")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
BuildBase = AddPrimaryObjective(Nod, "build-base")
|
||||
DestroyGDI = AddPrimaryObjective(Nod, "destroy-gdi-units")
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ WorldLoaded = function()
|
||||
|
||||
BuildBase = AddPrimaryObjective(Nod, "build-base")
|
||||
DestroyGDI = AddPrimaryObjective(Nod, "destroy-gdi-base")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "kill-all-enemies")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
|
||||
Utils.Do(Guards, function(actor)
|
||||
Trigger.OnDamaged(actor, function()
|
||||
|
||||
@@ -117,7 +117,7 @@ WorldLoaded = function()
|
||||
local localBuildSAMs = UserInterface.Translate("build-sams", { ["sams"] = SamSiteGoal })
|
||||
BuildSAMObjective = AddPrimaryObjective(Nod, localBuildSAMs)
|
||||
DestroyGDI = AddPrimaryObjective(Nod, "destroy-gdi-base")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "kill-all-enemies")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
|
||||
Trigger.AfterDelay(AirstrikeDelay, SendGDIAirstrike)
|
||||
Trigger.AfterDelay(DateTime.Minutes(1) + DateTime.Seconds(30), SendGDI2Units)
|
||||
|
||||
@@ -177,7 +177,7 @@ WorldLoaded = function()
|
||||
EliminateGDI = AddPrimaryObjective(Nod, "eliminate-gdi-forces")
|
||||
local buildSAMs = UserInterface.Translate("build-sams", { ["sams"] = SamSiteGoal })
|
||||
BuildSAMs = AddPrimaryObjective(Nod, buildSAMs)
|
||||
GDIObjective = AddPrimaryObjective(GDI, "eliminate-nod")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
|
||||
Trigger.OnKilled(GDIProc, function()
|
||||
Actor.Create("moneycrate", true, { Owner = GDI, Location = CPos.New(24, 54) })
|
||||
|
||||
@@ -145,7 +145,7 @@ WorldLoaded = function()
|
||||
NoCaptureObjective = AddPrimaryObjective(Nod, "dont-capture-or-destroy")
|
||||
UseOrcaObjective = AddPrimaryObjective(Nod, "orca-wreak-havoc")
|
||||
DistractGuardsObjective = AddSecondaryObjective(Nod, "distract-guards")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "kill-all-enemies")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
end
|
||||
|
||||
Tick = function()
|
||||
|
||||
@@ -162,7 +162,7 @@ WorldLoaded = function()
|
||||
LocateNodBase = AddPrimaryObjective(Nod, "locate-nod-base")
|
||||
CaptureGDIOutpost = AddPrimaryObjective(Nod, "capture-gdi-outpost")
|
||||
EliminateGDI = AddPrimaryObjective(Nod, "eliminate-gdi-forces")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "eliminate-nod")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
end
|
||||
|
||||
Tick = function()
|
||||
|
||||
@@ -157,7 +157,7 @@ WorldLoaded = function()
|
||||
LocateNodBase = AddPrimaryObjective(Nod, "locate-nod-base")
|
||||
CaptureGDIOutpost = AddPrimaryObjective(Nod, "capture-gdi-outpost")
|
||||
NodObjective3 = AddPrimaryObjective(Nod, "eliminate-gdi-forces")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "eliminate-nod")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
end
|
||||
|
||||
Tick = function()
|
||||
|
||||
@@ -198,7 +198,7 @@ WorldLoaded = function()
|
||||
EliminateGDI = AddPrimaryObjective(Nod, "eliminate-gdi-forces")
|
||||
local buildSAMs = UserInterface.Translate("build-sams", { ["sams"] = SamSiteGoal })
|
||||
BuildSAMs = AddSecondaryObjective(Nod, buildSAMs)
|
||||
GDIObjective = AddPrimaryObjective(GDI, "eliminate-nod")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
end
|
||||
|
||||
Tick = function()
|
||||
|
||||
@@ -52,7 +52,7 @@ WorldLoaded = function()
|
||||
|
||||
InitObjectives(Nod)
|
||||
|
||||
GDIObjective = AddPrimaryObjective(Nod, "eliminate-nod")
|
||||
GDIObjective = AddPrimaryObjective(GDI, "")
|
||||
WarFactoryObjective = AddPrimaryObjective(Nod, "destroy-capture-warfactory")
|
||||
DestroyTanksObjective = AddPrimaryObjective(Nod, "destroy-mammoth-tanks")
|
||||
KeepRamboAliveObjective = AddSecondaryObjective(Nod, "keep-commando-alive")
|
||||
|
||||
Reference in New Issue
Block a user