Jump to content
Sign in to follow this  
arno

Creating an XML file for a scenery object for FSX

Recommended Posts

Guest GamePlayer

After exporting my mdl file from Gmax, I don't get an xml file. I'm trying to add a scenery object that I'm creating to FSX and I need an xml file so that I can use bglcomp to create a bgl file from the xml file. I tried making an xml file but when I compile it I get an error in every line of code and don't get a bgl file after compiling. What is the correct format for an xml file for a scenery object that I want to add to FSX? I'll mention that I'm using Vista 64-bit operating system incase that's my problem.

Share this post


Link to post
Share on other sites

Hi,Try a template like this. Of course you need to insert the GUID of your own object and your own MDL filename.

[/coce]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest GamePlayer

Thanks. Now I can create a bgl file but I still can't find the building I created in FSX. I copied the bgl file to my addon sceneryscenery directory. I replaced the coordinates with the ones I want in the xml file but can't find the building at that location that I specified.

Share this post


Link to post
Share on other sites

Hi,Are you sure you entered the coordinates correctly (with the correct hemisphere as well)? Also did you put the textures used by the object in the texture folder?


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...