diff --git a/mods/ra/maps/soviet-05/rules.yaml b/mods/ra/maps/soviet-05/rules.yaml index b3d88b8633..b504f1e876 100644 --- a/mods/ra/maps/soviet-05/rules.yaml +++ b/mods/ra/maps/soviet-05/rules.yaml @@ -22,6 +22,12 @@ World: hard: Hard Default: easy +MCV.CAM: + Inherits: CAMERA + RevealsShroud: + Range: 4c0 + Type: CenterPosition + AFLD: ParatroopersPower@paratroopers: DropItems: E1,E1,E1,E2,E2 diff --git a/mods/ra/maps/soviet-05/soviet05.lua b/mods/ra/maps/soviet-05/soviet05.lua index 09c4e6a65f..ef829c4248 100644 --- a/mods/ra/maps/soviet-05/soviet05.lua +++ b/mods/ra/maps/soviet-05/soviet05.lua @@ -85,6 +85,7 @@ Expand = function() mcvGG.Move(mcvGGLoadPoint.Location) mcvtransport.Move(lstBeachPoint.Location) + Media.DisplayMessage("Allied MCV detected moving to the island.") Reinforcements.Reinforce(GoodGuy, { "dd", "dd" }, ShipArrivePath, 0, function(ddsquad) ddsquad.AttackMove(NearExpPoint.Location) end) @@ -193,8 +194,6 @@ WorldLoaded = function() GoodGuy = Player.GetPlayer("GoodGuy") Greece = Player.GetPlayer("Greece") - RunInitialActivities() - Trigger.OnObjectiveAdded(player, function(p, id) Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective") end) @@ -210,6 +209,8 @@ WorldLoaded = function() KillAll = player.AddPrimaryObjective("Defeat the Allied forces.") BeatUSSR = GoodGuy.AddPrimaryObjective("Defeat the Soviet forces.") + RunInitialActivities() + Trigger.OnDamaged(mcvGG, Expand) Trigger.OnDamaged(mcvtransport, Expand) @@ -227,6 +228,14 @@ WorldLoaded = function() Trigger.OnCapture(Radar, function() HoldObjective = player.AddPrimaryObjective("Defend the Radar Dome.") player.MarkCompletedObjective(CaptureObjective) + Beacon.New(player, MCVDeploy.CenterPosition) + if Map.LobbyOption("difficulty") == "easy" then + Actor.Create("camera", true, { Owner = player, Location = MCVDeploy.Location }) + Media.DisplayMessage("Movement of an Allied expansion base discovered.") + else + Actor.Create("MCV.CAM", true, { Owner = player, Location = MCVDeploy.Location }) + Media.DisplayMessage("Coordinates of an Allied expansion base discovered.") + end if not ExpansionCheck then Expand()