OpenAL Shared Example |
4 Jan 2021 |
This sample code demonstrates how to use OpenAL with a context from a plugin. |
TimedProcessing |
4 Jan 2021 |
This example plugin demonstrates how to use the timed processing callbacks to continuously record sim data to disk. |
SimData |
4 Jan 2021 |
This example creates menus items that change the nav-1 radio frequency to demonstrate how to interact with X-Plane by reading and writing data. |
ShareData |
4 Jan 2021 |
This is an example plugin that demonstrates how to share data, both owned by a plugin and shared. |
Position |
4 Jan 2021 |
This sample is a plug-in that allows positioning of lat/lon etc. |
Override |
4 Jan 2021 |
This sample shows how to use the "override" datarefs to disable X-Plane's internal control of things like the flight model and joystick controls. |
OpenAL Example |
4 Jan 2021 |
This sample plugin plays a sound whenever an airplane is loaded. It demonstrates how to use OpenAL with a context from a plugin. |
ManagePlugins |
4 Jan 2021 |
This sample demonstrates how to manage other plugins. |
KeySniffer |
4 Jan 2021 |
This example shows the use of key sniffers to intercept and process raw keystrokes. |
EngineStarter |
4 Jan 2021 |
This examples shows how to start the engines via plugin. |
DrawAircraft |
4 Jan 2021 |
This examples shows how to draw 7 AI aircraft around the user aircraft. |
Custom Prop Disc |
4 Jan 2021 |
This sample shows how to create a plugin to drive a custom prop disc. |
Control |
4 Jan 2021 |
This sample shows how to control lat/long, etc. |
CommandSim |
4 Jan 2021 |
This sample demonstrates how to send commands to the sim. Commands allow you to simulate any keystroke or joystick button press or release. |
Camera |
4 Jan 2021 |
This sample shows how to register a new view with the sim that orbits the aircraft. |
Beacons and Strobes |
4 Jan 2021 |
This sample shows how to override X-Plane's default flash patterns for the beacons and strobes. |
FMSUtility |
4 Jan 2021 |
This examples shows how to access the FMS via plugin. |
MotionPlatformData |
4 Jan 2021 |
Plugin to show how to derive motion platform data from datarefs. |
TestWidgets |
4 Jan 2021 |
This example shows how to create 2 custom widgets which are then used by the plugin. |
ReloadPlugins |
4 Jan 2021 |
This example shows how reload plugins so you don't have to quit X-Plane. |
Crash Handling |
2 Jun 2020 |
Example demonstrating how to save useful debugging information for crashes caused by a plugin |
Overriding TCAS |
8 May 2020 |
|
Hello World (SDK 3) |
7 May 2020 |
"My first plugin." Creates a window to show the text "Hello World!" |
X-Plane 11 Instanced Drawing Sample |
7 May 2020 |
This sample shows off the new instancing API, used for efficiently drawing objects without needing to write OpenGL. |
X-Plane Menu SDK Sample |
7 May 2020 |
A basic demonstration for adding submenus to the in-sim Plugin menu. |
X-Plane 11 Window Gravity Sample |
7 May 2020 |
Creates a window that is dynamically resized based on the X-Plane window's size. |
X-Plane 11 Window API Sample |
7 May 2020 |
Creates a new, "modern" window styled like an X-Plane 11 window which supports multiple monitors and pop-out into its own OS window. |
SDK 3.0 Window Scissoring Sample |
7 May 2020 |
Demonstrates the use of the modelview, viewport, and projection matrix datarefs for applying scissoring to SDK 3-style windows. |
VR Window Sample |
7 May 2020 |
Demonstrates creating a window, moving it to VR, and changing its size based on a button click. |
Drawing 2-D That Matches the 3-D world |
7 May 2020 |
An example of how to draw 2-d graphics that match the 3-d world. |
X-Plane 11 Map API Sample |
7 May 2020 |
Draws custom map layers using pure OpenGL, PNG icons, and text labels. |
Custom Command with Custom DataRef |
28 May 2018 |
This example program creates a custom integer dataref and 2 custom commands. |
TextureDraw |
16 Apr 2018 |
This code snippet shows how to load a texture and draw it as a 2D quad. |
Draw Terrain Object |
21 Feb 2018 |
This sample code shows how to draw a terrain object that moves in relation to the aircraft |
TextFieldFilters |
11 Jan 2018 |
This code snippet shows how to attache control V, C, and X as cut/copy/paste. |
X-Plane 10 Instancing Compatibility Wrapper |
11 Jan 2018 |
Compatibility wrapper for using the new XPLMInstance APIs in plugins that support old versions of X-Plane. |
Fast Culling |
11 Jan 2018 |
This code snippet can be used to determine if a sphere at a location in the current OpenGL coordinates is visible. |
ClickingIn3D |
11 Jan 2018 |
This code snippet saves the 2d mouse click and outputs it as two 3-d points. |
Billboards |
11 Jan 2018 |
This is a code snippet that returns up to 3 camera directions in OpenGL coordinates. |
ArrayDataRef |
11 Jan 2018 |
This is a code snippet that shows how to write custom array dataref handlers. |
Register Custom DataRef in Dataref Editor |
11 Jan 2018 |
This plugin adds a few lines of code and a flight loop callback. The flight loop callback sends the message to DataRefEditor to register your custom dataref in DataRefEditor. |
Custom Manipulator Controlling X-Plane |
11 Jan 2018 |
This sample illustrates control of X-Plane DataRefs using custom manipulators. |
Custom Command |
11 Jan 2018 |
This example program illustrates creating a custom command. |
Create Instructions Widget |
11 Jan 2018 |
This example shows how to use a pulldown menu to create a widget window to display a list of instructions or notes. |
SDK200Tests |
11 Jan 2018 |
This sample tests SDK 2.00 functions. |
SDK210Tests |
11 Jan 2018 |
This sample tests SDK 2.10 functions. |
AcquirePlaneTest |
11 Jan 2018 |
A quick test of airplane acquisition. |