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 land vehicles are the simplest vehicles in Micro-Flight, they include a two , three and four weel land vehicles.

They are based upon a 3D mesh file for the vehicle body, for the steering wheel and for each of the wheels.

A configuration files defines the number of wheels and vehicle characteristics.

The aircraft directory inside the MicroFlight directory containes the available vehicles, each vehicle is placed inside a directory inside the MicroFlight\aircraft directory.

Inside each vehicle directory are the following files:

Car.cfg


This file containes the characteristecs of the vehicle and a short description for it.

The sample structure of the car.cfg file follows:

1000.0 [mass]
2.0 [sur]
0.3 [cd0]
0.01 [cf0]
80.0 [hp]
3600.0 [fuel_time]
500.0 [rpm_min]
5000.0 [rpm_max]
4 [n_wheels]
-1.72 [x_wh]
1.2 [y_wh]
8.479 [z_wh]
1 [s_wh]
1.82 [x_wh]
1.2 [y_wh]
8.479 [z_wh]
1 [s_wh]
-1.72 [x_wh]
1.2 [y_wh]
0.0 [z_wh]
0 [s_wh]
1.82 [x_wh]
1.2 [y_wh]
0.0 [z_wh]
0 [s_wh]
-1.1 [x_st]
2.45 [y_st]
6.0 [z_st]
0.0 [dx_st]
-0.3 [dy_st]
0.95 [dz_st]
0.0 [ux_st]
0.95 [uy_st]
0.3 [uz_st]
-1.069 [camera_x]
3.40 [camera_y]
4.00 [camera_z]
panel_1 [panel]
-1.1 [xp]
2.78 [yp]
5.76 [zp]
@
Stylish sports car:

A classic and fashionable sports car with exceptional acceleration and response.

Explanation:


This file is composed of two sections:

1.the vehicle data:sur - the cross section surface of the vehicle in (m^2)
cd0 - the drag coefficient of the vehicle
hp - engine horsepower of the vehicle
fuel_time - fuel capacity in seconds.
rpm_min - minimal rpm for engine.
rpm_max - maximal rpm for engine.
n_wheels - number of wheels.
x_wh - x position of wheel. (repeated for each wheel)
y_wh - y position of wheel. (repeated for each wheel)
z_wh - z position of wheel. (repeated for each wheel)
s_wh - 1 wheel is steerable, 0 not steerable. (repeated for each wheel)
x_st - x position of steering wheel.
y_st - y position of steering wheel.
z_st - z position of steering wheel.
dx_st - x dir of steering wheel.
dy_st - y dir of steering wheel.
dz_st - z dir of steering wheel.
ux_st - x up of steering wheel.
uy_st - y up of steering wheel.
uz_st - z up of steering wheel.
camera_x - x position of camera.
camera_y - y position of camera.
camera_z - z position of camera.
panel - panel name.
xp - x position of panel.
yp - y position of panel.
zp - z position of panel.

2. The vehicle description :

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


Body.x


This is the 3D model file for the body of the vehicle without wheels and steering wheel.

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.


Stwheel.x


This is the 3D model file for the steering wheel of the vehicle .

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.


Wheel1.x


This is the 3D model file for one of the vehicle wheels, for each wheel a different model must be created and named as wheel1.x , wheel2.x, wheel3.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 source files for a car and conv3ds