Thanks a lot for your help, but it seems that it’s bigger problem for me that I thought ...... It doesn’t work... Little description...
First of all I had problem with exporting objects into .mdl from GMax (1.2).
I downloaded the latest
makemdl.exe from MS Make BGL SDK and copied it with
makemdl.parts.xml into GMax
plugins folder . I created simply object in GMax - box without texture, just colour. I choose
File/Export... and select
Flightsim MDL file (*.mdl) and set file name
experiment:
a) no option window was shown
b) and I got error message :
MakeMDL was not found, or failed to convert to model specified in “C:/...path” to a .mdl file. Check your system path to ensure MakeMDL is on it.
and second message
Export module failure.
c) Okay, so I found older
MakeMDL.exe and copied it into GMax
plugin folder and tried to export GMax object into .mdl again. No error message was shown as well as no option window.
d) So I installed
MDL Commader using manual for installing this utility.
e) I exported GMax object into .mdl again and option window was shown – I choose
“building”. Object was compiled into .mdl file (
experiment.mdl)
Then I done :
1. I lunched
library_creator.exe
2. Using
New button I created
exp.xml file
3. I added
experiment.mdl file
4. Using
Compile BGL button I compiled file
exper.bgl
5. I created a new xml file including code
<?xml version="1.0"?>
<FSData
version = "9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<SceneryObject
lat="N50 12.09"
lon="E012 54.68"
alt="0"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="0"
imageComplexity="NORMAL">
<LibraryObject
name="1B26A1C117197385D179AE64C114893A"
scale="1.0"/>
</SceneryObject>
</FSData>
Note: 1B26A1C117197385D179AE64C114893A is copied from library_creator
lat + lot is a position I choose in FS for my experiments
I saved this file as
ex.xml
6. I draged and droped
ex.xml onto
bglcomp.exe and got
ex.bgl file
7. I copied
ex.bgl and
exper.bgl file into
Scenery folder I use for my experiments
8. I started FS9, added my experiment scenery, restarted FS, created flight and no object was in defined position.
What I done bad ? Is there any mistake ? Uffff... thank you .. milan