Hi,
maybe I am to stupid to read the SDK correct but I do not find a solution for my problem.
with the FS2004 BGLcomp I made the following Library:
<ModelData
name="2F6F92BA44B6FD9B669B25B268DE15C5"
sourceFile="Heliport_05.mdl"
fileOffset="0"/>
After compiling this I could use the object in FS2004 and in FSX as long the mdl is created with Makemdl.
Know I have a mdl file from the new ModelSDK for Gmax. I can not compile this with the code above. How can I create a library without giving him a location?
This code works:
<?xml version="1.0"?>
<FSData
version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<SceneryObject instanceId="{b0575641-7571-4a95-b105-45f1b568d78c}"
lat="N48.899585"
lon="E9.203956"
alt="0"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="15"
imageComplexity="NORMAL">
<BiasXYZ
biasX="0.0"
biasY="0.0"
biasZ="0.0"/>
<LibraryObject name="{b0575641-7571-4a95-b105-45f1b568d78c}"
scale="1.0"/>
</SceneryObject>
<ModelData
sourceFile="heli_box.MDL" />
</FSData>
But I want to use the model more than 1 time? Must I now include the mdl another 100 times? How can I make a Library object with a GUID so I can position it like this:
<SceneryObject
lat=" 48.850719"
lon=" 10.086785"
alt="0.000000"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="165"
imageComplexity="NORMAL">
<LibraryObject
name="3C8322AF43DA8EE1FCE926919493DBBF"
scale="1.000000"/>
</SceneryObject>
Thanks for your help
maybe I am to stupid to read the SDK correct but I do not find a solution for my problem.
with the FS2004 BGLcomp I made the following Library:
<ModelData
name="2F6F92BA44B6FD9B669B25B268DE15C5"
sourceFile="Heliport_05.mdl"
fileOffset="0"/>
After compiling this I could use the object in FS2004 and in FSX as long the mdl is created with Makemdl.
Know I have a mdl file from the new ModelSDK for Gmax. I can not compile this with the code above. How can I create a library without giving him a location?
This code works:
<?xml version="1.0"?>
<FSData
version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<SceneryObject instanceId="{b0575641-7571-4a95-b105-45f1b568d78c}"
lat="N48.899585"
lon="E9.203956"
alt="0"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="15"
imageComplexity="NORMAL">
<BiasXYZ
biasX="0.0"
biasY="0.0"
biasZ="0.0"/>
<LibraryObject name="{b0575641-7571-4a95-b105-45f1b568d78c}"
scale="1.0"/>
</SceneryObject>
<ModelData
sourceFile="heli_box.MDL" />
</FSData>
But I want to use the model more than 1 time? Must I now include the mdl another 100 times? How can I make a Library object with a GUID so I can position it like this:
<SceneryObject
lat=" 48.850719"
lon=" 10.086785"
alt="0.000000"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="165"
imageComplexity="NORMAL">
<LibraryObject
name="3C8322AF43DA8EE1FCE926919493DBBF"
scale="1.000000"/>
</SceneryObject>
Thanks for your help