Soviet05 Radar Reveal
Added beacon and message
This commit is contained in:
@@ -22,6 +22,12 @@ World:
|
|||||||
hard: Hard
|
hard: Hard
|
||||||
Default: easy
|
Default: easy
|
||||||
|
|
||||||
|
MCV.CAM:
|
||||||
|
Inherits: CAMERA
|
||||||
|
RevealsShroud:
|
||||||
|
Range: 4c0
|
||||||
|
Type: CenterPosition
|
||||||
|
|
||||||
AFLD:
|
AFLD:
|
||||||
ParatroopersPower@paratroopers:
|
ParatroopersPower@paratroopers:
|
||||||
DropItems: E1,E1,E1,E2,E2
|
DropItems: E1,E1,E1,E2,E2
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ Expand = function()
|
|||||||
|
|
||||||
mcvGG.Move(mcvGGLoadPoint.Location)
|
mcvGG.Move(mcvGGLoadPoint.Location)
|
||||||
mcvtransport.Move(lstBeachPoint.Location)
|
mcvtransport.Move(lstBeachPoint.Location)
|
||||||
|
Media.DisplayMessage("Allied MCV detected moving to the island.")
|
||||||
|
|
||||||
Reinforcements.Reinforce(GoodGuy, { "dd", "dd" }, ShipArrivePath, 0, function(ddsquad)
|
Reinforcements.Reinforce(GoodGuy, { "dd", "dd" }, ShipArrivePath, 0, function(ddsquad)
|
||||||
ddsquad.AttackMove(NearExpPoint.Location) end)
|
ddsquad.AttackMove(NearExpPoint.Location) end)
|
||||||
@@ -193,8 +194,6 @@ WorldLoaded = function()
|
|||||||
GoodGuy = Player.GetPlayer("GoodGuy")
|
GoodGuy = Player.GetPlayer("GoodGuy")
|
||||||
Greece = Player.GetPlayer("Greece")
|
Greece = Player.GetPlayer("Greece")
|
||||||
|
|
||||||
RunInitialActivities()
|
|
||||||
|
|
||||||
Trigger.OnObjectiveAdded(player, function(p, id)
|
Trigger.OnObjectiveAdded(player, function(p, id)
|
||||||
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)
|
||||||
@@ -210,6 +209,8 @@ WorldLoaded = function()
|
|||||||
KillAll = player.AddPrimaryObjective("Defeat the Allied forces.")
|
KillAll = player.AddPrimaryObjective("Defeat the Allied forces.")
|
||||||
BeatUSSR = GoodGuy.AddPrimaryObjective("Defeat the Soviet forces.")
|
BeatUSSR = GoodGuy.AddPrimaryObjective("Defeat the Soviet forces.")
|
||||||
|
|
||||||
|
RunInitialActivities()
|
||||||
|
|
||||||
Trigger.OnDamaged(mcvGG, Expand)
|
Trigger.OnDamaged(mcvGG, Expand)
|
||||||
Trigger.OnDamaged(mcvtransport, Expand)
|
Trigger.OnDamaged(mcvtransport, Expand)
|
||||||
|
|
||||||
@@ -227,6 +228,14 @@ WorldLoaded = function()
|
|||||||
Trigger.OnCapture(Radar, function()
|
Trigger.OnCapture(Radar, function()
|
||||||
HoldObjective = player.AddPrimaryObjective("Defend the Radar Dome.")
|
HoldObjective = player.AddPrimaryObjective("Defend the Radar Dome.")
|
||||||
player.MarkCompletedObjective(CaptureObjective)
|
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
|
if not ExpansionCheck then
|
||||||
Expand()
|
Expand()
|
||||||
|
|||||||
Reference in New Issue
Block a user