1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Method for Placing Existing Library Objects into FSX Scenery

Discussion in '3D Objects General' started by FrankK, 10 Dec 2006.

  1. FrankK


    8 Nov 2006
    This description is from my own personal notes just compiled but they may be of some use to those trying or attempting for the first time to place existing scenery objects into FSX using the updated SDK. All care but no responsibility etc of course but enjoy.

    To place existing FSX Library objects (there are literally hundreds) into FSX scenery do the following (You’ll need the new FSX SDK update – see the fsinsider site http://www.fsinsider.com/Downloads/)

    First create (for your own convenience) a folder C:\BGLC and copy the new files bglcomp.xsd and bglcomp.exe (I’ve renamed mine bglcompN.exe because of old existing ones on the system). The new ones can be found in the updated folder C:\Program Files\Microsoft Games\Microsoft Flight simulator X SDK\ SDK \Environment Kit\BGL Compiler SDK.

    The Library objects you can use are listed in “Global Library Objects” found in:
    C:\ Program Files\ Microsoft Games\ Microsoft Flight simulator X SDK\SDK \ Environment Kit\ Autogen SDK\Global Library Objects.html. Each specific object has a specific GUID number that is listed.

    To place the object:

    1. Slew your aircraft to the location where you want the object and record the longitude, latitude and heading you want the object to adopt.
    Open Notepad (right click) and copy the following template into Notepad:

    <?xml version="1.0"?>
    xsi:noNamespaceSchemaLocation="bglcomp.xsd" >

    lat="S33 25.07"
    lon="E149 39.16"




    2. Go to the selected object in the Global Library Object list and copy the GUID number and replace the one in
    shown above. Make sure you retain the enclosed brackets and quotes.
    3. Also replace the longitude and latitude and heading in the template with the ones recorded in 1) above.
    4. Save the file as objectname.xml where objectname is the name of say the object to be displayed.
    5. Drop the xml file onto the bglcompN.exe icon and it should compile a BGL file in the C:\BGLC folder.
    6. Transfer the BGL file to the FSX “Addon Scenery/Scenery” folder
    7. Start up FSX and the object should appear at the location. Make sure you have “Scenery Complexity” set to “Normal” or higher.

    Alternatively to 5 above you can compile by using a command prompt:
    C:\BGLC >bglcompN objectname.xml. This will allow any compile errors to be seen.

    (PS. The above default template sets up a very large hanger at the end of runway 350 at airport YBTH [Bathurst NSW]- not a very good location for it !! But try a walking elephant or Giraffe (in the same spot) a lot more fun! Click on “advanced animations” for this though.)
  2. scruffyduck

    scruffyduck Administrator Staff Member FSDevConf team Resource contributor

    17 Sep 2005
    Alternatively you could use LOM Version 2 Beta which will do this for you without the xml etc. It is on my website. It will import information about all 3000+ FSX library objects and then let you place them using a dialog.

Share This Page