Results 1 to 3 of 3

Thread: Useful explanation of AIAirWayPoint and Ground Attack - Target (GATTACK) values

  1. #1
    Ace
    Join Date
    May 2015
    Location
    Kansas City, Missouri area
    Posts
    507
    Post Thanks / Like
    Total Downloaded
    130.02 MB

    Useful explanation of AIAirWayPoint and Ground Attack - Target (GATTACK) values

    I came across this helpful explanation from Naryv today:

    Code:
    Action values ​​- AiAirWayPointType.NORMFLY // default 
        NORMFLY, // normal flight to a given point
        TAKEOFF, // takeoff 
        LANDING, // landing 
        GATTACK_TARG, // ground target (ie, a ground stationary/ground actor - in FMB you need to click "set target" and then select the target ground object with the cursor that is displayed)
        GATTACK_POINT, // ground, region (ie, a given point on the ground, point is given as a Point3d with the point's coordinates - in FMB the point is indicated by the location you put the ground attack waypoint - the attack target point will be the ground directly below that icon point)
        AATTACK_BOMBERS, // bomber attack 
        AATTACK_FIGHTERS, // attack fighters 
        HUNTING, // free hunting 
        FOLLOW, // following a friendly group 
        ESCORT, // escort another group 
        COVER, // cover for friendly ground vehicles
        RECON, // reconnaissance
    
    Target value of type AiActor ; 
    
    GAttackType values ​​AiAirWayPointGAttackType.AUTO; //default, ground attack type is 
        AUTO, // automatic selection
        LEVEL, // As for example in high altitude bombing
        DIVE, // dive bomb, ie as Stukas do
        TOP_MAST, // top mast attack (ie, skip bombing, coming in very low, level, and fast, and commonly use for example to target ships)
        SHALLOW_DIVE // shallow dive attack
    
    
    GAttackPasses values ​​AiAirWayPointGAttackPasses.AUTO; //default , number of visits 
        AUTO, // automatic selection 
        _1, // 1 
        _2, // 2 
        _3, // 3 
        _4, // 4 
        ALL_OUT // until the ammo is used up or the target is destroyed 
    
    P, Speed ​​- coordinates and speed in m/s
    This is specifically for setting the AiAirWayPointType and other values when scripting, but also explains some of the other values that you can set via FMB, that might be a bit obscure.

    FYI I can't see any difference in using different GAttackPasses values - but perhaps I am not using them with the correct aircraft.

    Just for example - the Ju-87/Stuka dive bombs beautifully but I can't get any other aircraft in the sim to dive bomb at all. So some settings might be specific to some aircraft.

    Original page is here - the above is auto-translated from Russian with a few additional notes/explanations by me.
    Last edited by TWC_Flug; Jan-22-2023 at 17:30.
    System: Microsoft Windows 10 Pro 64 bit, 10.0.18362 N/A Build 18362, 20,437 MB |
    ASUS GeForce GTX 1060 3GB | Intel Core i5-2500 Quad-Core Processor 3.3 GHz 6 MB Cache LGA 1155 | Intel DB65AL motherboard | ARCTIC Freezer i11 CPU Cooler | SVGA 500 watt power supply | Microsoft Sidewinder 2 Force Feedback joystick

  2. Likes GANIX liked this post
  3. #2
    Team Fusion ATAG_Oskar's Avatar
    Join Date
    Nov 2017
    Location
    Canada
    Posts
    919
    Post Thanks / Like
    Total Downloaded
    895.90 MB

    Re: Useful explanation of AIAirWayPoint and Ground Attack - Target (GATTACK) values

    If you use the GATTACK_TARG waypoint you do not need to set a target, the airgroup will find the nearest enemy object and attack it. Some times you do want to set a target. If you are attacking warships, for example, you might want to assign specific airgroups to attack certain ships. That's where you would use 'Set Target'.

    GAttackPasses sets how many times an aircraft strafes a target area. This is where using 'Set Target' should not be used. If you are attacking and airfield with vehicles, parked planes, AA, etc. you will probably want to make four passes. The AI has a chance to destroy something with each pass. If you set a target vehicle it will be destroyed on the first pass and the airgroup will fly away, mission accomplished. You can have more than one GATTACK_TARG waypoint so you can strafe until you run out of ammo.

    Only dive bombers will dive bomb. The Ju-88 will do a dive, not as vertical as the Stuka.

    HUNTING/'Free Hunt' means attack all enemy aircraft.

  4. Likes TWC_Flug, GANIX liked this post
  5. #3
    Ace
    Join Date
    May 2015
    Location
    Kansas City, Missouri area
    Posts
    507
    Post Thanks / Like
    Total Downloaded
    130.02 MB

    Re: Useful explanation of AIAirWayPoint and Ground Attack - Target (GATTACK) values

    Thanks, Oskar, that is very helpful.
    System: Microsoft Windows 10 Pro 64 bit, 10.0.18362 N/A Build 18362, 20,437 MB |
    ASUS GeForce GTX 1060 3GB | Intel Core i5-2500 Quad-Core Processor 3.3 GHz 6 MB Cache LGA 1155 | Intel DB65AL motherboard | ARCTIC Freezer i11 CPU Cooler | SVGA 500 watt power supply | Microsoft Sidewinder 2 Force Feedback joystick

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •