Howto:Define limits

From FlightGear wiki
(Redirected from Howto:Define speed limits)
Jump to: navigation, 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


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>):