Menu
Home
Requirements
Screen shots
About the program
Downloads
Software updates

Buy Micro Flight

Add-on scenery
Add-on planes
Creating scenery
Creating planes
Tools

User survey
User forum
Usefull links

Quality Simulations


Columbia
Memorial

Creating planes for Micro Flight
Micro Flight supports several types of vehicles, the following sections show the detailes of the various formats of these vehicles and gives instructions for creating them.

All of these vehicles have intrument panels which share the same format and are documented in the following sections.

  Plane Tutorial Main Page   Airplanes   Hang gliders
  Gyroplanes   Balloons   Helicopters
  Land vehicles Instrument panels   Weapons

The instrument panels are used by all the vehicles in Micro-Flight, each vehicle configuration file specifies a panel name and a position in which to place this panel.

The panel itself is made of a panel frame and a collection of instruments which are placed in this panel frame.

The panels directory inside the MicroFlight directory containes the available panels, each panel is placed inside a directory inside the MicroFlight\panels directory.

Inside each panel directory are the following files:

Panel.cfg



This file containes the name and positions of all the instruments in the panel, and a short description for it.

The structure of the panel.cfg file is as follows:

0.0 [xpos]
0.0 [ypos]
0.0 [zpos]
1.0 [scale]
24 [instruments]

rpm_4 [name]
-0.09 [xpos]
0.51 [ypos]
0.66 [zpos]
0.085 [scale]

manpr_1 [name]
0.0 [xpos]
0.51 [ypos]
0.66 [zpos]
0.085 [scale]

fuel_dual [name]
0.09 [xpos]
0.51 [ypos]
0.66 [zpos]
0.085 [scale]

clock_2 [name]
-0.47 [xpos]
0.46 [ypos]
0.66 [zpos]
0.065 [scale]

speed_5 [name]
-0.39 [xpos]
0.47 [ypos]
0.66 [zpos]
0.09 [scale]

horiz_2 [name]
-0.295 [xpos]
0.485 [ypos]
0.66 [zpos]
0.09 [scale]

alt_2 [name]
-0.2 [xpos]
0.47 [ypos]
0.66 [zpos]
0.09 [scale]

turn_2 [name]
-0.39 [xpos]
0.37 [ypos]
0.66 [zpos]
0.09 [scale]

gyro_1 [name]
-0.295 [xpos]
0.375 [ypos]
0.66 [zpos]
0.095 [scale]

vsi_2 [name]
-0.2 [xpos]
0.37 [ypos]
0.66 [zpos]
0.09 [scale]

ils_1 [name]
-0.39 [xpos]
0.26 [ypos]
0.66 [zpos]
0.085 [scale]

vor_1 [name]
-0.485 [xpos]
0.26 [ypos]
0.66 [zpos]
0.085 [scale]

adf_1 [name]
-0.485 [xpos]
0.37 [ypos]
0.66 [zpos]
0.085 [scale]

radio_2 [name]
0.24 [xpos]
0.45 [ypos]
0.66 [zpos]
0.18 [scale]

radio_2 [name]
0.24 [xpos]
0.27 [ypos]
0.66 [zpos]
0.18 [scale]

accel_1 [name]
0.385 [xpos]
0.46 [ypos]
0.66 [zpos]
0.09 [scale]

clock_2 [name]
0.47 [xpos]
0.46 [ypos]
0.66 [zpos]
0.065 [scale]

horiz_2 [name]
0.385 [xpos]
0.37 [ypos]
0.66 [zpos]
0.09 [scale]

gyro_1 [name]
0.48 [xpos]
0.37 [ypos]
0.66 [zpos]
0.09 [scale]

rpm_dual [name]
0.385 [xpos]
0.269 [ypos]
0.66 [zpos]
0.09 [scale]

fuel_dual [name]
0.48 [xpos]
0.26 [ypos]
0.66 [zpos]
0.09 [scale]

flaps_2 [name]
-0.07 [xpos]
0.36 [ypos]
0.6 [zpos]
0.05 [scale]

