More script string fixes

This fixes spelling, punctuation and grammar in TD and RA missions.
This commit is contained in:
clemty
2015-06-20 23:22:59 +02:00
parent e7a64ffec4
commit 6b6cf8bb48
12 changed files with 24 additions and 24 deletions

View File

@@ -4,7 +4,7 @@ RequiresMod: cnc
Title: Storm the Beachhead Title: Storm the Beachhead
Description: Use the units provided to protect the Mobile Construction Vehicle. (MCV)\n\nYou should then deploy the MCV by selecting it with a left-click and then right-clicking on it.\n\nThen you can begin to build up a base. Start with a Power Plant.\n\nFinally, search out and destroy all enemy Nod units in the surrounding area. Description: Use the units provided to protect the Mobile Construction Vehicle (MCV).\n\nYou should then deploy the MCV by selecting it with a left-click and then right-clicking on it.\n\nThen you can begin to build up a base. Start with a Power Plant.\n\nFinally, search out and destroy all enemy Nod units in the surrounding area.
Author: Westwood Studios Author: Westwood Studios

View File

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

View File

@@ -59,7 +59,7 @@ WorldLoaded = function()
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed") Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
end) end)
nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops") nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops.")
gdiMainObjective = player.AddPrimaryObjective("Eliminate all Nod forces in the area.") gdiMainObjective = player.AddPrimaryObjective("Eliminate all Nod forces in the area.")
gdiAirSupportObjective = player.AddSecondaryObjective("Destroy the SAM sites to receive air support.") gdiAirSupportObjective = player.AddSecondaryObjective("Destroy the SAM sites to receive air support.")

View File

@@ -88,7 +88,7 @@ WorldLoaded = function()
end) end)
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops.") nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops.")
gdiObjective1 = player.AddPrimaryObjective("Defend the town of Bialystok.") gdiObjective1 = player.AddPrimaryObjective("Defend the town of Białystok.")
gdiObjective2 = player.AddPrimaryObjective("Eliminate all Nod forces in the area.") gdiObjective2 = player.AddPrimaryObjective("Eliminate all Nod forces in the area.")
townAttackTrigger = false townAttackTrigger = false

View File

@@ -281,7 +281,7 @@ WorldLoaded = function()
end) end)
GDIObjective = GDI.AddPrimaryObjective("Eliminate all Nod forces in the area.") GDIObjective = GDI.AddPrimaryObjective("Eliminate all Nod forces in the area.")
NodObjective1 = Nod.AddPrimaryObjective("Kill all civilian which support the GDI.") NodObjective1 = Nod.AddPrimaryObjective("Kill all civilian GDI supporters.")
InsertNodUnits() InsertNodUnits()
end end

View File

@@ -142,7 +142,7 @@ WorldLoaded = function()
end) end)
NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.") NodObjective1 = Nod.AddPrimaryObjective("Steal the GDI nuclear detonator.")
NodObjective2 = Nod.AddSecondaryObjective("Destroy the houses of the GDI supporter \nin the village.") NodObjective2 = Nod.AddSecondaryObjective("Destroy the houses of the GDI supporters\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.")

View File

