Skip to main content
RealSimGear G5 Integration Guide

Additional configuration steps required if you would like to integrate the G5 instrument into the 3D panel of third party aircraft

Jarrod - RealSimGear avatar
Written by Jarrod - RealSimGear
Updated over 3 years ago

This is an archive of the version 1.x G5. Version 2.0 is now a RealSimGear product (existing customers have been transferred to the new product).

For general integration:

  1. Run the G5 Aircraft installer application inside “X-Plane 11/G5 Aircraft Installer”

    1. Open the application for your relevant operating system (G5-osx-installer for MacOS, G5-win-installer.exe for Windows)

    2. When prompted, choose the directory of the aircraft which you want the G5 installed into

    3. The installation should now occur

  2. Configure your settings by opening the file “X-Plane 11/Aircraft/***your aircraft of choice***/g5.cfg” in the text editor of your choice (TextEdit on Mac, Notepad/Notepad++ on Windows both work great) (See G5 Configuration (g5.cfg) Description for details)

  3. Configure a keyboard or joystick command in X-Plane to toggle any of these popups (With 1.2.0, the G5s can also be popped out from the X-Plane plugins bar)

    1. G5 (A): afm/g5/cmd/a/popup

    2. G5 (A – Bezel-less): afm/g5/cmd/a/popup_noBezel

    3. G5 (B): afm/g5/cmd/b/popup

    4. G5 (B – Bezel-less): afm/g5/cmd/b/popup_noBezel

  4. To adjust the airspeed, a graphical customization is needed. An Adobe Illustrator file is used to create the file “resources/g5/g5_airspeed.png”. You can customize the red/yellow/green arcs by modifying and exporting the file from here. Feel free to let us know what airspeed customizations you need and we can generate this file for you.

  5. When the command is triggered, the popup should show!

Additional steps for 3D integration:

3D Integration requires access to the source cockpit object to be able to add the screen and manipulators.
NOTE ***These steps are targeted towards aircraft developers.***

  • Add the G5 objects to your aircraft in Plane Maker (Download our own Creative Commons Attribution 3.0 Licensed G5 3D model for the G5 from here): As shown below, make sure that you:

    • Use G5.obj for the main G5, and G5B.obj for the secondary. This makes sure that the lights on each G5 correlate with each other.

      • Rotation for the object is 180º (if applicable for your aircraft)

      • Set lighting to be inside

      • Set shadow mode to interior only

      • Make sure hi-res is checked

    • Add two instances of G5_Glass.obj and G5_Px.obj each, one for each G5. These add the glass and pixel effects.

      • Rotation for the object is 180º (if applicable for your aircraft)

      • Set lighting to be Glass (inside)

  • In Plane Maker → Systems, check auto adjust CDI to GPS DTK and set AP Heading to AHRS

    1. Note: This is a requirement to allow the GPS to auto-set course. The G5 will still function without this, course will just need to be manually adjusted with the GPS.

  • In your cockpit object (where all your manipulators are), the display texture will be needed.

    • Match the UV coordinates of the rectangle to what is set in your g5.cfg

    • Add the commands for the knobs (A matches for PFD unit, B matches for HSI unit):

      • afm/g5/cmd/a/power

      • afm/g5/cmd/a/knobL

      • afm/g5/cmd/a/knobR

      • afm/g5/cmd/a/knobPush

      • afm/g5/cmd/b/power

      • afm/g5/cmd/b/knobL

      • afm/g5/cmd/b/knobR

      • afm/g5/cmd/b/knobPush

For Aircraft Developers: If you don’t want to manage separate ACF files, you can have your plugin manage the “Kill Dataref” to hide the object when the user does not have the G5 installed.

Did this answer your question?