adds punctuation to all mission objectives

This commit is contained in:
clemty
2015-06-04 10:20:05 +02:00
parent d7a7dc9219
commit 3bb9f0170a
17 changed files with 51 additions and 51 deletions

View File

@@ -43,7 +43,7 @@ WorldLoaded = function()
dinosaur = Player.GetPlayer("Dinosaur")
civilian = Player.GetPlayer("Civilian")
InvestigateObj = nod.AddPrimaryObjective("Investigate the nearby village for reports of \nstrange activity")
InvestigateObj = nod.AddPrimaryObjective("Investigate the nearby village for reports of \nstrange activity.")
Trigger.OnObjectiveAdded(nod, function(p, id)
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")

View File

@@ -87,8 +87,8 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "Lose")
end)
secureAreaObjective = player.AddPrimaryObjective("Eliminate all Nod forces in the area")
beachheadObjective = player.AddSecondaryObjective("Establish a beachhead")
secureAreaObjective = player.AddPrimaryObjective("Eliminate all Nod forces in the area.")
beachheadObjective = player.AddSecondaryObjective("Establish a beachhead.")
ReinforceWithLandingCraft(MCVReinforcements, lstStart.Location + CVec.New(2, 0), lstEnd.Location + CVec.New(2, 0), mcvTarget.Location)
Reinforce(InfantryReinforcements)

View File

@@ -78,9 +78,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "Lose")
end)
nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops")
gdiObjective1 = player.AddPrimaryObjective("Eliminate all Nod forces in the area")
gdiObjective2 = player.AddSecondaryObjective("Capture the Tiberium Refinery")
nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops.")
gdiObjective1 = player.AddPrimaryObjective("Eliminate all Nod forces in the area.")
gdiObjective2 = player.AddSecondaryObjective("Capture the Tiberium Refinery.")
Trigger.OnCapture(NodRefinery, function() player.MarkCompletedObjective(gdiObjective2) end)
Trigger.OnKilled(NodRefinery, function() player.MarkFailedObjective(gdiObjective2) end)

View File

@@ -60,8 +60,8 @@ WorldLoaded = function()
end)
nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops")
gdiMainObjective = player.AddPrimaryObjective("Eliminate all Nod forces in the area")
gdiAirSupportObjective = player.AddSecondaryObjective("Destroy the SAM sites to receive air support")
gdiMainObjective = player.AddPrimaryObjective("Eliminate all Nod forces in the area.")
gdiAirSupportObjective = player.AddSecondaryObjective("Destroy the SAM sites to receive air support.")
Trigger.OnPlayerLost(player, function()
Media.PlaySpeechNotification(player, "Lose")

View File

@@ -87,9 +87,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "Lose")
end)
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops")
gdiObjective1 = player.AddPrimaryObjective("Defend the town of Bialystok")
gdiObjective2 = player.AddPrimaryObjective("Eliminate all Nod forces in the area")
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops.")
gdiObjective1 = player.AddPrimaryObjective("Defend the town of Bialystok.")
gdiObjective2 = player.AddPrimaryObjective("Eliminate all Nod forces in the area.")
townAttackTrigger = false
Trigger.OnExitedFootprint(TownAttackTrigger, function(a, id)

View File

@@ -132,7 +132,7 @@ DiscoverGdiBase = function(actor, discoverer)
baseDiscovered = true
gdiObjective3 = gdi.AddPrimaryObjective("Eliminate all Nod forces in the area")
gdiObjective3 = gdi.AddPrimaryObjective("Eliminate all Nod forces in the area.")
gdi.MarkCompletedObjective(gdiObjective1)
Attack()
@@ -205,9 +205,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "Win")
end)
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops")
gdiObjective1 = gdi.AddPrimaryObjective("Find the GDI base")
gdiObjective2 = gdi.AddSecondaryObjective("Destroy all SAM sites to receive air support")
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops.")
gdiObjective1 = gdi.AddPrimaryObjective("Find the GDI base.")
gdiObjective2 = gdi.AddSecondaryObjective("Destroy all SAM sites to receive air support.")
SetupWorld()

