Osi Posted December 26, 2020 Share Posted December 26, 2020 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 More sharing options...
Delta99 Posted December 26, 2020 Share Posted December 26, 2020 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. My Missions: Valley Patrol Mission :: Valley Escort Mission :: A2A Engagements Link to comment Share on other sites More sharing options...
Osi Posted December 28, 2020 Author Share Posted December 28, 2020 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 More sharing options...
Recommended Posts