@@ -70,7 +70,7 @@ SendTrucks = function()
if not ConvoyOnSite then if not ConvoyOnSite then
ConvoyOnSite = true ConvoyOnSite = true
ticked = 0 ticked = 0
ConvoyObjective = player.AddPrimaryObjective("Escort the convoy") ConvoyObjective = player.AddPrimaryObjective("Escort the convoy.")
Media.PlaySpeechNotification(player, "ConvoyApproaching") Media.PlaySpeechNotification(player, "ConvoyApproaching")
Trigger.AfterDelay(DateTime.Seconds(3), function() Trigger.AfterDelay(DateTime.Seconds(3), function()
ConvoyUnharmed = true ConvoyUnharmed = true

View File

@@ -104,7 +104,7 @@ InitObjectives = function()
KillBridges = player.AddPrimaryObjective("Destroy all bridges.") KillBridges = player.AddPrimaryObjective("Destroy all bridges.")
TanyaSurvive = player.AddPrimaryObjective("Tanya must survive.") TanyaSurvive = player.AddPrimaryObjective("Tanya must survive.")
KillUSSR = player.AddSecondaryObjective("Destroy all soviet Oil Pumps.") KillUSSR = player.AddSecondaryObjective("Destroy all Soviet oil pumps.")
FreePrisoners = player.AddSecondaryObjective("Free all Allied soldiers and keep them alive.") FreePrisoners = player.AddSecondaryObjective("Free all Allied soldiers and keep them alive.")
ussr.AddPrimaryObjective("Bridges must not be destroyed.") ussr.AddPrimaryObjective("Bridges must not be destroyed.")

View File

@@ -152,7 +152,7 @@ FreeTanya = function()
Trigger.OnKilled(Tanya, function() ussr.MarkCompletedObjective(ussrObj) end) Trigger.OnKilled(Tanya, function() ussr.MarkCompletedObjective(ussrObj) end)
KillSams = greece.AddPrimaryObjective("Destroy all four SAM Sites that block\nthe extraction helicopter.") KillSams = greece.AddPrimaryObjective("Destroy all four SAM sites that block\nthe extraction helicopter.")
end end
SendSpy = function() SendSpy = function()
@@ -249,10 +249,10 @@ InitObjectives = function()
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective") Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
end) end)
ussrObj = ussr.AddPrimaryObjective("Deny the allies.") ussrObj = ussr.AddPrimaryObjective("Deny the Allies.")
mainObj = greece.AddPrimaryObjective("Rescue Tanya.") mainObj = greece.AddPrimaryObjective("Rescue Tanya.")
KillAll = greece.AddPrimaryObjective("Eliminate all soviet units in this area.") KillAll = greece.AddPrimaryObjective("Eliminate all Soviet units in this area.")
infWarfactory = greece.AddPrimaryObjective("Infiltrate the soviet warfactory") infWarfactory = greece.AddPrimaryObjective("Infiltrate the Soviet warfactory.")
Trigger.OnObjectiveCompleted(greece, function(p, id) Trigger.OnObjectiveCompleted(greece, function(p, id)
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective completed") Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective completed")

View File

@@ -150,7 +150,7 @@ SuperTankDomeInfiltrated = function()
Media.PlaySpeechNotification(player, "ControlCenterDeactivated") Media.PlaySpeechNotification(player, "ControlCenterDeactivated")
Trigger.AfterDelay(DateTime.Seconds(4), function() Trigger.AfterDelay(DateTime.Seconds(4), function()
Media.DisplayMessage("In 3 minutes the super tanks will self destruct.") Media.DisplayMessage("In 3 minutes the super tanks will self-destruct.")
Media.PlaySpeechNotification(player, "WarningThreeMinutesRemaining") Media.PlaySpeechNotification(player, "WarningThreeMinutesRemaining")
end) end)
end) end)
@@ -278,7 +278,7 @@ InitObjectives = function()
end) end)
EliminateSuperTanks = player.AddPrimaryObjective("Eliminate these super tanks.") EliminateSuperTanks = player.AddPrimaryObjective("Eliminate these super tanks.")
CrossRiver = player.AddPrimaryObjective("Find a way to transport your forces to the mainland") CrossRiver = player.AddPrimaryObjective("Find a way to transport your forces to the mainland.")
FindOutpost = player.AddPrimaryObjective("Find our outpost and start repairs on it.") FindOutpost = player.AddPrimaryObjective("Find our outpost and start repairs on it.")
RescueCivilians = player.AddSecondaryObjective("Evacuate all civilians from the hospital.") RescueCivilians = player.AddSecondaryObjective("Evacuate all civilians from the hospital.")
BadGuyObj = badguy.AddPrimaryObjective("Deny the destruction of the super tanks.") BadGuyObj = badguy.AddPrimaryObjective("Deny the destruction of the super tanks.")

View File

