Arma 3
352 ratings
Realistic Auto Pilots
2
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod, Server
File Size
Posted
Updated
63.469 KB
Jul 12, 2018 @ 9:20pm
Dec 21, 2020 @ 12:44am
13 Change Notes ( view )

Subscribe to download
Realistic Auto Pilots

Description
Adds a scirpt-based autopilot to all aircraft in a mission for clients running the mod!
Have you ever wanted to be able to actually scan the ground for a target while your plane makes sure you don't die? Well now you can with this simple-to-use autopilot mod!



This mod will add 4 autopilots to every plane and helicopter.
Planes and VTOLs get:
  • Altitude Hold (Good for circling)
    • Turns off when pitch is ± 7.5° OR bank is ± 60°
  • Altitude and Heading Hold (Good for waypoints)
    • Turns off when pitch is ± 7.5° OR bank is ± 10° OR heading is ± 5° from target heading
  • Path Hold (Good for climbing)
    • Turns off when pitch is ± 10° from target OR bank is ± 10°
  • Automatic Throttle Control (Holds speed)
    • Turns off when pilot changes throttle
VTOLs get:
  • Position Hold (Like Auto-Hover, but realistic and now for VTOLs)
    • Turns off when pitch is ± 15° OR bank is ± 15° OR you are going too fast OR you turn on auto-vectoring
    • Enters STBY when reciving input from pilot on any directional controls (Cyclic, Collective, Yaw Pedals)
Choppers get:
  • Altitude Hold (Constant altitude ABOVE SEA LEVEL)
    • Does not automatically turn off
  • Attitude Hold (Hold vector and direction)
    • Turns off when pitch is ± 60° OR bank is ± 70° OR velocity is below 15
  • Position Hold (Like Auto-Hover, but realistic)
    • Turns off when pitch is ± 15° OR bank is ± 15° OR you are going too fast
    • Enters STBY when reciving input from pilot on any directional controls (Cyclic, Collective, Yaw Pedals)
  • Heading Hold (Keeps you aimed one way)
    • Turns off when bank is ± 10° OR heading is ± 5° from target heading OR too close to ground (5m)
    • Enters STBY when cyclic is held left/right, when yaw is held, or when notable collective input is given.

Autopilot notes
  • The autopilot will turn itself off if certain criteria are met (Depending on which mode you are using)
  • Helicopter autopilot will (Depending) go to standby mode if you maneuver, at which point it will hold the new values once the maneuver is complete. (For instance, breaking the position hold and then entering another hover smoothly will not stop the autopilot but will rather set it to standby while you fly between positions)
  • A main thing to note is you have to get the aircraft moving steadily before attempting to turn on the autopilot. The autopilot is not a magical pilot who can fly for you, it just lets you focus on targets or instruments rather than focusing on the flying of the aircraft itself.

If you are making a mission and wish to prevent a particular aircraft from having autopilot added, put this into the vehicles init:
this setVariable["hal_autopilot",false];
This mod is client-sided, meaning the server does not need to run any additional mods to support it, but it must allow the client to use the mod.

Only requires CBA to run!
Popular Discussions View All (2)
17
Aug 29, 2021 @ 5:35pm
Autopilot suggestions
FatherSarge
9
Mar 21, 2020 @ 10:40am
Errors and Glitches.
Kiri Otoru
147 Comments
Blockdude  [author] Jun 27 @ 12:38pm 
Altitude Hold (if using a plane) will do what you want. Get the target perpendicular to you, roll the aircraft towards it (If it's on your left, roll left), and then set the altitude hold. It will cause you to circle the target
Snake Jun 26 @ 11:08am 
is it possible to set the auto pilot to loiter around a specific area ?

thanks. :)
Blockdude  [author] Jun 10 @ 12:04am 
It's been a number of years since I checked, but last time I did, there is no reliable way to detect the co-pilot (Their seat shows up as a passenger seat). As such there is no way to give the autopilot control options to the co-pilot.
Orion85 May 25 @ 8:59am 
Doesn't work for Copilot even when copilot takes control
LordDevorkian69 May 3 @ 5:54pm 
Airplane the funniest movie ever.
Blockdude  [author] Dec 30, 2023 @ 1:27pm 
Go right ahead
Marki Dec 28, 2023 @ 7:43am 
Evening, I have a question, could I potentially use part of your code for a VTOL mod I am trying to fix?
JohnnyHamastix5643 Aug 13, 2023 @ 11:10am 
Does this work with helicopters with Advanced Flight Model enabled?
squigwraith Jun 4, 2023 @ 1:17am 
cheers
Blockdude  [author] Jun 3, 2023 @ 9:44pm 
By default, there isn't any bind. You can set up binds in the CBA settings menu