AI Helicopter Decelerate No Climbing
AI Helicopter Decelerate No Climbing
Prevent AI controlled helicopters and VTOLs from zoom climbing when they try to decelerate.
Detects deceleration based on altitude, speed, and attitude. Only operates above 20 meters over terrain. Uses addForce to maintain a level trajectory until deceleration is complete.
Compatible with AI and support mods.
Load on all servers and clients.
Activation Conditions (all must be met)
– player does not have controls
– engine on
– speed > 60 kph
– altitude above surface > 20 m
– no terrain in front for 500 m
– current speed < past speed
– current altitude > past altitude
– attitude is nose up
Behaviour can be disabled using
_heli setVariable ["ahdnc_disable", true, true];