Jump to content

Qazplm

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Qazplm

  1. I'm learning the moose script, but the planes that perform bai and cas takeoffs have no target, fly everywhere, and only a few work fine. Defensive coordinates don't seem to work, they are dispensable. As tested, the radius of defense is based on the base and not on the coordinates of the defense. I don't understand why CAS and BAI don't work properly? The tactical display panel shows that the command center didn't give them target designation, and I don't know why. Can someone tell me what's wrong? CAS Airplanes.lua CAS Jiaoben Moose.miz
  2. Thank you, I tried to express it in English. Hi guys, I would like to write an AI_A2G_DISPATCHER script as follows: DetectionGroup = SET_GROUP:New():FilterPrefixes( {"ZhenChaji", "HQ BLUE", "Reccc"} ):FilterCoalitions("blue"):FilterStart() Groundetection = DETECTION_AREAS:New( DetectionGroup, 2000 ) :CalculateIntercept(DetectedItem) :SetFriendliesRange( 60000 ) :SetRefreshTimeInterval( 5 ) :SetIntercept(true, 5) :DetectedReportDetailed(AttackGroup) Groundetection:Start() --- A2GDispatcher = AI_A2G_DISPATCHER:New( Groundetection ) A2GDispatcher:SetCommandCenter( CC ) -- A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ BLUE #006" ):GetCoordinate() ) A2GDispatcher:AddDefenseCoordinate( "HQone", GROUP:FindByName( "HQ BLUE #005" ):GetCoordinate() ) CCCPBorderZone = ZONE_POLYGON:New( "zone one", GROUP:FindByName( "HFDMBianjie" ) ) A2GDispatcher:SetBorderZone(CCCPBorderZone) A2GDispatcher:SetDefenseReactivityHigh() A2GDispatcher:SetDefenseRadius(100000 ) A2GDispatcher:SetIntercept(180) ---- DetectedItem is required. But my first contact with this thing, I don't know how to write, or how to get DetectedItem. I've tried several methods, but none of them are right, can someone help me?
×
×
  • Create New...