gear_1 [name]
0.06 [xpos]
0.35 [ypos]
0.6 [zpos]
0.05 [scale]

trim_4 [name]
-0.04 [xpos]
0.17 [ypos]
0.6 [zpos]
0.22 [scale]
@
Panel for Beechcraft C55 Baron
Version for Micro Flight 5.0

Explanation:


This file is composed of two sections:

1.the panel data:

xpos - the x position of the panel back
ypos - the y position of the panel back
zpos - the z position of the panel back
scale - a scale factor for the panel
instruments - number of instruments in the panel
instrument - name of instrument to be used ( repeated for each instrument )
xpos - the x position of the instrument ( repeated for each instrument )
ypos - the y position of the instrument ( repeated for each instrument )
zpos - the z position of the instrument ( repeated for each instrument )
scale - a scale factor for the instrument ( repeated for each instrument )

2. The panel description :

this part is a simple text only section that must begin with @ and endes when the file ends.

Panel.x


This is the main model file for the panel without the instruments, the following image shows the panel layout for the sample panel.cfg above.

This is a simple one frame hirarchy mesh file, it can be created by converting a 3DS file into an X file by using the command "conv3ds -m [filename.3ds]" , conv3ds.exe is a small freeware converter written by Microsoft.

Download sample panel and conv3ds

Instruments

The instrument panels configuration file containes names and positions of instruments that are placed into them.

Each instrument is made of an instrument frame and a collection of needles which are placed in this instrument frame, instrument name must contain the type of the instrument.

Instruments can only be of the following types:

speed speed indicator
rpm engine rpm gage
fuel fuel gage
alt altimeter
vsi vertical speed indicator
comp magnetic compass
clock analog clock
horiz atrificial horizon
turn ball and turn indicator
accel accelerometer
ball ball horizon
rotor rotor rpm
torq rotor torque
temp balloon temperature
volume helium volume
gyro gyro compass
adf ADF
rmi RMI
vor VOR
ils ILS
nsd NSD
adi ADI
flaps flaps handle
brakes airbrakes handle
trim trim wheel
gear gear handle
yoke yoke handle
pthot push throttle
throt throttle handle
ppitch push pitch handle
pitch pitch handle
pmixt push mixture handle
mixt mixture handle
manpr manifold pressure

The instruments directory inside the MicroFlight directory containes the available instruments, each instrument is placed inside a directory inside the MicroFlight\instruments directory.

Inside each instrument directory are the following files:

Instrument.cfg


This file containes the name and positions of all the needles in the instrument, and a short description for it.

The structure of the panel.cfg file is as follows:

1 [needles]
0.0 [xpos]
-0.185 [ypos]
0.0 [zpos]
1.0 [scale]
5.555 [x0]
50.0 [x1]
1.998 [y0]
-1.963 [y1]
@
A simple air speed indicator

Explanation:


This file is composed of two sections:

1.the instrument data:

needles - the number of needles in the instrument
xpos - the x position of the instrument back
ypos - the y position of the instrument back
zpos - the z position of the instrument back
scale - a scale factor for the instrument back
instruments - number of instruments in the panel
x0 - the minimal measured value ( repeated for each instrument )
x1 - the maximal measured value ( repeated for each instrument )
y0 - the minimal needle angle ( radian ) ( repeated for each instrument )
y1 - the maximal needle angle ( radian ) ( repeated for each instrument )

2. The instrument description :

this part is a simple text only section that must begin with @ and endes when the file ends.

Dial.x


This is the main model file for the instrument without the needles.

This is a simple one frame hirarchy mesh file, it can be created by converting a 3DS file into an X file by using the command "conv3ds -m [filename.3ds]" , conv3ds.exe is a small freeware converter written by Microsoft.

Needle0.x


This is the 3D model file for one of the instrument needles, for each needle a different model must be created and named as needle0.x, needle1.x , needle2.x etc..

This is a simple one frame hirarchy mesh file, it can be created by converting a 3DS file into an X file by using the command "conv3ds -m [filename.3ds]" , conv3ds.exe is a small freeware converter written by Microsoft.

Download sample panel and conv3ds