More script string fixes
This fixes spelling, punctuation and grammar in TD and RA missions.
This commit is contained in:
@@ -4,7 +4,7 @@ RequiresMod: cnc
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ WorldLoaded = function()
|
||||
|
||||
nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops.")
|
||||
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.OnKilled(NodRefinery, function() player.MarkFailedObjective(gdiObjective2) end)
|
||||
|
||||
@@ -59,7 +59,7 @@ WorldLoaded = function()
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
|
||||
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.")
|
||||
gdiAirSupportObjective = player.AddSecondaryObjective("Destroy the SAM sites to receive air support.")
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ WorldLoaded = function()
|
||||
end)
|
||||
|
||||
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.")
|
||||
|
||||
townAttackTrigger = false
|
||||
|
||||
@@ -281,7 +281,7 @@ WorldLoaded = function()
|
||||
end)
|
||||
|
||||
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()
|
||||
end
|
||||
|
||||
@@ -142,7 +142,7 @@ WorldLoaded = function()
|
||||
end)
|
||||
|
||||
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.")
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ SendTrucks = function()
|
||||
if not ConvoyOnSite then
|
||||
ConvoyOnSite = true
|
||||
ticked = 0
|
||||
ConvoyObjective = player.AddPrimaryObjective("Escort the convoy")
|
||||
ConvoyObjective = player.AddPrimaryObjective("Escort the convoy.")
|
||||
Media.PlaySpeechNotification(player, "ConvoyApproaching")
|
||||
Trigger.AfterDelay(DateTime.Seconds(3), function()
|
||||
ConvoyUnharmed = true
|
||||
|
||||
@@ -104,7 +104,7 @@ InitObjectives = function()
|
||||
|
||||
KillBridges = player.AddPrimaryObjective("Destroy all bridges.")
|
||||
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.")
|
||||
ussr.AddPrimaryObjective("Bridges must not be destroyed.")
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ FreeTanya = function()
|
||||
|
||||
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
|
||||
|
||||
SendSpy = function()
|
||||
@@ -249,10 +249,10 @@ InitObjectives = function()
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||
end)
|
||||
|
||||
ussrObj = ussr.AddPrimaryObjective("Deny the allies.")
|
||||
ussrObj = ussr.AddPrimaryObjective("Deny the Allies.")
|
||||
mainObj = greece.AddPrimaryObjective("Rescue Tanya.")
|
||||
KillAll = greece.AddPrimaryObjective("Eliminate all soviet units in this area.")
|
||||
infWarfactory = greece.AddPrimaryObjective("Infiltrate the soviet warfactory")
|
||||
KillAll = greece.AddPrimaryObjective("Eliminate all Soviet units in this area.")
|
||||
infWarfactory = greece.AddPrimaryObjective("Infiltrate the Soviet warfactory.")
|
||||
|
||||
Trigger.OnObjectiveCompleted(greece, function(p, id)
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective completed")
|
||||
|
||||
@@ -150,7 +150,7 @@ SuperTankDomeInfiltrated = function()
|
||||
Media.PlaySpeechNotification(player, "ControlCenterDeactivated")
|
||||
|
||||
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")
|
||||
end)
|
||||
end)
|
||||
@@ -278,7 +278,7 @@ InitObjectives = function()
|
||||
end)
|
||||
|
||||
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.")
|
||||
RescueCivilians = player.AddSecondaryObjective("Evacuate all civilians from the hospital.")
|
||||
BadGuyObj = badguy.AddPrimaryObjective("Deny the destruction of the super tanks.")
|
||||
|
||||
@@ -267,7 +267,7 @@ TimerExpired = function()
|
||||
Reinforcements.Reinforce(allies, FrenchReinforcements, { SovietEntryPoint7.Location, Alliesbase.Location })
|
||||
|
||||
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
|
||||
DestroyObj = allies.AddPrimaryObjective("Take control of French reinforcements and\ndismantle the nearby Soviet base.")
|
||||
end
|
||||
@@ -302,9 +302,9 @@ InitObjectives = function()
|
||||
end)
|
||||
|
||||
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.")
|
||||
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.")
|
||||
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.")
|
||||
CaptureAirfields = allies.AddSecondaryObjective("Capture and hold the Soviet airbase\nin the northeast.")
|
||||
SovietObj = soviets.AddPrimaryObjective("Eliminate all Allied forces.")
|
||||
|
||||
Trigger.OnObjectiveCompleted(allies, function(p, id)
|
||||
@@ -319,7 +319,7 @@ InitObjectives = function()
|
||||
end)
|
||||
Trigger.OnPlayerWon(allies, function()
|
||||
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
|
||||
|
||||
@@ -358,7 +358,7 @@ InitMission = function()
|
||||
Trigger.OnAllKilledOrCaptured(SovietBuildings, function()
|
||||
if DestroyObj then
|
||||
if not soviets.HasNoRequiredUnits() then
|
||||
KillObj = allies.AddPrimaryObjective("Kill all remaining soviet forces.")
|
||||
KillObj = allies.AddPrimaryObjective("Kill all remaining Soviet forces.")
|
||||
end
|
||||
allies.MarkCompletedObjective(DestroyObj)
|
||||
else
|
||||
|
||||
@@ -68,7 +68,7 @@ Tick = function()
|
||||
if DestroyObj then
|
||||
allies.MarkCompletedObjective(DestroyObj)
|
||||
else
|
||||
DestroyObj = allies.AddPrimaryObjective("Destroy all Soviet forces in the area!")
|
||||
DestroyObj = allies.AddPrimaryObjective("Destroy all Soviet forces in the area.")
|
||||
allies.MarkCompletedObjective(DestroyObj)
|
||||
end
|
||||
end
|
||||
@@ -200,7 +200,7 @@ FinalAttack = function()
|
||||
Trigger.OnAllKilledOrCaptured(units, function()
|
||||
if not DestroyObj then
|
||||
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
|
||||
allies.MarkCompletedObjective(SurviveObj)
|
||||
end)
|
||||
@@ -239,8 +239,8 @@ SetupBridges = function()
|
||||
end
|
||||
end
|
||||
|
||||
Media.DisplayMessage("Commander! The Soviets destroyed the brigdes to disable our reinforcements. Repair them for additional reinforcements.", "Incoming Report")
|
||||
RepairBridges = allies.AddSecondaryObjective("Repair the two southern brigdes.")
|
||||
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 bridges.")
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user