-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Qazplm
-
-
3小时前,Wingthor说:
很难帮助你,因为我不明白你想实现什么。你的中文“对我来说是希腊语”。但是,如果您需要帮助,可以加入 Moose Discord 群组。如果您在此论坛上获得帮助,请更具体地说明问题所在,最好是英文。
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?
CAS and BAI are not working properly
in Scripting Tips, Tricks & Issues
Posted
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