@@ -267,7 +267,7 @@ TimerExpired = function()
Reinforcements.Reinforce(allies, FrenchReinforcements, { SovietEntryPoint7.Location, Alliesbase.Location }) Reinforcements.Reinforce(allies, FrenchReinforcements, { SovietEntryPoint7.Location, Alliesbase.Location })
if DestroyObj then if DestroyObj then
KillObj = allies.AddPrimaryObjective("Take control of French reinforcements and\nkill all remaining soviet forces.") KillObj = allies.AddPrimaryObjective("Take control of French reinforcements and\nkill all remaining Soviet forces.")
else else
DestroyObj = allies.AddPrimaryObjective("Take control of French reinforcements and\ndismantle the nearby Soviet base.") DestroyObj = allies.AddPrimaryObjective("Take control of French reinforcements and\ndismantle the nearby Soviet base.")
end end
@@ -302,9 +302,9 @@ InitObjectives = function()
end) end)
SurviveObj = allies.AddPrimaryObjective("Enforce your position and hold-out the onslaught\nuntil reinforcements arrive.") SurviveObj = allies.AddPrimaryObjective("Enforce your position and hold-out the onslaught\nuntil reinforcements arrive.")
KillSams = allies.AddSecondaryObjective("Destroy the two SAM Sites before reinforcements\narrive.") KillSams = allies.AddSecondaryObjective("Destroy the two SAM sites before reinforcements\narrive.")
Media.DisplayMessage("The soviets are blocking our GPS. We need to investigate their new technology.") Media.DisplayMessage("The Soviets are blocking our GPS. We need to investigate their new technology.")
CaptureAirfields = allies.AddSecondaryObjective("Capture and hold the soviet airbase\nin the north east.") CaptureAirfields = allies.AddSecondaryObjective("Capture and hold the Soviet airbase\nin the northeast.")
SovietObj = soviets.AddPrimaryObjective("Eliminate all Allied forces.") SovietObj = soviets.AddPrimaryObjective("Eliminate all Allied forces.")
Trigger.OnObjectiveCompleted(allies, function(p, id) Trigger.OnObjectiveCompleted(allies, function(p, id)
@@ -319,7 +319,7 @@ InitObjectives = function()
end) end)
Trigger.OnPlayerWon(allies, function() Trigger.OnPlayerWon(allies, function()
Media.PlaySpeechNotification(allies, "MissionAccomplished") Media.PlaySpeechNotification(allies, "MissionAccomplished")
Media.DisplayMessage("The French forces have survived and dismantled the soviet presence in the area!") Media.DisplayMessage("The French forces have survived and dismantled the Soviet presence in the area!")
end) end)
end end
@@ -358,7 +358,7 @@ InitMission = function()
Trigger.OnAllKilledOrCaptured(SovietBuildings, function() Trigger.OnAllKilledOrCaptured(SovietBuildings, function()
if DestroyObj then if DestroyObj then
if not soviets.HasNoRequiredUnits() then if not soviets.HasNoRequiredUnits() then
KillObj = allies.AddPrimaryObjective("Kill all remaining soviet forces.") KillObj = allies.AddPrimaryObjective("Kill all remaining Soviet forces.")
end end
allies.MarkCompletedObjective(DestroyObj) allies.MarkCompletedObjective(DestroyObj)
else else

View File

@@ -68,7 +68,7 @@ Tick = function()
if DestroyObj then if DestroyObj then
allies.MarkCompletedObjective(DestroyObj) allies.MarkCompletedObjective(DestroyObj)
else else
DestroyObj = allies.AddPrimaryObjective("Destroy all Soviet forces in the area!") DestroyObj = allies.AddPrimaryObjective("Destroy all Soviet forces in the area.")
allies.MarkCompletedObjective(DestroyObj) allies.MarkCompletedObjective(DestroyObj)
end end
end end
@@ -200,7 +200,7 @@ FinalAttack = function()
Trigger.OnAllKilledOrCaptured(units, function() Trigger.OnAllKilledOrCaptured(units, function()
if not DestroyObj then if not DestroyObj then
Media.DisplayMessage("Excellent work Commander! We have reinforced our position enough to initiate a counter-attack.", "Incoming Report") Media.DisplayMessage("Excellent work Commander! We have reinforced our position enough to initiate a counter-attack.", "Incoming Report")
DestroyObj = allies.AddPrimaryObjective("Destroy the remaining Soviet forces in the area!") DestroyObj = allies.AddPrimaryObjective("Destroy the remaining Soviet forces in the area.")
end end
allies.MarkCompletedObjective(SurviveObj) allies.MarkCompletedObjective(SurviveObj)
end) end)
@@ -239,8 +239,8 @@ SetupBridges = function()
end end
end end
Media.DisplayMessage("Commander! The Soviets destroyed the brigdes to disable our reinforcements. Repair them for additional reinforcements.", "Incoming Report") Media.DisplayMessage("Commander! The Soviets destroyed the bridges to disable our reinforcements. Repair them for additional reinforcements.", "Incoming Report")
RepairBridges = allies.AddSecondaryObjective("Repair the two southern brigdes.") RepairBridges = allies.AddSecondaryObjective("Repair the two southern bridges.")
local bridgeA = Map.ActorsInCircle(BrokenBridge1.CenterPosition, WRange.FromCells(1), function(self) return self.Type == "bridge1" end) local bridgeA = Map.ActorsInCircle(BrokenBridge1.CenterPosition, WRange.FromCells(1), function(self) return self.Type == "bridge1" end)
local bridgeB = Map.ActorsInCircle(BrokenBridge2.CenterPosition, WRange.FromCells(1), function(self) return self.Type == "bridge1" end) local bridgeB = Map.ActorsInCircle(BrokenBridge2.CenterPosition, WRange.FromCells(1), function(self) return self.Type == "bridge1" end)