Jump to content
Kaede Takagaki

Force AI Plane turn engine to maximum?

Recommended Posts

Hi all:

 

Recently I found lots of amazing maps with a problem of airfields without the runway grid so it cause AI plane cannot take off or land.

 

I consider to force AI take off by increasing its speed and I tried :

this forceSpeed -1;

 

However, nothing happened.I think it’s might be not relative to speed but the engine running degree,if AI plane keep engine running in maximum it will able to take off. so how could I force AI turn on engine staying in maximum? 
 

Thank you 

Share this post


Link to post
Share on other sites

Because the planes are taxiing they wont hold 100% throttle (I think that's it basically, it's what appears to be happening). At a guess you're on the PMC terrains? Either way, you could brute force it with an eachFrame event handler (setting velocity and direction constantly). But for proper runway operation that's not going to be enough. I needed AI to use the runways on one of the PMC maps, and also wanted some ILS functionality for players, so I worked out how to add modded in runway objects that add each runway as a class:

https://community.bistudio.com/wiki/Arma_3:_Dynamic_Airport_Configuration

 

I did it for the 4 airfields on Montenegro, including taxiways. It wasn't the easiest thing I've had to figure out.

  • Like 2

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

×