• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Making AI Wingmen land

e.a.wicklund

Members +
I built a brief and quickie mission to test how well AI wingmen can land a particular airplane.

Trouble is: they aren't trying to land, even though the last waypoint designates "Land at base."

So...how do I get them to land?
 
Which airplane?

Some will, some won't, and some will try but cock it up and crash. It's all in the .air file design
 
You should also be looking at your last waypoints. It seems to me that they need a straight glide path lined up on the landing coordinates from a good distance and at the right speed.
 
Which airplane?

Some will, some won't, and some will try but cock it up and crash. It's all in the .air file design

It's the AH_Spitfire, but it is a modified .air file from a different spit. Does everything well, but the attempted AI landing at Hornchurch looked nightmarish.

I want to see if I can fix that.

I built a mission just for watching the landings, but can't get them to attempt a landing yet.
 
You should also be looking at your last way-points. It seems to me that they need a straight glide path lined up on the landing coordinates from a good distance and at the right speed.

Hmmm..., I'm not sure this is the case Ravenna. The runway entry itself tells the AI everything it needs to know about where to line up and begin its final approach. However, it has been a really long time since I have done any serious mission building and I could be talking out of my you know where. I'd need to create a new mission and see.. stand-by....

Yep, it looks like the final way-point can pretty much be anywhere. Just going by this very simple mission- out and back with some spawning of friendly AC. Every AI- the AI flights spawned nearer to the target and the AIs flying with the player came back and landed safely.
mission-builder-ss-00.jpg



MR
 
Last edited:
Okay, got them trying to land, but they are attempting to land waaay short of the airfield in the grass. And of course, they blow up there. Is that an airfield issue?
 
Hmmm..., I'm not sure this is the case Ravenna. The runway entry itself tells the AI everything it needs to know about where to line up and begin its final approach. However, it has been a really long time since I have done any serious mission building and I could be talking out of my you know where. I'd need to create a new mission and see.. stand-by....

Yep, it looks like the final way-point can pretty much be anywhere. Just going by this very simple mission- out and back with some spawning of friendly AC. Every AI- the AI flights spawned nearer to the target and the AIs flying with the player came back and landed safely.
mission-builder-ss-00.jpg



MR

Thanks MR, I've been focusing too much on waypoints and approach to runway then. Many thanks for setting me straight.
Cheers,
Ravenna
T
 
I have found that when you set your waypoint to land, the aircraft line up on the approach glide path and at a distance to land properly as Maskrider says. Sometimes they land, sometimes they crash and sometimes they land and crash into me. As Captain Kurt says, it's probably a separate plane/airfile issue. When a mission calls for me to land on a runway, not a carrier, I come in, watching my wingmen, that they don't fly into me. When the message; "You may land or hit X to end the mission" I usually hit X in order to save wingmen and not spoil an otherwise good mission. Wingmen losses are critical in most long campaigns and I don't like to risk them.
 
Wingmen are landing Short

I'm finally getting the wingmen to attempt a landing, but they are trying to land far short of the runway. They try landing in a field and blow up.

This is at Henderson field with MaskRider's scenery. Any chance there's a conflict between MaskRider's field position and the default runway position?
 
Yes, the airbases.dat entry for Henderson needs to changed from the stock one to MaskRider's.
 
Wingmen landing short of the runway? Look in the airbases.dat file in the INFO folder. Each airfield has an entry that reads landing_touchdown_pos=XXX. This is the point that the AI aim for on landing. It's the distance from the center of the runway. I believe it is in meters. Reduce this number until the wingmen land a little beyond the runway threshold. :playful:
 
Back
Top