• 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.

Extrusion bridges in FS X

Messages
74
Country
germany
Hi everybody,
I am looking for someone who has successfully made an extrusion bridge with BglComp. I studied the documentation and made the following testfile:

<?xml version="1.0"?>
<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >

<ExtrusionBridge
instanceId="{aabbccdd-eeff-fefd-fcfb-f5f4f3f2f1f0}"
probability="0.5"
suppressPlatform = "FALSE"
imageComplexity = "NORMAL"
roadWidth = "5"
extrusionProfile="{FAE3ECC9-B3C0-4958-A27D-57342E3DE4E6}"
materialSet="{e84e1684-5fe3-4f0e-81ff-8ab67698edf8}">
<AltitudeSampleLocationList>
<AltitudeSampleLocation
lat = "N47.0"
lon = "W123.0"/>
<AltitudeSampleLocation
lat = "N47.1"
lon = "W123.1"/>
</AltitudeSampleLocationList>
<PolylinePointList>
<PolylinePoint
latitude = "N47.0"
longitude = "W123.0"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.1"
longitude = "W123.1"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.2"
longitude = "W123.2"
altitude = "3.0M"/>
</PolylinePointList>
<PolylineObjectPlacementList>
<PolylineObjectPlacement id = "{940CDD9F-BC3C-46d5-9058-ABDA37A91E7F}" />
</PolylineObjectPlacementList>
<BankShearList>
<BankShearEntry bank = "-15.0"/>
<BankShearEntry bank = "-15.0"/>
</BankShearList>
</ExtrusionBridge>
</FSData>

Bglcomp did not produce any errors - but it did not produce a bgl either. Any suggestions what I made wrong?

I just found out myself: you have to leave out the BankShearList, then you get a bgl file! Again something that should have been mentioned in the SDK documentation.
BTW, if you want to find out about the GUID's used for the extrusionProfile and the materialSet,
you can decompile the Extrusions.spb and Materials.spb in FSX Autogen folder - open it with the Autogen Configuration Editor from the SDK and save it as xml - there you have a complete list of the GUID's used and a "user friedly description" of them.
 
Last edited:
Hi everybody,
I am looking for someone who has successfully made an extrusion bridge with BglComp. I studied the documentation and made the following testfile:

<?xml version="1.0"?>
<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >

<ExtrusionBridge
instanceId="{aabbccdd-eeff-fefd-fcfb-f5f4f3f2f1f0}"
probability="0.5"
suppressPlatform = "FALSE"
imageComplexity = "NORMAL"
roadWidth = "5"
extrusionProfile="{FAE3ECC9-B3C0-4958-A27D-57342E3DE4E6}"
materialSet="{e84e1684-5fe3-4f0e-81ff-8ab67698edf8}">
<AltitudeSampleLocationList>
<AltitudeSampleLocation
lat = "N47.0"
lon = "W123.0"/>
<AltitudeSampleLocation
lat = "N47.1"
lon = "W123.1"/>
</AltitudeSampleLocationList>
<PolylinePointList>
<PolylinePoint
latitude = "N47.0"
longitude = "W123.0"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.1"
longitude = "W123.1"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.2"
longitude = "W123.2"
altitude = "3.0M"/>
</PolylinePointList>
<PolylineObjectPlacementList>
<PolylineObjectPlacement id = "{940CDD9F-BC3C-46d5-9058-ABDA37A91E7F}" />
</PolylineObjectPlacementList>
<BankShearList>
<BankShearEntry bank = "-15.0"/>
<BankShearEntry bank = "-15.0"/>
</BankShearList>
</ExtrusionBridge>
</FSData>

Bglcomp did not produce any errors - but it did not produce a bgl either. Any suggestions what I made wrong?

I just found out myself: you have to leave out the BankShearList, then you get a bgl file! Again something that should have been mentioned in the SDK documentation.
BTW, if you want to find out about the GUID's used for the extrusionProfile and the materialSet,
you can decompile the Extrusions.spb and Materials.spb in FSX Autogen folder - open it with the Autogen Configuration Editor from the SDK and save it as xml - there you have a complete list of the GUID's used and a "user friedly description" of them.

The BankShear stuff did not get implimented. Unfortunately the shipped documentation still mentions it. Better docs should be available soon.

I understand your sample was just a test. Something you might consider trying is to have the Altitude of the PolylinePoints that correspond to the two AltitudeSampleLocations be 0. This will result in the bridge contacting the ground. Then adding an additional PolylinePoint that is underground (i.e. altitude=-3M, say 20M or so back from each AltitudeSampleLocation) to either end will hide the open ends of the extrusion.

-Doug
 
Hello
Is there a way to delete extrusion bridges?
Over Madagascar, almost extrusion bridges created automatically when a road crosses a "water polygon" river don't exist in realty (there are small ferries, not bridges).
Is it possible to delete them by lot, not one by one? In FS9, I tracked them one by one and used defarea if not existing. I'm looking for a more efficient method.
Thanks; Pierrot - FMEP
 
Hello
Is there a way to delete extrusion bridges?
Over Madagascar, almost extrusion bridges created automatically when a road crosses a "water polygon" river don't exist in realty (there are small ferries, not bridges).
Is it possible to delete them by lot, not one by one? In FS9, I tracked them one by one and used defarea if not existing. I'm looking for a more efficient method.
Thanks; Pierrot - FMEP