View File

@@ -74,7 +74,7 @@ DiscoverGdiBase = function(actor, discoverer)
baseDiscovered = true
gdiObjective3 = gdi.AddPrimaryObjective("Eliminate all Nod forces in the area")
gdiObjective3 = gdi.AddPrimaryObjective("Eliminate all Nod forces in the area.")
gdi.MarkCompletedObjective(gdiObjective1)
end
@@ -150,9 +150,9 @@ WorldLoaded = function()
end
end)
gdiObjective1 = gdi.AddPrimaryObjective("Find the GDI base")
gdiObjective2 = gdi.AddSecondaryObjective("Destroy all SAM sites to receive air support")
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops")
gdiObjective1 = gdi.AddPrimaryObjective("Find the GDI base.")
gdiObjective2 = gdi.AddSecondaryObjective("Destroy all SAM sites to receive air support.")
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops.")
Trigger.AfterDelay(Atk1Delay, Atk1TriggerFunction)
Trigger.AfterDelay(Atk2Delay, Atk2TriggerFunction)

View File

@@ -54,10 +54,10 @@ WorldLoaded = function()
Media.PlaySpeechNotification(nod, "Lose")
end)
NodObjective1 = nod.AddPrimaryObjective("Kill Nikoomba")
NodObjective2 = nod.AddPrimaryObjective("Destroy the village")
NodObjective3 = nod.AddSecondaryObjective("Destroy all GDI troops in the area")
GDIObjective1 = gdi.AddPrimaryObjective("Eliminate all Nod forces")
NodObjective1 = nod.AddPrimaryObjective("Kill Nikoomba.")
NodObjective2 = nod.AddPrimaryObjective("Destroy the village.")
NodObjective3 = nod.AddSecondaryObjective("Destroy all GDI troops in the area.")
GDIObjective1 = gdi.AddPrimaryObjective("Eliminate all Nod forces.")
Trigger.OnKilled(Nikoomba, function()
nod.MarkCompletedObjective(NodObjective1)

View File

@@ -182,9 +182,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(Nod, "Lose")
end)
NodObjective1 = Nod.AddPrimaryObjective("Build a base")
NodObjective2 = Nod.AddPrimaryObjective("Destroy the GDI base")
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies!")
NodObjective1 = Nod.AddPrimaryObjective("Build a base.")
NodObjective2 = Nod.AddPrimaryObjective("Destroy the GDI base.")
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies.")
OnAnyDamaged(Atk3ActorTriggerActivator, Atk3TriggerFunction)
Trigger.OnAllRemovedFromWorld(DfndActorTriggerActivator, DfndTriggerFunction)

View File

@@ -120,9 +120,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(Nod, "Lose")
end)
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies!")
NodObjective1 = Nod.AddPrimaryObjective("Build a base!")
NodObjective2 = Nod.AddPrimaryObjective("Destroy all GDI units!")
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies.")
NodObjective1 = Nod.AddPrimaryObjective("Build a base.")
NodObjective2 = Nod.AddPrimaryObjective("Destroy all GDI units.")
OnAnyDamaged(Grd2ActorTriggerActivator, Grd2TriggerFunction)
Trigger.AfterDelay(Atk8TriggerFunctionTime, Atk8TriggerFunction)

View File

