Skip to main content

Working Title UNS 1LW Overview

The UNS 1Lw package provides a true to life simulation of the Universal UNS-1Lw FMS often found on many older aircraft thanks to its ease of implementation.

The UNS package provided also includes an autopilot to ease development of aircraft. If other avionics packages are being used on an aircraft, their autopilot implementations will need to be disabled to allow the UNS to properly function - alternatively developers could implement their own autopilot using the Avionics Framework.

For developers wishing to implement a moving map, or other related avionics which interface with the UNS, an understanding of the Avionics Framework will be required to interface with the UNS flightplan.

Model Behaviours

The UNS package includes model behaviour templates which define behaviours for the buttons. No behaviours are included for screen emissives. The UNS includes a read-only lvar L:WTUns1_${FMS_INDEX}_ScreenLuminosity which the avionics set. This lvar should be referenced for determining screen brightness.

warning

In FS2020's AAU3 there is a known bug with the included UNS template. By default the node prefix will default to UNS_Push which does not allow for multiple instances of a UNS model. To allow multiple instances, add a NODE_PREFIX tag and include the index, such as in the below example. Future updates will have the NODE_PREFIX set to UNS_Push_[index]

To use the included model behaviours, see the example below:

  <Include ModelBehaviorFile="UNS/UNS.xml" />
...
<UseTemplate Name="WT_Uns_Template">
<INDEX>1</INDEX> <!-- The index of the UNS -->
<NODE_PREFIX>UNS_Push_1</NODE_PREFIX> <!-- The prefix for any nodes of this UNS instance -->
</UseTemplate>

The expected node names and animation names (animation name should always match node name) are:

  • for softkeys UNS_Push_[index]_LSK_[1-5]_[L|R]
  • for modekeys UNS_Push_[index]_[MODEKEY]
    • MSG
    • DATA
    • FUEL
    • TUNE
    • NAV
    • DTO
    • FPL
    • VNAV
    • LIST
    • MENU
    • PERF
    • NEXT_PAGE
    • PREV_PAGE
    • PWR_DIM
  • for scratchpad keys use:
  • UNS_Push_[index]_SCRATCHPAD_TYPE_[A-Z0-9]
  • UNS_Push_[index]_SCRATCHPAD_BACK
  • UNS_Push_[index]_SCRATCHPAD_ENTER
  • UNS_Push_[index]_SCRATCHPAD_PLUS_MINUS

Customizing the UNS

The UNS currently only supports customization using the panel.xml configuration file found in the airplane's panel/ folder.

For more details, please refer to the following pages: