Update missions for yaml-defined FMV playback
This commit is contained in:
@@ -83,26 +83,18 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(25, function()
|
|
||||||
Media.PlayMovieFullscreen("consyard.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(25, function()
|
|
||||||
Media.PlayMovieFullscreen("gameover.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("landing.vqa", 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("Establish a beachhead")
|
||||||
gdiObjective2 = player.AddSecondaryObjective("Establish a beachhead")
|
|
||||||
|
ReinforceWithLandingCraft(MCVReinforcements, lstStart.Location + CVec.New(2, 0), lstEnd.Location + CVec.New(2, 0), mcvTarget.Location)
|
||||||
ReinforceWithLandingCraft(MCVReinforcements, lstStart.Location + CVec.New(2, 0), lstEnd.Location + CVec.New(2, 0), mcvTarget.Location)
|
Reinforce(InfantryReinforcements)
|
||||||
Reinforce(InfantryReinforcements)
|
|
||||||
end)
|
|
||||||
|
|
||||||
Trigger.OnIdle(Gunboat, function() SetGunboatPath(Gunboat) end)
|
Trigger.OnIdle(Gunboat, function() SetGunboatPath(Gunboat) end)
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: Use the units provided to protect the Mobile Construction Vehicle.
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: gdi1.vqa
|
|
||||||
|
|
||||||
Tileset: TEMPERAT
|
Tileset: TEMPERAT
|
||||||
|
|
||||||
MapSize: 64,64
|
MapSize: 64,64
|
||||||
@@ -22,6 +20,12 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: gdi1.vqa
|
||||||
|
GameStart: landing.vqa
|
||||||
|
GameWon: consyard.vqa
|
||||||
|
GameLost: gameover.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -72,16 +72,10 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("flag.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("gameover.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops")
|
nodObjective = enemy.AddPrimaryObjective("Destroy all GDI troops")
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: Defend your position, deploy the MCV, then build a sizable force to
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: gdi2.vqa
|
|
||||||
|
|
||||||
Tileset: TEMPERAT
|
Tileset: TEMPERAT
|
||||||
|
|
||||||
MapSize: 64,64
|
MapSize: 64,64
|
||||||
@@ -22,6 +20,11 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: gdi2.vqa
|
||||||
|
GameWon: flag.vqa
|
||||||
|
GameLost: gameover.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -59,24 +59,16 @@ WorldLoaded = function()
|
|||||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
|
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("samdie.vqa", function()
|
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")
|
|
||||||
end)
|
|
||||||
|
|
||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("gameover.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("bombaway.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnAllKilled(SamSites, function()
|
Trigger.OnAllKilled(SamSites, function()
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: Build up forces to destroy Nod base.\n\nOnce all Nod SAM sites are
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: gdi3.vqa
|
|
||||||
|
|
||||||
Tileset: TEMPERAT
|
Tileset: TEMPERAT
|
||||||
|
|
||||||
MapSize: 64,64
|
MapSize: 64,64
|
||||||
@@ -22,6 +20,12 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: gdi3.vqa
|
||||||
|
GameStart: samdie.vqa
|
||||||
|
GameWon: bombaway.vqa
|
||||||
|
GameLost: gameover.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -121,26 +121,16 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerWon(gdi, function()
|
Trigger.OnPlayerWon(gdi, function()
|
||||||
Media.PlaySpeechNotification(gdi, "Win")
|
Media.PlaySpeechNotification(gdi, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("burdet1.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(gdi, function()
|
Trigger.OnPlayerLost(gdi, function()
|
||||||
Media.PlaySpeechNotification(gdi, "Lose")
|
Media.PlaySpeechNotification(gdi, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("gameover.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("bkground.vqa", function()
|
gdiObjective = gdi.AddPrimaryObjective("Retrieve the crate with the stolen rods.")
|
||||||
Media.PlayMovieFullscreen("nitejump.vqa", function()
|
reinforcementsObjective = gdi.AddSecondaryObjective("Eliminate " .. KillsUntilReinforcements .. " Nod units for reinforcements.")
|
||||||
gdiObjective = gdi.AddPrimaryObjective("Retrieve the crate with the stolen rods.")
|
nod.AddPrimaryObjective("Defend against the GDI forces.")
|
||||||
reinforcementsObjective = gdi.AddSecondaryObjective("Eliminate " .. KillsUntilReinforcements .. " Nod units for reinforcements.")
|
|
||||||
nod.AddPrimaryObjective("Defend against the GDI forces.")
|
|
||||||
end)
|
|
||||||
end)
|
|
||||||
|
|
||||||
BuildNod1()
|
BuildNod1()
|
||||||
Utils.Do(NodHelis, function(heli)
|
Utils.Do(NodHelis, function(heli)
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: Nod has captured classified GDI property.\n\nYou must find and retr
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: gdi4b.vqa
|
|
||||||
|
|
||||||
Tileset: TEMPERAT
|
Tileset: TEMPERAT
|
||||||
|
|
||||||
MapSize: 64,64
|
MapSize: 64,64
|
||||||
@@ -22,6 +20,13 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
BackgroundInfo: bkground.vqa
|
||||||
|
Briefing: gdi4b.vqa
|
||||||
|
GameStart: nitejump.vqa
|
||||||
|
GameWon: burdet1.vqa
|
||||||
|
GameLost: gameover.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Cheats: False
|
Cheats: False
|
||||||
Crates: False
|
Crates: False
|
||||||
|
|||||||
@@ -126,25 +126,15 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerWon(gdi, function()
|
Trigger.OnPlayerWon(gdi, function()
|
||||||
Media.PlaySpeechNotification(gdi, "Win")
|
Media.PlaySpeechNotification(gdi, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("burdet1.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(gdi, function()
|
Trigger.OnPlayerLost(gdi, function()
|
||||||
Media.PlaySpeechNotification(gdi, "Lose")
|
Media.PlaySpeechNotification(gdi, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("gameover.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("bkground.vqa", function()
|
gdiObjective = gdi.AddPrimaryObjective("Retrieve the crate with the stolen rods.")
|
||||||
Media.PlayMovieFullscreen("nitejump.vqa", function()
|
reinforcementsObjective = gdi.AddSecondaryObjective("Eliminate " .. KillsUntilReinforcements .. " Nod units for reinforcements.")
|
||||||
gdiObjective = gdi.AddPrimaryObjective("Retrieve the crate with the stolen rods.")
|
nod.AddPrimaryObjective("Defend against the GDI forces.")
|
||||||
reinforcementsObjective = gdi.AddSecondaryObjective("Eliminate " .. KillsUntilReinforcements .. " Nod units for reinforcements.")
|
|
||||||
nod.AddPrimaryObjective("Defend against the GDI forces.")
|
|
||||||
end)
|
|
||||||
end)
|
|
||||||
|
|
||||||
SetupWorld()
|
SetupWorld()
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: Nod has captured classified GDI property.\n\nYou must find and retr
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: gdi4b.vqa
|
|
||||||
|
|
||||||
Tileset: TEMPERAT
|
Tileset: TEMPERAT
|
||||||
|
|
||||||
MapSize: 64,64
|
MapSize: 64,64
|
||||||
@@ -22,6 +20,13 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
BackgroundInfo: bkground.vqa
|
||||||
|
Briefing: gdi4b.vqa
|
||||||
|
GameStart: nitejump.vqa
|
||||||
|
GameWon: burdet1.vqa
|
||||||
|
GameLost: gameover.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -81,25 +81,15 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("burdet1.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("gameover.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("bkground.vqa", function()
|
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops")
|
||||||
Media.PlayMovieFullscreen("nodsweep.vqa", function()
|
gdiObjective1 = player.AddPrimaryObjective("Defend the town of Bialystok")
|
||||||
nodObjective = nod.AddPrimaryObjective("Destroy all GDI troops")
|
gdiObjective2 = player.AddPrimaryObjective("Eliminate all Nod forces in the area")
|
||||||
gdiObjective1 = player.AddPrimaryObjective("Defend the town of Bialystok")
|
|
||||||
gdiObjective2 = player.AddPrimaryObjective("Eliminate all Nod forces in the area")
|
|
||||||
end)
|
|
||||||
end)
|
|
||||||
|
|
||||||
townAttackTrigger = false
|
townAttackTrigger = false
|
||||||
Trigger.OnExitedFootprint(TownAttackTrigger, function(a, id)
|
Trigger.OnExitedFootprint(TownAttackTrigger, function(a, id)
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: Nod is moving to capture and hold a civilian town.\n\nYour mission
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: gdi4a.vqa
|
|
||||||
|
|
||||||
Tileset: TEMPERAT
|
Tileset: TEMPERAT
|
||||||
|
|
||||||
MapSize: 64,64
|
MapSize: 64,64
|
||||||
@@ -22,6 +20,13 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
BackgroundInfo: bkground.vqa
|
||||||
|
Briefing: gdi4a.vqa
|
||||||
|
GameStart: nodsweep.vqa
|
||||||
|
GameWon: burdet1.vqa
|
||||||
|
GameLost: gameover.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: In order for the Brotherhood to gain a foothold, we must begin by e
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: nod1.vqa
|
|
||||||
|
|
||||||
Tileset: DESERT
|
Tileset: DESERT
|
||||||
|
|
||||||
MapSize: 64,64
|
MapSize: 64,64
|
||||||
@@ -22,6 +20,10 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: nod1.vqa
|
||||||
|
GameLost: nodlose.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -52,9 +52,6 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerLost(nod, function()
|
Trigger.OnPlayerLost(nod, function()
|
||||||
Media.PlaySpeechNotification(nod, "Lose")
|
Media.PlaySpeechNotification(nod, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("nodlose.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
NodObjective1 = nod.AddPrimaryObjective("Kill Nikoomba")
|
NodObjective1 = nod.AddPrimaryObjective("Kill Nikoomba")
|
||||||
|
|||||||
@@ -22,6 +22,12 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: nod3.vqa
|
||||||
|
GameStart: dessweep.vqa
|
||||||
|
GameWon: desflees.vqa
|
||||||
|
GameLost: flag.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -31,23 +31,15 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("desflees.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("flag.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("dessweep.vqa", function()
|
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area")
|
||||||
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area")
|
nodObjective1 = player.AddPrimaryObjective("Capture the prison")
|
||||||
nodObjective1 = player.AddPrimaryObjective("Capture the prison")
|
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces")
|
||||||
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces")
|
|
||||||
end)
|
|
||||||
|
|
||||||
Trigger.OnCapture(TechCenter, function()
|
Trigger.OnCapture(TechCenter, function()
|
||||||
Trigger.AfterDelay(DateTime.Seconds(2), function()
|
Trigger.AfterDelay(DateTime.Seconds(2), function()
|
||||||
|
|||||||
@@ -22,6 +22,12 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: nod3.vqa
|
||||||
|
GameStart: dessweep.vqa
|
||||||
|
GameWon: desflees.vqa
|
||||||
|
GameLost: flag.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
|
|||||||
@@ -47,23 +47,15 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("desflees.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("flag.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("dessweep.vqa", function()
|
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area")
|
||||||
gdiObjective = enemy.AddPrimaryObjective("Eliminate all Nod forces in the area")
|
nodObjective1 = player.AddPrimaryObjective("Capture the prison")
|
||||||
nodObjective1 = player.AddPrimaryObjective("Capture the prison")
|
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces")
|
||||||
nodObjective2 = player.AddSecondaryObjective("Destroy all GDI forces")
|
|
||||||
end)
|
|
||||||
|
|
||||||
Trigger.OnKilled(TechCenter, function() player.MarkFailedObjective(nodObjective1) end)
|
Trigger.OnKilled(TechCenter, function() player.MarkFailedObjective(nodObjective1) end)
|
||||||
Trigger.OnCapture(TechCenter, function()
|
Trigger.OnCapture(TechCenter, function()
|
||||||
|
|||||||
@@ -142,14 +142,10 @@ end
|
|||||||
|
|
||||||
MissionAccomplished = function()
|
MissionAccomplished = function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("snowbomb.vqa")
|
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
MissionFailed = function()
|
MissionFailed = function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlayMovieFullscreen("bmap.vqa") end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
SetUnitStances = function()
|
SetUnitStances = function()
|
||||||
@@ -182,14 +178,12 @@ WorldLoaded = function()
|
|||||||
Trigger.OnPlayerLost(player, MissionFailed)
|
Trigger.OnPlayerLost(player, MissionFailed)
|
||||||
Trigger.OnPlayerWon(player, MissionAccomplished)
|
Trigger.OnPlayerWon(player, MissionAccomplished)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("landing.vqa", function()
|
FindEinsteinObjective = player.AddPrimaryObjective("Find Einstein.")
|
||||||
FindEinsteinObjective = player.AddPrimaryObjective("Find Einstein.")
|
TanyaSurviveObjective = player.AddPrimaryObjective("Tanya must survive.")
|
||||||
TanyaSurviveObjective = player.AddPrimaryObjective("Tanya must survive.")
|
EinsteinSurviveObjective = player.AddPrimaryObjective("Einstein must survive.")
|
||||||
EinsteinSurviveObjective = player.AddPrimaryObjective("Einstein must survive.")
|
CivilProtectionObjective = player.AddSecondaryObjective("Protect all civilians.")
|
||||||
CivilProtectionObjective = player.AddSecondaryObjective("Protect all civilians.")
|
|
||||||
|
|
||||||
RunInitialActivities()
|
RunInitialActivities()
|
||||||
end)
|
|
||||||
|
|
||||||
Trigger.OnKilled(Lab, LabDestroyed)
|
Trigger.OnKilled(Lab, LabDestroyed)
|
||||||
Trigger.OnKilled(OilPump, OilPumpDestroyed)
|
Trigger.OnKilled(OilPump, OilPumpDestroyed)
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: Rescue Einstein from the Headquarters inside this Soviet complex.\n
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: ally1.vqa
|
|
||||||
|
|
||||||
Tileset: SNOW
|
Tileset: SNOW
|
||||||
|
|
||||||
MapSize: 128,128
|
MapSize: 128,128
|
||||||
@@ -22,6 +20,12 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: ally1.vqa
|
||||||
|
GameStart: landing.vqa
|
||||||
|
GameWon: snowbomb.vqa
|
||||||
|
GameLost: bmap.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
@@ -586,7 +590,6 @@ Rules:
|
|||||||
Scripts: allies01.lua
|
Scripts: allies01.lua
|
||||||
ObjectivesPanel:
|
ObjectivesPanel:
|
||||||
PanelName: MISSION_OBJECTIVES
|
PanelName: MISSION_OBJECTIVES
|
||||||
-StartGameNotification:
|
|
||||||
TRAN.Extraction:
|
TRAN.Extraction:
|
||||||
Inherits: TRAN
|
Inherits: TRAN
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
|
|||||||
@@ -22,16 +22,10 @@ end
|
|||||||
|
|
||||||
MissionAccomplished = function()
|
MissionAccomplished = function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("montpass.vqa")
|
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
MissionFailed = function()
|
MissionFailed = function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("frozen.vqa")
|
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
Tick = function()
|
Tick = function()
|
||||||
@@ -109,9 +103,7 @@ WorldLoaded = function()
|
|||||||
Trigger.OnPlayerLost(player, MissionFailed)
|
Trigger.OnPlayerLost(player, MissionFailed)
|
||||||
Trigger.OnPlayerWon(player, MissionAccomplished)
|
Trigger.OnPlayerWon(player, MissionAccomplished)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("mcv.vqa", function()
|
ConquestObjective = player.AddPrimaryObjective("Secure the area.")
|
||||||
ConquestObjective = player.AddPrimaryObjective("Secure the area.")
|
|
||||||
end)
|
|
||||||
|
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlaySpeechNotification(allies, "MissionTimerInitialised") end)
|
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlaySpeechNotification(allies, "MissionTimerInitialised") end)
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ Description: A critical supply convoy is due through this area in 10 minutes, bu
|
|||||||
|
|
||||||
Author: Westwood Studios
|
Author: Westwood Studios
|
||||||
|
|
||||||
PreviewVideo: ally2.vqa
|
|
||||||
|
|
||||||
Tileset: SNOW
|
Tileset: SNOW
|
||||||
|
|
||||||
MapSize: 128,128
|
MapSize: 128,128
|
||||||
@@ -22,6 +20,12 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
Briefing: ally2.vqa
|
||||||
|
GameStart: mcv.vqa
|
||||||
|
GameWon: montpass.vqa
|
||||||
|
GameLost: frozen.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
@@ -881,7 +885,6 @@ Rules:
|
|||||||
Scripts: allies02.lua
|
Scripts: allies02.lua
|
||||||
ObjectivesPanel:
|
ObjectivesPanel:
|
||||||
PanelName: MISSION_OBJECTIVES
|
PanelName: MISSION_OBJECTIVES
|
||||||
-StartGameNotification:
|
|
||||||
^Vehicle:
|
^Vehicle:
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
Tooltip:
|
Tooltip:
|
||||||
|
|||||||
@@ -114,13 +114,11 @@ InitObjectives = function()
|
|||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Trigger.AfterDelay(25, function()
|
Trigger.AfterDelay(25, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlayMovieFullscreen("sovtstar.vqa") end)
|
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Trigger.AfterDelay(25, function()
|
Trigger.AfterDelay(25, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function() Media.PlayMovieFullscreen("toofar.vqa") end)
|
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
@@ -250,9 +248,7 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
InitPlayers()
|
InitPlayers()
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("brdgtilt.vqa", function()
|
InitObjectives()
|
||||||
InitObjectives()
|
InitTriggers()
|
||||||
InitTriggers()
|
SendAlliedUnits()
|
||||||
SendAlliedUnits()
|
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -20,6 +20,11 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
|
Videos:
|
||||||
|
GameStart: brdgtilt.vqa
|
||||||
|
GameWon: toofar.vqa
|
||||||
|
GameLost: sovtstar.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
Fog: True
|
Fog: True
|
||||||
@@ -1379,7 +1384,6 @@ Rules:
|
|||||||
Scripts: allies03a.lua
|
Scripts: allies03a.lua
|
||||||
ObjectivesPanel:
|
ObjectivesPanel:
|
||||||
PanelName: MISSION_OBJECTIVES
|
PanelName: MISSION_OBJECTIVES
|
||||||
-StartGameNotification:
|
|
||||||
^Infantry:
|
^Infantry:
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
Tooltip:
|
Tooltip:
|
||||||
|
|||||||
@@ -20,7 +20,11 @@ UseAsShellmap: False
|
|||||||
|
|
||||||
Type: Campaign
|
Type: Campaign
|
||||||
|
|
||||||
PreviewVideo: soviet1.vqa
|
Videos:
|
||||||
|
Briefing: soviet1.vqa
|
||||||
|
GameStart: flare.vqa
|
||||||
|
GameWon: snstrafe.vqa
|
||||||
|
GameLost: sfrozen.vqa
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
Crates: False
|
Crates: False
|
||||||
@@ -782,7 +786,6 @@ Rules:
|
|||||||
Scripts: soviet01.lua
|
Scripts: soviet01.lua
|
||||||
ObjectivesPanel:
|
ObjectivesPanel:
|
||||||
PanelName: MISSION_OBJECTIVES
|
PanelName: MISSION_OBJECTIVES
|
||||||
-StartGameNotification:
|
|
||||||
V01:
|
V01:
|
||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: healcrate
|
HuskActor: healcrate
|
||||||
|
|||||||
@@ -46,27 +46,16 @@ WorldLoaded = function()
|
|||||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
|
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Media.PlayMovieFullscreen("flare.vqa", function()
|
CivilProtectionObjective = france.AddPrimaryObjective("Protect the civilians.")
|
||||||
CivilProtectionObjective = france.AddPrimaryObjective("Protect the civilians.")
|
VillageRaidObjective = player.AddPrimaryObjective("Raze the village.")
|
||||||
VillageRaidObjective = player.AddPrimaryObjective("Raze the village.")
|
JeepDemolishingBridge()
|
||||||
JeepDemolishingBridge()
|
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlaySpeechNotification(player, "StartGame")
|
|
||||||
end)
|
|
||||||
end)
|
|
||||||
|
|
||||||
Trigger.OnPlayerWon(player, function()
|
Trigger.OnPlayerWon(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Win")
|
Media.PlaySpeechNotification(player, "Win")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("snstrafe.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnPlayerLost(player, function()
|
Trigger.OnPlayerLost(player, function()
|
||||||
Media.PlaySpeechNotification(player, "Lose")
|
Media.PlaySpeechNotification(player, "Lose")
|
||||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
|
||||||
Media.PlayMovieFullscreen("sfrozen.vqa")
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.AfterDelay(DateTime.Seconds(2), InsertYaks)
|
Trigger.AfterDelay(DateTime.Seconds(2), InsertYaks)
|
||||||
|
|||||||
Reference in New Issue
Block a user