Gideon312 Posted January 22 Posted January 22 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.
Gideon312 Posted January 22 Author Posted January 22 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.
42jeff Posted January 22 Posted January 22 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. 1 Don't Panic!
Gideon312 Posted January 23 Author Posted January 23 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.
rob10 Posted January 24 Posted January 24 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.
Recommended Posts