Create / edit

From Sim Innovations Wiki
Jump to navigation Jump to search

For this tutorial I will be using Air Manager 2.0. The interface functionality is almost the same as 1.x, so you should be able to follow this tutorial if you're using 1.x. We will create a blank instrument, and throughout these tutorials you will be modifying this instrument, adding content, and so on. We will make a airspeed indicator for most of the tutorials.

This page is part of the Instrument Creation Tutorial.

Creating a new instrument

Fire up Air Manager and go to the 'Create/Edit' tab. Click on 'New' ('Add' for 1.x users), make sure you have the 'Blank instrument' option selected and click on 'Create'. A window will pop-up, with different options and labels.

Aircraft

Fill in the make and type of the aircraft you're designing your instrument for. You can fill in test or tutorial, or whatever you like.

Type

Fill in the instrument type. In this tutorial we will be making an airspeed indicator, so fill in Airspeed indicator.

Author

That's you!

Version

This is the version number of your instrument, you can leave this at 1 for now. Leaving it at 1 means version number 0.0.1, 10 means version number 0.1.0, and so on.

Preferred window width

The width of your instrument, this depends on the image material you are using, we will use 500 in this tutorial.

Preferred window height

The height of your instrument, this depends on the image material you are using, we will use 500 in this tutorial.

Compatible with ... (2.x only)

Tick the simulator you will be designing your instrument for. In this tutorial we will be designing an instrument that is suitable for both FSX / Prepar3D and X-Plane, so tick all the boxes (if you're using 2.x).

Description

This field is optional.

Press OK when finished. You did it, your instrument is created!

Editing an instrument

Directory

This opens the instrument directory. All instrument folders have a unique ID, therefore it's easier to open the instrument folder trough Air Manager. In this folder you will see several files, those are all edited by Air Manager, so you can leave them be, what's more important is the resources folder. This is the folder that will contain all the resources. Most likely images, but sound and font files also go here.

Logic Script

Clicking this button will open up your code editor. If clicking this button gives an error, then you most likely haven't set a default code editor for Lua script, you will have to do this first in whatever operating system you are using. So when it does not come up with an error, but opens op your logic script editor, you will have a blank page. This is where you will start to add your code later on.

Information

All the information you filled in earlier can be edited here.