Add Allies05c
This commit is contained in:
102
mods/ra/maps/allies-05c/allies05c-AI.lua
Normal file
102
mods/ra/maps/allies-05c/allies05c-AI.lua
Normal file
@@ -0,0 +1,102 @@
|
||||
--[[
|
||||
Copyright 2007-2021 The OpenRA Developers (see AUTHORS)
|
||||
This file is part of OpenRA, which is free software. It is made
|
||||
available to you under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation, either version 3 of
|
||||
the License, or (at your option) any later version. For more
|
||||
information, see COPYING.
|
||||
]]
|
||||
AttackGroup = { }
|
||||
AttackGroupSize = 10
|
||||
|
||||
SovietInfantry = { "e1", "e1", "e2" }
|
||||
SovietVehicles = { "3tnk", "3tnk", "apc" }
|
||||
SovietAircraftType = { "yak" }
|
||||
Planes = { }
|
||||
SovietProduction = { Conyard, USSRBarracks, USSRWarFactory }
|
||||
|
||||
IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end
|
||||
|
||||
ProductionInterval =
|
||||
{
|
||||
easy = DateTime.Seconds(25),
|
||||
normal = DateTime.Seconds(15),
|
||||
hard = DateTime.Seconds(5)
|
||||
}
|
||||
|
||||
SendAttackGroup = function()
|
||||
if #AttackGroup < AttackGroupSize then
|
||||
return
|
||||
end
|
||||
|
||||
Utils.Do(AttackGroup, function(unit)
|
||||
if not unit.IsDead then
|
||||
Trigger.OnIdle(unit, unit.Hunt)
|
||||
end
|
||||
end)
|
||||
|
||||
AttackGroup = { }
|
||||
end
|
||||
|
||||
ProduceUSSRInfantry = function()
|
||||
if USSRBarracks.IsDead or USSRBarracks.Owner ~= USSR then
|
||||
return
|
||||
end
|
||||
|
||||
USSR.Build({ Utils.Random(SovietInfantry) }, function(units)
|
||||
table.insert(AttackGroup, units[1])
|
||||
SendAttackGroup()
|
||||
Trigger.AfterDelay(ProductionInterval[Map.LobbyOption("difficulty")], ProduceUSSRInfantry)
|
||||
end)
|
||||
end
|
||||
|
||||
ProduceUSSRVehicles = function()
|
||||
if USSRWarFactory.IsDead or USSRWarFactory.Owner ~= USSR then
|
||||
return
|
||||
end
|
||||
|
||||
USSR.Build({ Utils.Random(SovietVehicles) }, function(units)
|
||||
table.insert(AttackGroup, units[1])
|
||||
SendAttackGroup()
|
||||
Trigger.AfterDelay(ProductionInterval[Map.LobbyOption("difficulty")], ProduceUSSRVehicles)
|
||||
end)
|
||||
end
|
||||
|
||||
ProduceAircraft = function()
|
||||
if (Airfield1.IsDead or Airfield1.Owner ~= USSR) and (Airfield2.IsDead or Airfield2.Owner ~= USSR) then
|
||||
return
|
||||
end
|
||||
|
||||
USSR.Build(SovietAircraftType, function(units)
|
||||
local plane = units[1]
|
||||
Planes[#Planes + 1] = plane
|
||||
|
||||
Trigger.OnKilled(plane, ProduceAircraft)
|
||||
|
||||
local alive = Utils.Where(Planes, function(y) return not y.IsDead end)
|
||||
if #alive < 2 then
|
||||
Trigger.AfterDelay(DateTime.Seconds(ProductionInterval[Map.LobbyOption("difficulty")] / 2), ProduceAircraft)
|
||||
end
|
||||
|
||||
InitializeAttackAircraft(plane, Greece)
|
||||
end)
|
||||
end
|
||||
|
||||
ActivateAI = function()
|
||||
local buildings = Utils.Where(Map.ActorsInWorld, function(self) return self.Owner == USSR and self.HasProperty("StartBuildingRepairs") end)
|
||||
Utils.Do(buildings, function(actor)
|
||||
Trigger.OnDamaged(actor, function(building)
|
||||
if building.Owner == USSR and building.Health < building.MaxHealth * 3/4 then
|
||||
building.StartBuildingRepairs()
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
ProduceUSSRInfantry()
|
||||
Trigger.AfterDelay(DateTime.Minutes(2), ProduceUSSRVehicles)
|
||||
Trigger.AfterDelay(DateTime.Minutes(4), ProduceAircraft)
|
||||
|
||||
Trigger.OnAllKilled(SovietProduction, function()
|
||||
Utils.Do(USSR.GetGroundAttackers(), IdleHunt)
|
||||
end)
|
||||
end
|
||||
373
mods/ra/maps/allies-05c/allies05c.lua
Normal file
373
mods/ra/maps/allies-05c/allies05c.lua
Normal file
@@ -0,0 +1,373 @@
|
||||
--[[
|
||||
Copyright 2007-2021 The OpenRA Developers (see AUTHORS)
|
||||
This file is part of OpenRA, which is free software. It is made
|
||||
available to you under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation, either version 3 of
|
||||
the License, or (at your option) any later version. For more
|
||||
information, see COPYING.
|
||||
]]
|
||||
if Map.LobbyOption("difficulty") == "easy" then
|
||||
TanyaType = "e7"
|
||||
ReinforceCash = 5000
|
||||
HoldAITime = DateTime.Minutes(3)
|
||||
SpecialCameras = true
|
||||
elseif Map.LobbyOption("difficulty") == "normal" then
|
||||
TanyaType = "e7.noautotarget"
|
||||
ReinforceCash = 3500
|
||||
HoldAITime = DateTime.Minutes(2)
|
||||
SpecialCameras = true
|
||||
else
|
||||
TanyaType = "e7.noautotarget"
|
||||
ReinforceCash = 2250
|
||||
HoldAITime = DateTime.Minutes(1) + DateTime.Seconds(30)
|
||||
end
|
||||
|
||||
SpyType = { "spy" }
|
||||
SpyEntryPath = { SpyEntry.Location, SpyLoadout.Location }
|
||||
InsertionTransport = "lst.in"
|
||||
|
||||
TrukPath = { TrukWaypoint1, TrukWaypoint2, TrukWaypoint3, TrukWaypoint4, TrukWaypoint5, TrukWaypoint6, TrukWaypoint7, TrukWaypoint8, TrukWaypoint9, TrukWaypoint10 }
|
||||
|
||||
ExtractionHeliType = "tran"
|
||||
ExtractionPath = { ExtractionEntry.Location, ExtractionLZ.Location }
|
||||
HeliReinforcements = { "medi", "mech", "mech" }
|
||||
|
||||
GreeceReinforcements1 =
|
||||
{
|
||||
{ types = { "2tnk", "2tnk", "2tnk", "2tnk", "2tnk" }, entry = { SpyEntry.Location, LSTLanding1.Location } },
|
||||
{ types = { "e3", "e3", "e3", "e3", "e1" }, entry = { LSTEntry2.Location, LSTLanding2.Location } }
|
||||
}
|
||||
|
||||
GreeceReinforcements2 =
|
||||
{
|
||||
{ types = { "arty", "arty", "jeep", "jeep" }, entry = { SpyEntry.Location, LSTLanding1.Location } },
|
||||
{ types = { "e1", "e1", "e6", "e6", "e6" }, entry = { LSTEntry2.Location, LSTLanding2.Location } }
|
||||
}
|
||||
|
||||
DogPatrol = { Dog1, Dog2 }
|
||||
RiflePatrol = { RiflePatrol1, RiflePatrol2, RiflePatrol3, RiflePatrol4, RiflePatrol5 }
|
||||
BasePatrol = { BasePatrol1, BasePatrol2, BasePatrol3 }
|
||||
|
||||
DogPatrolPath = { DogPatrolRally1.Location, SpyCamera2.Location, DogPatrolRally3.Location }
|
||||
RiflePath = { RiflePath1.Location, RiflePath2.Location, RiflePath3.Location }
|
||||
BasePatrolPath = { BasePatrolPath1.Location, BasePatrolPath2.Location, BasePatrolPath3.Location }
|
||||
|
||||
TanyaVoices = { "tuffguy", "bombit", "laugh", "gotit", "lefty", "keepem" }
|
||||
SpyVoice = "sking"
|
||||
|
||||
SamSites = { Sam1, Sam2, Sam3, Sam4, Sam5, Sam6 }
|
||||
|
||||
SendSpy = function()
|
||||
Camera.Position = SpyEntry.CenterPosition
|
||||
Spy = Reinforcements.ReinforceWithTransport(Greece, InsertionTransport, SpyType, SpyEntryPath, { SpyEntryPath[1] })[2][1]
|
||||
|
||||
Trigger.OnKilled(Spy, function() USSR.MarkCompletedObjective(USSRObj) end)
|
||||
|
||||
if SpecialCameras then
|
||||
SpyCameraA = Actor.Create("camera", true, { Owner = Greece, Location = SpyCamera1.Location })
|
||||
SpyCameraB = Actor.Create("camera", true, { Owner = Greece, Location = SpyCamera2.Location })
|
||||
SpyCameraC = Actor.Create("camera", true, { Owner = Greece, Location = SpyCamera3.Location })
|
||||
else
|
||||
SpyCameraHard = Actor.Create("camera.small", true, { Owner = Greece, Location = RiflePath1.Location + CVec.New(0, 3) })
|
||||
end
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(3), function()
|
||||
Media.DisplayMessage("Commander! You have to disguise me in order to get through the enemy patrols.", "Spy")
|
||||
end)
|
||||
end
|
||||
|
||||
ActivatePatrols = function()
|
||||
Trigger.AfterDelay(DateTime.Seconds(3), function()
|
||||
GroupPatrol(DogPatrol, DogPatrolPath, DateTime.Seconds(6))
|
||||
GroupPatrol(RiflePatrol, RiflePath, DateTime.Seconds(7))
|
||||
GroupPatrol(BasePatrol, BasePatrolPath, DateTime.Seconds(6))
|
||||
end)
|
||||
end
|
||||
|
||||
GroupPatrol = function(units, waypoints, delay)
|
||||
local i = 1
|
||||
local stop = false
|
||||
|
||||
Utils.Do(units, function(unit)
|
||||
Trigger.OnIdle(unit, function()
|
||||
if stop then
|
||||
return
|
||||
end
|
||||
|
||||
if unit.Location == waypoints[i] then
|
||||
local bool = Utils.All(units, function(actor) return actor.IsIdle end)
|
||||
|
||||
if bool then
|
||||
stop = true
|
||||
|
||||
i = i + 1
|
||||
if i > #waypoints then
|
||||
i = 1
|
||||
end
|
||||
|
||||
Trigger.AfterDelay(delay, function() stop = false end)
|
||||
end
|
||||
else
|
||||
unit.AttackMove(waypoints[i])
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
SendReinforcements = function()
|
||||
GreeceReinforcementsArrived = true
|
||||
Camera.Position = SpyLoadout.CenterPosition
|
||||
Greece.Cash = Greece.Cash + ReinforceCash
|
||||
Media.PlaySpeechNotification(Greece, "AlliedReinforcementsArrived")
|
||||
Utils.Do(GreeceReinforcements1, function(reinforcements)
|
||||
Reinforcements.ReinforceWithTransport(Greece, InsertionTransport, reinforcements.types, reinforcements.entry, { SpyEntry.Location })
|
||||
end)
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(10), function()
|
||||
Media.PlaySpeechNotification(Greece, "AlliedReinforcementsArrived")
|
||||
Utils.Do(GreeceReinforcements2, function(reinforcements)
|
||||
Reinforcements.ReinforceWithTransport(Greece, InsertionTransport, reinforcements.types, reinforcements.entry, { SpyEntry.Location })
|
||||
end)
|
||||
end)
|
||||
|
||||
ActivateAI()
|
||||
end
|
||||
|
||||
ExtractUnits = function(extractionUnit, pos, after)
|
||||
if extractionUnit.IsDead or not extractionUnit.HasPassengers then
|
||||
return
|
||||
end
|
||||
|
||||
extractionUnit.Move(pos)
|
||||
extractionUnit.Destroy()
|
||||
|
||||
Trigger.OnRemovedFromWorld(extractionUnit, after)
|
||||
end
|
||||
|
||||
WarfactoryInfiltrated = function()
|
||||
FollowTruk = true
|
||||
Truk.GrantCondition("hijacked")
|
||||
|
||||
Truk.Wait(DateTime.Seconds(1))
|
||||
Utils.Do(TrukPath, function(waypoint)
|
||||
Truk.Move(waypoint.Location)
|
||||
end)
|
||||
|
||||
if SpecialCameras then
|
||||
Trigger.AfterDelay(DateTime.Seconds(2), function()
|
||||
SpyCameraA.Destroy()
|
||||
SpyCameraB.Destroy()
|
||||
SpyCameraC.Destroy()
|
||||
end)
|
||||
else
|
||||
SpyCameraHard.Destroy()
|
||||
end
|
||||
end
|
||||
|
||||
MissInfiltrated = function()
|
||||
for i = 0, 5, 1 do
|
||||
local sound = Utils.Random(TanyaVoices)
|
||||
Trigger.AfterDelay(DateTime.Seconds(i), function()
|
||||
Media.PlaySoundNotification(Greece, sound)
|
||||
end)
|
||||
end
|
||||
Prison.Attack(Prison)
|
||||
|
||||
Trigger.AfterDelay(DateTime.Seconds(6), FreeTanya)
|
||||
end
|
||||
|
||||
FreeTanya = function()
|
||||
Prison.Stop()
|
||||
Tanya = Actor.Create(TanyaType, true, { Owner = Greece, Location = Prison.Location + CVec.New(1, 1) })
|
||||
Tanya.Demolish(Prison)
|
||||
Tanya.Move(Tanya.Location + CVec.New(Utils.RandomInteger(-1, 2), 1))
|
||||
|
||||
if TanyaType == "e7.noautotarget" then
|
||||
Trigger.AfterDelay(DateTime.Seconds(1), function()
|
||||
Media.DisplayMessage("According to the rules of engagement I need your explicit orders to fire, Commander!", "Tanya")
|
||||
end)
|
||||
end
|
||||
|
||||
Trigger.OnKilled(Tanya, function() USSR.MarkCompletedObjective(USSRObj) end)
|
||||
|
||||
if Map.LobbyOption("difficulty") == "tough" then
|
||||
KillSams = Greece.AddObjective("Destroy all six SAM Sites that block\nour reinforcements' helicopter.")
|
||||
|
||||
Greece.MarkCompletedObjective(MainObj)
|
||||
SurviveObj = Greece.AddObjective("Tanya must not die!")
|
||||
Media.PlaySpeechNotification(Greece, "TanyaRescued")
|
||||
else
|
||||
KillSams = Greece.AddObjective("Destroy all six SAM sites that block\nthe extraction helicopter.")
|
||||
|
||||
Media.PlaySpeechNotification(Greece, "TargetFreed")
|
||||
end
|
||||
|
||||
if not SpecialCameras and PrisonCamera and PrisonCamera.IsInWorld then
|
||||
PrisonCamera.Destroy()
|
||||
end
|
||||
end
|
||||
|
||||
InitTriggers = function()
|
||||
Trigger.OnInfiltrated(Warfactory, function()
|
||||
if Greece.IsObjectiveCompleted(InfWarfactory) then
|
||||
return
|
||||
elseif Truk.IsDead then
|
||||
if not Greece.IsObjectiveCompleted(MainObj) then
|
||||
USSR.MarkCompletedObjective(USSRObj)
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
Trigger.ClearAll(Spy)
|
||||
Greece.MarkCompletedObjective(InfWarfactory)
|
||||
WarfactoryInfiltrated()
|
||||
end)
|
||||
|
||||
Trigger.OnKilled(Truk, function()
|
||||
if not Greece.IsObjectiveCompleted(InfWarfactory) then
|
||||
Greece.MarkFailedObjective(InfWarfactory)
|
||||
elseif FollowTruk then
|
||||
USSR.MarkCompletedObjective(USSRObj)
|
||||
end
|
||||
end)
|
||||
|
||||
Trigger.OnInfiltrated(Prison, function()
|
||||
if Greece.IsObjectiveCompleted(MainObj) then
|
||||
return
|
||||
end
|
||||
|
||||
if not Greece.IsObjectiveCompleted(InfWarfactory) then
|
||||
Media.DisplayMessage("Good work! But next time skip the heroics!", "Battlefield Control")
|
||||
Greece.MarkCompletedObjective(InfWarfactory)
|
||||
end
|
||||
|
||||
if not PrisonCamera then
|
||||
if SpecialCameras then
|
||||
PrisonCamera = Actor.Create("camera", true, { Owner = Greece, Location = SpyJump.Location })
|
||||
else
|
||||
PrisonCamera = Actor.Create("camera.small", true, { Owner = Greece, Location = Prison.Location + CVec.New(1, 1) })
|
||||
end
|
||||
end
|
||||
|
||||
if SpecialCameras and SpyCameraA and not SpyCameraA.IsDead then
|
||||
SpyCameraA.Destroy()
|
||||
SpyCameraB.Destroy()
|
||||
end
|
||||
|
||||
Trigger.ClearAll(Spy)
|
||||
Trigger.AfterDelay(DateTime.Seconds(2), MissInfiltrated)
|
||||
end)
|
||||
|
||||
Trigger.OnEnteredFootprint({ SpyJump.Location }, function(a, id)
|
||||
if a == Truk then
|
||||
Trigger.RemoveFootprintTrigger(id)
|
||||
|
||||
Spy = Actor.Create("spy", true, { Owner = Greece, Location = SpyJump.Location })
|
||||
Spy.DisguiseAsType("e1", USSR)
|
||||
Spy.Move(SpyWaypoint.Location)
|
||||
Spy.Infiltrate(Prison)
|
||||
Media.PlaySoundNotification(Greece, SpyVoice)
|
||||
|
||||
FollowTruk = false
|
||||
|
||||
if SpecialCameras then
|
||||
PrisonCamera = Actor.Create("camera", true, { Owner = Greece, Location = SpyJump.Location })
|
||||
else
|
||||
PrisonCamera = Actor.Create("camera.small", true, { Owner = Greece, Location = Prison.Location + CVec.New(1, 1) })
|
||||
end
|
||||
|
||||
Trigger.OnKilled(Spy, function() USSR.MarkCompletedObjective(USSRObj) end)
|
||||
end
|
||||
end)
|
||||
|
||||
Trigger.OnEnteredFootprint({ TrukWaypoint10.Location }, function(a, id)
|
||||
if a == Truk then
|
||||
Trigger.RemoveFootprintTrigger(id)
|
||||
Truk.Stop()
|
||||
Truk.Kill()
|
||||
ExplosiveBarrel.Kill()
|
||||
end
|
||||
end)
|
||||
|
||||
Trigger.OnAllKilled(SamSites, function()
|
||||
Greece.MarkCompletedObjective(KillSams)
|
||||
|
||||
local flare = Actor.Create("flare", true, { Owner = Greece, Location = ExtractionPath[2] + CVec.New(0, -1) })
|
||||
Trigger.AfterDelay(DateTime.Seconds(7), flare.Destroy)
|
||||
Media.PlaySpeechNotification(Greece, "SignalFlare")
|
||||
|
||||
ExtractionHeli = Reinforcements.ReinforceWithTransport(Greece, ExtractionHeliType, nil, ExtractionPath)[1]
|
||||
local exitPos = CPos.New(ExtractionPath[1].X, ExtractionPath[2].Y)
|
||||
|
||||
Trigger.OnKilled(ExtractionHeli, function() USSR.MarkCompletedObjective(USSRObj) end)
|
||||
Trigger.OnRemovedFromWorld(Tanya, function()
|
||||
ExtractUnits(ExtractionHeli, exitPos, function()
|
||||
|
||||
Media.PlaySpeechNotification(Greece, "TanyaRescued")
|
||||
Greece.MarkCompletedObjective(MainObj)
|
||||
Trigger.AfterDelay(DateTime.Seconds(2), function()
|
||||
SendReinforcements()
|
||||
end)
|
||||
|
||||
if PrisonCamera and PrisonCamera.IsInWorld then
|
||||
PrisonCamera.Destroy()
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
Tick = function()
|
||||
if FollowTruk and not Truk.IsDead then
|
||||
Camera.Position = Truk.CenterPosition
|
||||
end
|
||||
|
||||
if USSR.HasNoRequiredUnits() then
|
||||
if not Greece.IsObjectiveCompleted(KillAll) and Map.LobbyOption("difficulty") == "tough" then
|
||||
SendWaterExtraction()
|
||||
end
|
||||
Greece.MarkCompletedObjective(KillAll)
|
||||
end
|
||||
|
||||
if GreeceReinforcementsArrived and Greece.HasNoRequiredUnits() then
|
||||
USSR.MarkCompletedObjective(USSRObj)
|
||||
end
|
||||
|
||||
if USSR.Resources >= USSR.ResourceCapacity * 0.75 then
|
||||
USSR.Cash = USSR.Cash + USSR.Resources - USSR.ResourceCapacity * 0.25
|
||||
USSR.Resources = USSR.ResourceCapacity * 0.25
|
||||
end
|
||||
end
|
||||
|
||||
WorldLoaded = function()
|
||||
Greece = Player.GetPlayer("Greece")
|
||||
USSR = Player.GetPlayer("USSR")
|
||||
|
||||
Trigger.OnObjectiveAdded(Greece, function(p, id)
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||
end)
|
||||
|
||||
USSRObj = USSR.AddObjective("Deny the Allies.")
|
||||
MainObj = Greece.AddObjective("Rescue Tanya.")
|
||||
KillAll = Greece.AddObjective("Eliminate all Soviet units in this area.")
|
||||
InfWarfactory = Greece.AddObjective("Infiltrate the Soviet warfactory.", "Secondary", false)
|
||||
|
||||
Trigger.OnObjectiveCompleted(Greece, function(p, id)
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective completed")
|
||||
end)
|
||||
Trigger.OnObjectiveFailed(Greece, function(p, id)
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective failed")
|
||||
end)
|
||||
|
||||
Trigger.OnPlayerLost(Greece, function()
|
||||
Media.PlaySpeechNotification(Greece, "Lose")
|
||||
end)
|
||||
Trigger.OnPlayerWon(Greece, function()
|
||||
Media.PlaySpeechNotification(Greece, "Win")
|
||||
end)
|
||||
|
||||
InitTriggers()
|
||||
SendSpy()
|
||||
Trigger.AfterDelay(DateTime.Seconds(3), ActivatePatrols)
|
||||
end
|
||||
BIN
mods/ra/maps/allies-05c/map.bin
Normal file
BIN
mods/ra/maps/allies-05c/map.bin
Normal file
Binary file not shown.
BIN
mods/ra/maps/allies-05c/map.png
Normal file
BIN
mods/ra/maps/allies-05c/map.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
1067
mods/ra/maps/allies-05c/map.yaml
Normal file
1067
mods/ra/maps/allies-05c/map.yaml
Normal file
File diff suppressed because it is too large
Load Diff
9
mods/ra/maps/allies-05c/notifications.yaml
Normal file
9
mods/ra/maps/allies-05c/notifications.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
Sounds:
|
||||
Notifications:
|
||||
bombit: bombit1
|
||||
laugh: laugh1
|
||||
gotit: gotit1
|
||||
lefty: lefty1
|
||||
keepem: keepem1
|
||||
tuffguy: tuffguy1
|
||||
sking: sking1
|
||||
195
mods/ra/maps/allies-05c/rules.yaml
Normal file
195
mods/ra/maps/allies-05c/rules.yaml
Normal file
@@ -0,0 +1,195 @@
|
||||
World:
|
||||
LuaScript:
|
||||
Scripts: allies05c.lua, allies05c-AI.lua, campaign-global.lua
|
||||
MissionData:
|
||||
BriefingVideo: ally5.vqa
|
||||
WinVideo: tanya2.vqa
|
||||
LossVideo: grvestne.vqa
|
||||
StartVideo: tanya1.vqa
|
||||
Briefing: Rescue Tanya.\n\nOnce disguised, your spy can move past any enemy unit, except dogs, without being detected. Direct him into the weapons factory located at a nearby Soviet Base where he will hijack a truck and free Tanya.\n\nWith Tanya's help, take out the air defenses on the island and a Chinook will arrive to rescue her.\n\nThen destroy all remaining Soviet buildings and units.
|
||||
ScriptLobbyDropdown@difficulty:
|
||||
ID: difficulty
|
||||
Label: Difficulty
|
||||
Values:
|
||||
easy: Easy
|
||||
normal: Normal
|
||||
hard: Hard
|
||||
Default: easy
|
||||
|
||||
Camera.Small:
|
||||
Inherits: CAMERA
|
||||
RevealsShroud:
|
||||
Range: 4c0
|
||||
|
||||
TSLA:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
SAM:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
Power:
|
||||
Amount: 0
|
||||
|
||||
LST:
|
||||
-Selectable:
|
||||
Targetable:
|
||||
TargetTypes: GroundActor, WaterActor
|
||||
Interactable:
|
||||
|
||||
LST.IN:
|
||||
Inherits: LST
|
||||
RenderSprites:
|
||||
Image: LST
|
||||
Cargo:
|
||||
Types: disabled
|
||||
|
||||
TRAN:
|
||||
-Selectable:
|
||||
RevealsShroud:
|
||||
Range: 4c0
|
||||
Targetable@GROUND:
|
||||
TargetTypes: GroundActor
|
||||
Interactable:
|
||||
|
||||
TRAN.IN:
|
||||
Inherits: TRAN
|
||||
RenderSprites:
|
||||
Image: TRAN
|
||||
Cargo:
|
||||
Types: disabled
|
||||
|
||||
TRUK.mission:
|
||||
Inherits: TRUK
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
WithFacingSpriteBody:
|
||||
-SpawnActorOnDeath:
|
||||
RevealsShroud:
|
||||
Range: 4c0
|
||||
ValidRelationships: Ally, Enemy
|
||||
RequiresCondition: hijacked
|
||||
ExternalCondition@hijacked:
|
||||
Condition: hijacked
|
||||
RenderSprites:
|
||||
Image: TRUK
|
||||
|
||||
SPY:
|
||||
Infiltrates:
|
||||
Types: Mission Objectives
|
||||
|
||||
WEAP:
|
||||
-InfiltrateForSupportPower:
|
||||
Targetable:
|
||||
TargetTypes: GroundActor, C4, DetonateAttack, Structure
|
||||
|
||||
WEAP.infiltratable:
|
||||
Inherits: WEAP
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
Targetable@Spy:
|
||||
TargetTypes: GroundActor, C4, DetonateAttack, Structure, Mission Objectives
|
||||
RenderSprites:
|
||||
Image: WEAP
|
||||
ProvidesPrerequisite:
|
||||
Prerequisite: weap
|
||||
|
||||
MISS:
|
||||
Tooltip:
|
||||
Name: Prison
|
||||
Targetable:
|
||||
TargetTypes: GroundActor, C4, DetonateAttack, Structure, Mission Objectives
|
||||
AttackOmni:
|
||||
Armament:
|
||||
Weapon: PrisonColt
|
||||
|
||||
E1.autotarget:
|
||||
Inherits: E1
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
RevealsShroud:
|
||||
Range: 8c0
|
||||
AutoTarget:
|
||||
ScanRadius: 7
|
||||
RenderSprites:
|
||||
Image: E1
|
||||
|
||||
E2.autotarget:
|
||||
Inherits: E2
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
RevealsShroud:
|
||||
Range: 8c0
|
||||
AutoTarget:
|
||||
ScanRadius: 7
|
||||
RenderSprites:
|
||||
Image: E2
|
||||
|
||||
AFLD:
|
||||
AirstrikePower@spyplane:
|
||||
Prerequisites: ~disabled
|
||||
ParatroopersPower@paratroopers:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
FCOM:
|
||||
MustBeDestroyed:
|
||||
|
||||
4TNK:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
MCV:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
MNLY:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
TTNK:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
FTRK:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
DTRK:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
QTNK:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
MSLO:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
SPEN:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
IRON:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
STEK:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
E6:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
THF:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
SHOK:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
|
||||
MIG:
|
||||
Buildable:
|
||||
Prerequisites: ~disabled
|
||||
8
mods/ra/maps/allies-05c/weapons.yaml
Normal file
8
mods/ra/maps/allies-05c/weapons.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
PrisonColt:
|
||||
ValidTargets: Ground, GroundActor
|
||||
ReloadDelay: 5
|
||||
Report: gun5.aud
|
||||
Projectile: InstantHit
|
||||
Warhead@1Dam: SpreadDamage
|
||||
AffectsParent: true
|
||||
ValidTargets: Ground, GroundActor
|
||||
@@ -6,6 +6,7 @@ Allied Campaign:
|
||||
allies-04
|
||||
allies-05a
|
||||
allies-05b
|
||||
allies-05c
|
||||
allies-06a
|
||||
allies-06b
|
||||
allies-07
|
||||
|
||||
Reference in New Issue
Block a user