@@ -37,9 +37,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "Lose")
end)
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area")
nodObjective1 = player.AddPrimaryObjective("Capture the prison")
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces")
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area.")
nodObjective1 = player.AddPrimaryObjective("Capture the prison.")
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces.")
Trigger.OnCapture(TechCenter, function()
Trigger.AfterDelay(DateTime.Seconds(2), function()

View File

@@ -53,9 +53,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "Lose")
end)
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area")
nodObjective1 = player.AddPrimaryObjective("Capture the prison")
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces")
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area.")
nodObjective1 = player.AddPrimaryObjective("Capture the prison.")
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces.")
Trigger.OnKilled(TechCenter, function() player.MarkFailedObjective(nodObjective1) end)
Trigger.OnCapture(TechCenter, function()

View File

@@ -137,8 +137,8 @@ WorldLoaded = function()
Media.PlaySpeechNotification(Nod, "Lose")
end)
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies!")
NodObjective1 = Nod.AddPrimaryObjective("Destroy the village and kill all civilians!")
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies.")
NodObjective1 = Nod.AddPrimaryObjective("Destroy the village and kill all civilians.")
NodObjective2 = Nod.AddSecondaryObjective("Kill all GDI units in the area.")
InsertNodUnits()

View File

@@ -188,9 +188,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(Nod, "Lose")
end)
NodObjective1 = Nod.AddPrimaryObjective("Build 3 SAMs")
NodObjective2 = Nod.AddPrimaryObjective("Destroy the GDI base")
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies!")
NodObjective1 = Nod.AddPrimaryObjective("Build 3 SAMs.")
NodObjective2 = Nod.AddPrimaryObjective("Destroy the GDI base.")
GDIObjective = GDI.AddPrimaryObjective("Kill all enemies.")
Trigger.AfterDelay(AirstrikeDelay, SendGDIAirstrike)
Trigger.AfterDelay(YyyyTriggerFunctionTime, YyyyTriggerFunction)

View File

@@ -141,10 +141,10 @@ WorldLoaded = function()
Media.PlaySpeechNotification(Nod, "Lose")
end)
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator")
NodObjective2 = Nod.AddSecondaryObjective("Destroy the houses of the GDI supporter \nin the village")
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.")
NodObjective2 = Nod.AddSecondaryObjective("Destroy the houses of the GDI supporter \nin the village.")
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator")
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
InsertNodUnits()
@@ -182,7 +182,7 @@ WorldLoaded = function()
Trigger.OnEnteredFootprint(Win1CellTriggerActivator, function(a, id)
if a.Owner == Nod then
NodObjective3 = Nod.AddPrimaryObjective("Move to the evacuation point")
NodObjective3 = Nod.AddPrimaryObjective("Move to the evacuation point.")
Nod.MarkCompletedObjective(NodObjective1)
Trigger.RemoveFootprintTrigger(id)
end

View File

@@ -27,7 +27,7 @@ HuntTriggerFunction = function()
end
Win1TriggerFunction = function()
NodObjective2 = Nod.AddPrimaryObjective("Move to the evacuation point")
NodObjective2 = Nod.AddPrimaryObjective("Move to the evacuation point.")
Nod.MarkCompletedObjective(NodObjective1)
end
@@ -119,8 +119,8 @@ WorldLoaded = function()
Media.PlaySpeechNotification(Nod, "Lose")
end)
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator")
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator")
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.")
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
InsertNodUnits()

View File

@@ -105,9 +105,9 @@ WorldLoaded = function()
Media.PlaySpeechNotification(Nod, "Lose")
end)
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI Nuclear detonator")
NodObjective3 = Nod.AddSecondaryObjective("Infiltrate the barracks, weapon factory and \nthe construction yard")
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator")
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.")
NodObjective3 = Nod.AddSecondaryObjective("Infiltrate the barracks, weapon factory and \nthe construction yard.")
GDIObjective = GDI.AddPrimaryObjective("Stop the Nod taskforce from escaping with the detonator.")
InsertNodUnits()
@@ -131,7 +131,7 @@ WorldLoaded = function()
Trigger.OnEnteredFootprint(Win1CellTriggerActivator, function(a, id)
if a.Owner == Nod then
NodObjective2 = Nod.AddPrimaryObjective("Move to the evacuation point")
NodObjective2 = Nod.AddPrimaryObjective("Move to the evacuation point.")
Nod.MarkCompletedObjective(NodObjective1)
Trigger.RemoveFootprintTrigger(id)
end