This is an old revision of the document!
Are you interested in importing objects into Aerofly FS 2 scenery? This is how you do it. Use this tutorial for creating your own objects as well! Let's get started.
In this example we will use a small farmhouse. Download the farmhouse here: http://tf3dm.com/3d-model/old-farm-house-91130.html Be sure to give credits to the author.
We will also need the OBJ importer plugin for AC3D. You can download the plugin here: http://www.inivis.com/forum/showpost.php?p=31428&postcount=3
The SDK package comes with an IPACS export plugin for AC3D.
The result is immediately visible.
Control the texture fitting by selecting all, then Tools – Texture Coordinate Editor (or just F10).
This image shows, that the texture position is still correct.
We have to calculate the size of the object. Select Vertex , click to the vertex point above the door and note the coordinate values.
Aerofly FS 2 uses metric measurements. This means, the height of the door is now 8.907 meters. We will scale it to 25% for a realistic door height. Select the whole model and set scale to 25%. Note: 1 meter = 1.09361 yards.
Next we shift the whole model back to the ground line.
Save your file again, then use the export function. File – Export – Ipacs TGI files (.tgi) Enter the name farmhouse and select again our destination directory \Documents\Aerofly FS 2\aerofly_fs_2_sdk\scenery_workshop\farmhouse
You will need 2 more files: content_converter_config.tmc and a farmhouse.tsc file. Copy them to the directory. This is the final content of our directory.
Before you run the final conversion, You will have to calculate the position.
If you want to describe any position on earth in a unified system you may use geographic coordinates (as Aerofly FS 2 does). We need 360 degrees to do a full circle, so the earth simplified as a bowl consists of 360 longitude lines. Longitude 0 is defined through Greenwich, negative to the west and positive to the east. They meet again at the opposite side of the earth at -180/+180 degrees. It is half of a circle going from north pole to south pole. So lat +90 is the north pole, 0 is the equator line, -90 is the south pole.
Note - Make sure that you take the sequence into account: Both ways Lat/Lon and Lon/Lat are common. (Aerofly FS 2 uses Lon/Lat).
It displays Google map worldwide, so we can move and zoom into our desired position. Switch to Satellite, then click with the mouse to the favored point. This opens a window with the appropriate coordinates.
Open the file farmhouse.tsc with a text editor.
Note - Please compare the values with the coordinates from mygeoposition. You have to change the order of the coordinates, and it's restricted the input to 6 positions after decimal point.
Open the file content_converter_config.tmc with a text editor. Note - You will have to enter the object only once.
Last step: Run the converter. Click file with right mouse button, select Aerofly FS 2 Content Converter
Do not interrupt the black shell window. After the process is finished, the tm.log documents the result of the conversion. Now there is a new subfolder farmhouse in the scenery places.
Start aerofly FS 2, open Location menu, move the map to the north of San Francisco. Select the airfield Little River
Select the park position in the middle of the runway.
The position fits very well to our selection in mygeoposition. Be careful not to burn down the farmhouse with your afterburner.