Jump to content

MOOSE - Random CAP location zone.


Osi

Recommended Posts

Hello,

Currently i using this script to create an CAP:

 

   A2ADispatcher:SetSquadron( "Anapa", AIRBASE.Caucasus.Anapa_Vityazevo, { "CAP MIG21", "CAP MIG23", "CAP MIG29", "CAP SU27",}, 20 )
   A2ADispatcher:SetSquadronTakeoffInAir( "Anapa" )
   A2ADispatcher:SetSquadronTakeoffInAirAltitude( "Anapa", 8000 )
   CAPZone = ZONE_POLYGON:New( "CAP Zone", GROUP:FindByName( "CAP Zone" ) )
   A2ADispatcher:SetSquadronCap( "Anapa", CAPZone, 4000, 10000, 600, 800, 800, 1200, "BARO" )
   A2ADispatcher:SetSquadronCapInterval( "Anapa", 1, 10, 30, 1 )
   A2ADispatcher:SetSquadronGrouping( "Anapa", math.random( 1, 4 ) )
   A2ADispatcher:SetSquadronFuelThreshold( "Anapa", 0.20 )

 

it works very well ! i would like to improve it but i can't find the solution.

Currently the CAP spawn in air on Anapa airbase, how to make the planes spawn randomly  in an ploygon zone ?

 

Best regards, take care.

michel.

Link to comment
Share on other sites

3 hours ago, mick128 said:

Hello,

Currently i using this script to create an CAP:

 

   A2ADispatcher:SetSquadron( "Anapa", AIRBASE.Caucasus.Anapa_Vityazevo, { "CAP MIG21", "CAP MIG23", "CAP MIG29", "CAP SU27",}, 20 )
   A2ADispatcher:SetSquadronTakeoffInAir( "Anapa" )
   A2ADispatcher:SetSquadronTakeoffInAirAltitude( "Anapa", 8000 )
   CAPZone = ZONE_POLYGON:New( "CAP Zone", GROUP:FindByName( "CAP Zone" ) )
   A2ADispatcher:SetSquadronCap( "Anapa", CAPZone, 4000, 10000, 600, 800, 800, 1200, "BARO" )
   A2ADispatcher:SetSquadronCapInterval( "Anapa", 1, 10, 30, 1 )
   A2ADispatcher:SetSquadronGrouping( "Anapa", math.random( 1, 4 ) )
   A2ADispatcher:SetSquadronFuelThreshold( "Anapa", 0.20 )

 

it works very well ! i would like to improve it but i can't find the solution.

Currently the CAP spawn in air on Anapa airbase, how to make the planes spawn randomly  in an ploygon zone ?

 

Best regards, take care.

michel.

 

Not 100% sure but A2A Dispatcher is specific for airbases as a base of operations sort of speak. I don't know if there is an option to spawn elsewhere as it is hinged on an airbase.

 

You can look into AI_CAP or others which is a bit different but you'd be able to spawn from wherever you want. 

Link to comment
Share on other sites

You are right 🙂

8. Where will the Squadrons be located? On Airbases? On Carrier Ships? On Farps?

Squadrons are placed as the "home base" on an airfield, carrier or farp. Carefully plan where each Squadron will be located as part of the defense system.

 

I will use AI_CAP option , thank you.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...