![]() |
Making AI Land
Does anyone know the trick to making the AI land? On some bases they will land but go off the end of the runway and crash. Othertimes they just circle the runway forever... Is it just a case of some runways will allow AI to land and others wont or what?
If anyone has an example of this working consistantly could you send me the mission please. Thanks. |
the problem it the task of the airgroup. If the airgroup task is RETURN, the aircrafts often circle around their destination airfield, till running out of fuel. The task will become RETURN if a Aircraft is damaged or low on fuel. There is no way to change the RETURN-State into LANDING, so you must take care that all Aircrafts get Home before they 'decide' to do it automatically.
Here you will find a script example http://forum.1cpublishing.eu/showpos...29&postcount=3 take a look on OnTickGame, i send the Airgroup home at a Fuellevel at 150 (Bf109 has a value of 300 on 100% Fuel so it's the half). Lets hope this behavior is fixed in one of the next patches :rolleyes: |
Hmm Im not even talking about anything so complicated. I just want them to go to the last way point and land. Like in old IL2.
|
Nevermind - I got it. This is how I did it.
Place a normal flight at 500m's altitutde near the airfield. Place a landing way point on the plane icon on the airstrip. Ensure the landing waypoints speed is 0. Larger aircraft like He111 will try and park in the small blast pens but will not explode. |
By my tests this works not very often, unfortunately. If the Task is RETURN all waypoints except the last are ignored, so the problem still exist. But i will make more tests, may be you find the holy grail of waypoint handling :grin:
|
Quote:
Set normal fly waypoint then Set waypoint landing not to far from runnway. Set altitude between 0 and 300 Set speed to 0 but it will default back to 169 They hit the landing waypoint and the first peels off to half circle and land, the others fly on a little circle behind first and all follow in. I get no fly rounds like kodiak says. I did get that in scripting a while ago and fixed it. |
If the task is RETURN? The Task get in RETURN state if the AI gets out of fuel or is damaged and automatically return to base. If this not the case (the task is LANDING) all work fine for me, also. So i will make more tests :rolleyes:
|
You thought about a passthrough near airfield or along returnpath to switch to landing
Just an idea Or have the passthrough around the base 2000m so when AI return to the area threre is a time trigger to switch them to land also |
Now you guys are making me check my maps again to check if they do land because I just sent the AI in the direction of the base as a normal and then did a normal landing, just like 1946, and no problem.
|
Quote:
|
All times are GMT. The time now is 03:15 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.