Gizmo
From X-PluginsGizmo is a plugin for X-Plane that provides a rich scripting environment powered by the Lua language at its core. Gizmo aims to provide content authors with a comprehensive set of tools to create compelling add ons for the X-Plane flight simulator. By leveraging the following libraries, Gizmo offers an easy to use solution for enhancing X-Plane.
DownloadX-Plane Plugin
http://dl.dropbox.com/u/948813/Gizmo/10.3.4/Gizmo.plugin-Mac-10.3.4.21.22.zip
http://dl.dropbox.com/u/948813/Gizmo/10.3.4/Gizmo.plugin-Win-10.3.4.21.22.zip InstallMacintosh
Extract and install the libcurl.framework package into /Library/Frameworks/
Windows DLL Package Installerhttp://dl.dropbox.com/u/948813/Gizmo/10.3.4/Windows_pThreads.exe
Windows DLL "By Hand" Install StepsWindows 64bit
Unzip and install the pthreadGC2.dll into your Windows\WoW64 folder. Windows 32bit
Unzip and install the pthreadGC2.dll into your Windows\System32 folder.
Linux (Ubuntu)
DocumentationGizmo for PlayersGizmo for Content AuthorsWhat does Gizmo offer me?
How can I start working with it?To start working with Gizmo you need to be an authorized developer. Being a developer grants you access to the tools that generate keys that allow Gizmo to work with your ACF files. If you think you have what it takes to produce next-gen content for X-Plane and you would like to work with Gizmo you can contact either http://X-Aviation.com or myself directly at br@x-plugins.com Please note that at this time it is NOT possible to develop free, open, products with Gizmo. Gizmo is designed from the ground up to secure both itself and the products it enhances. Developer ReferenceOptimizing your Lua ScriptsAs we are writing scripts for a flight sim it is important to strive for fast, efficient programming. This PDF will help you optimize your Lua usage: http://www.lua.org/gems/sample.pdf Useful Math FunctionsUseful math http://www.movable-type.co.uk/scripts/latlong.html TODO: Expose these as a Gizmo API module so they can run in C
LuaGLEditor of ChoiceFree, and available for all platforms. http://www.activestate.com/komodo_edit/
Hello World<ACF>/scripts/init.lua sound.say("Hello World!"); The script example above will cause X-Plane to annunciate "Hello World!" using the built in text-to-speech engine that is used by the built in ATC system. It will also cause the text to be displayed at the top of the screen in a green font surrounded by a translucent green box. (Assuming sound options are configured as default.)
Scripting API ReferencePlease see the Gizmo/api for more info on using Gizmo. |
||
|
|
||
