Howto:Define limits

From FlightGear wiki
(Redirected from Howto:Define speed limits)
Jump to navigation Jump to search

FlightGear has an in-built warning system to warn if the pilot execute certain actions above the maximum speed. These speed limits are controlled by a piece of code in the -set.xml file of the aircrafts. When a pilot performs an action above the maximum speed a message will be shown on the screen.

Currently there are four different actions included in the warning system. Namely:

  • Flaps: extending flaps above maximum flap extension speed(s).
  • Gear: extending gear above maximum gear extension speed.
  • VNE: exceeding velocity not to exceed (VNE).
  • G-forces: exceeding structural G limits

Additionally, the Fuel and Payload dialog can also display various limit weights such as maximum take off and landing weights.

Standard Load limits

The US FAA defines standard load limits for different categories of aircraft, which can be used as a guide if you don't have the airframe-specific limits available from the flight manual.

  • For transport category airplanes, from −1 to +2.5 (or up to +3.8 depending on design takeoff weight)
  • For normal category and commuter category airplanes, from −1.52 to +3.8
  • For utility category airplanes, from −1.76 to +4.4
  • For acrobatic category airplanes, from −3.0 to +6.0
  • For helicopters, from −1 to +3.5


To use, you have to include a Nasal file to your -set.xml file. Namely: Aircraft/Generic/limits.nas. And define one or more of the limits. All speeds are in kts. If you want to make your own limits, you could also place an edited copy of the Nasal file in your Aircraft/.../Nasal folder.

Here's an example of the limits.




And the required limits.nas file (replace <MyAircraft> with a custom name, usually your aircraft's name, but without symbols or spaces, e.g. <Boeing744> instead of <Boeing 747-400>):