An ExclusionRectangle using excludeExtrusionBridgeObjects is the appropriate mechanism.

I believe there is currently a bug in the BglComp.xsd which omits the excludeExtrusionBridgeObjects keyword from ExclusionRectangles. You may add this key to the schema.

-Doug
 
I have another question about ExtrusionBridges. I have been looking to extrusions.xml (obtained form extrusions.spb). I think I understand the coding, it seems to be quite straightforward. I think it should not be too difficult to create new profiles, and I can imagine a number of useful things one could do with different types of bridges, e.g. a dam in a river which at the same time serves as a road bridge - something you find quite frequently in the real world (to make such a profile, I think one would only have to make a rather high girder under the bridge platform). But is there any way to add such profiles to the FS world without changing the original .spb file? Would the program read in an additional .spb (or .xml) file if that was placed in the same directory???
 
I have another question about ExtrusionBridges. I have been looking to extrusions.xml (obtained form extrusions.spb). I think I understand the coding, it seems to be quite straightforward. I think it should not be too difficult to create new profiles, and I can imagine a number of useful things one could do with different types of bridges, e.g. a dam in a river which at the same time serves as a road bridge - something you find quite frequently in the real world (to make such a profile, I think one would only have to make a rather high girder under the bridge platform). But is there any way to add such profiles to the FS world without changing the original .spb file? Would the program read in an additional .spb (or .xml) file if that was placed in the same directory???

1. Create a new material set (if applicable) [materials.spb (or .xml)]
2. Create a new Extrusion (if applicable) [extrusions.spb (or .xml)]
3. Create a new extrusion based object (i.e. fence, building, bridge) that references #1 and #2.

In the case of your dam example, just bury the extrusion segment corresponding to the dam face deep into the ground.

When authoring extrusion based objects take care to avoid too much detail in the PolylinePointList. The more intricate the shape and the thicker the extrusion the more likely the extrusion will collapse and the object will not appear in-game.

As for the program reading an additional .spb (or .xml) I'm afraid I don't have good news. The game lacks infrastructure to read multiple configuration files, and it's not a trivial change to make it do so.

So, for now, the only way to extend the material sets and extrusion definitions is to change the default files. At the point two add-ons do this there will be problems. Perhaps a community effort to maintain a master replacement file might be one approach to limit the downside.

-Doug
 
Hi Doug
thanx for the information. I was already afraid that the bad news would be that the game can manage only _one_ configuration file of each type. So we will have to use (ar abuse) the existing files without changing them, for I think it would not be a good idea to add a new configuration file to a scenery you want to give away - as long as you use it only for yourself, there will be no problem. But some study of those configuration files which are in the game seems to indicate that you can achieve my purpose with an sophisticated combination of profiles and of materials made for other purposes, i.e. by using one of the profiles made for buildings with a material made for bridges - I am going to play around with that for some time. Of course we still have the possibility to make those objects in GMax and insert them at specific points, but then we have to make a different object for each dam (because the width of the river at this point has to be taken into account), whereas with a "pseudobridge" we can adjust the length of the dam on the fly.
Still another question (excuse me for my curiosity): would it be possible to use one of this extrusion bridges to have a taxiway pass over it? Reading the parameter listing in the docs indicating that the bridges can have a hard surface I wonder whether an aircraft could taxi over it - I know of quite a few cases in real life where aircrafts are passing on bridges over roads and railways, e.g. on my "home" airport in Leipzig/Halle, where the Autobahn and the railway are not ruinng in a cut, but where the taxiway is really sloping up and down to pass over a bridge.
 
Still another question (excuse me for my curiosity): would it be possible to use one of this extrusion bridges to have a taxiway pass over it? Reading the parameter listing in the docs indicating that the bridges can have a hard surface I wonder whether an aircraft could taxi over it - I know of quite a few cases in real life where aircrafts are passing on bridges over roads and railways, e.g. on my "home" airport in Leipzig/Halle, where the Autobahn and the railway are not ruinng in a cut, but where the taxiway is really sloping up and down to pass over a bridge.

The default extrusion bridges (roads - not railroad) have platforms in the surface. You can land on them, so you should be able to taxi on them. I don't think you could have an official taxiway use a bridge, however, since they have flattening behavior I expect they would pull the terrain up to the bridge surface level.

-Doug
 
The default extrusion bridges (roads - not railroad) have platforms in the surface. You can land on them, so you should be able to taxi on them. I don't think you could have an official taxiway use a bridge, however, since they have flattening behavior I expect they would pull the terrain up to the bridge surface level.

-Doug

That is exactly what happens with Taxiways. They pull the terrain up due to the flatten behavior.

I added the new runway to KATL/approach code which crosses over I-285 and can't get an extrusion to work for the road traffic to go under the Runway and Taxiway.

Best I can do is exclude the road traffic before and after the runway/taxiway. If I don't do this the road traffic climbs the hill, crosses over the runway and then back down the hill.
 
Last edited:
There used to be a program that would allow you to edit the stock bridges in fsx and give them a solid surface. I used it way back when (windows 7 days) to edit models in fsx. I just don't remember the name of the program or if it's still available. It would also alow some one with enough knowledge to actually create models ,even build there own aircraft. I wish I knew the name of the program, I could sure use it right now.
 
Back
Top