MOOSE demonstration missions [skip ci]

This commit is contained in:
FlightControl-User
2019-05-28 17:56:40 +00:00
parent 8b92b3e4ef
commit 0122927aea
375 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
-- At startup of the overall mission, we spawn 10 possible escort planes in "Uncontrolled" state.
EscortSpawn = SPAWN:NewWithAlias( "Red A2G Escort Template", "Red A2G Escort AI" ):InitLimit( 10, 10 )
EscortSpawn:ParkAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Sochi_Adler ), AIRBASE.TerminalType.OpenBig )
local EscortUnit = UNIT:FindByName( "Red A2G Pilot" )
local Escort = AI_ESCORT_REQUEST:New( EscortUnit, EscortSpawn, AIRBASE:FindByName(AIRBASE.Caucasus.Sochi_Adler), "A2G", "Briefing" )
Escort:FormationTrail( 50, 100, 100 )
Escort:Menus( 50, 50, 0, 0, 50, 50, 6 )
Escort:SetEscortSpawnMission()
Escort:__Start( 5 )

View File

@@ -0,0 +1,38 @@
-- At startup of the overall mission, we spawn 10 possible escort planes in "Uncontrolled" state.
EscortSpawn = SPAWN:NewWithAlias( "Blue A2G Escort Template" ):InitLimit( 6, 6 )
EscortSpawn:ParkAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Gudauta ), AIRBASE.TerminalType.OpenMedOrBig )
local EscortUnit = UNIT:FindByName( "Blue A2G Pilot" )
local Escort = AI_ESCORT_REQUEST:New( EscortUnit, EscortSpawn, AIRBASE:FindByName(AIRBASE.Caucasus.Gudauta), "A2G", "Rescue the engineer from the village Lesselide near the station. Beware of enemy air defenses. Use the escorts wisely." )
Escort:FormationTrail( 50, 100, 100 )
Escort:SetEscortSpawnMission()
Escort:MenuJoinUp()
Escort:MenuFormationTrail( 50, 50, 0 )
Escort:MenuFormationLeftLine( 0, 0, 50, 50 )
Escort:MenuFormationRightLine( 0, 0, 50, 50 )
Escort:MenuHoldAtEscortPosition( 30, 0 )
Escort:MenuHoldAtEscortPosition( 100, 0 )
Escort:MenuHoldAtLeaderPosition( 30, 0 )
Escort:MenuHoldAtLeaderPosition( 100, 0 )
Escort:MenuFlare()
Escort:MenuSmoke()
Escort:MenuReportTargets( 60 )
Escort:MenuAssistedAttack()
Escort:MenuROE()
Escort:MenuROT()
Escort:MenuResumeMission()
Escort:__Start( 5 )