• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v3 Bridges

Thanks for the answer.
When I am trying to compile I get this error:
Code:
INTERNAL COMPILER ERROR:  #C2603: SceneryObject must have Latitude, Longitude, A
ltitude, Pitch, Bank, Heading, ImageComplexity, and InstanceId  (0800701C:280070
1C).
INTERNAL COMPILER ERROR:  #C2031: Failed element parse <ExtrusionBridge>
INTERNAL COMPILER ERROR:  #C2032: XML Parse Error!  Element tree follows:

ERROR: <FSData
ERROR:  version = 9.0
ERROR: >
ERROR:  <ExtrusionBridge
ERROR:          imageComplexity = NORMAL
ERROR:          probability = 0.14
ERROR:          suppressPlatform = TRUE
ERROR:          roadWidth = 18
ERROR:          extrusionProfile = {bbfa7835-3f04-433b-bfdb-28e69b788230}
ERROR:          materialSet = {7ed5603a-d17a-4246-bc3d-baadea6909fa}
ERROR:  >
ERROR:
INTERNAL COMPILER ERROR:  #C2607: Compilation errors detected, compilation faile
d!


Parse complete!


G:\Lockheed Martin\Prepar3D v2 SDK 2.5.12946.0\Environment SDK\BGL Compiler SDK>
bglcomp.exe Hahalacha.xml

Parsing document: Hahalacha.xml

INTERNAL COMPILER ERROR:  #C2603: SceneryObject must have Latitude, Longitude, A
ltitude, Pitch, Bank, Heading, ImageComplexity, and InstanceId  (0800701C:280070
1C).
INTERNAL COMPILER ERROR:  #C2031: Failed element parse <ExtrusionBridge>
INTERNAL COMPILER ERROR:  #C2032: XML Parse Error!  Element tree follows:

ERROR: <FSData
ERROR:  version = 9.0
ERROR: >
ERROR:  <ExtrusionBridge
ERROR:          imageComplexity = NORMAL
ERROR:          probability = 0.14
ERROR:          suppressPlatform = TRUE
ERROR:          roadWidth = 18
ERROR:          extrusionProfile = {bbfa7835-3f04-433b-bfdb-28e69b788230}
ERROR:          materialSet = {7ed5603a-d17a-4246-bc3d-baadea6909fa}
ERROR:  >
ERROR:
INTERNAL COMPILER ERROR:  #C2607: Compilation errors detected, compilation faile
d!


Parse complete!


This is my XML file:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">

   <ExtrusionBridge
instanceId="{22EAD7DC-CD97-4A6E-9C03-60F276E59CE1}"
      imageComplexity="NORMAL"
      probability="0.14"
      suppressPlatform="TRUE"
      roadWidth="18"

       extrusionProfile="{bbfa7835-3f04-433b-bfdb-28e69b788230}"

       materialSet="{7ed5603a-d17a-4246-bc3d-baadea6909fa}">

       <AltitudeSampleLocationList>
         <AltitudeSampleLocation
            lat="32.0903790"
            lon="034.7993310"/>
         <AltitudeSampleLocation
            lat="32.0895510"
            lon="034.8014300"/>
      </AltitudeSampleLocationList>

      <PolylinePointList>
         <PolylinePoint
            latitude="32.0901690"
            longitude="034.7999820"
            altitude="0.0M"/>
         <PolylinePoint
            latitude="32.0900370"
            longitude="034.8004170"
            altitude="6.0M"/>
         <PolylinePoint
            latitude="32.0897820"
            longitude="034.8010180"
            altitude="6.0M"/>
    
      </PolylinePointList>

      <PolylineObjectPlacementList>
         <PolylineObjectPlacement
            id="{7ed5603a-d17a-4246-bc3d-baadea6909fa}"/>
      </PolylineObjectPlacementList>

    </ExtrusionBridge>

</FSData>

Any Ideas?
 
Hi there,

I've copied your xml into an empty Notepad file and the saved file compiled fine for me without error, and decompiled correctly too. Not sure what the issue might be except that my bglcomp.exe version are from Prepar3D v2 SDK 2.5.12944.0 (I've also tested with the FSX SDK). The error messages seem to indicate formatting errors but any of those I would have copied into my version as well, I'd think.

Cheers, Holger
 
Thats strange. I tried to compile again, no luck...

Update: Now it works! I had to remove all the spaces.
 
Last edited:
Back
Top