Jump to content

Sign in to follow this  
Dirt

Command for Autopilot

Recommended Posts

I have been working on a mission that requires the AI to land at an airbase the first try. Checked out the wiki and did a search with know luck for autopilot. Is there a action for autopilot that can be placed in the init. It gives the ["LAND", <target>] , but that seems not to work.

Any ideas.

Share this post


Link to post
Share on other sites

Did you try placing a GetOut waypoint at the taxiway, not at the runway ?

Edit:

Update

Just tested it. The GetOut waypoint on the taxiway worked for Harrier. It will approach airport, take one circle and then land, move to the taxiway and pilot will disembark.

Changing the plane to the SU and testing again failed. The plane approaches the airport and ends up in circles at the end of the runway without landing. AI obviously has problems in getting the course right.

Reported as bug.

Share this post


Link to post
Share on other sites

Yep...you got the same results that I did. If we just had the option to use the Landing Autopilot in the waypoint or aircraft init. we would have the problem solved.

It seems the Su-34/34B, AV-8B and the AV-8B(GBU) have the autopilot fixed. It even works with the Be-32K. Of course I could only test this with a human controlling the aircraft. I set up a quick mission in the editor, with the plane way west of the airbase. As soon as the missions started, click the Landing Autopilot and rode the planes into a great stright in landing (no having to go around).

The command has to be somewhere, just got to start digging for it.

Share this post


Link to post
Share on other sites
  [b said:
Quote[/b] ]If we just had the option to use the Landing Autopilot in the waypoint or aircraft init. we would have the problem solved.

Well technically the methods are exaclty the same. When the AI has a GetOut WP over a taxiway Autopilot will be activated for the plane and will use the ILS coords for an approach.

Still the AI issues with handling the aircrafts renders this useless with a lot of plane right now.

Share this post


Link to post
Share on other sites

Can we still get the action for turning on the landing autopilot directly? I don't WANT to use a GETOUT waypoint since I don't want the pilot to get out tounge2.gif

I suppose I could lay a trigger near the end of the runway that would redirect the harrier to where I want him to taxi but that's rather sloppy now!

Share this post


Link to post
Share on other sites

You don't need an action for AI. Use the land command it AI automatically engages it. Land does not disembark the crew either, though I'm not sure if they'll stay on the ground or just take off again afterwards, since AI automatically attempt to take off (from the runway, after taxiing to it) whenever they're on the ground.

Share this post


Link to post
Share on other sites

I thought the LAND command was only for helicopters.

What I eventually did is put down a getout waypoint on the taxiway and the plane autolands along the runway logic and travels down to the end but it doesn't know how to taxi off the east end of the runway logic onto the taxiway logic. So basically I set a trigger near the end that moves the thing the 30m to the east end of the taxiway logic, sets 270 direction, sets velocity 0 and let's the harrier taxi along the taxiway logic.

Weird I know but it works.

Basically if the harrier is on the ground not inside the taxiway logic border he'll bee-line it for the start of the runway running into the barn (!!!wink_o.gif or anything else on the airport surface. The AI won't proceed beyond the end of the runway after landing for much.

Share this post


Link to post
Share on other sites
  (Frederf @ May 01 2007,21:27) said:
I thought the LAND command was only for helicopters.

Nope, planes too.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×