Jump to content

How to Set AI Flight in Orbit with 30° Bank Angle and 250 Kts Airspeed?


Recommended Posts

Posted

Hi everyone,

 

I’m working on setting up an AI flight in the Mission Editor and need some help with getting the bank angle right. Here’s what I’ve done so far:

• I’ve added an AI jet (an F/A-18) to the mission with a single waypoint.

• I’ve added an Advanced Waypoint Action to make the jet orbit at that waypoint.

• I’ve managed to get the airspeed close to 250 knots, which works fine.

 

The issue is with the bank angle during the orbit. Instead of holding a 30-degree bank angle, the AI is flying with a bank angle ranging from 45 to 50 degrees.

 

Does anyone know how to limit or adjust the bank angle for AI aircraft in orbit? Is there a specific setting, workaround, or perhaps a script that can help enforce the desired 30-degree bank angle?

 

Any advice would be greatly appreciated!

 

Thanks in advance!

System:

Win11 Pro, X870Pro RS Wifi 7 AM5, AMD Ryzen 7 7800X3D, 64GB RAM, NVIDIA GeForce RTX 4090, Corsair MP400 SSD (1TB for WIN), Corsair MP700 PRO (2TB for DCS), VR PIMAX Crystal.

Posted

Tried this script as a do file:

 

local unitName = "YourAIPlaneName" -- Replace with the AI unit's name

local unit = Unit.getByName(unitName)

if unit then

    unit:getController():setTask({

        id = 'Orbit',

        params = {

            altitude = 5000,    -- Replace with desired altitude (feet)

            speed = 250,        -- Airspeed in knots

            pattern = 'Circle',

            bank = 30,          -- Bank angle in degrees

        }

    })

end

 

Still same result……

System:

Win11 Pro, X870Pro RS Wifi 7 AM5, AMD Ryzen 7 7800X3D, 64GB RAM, NVIDIA GeForce RTX 4090, Corsair MP400 SSD (1TB for WIN), Corsair MP700 PRO (2TB for DCS), VR PIMAX Crystal.

Posted
3 hours ago, Gideon312 said:

Hi everyone,

 

I’m working on setting up an AI flight in the Mission Editor and need some help with getting the bank angle right. Here’s what I’ve done so far:

• I’ve added an AI jet (an F/A-18) to the mission with a single waypoint.

• I’ve added an Advanced Waypoint Action to make the jet orbit at that waypoint.

• I’ve managed to get the airspeed close to 250 knots, which works fine.

 

The issue is with the bank angle during the orbit. Instead of holding a 30-degree bank angle, the AI is flying with a bank angle ranging from 45 to 50 degrees.

 

Does anyone know how to limit or adjust the bank angle for AI aircraft in orbit? Is there a specific setting, workaround, or perhaps a script that can help enforce the desired 30-degree bank angle?

 

Any advice would be greatly appreciated!

 

Thanks in advance!

Use the AEROBATICS action...never tried it with an orbit, but it works REALLY well for just basic turns and such.  

  • Like 1

Don't Panic!

Posted
10 hours ago, 42jeff said:

Use the AEROBATICS action...never tried it with an orbit, but it works REALLY well for just basic turns and such.  

Thanks for your reply, at least I could make the AI flight turn with 30 degs of bank. Not able to get his speed down to 250.

System:

Win11 Pro, X870Pro RS Wifi 7 AM5, AMD Ryzen 7 7800X3D, 64GB RAM, NVIDIA GeForce RTX 4090, Corsair MP400 SSD (1TB for WIN), Corsair MP700 PRO (2TB for DCS), VR PIMAX Crystal.

Posted

You may have to play with circle orbit and set the speed then mess with the distance between waypoints until you get the angle you want.

  • Recently Browsing   0 members

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