Page 1 of 1

Scenery with GMAX

PostPosted: Sun Jun 13, 2004 2:39 pm
by ryan6802
I hve created scenery to go into FS9, but I'm not sure how to turn the .XML file into a .BGL file Ive tried to use BGLcomp but I'm not sure how to use it.

Can anyone help?

Re: Scenery with GMAX

PostPosted: Sun Jun 13, 2004 6:31 pm
by Travis
Why don't you just use the Gmax compiler?  It will turna  Gmax file directly into a .BGL file.

Re: Scenery with GMAXAssuming you

PostPosted: Sun Jun 13, 2004 7:59 pm
by Firestriker
Assuming you have the FS9-Gmax gamepack installed properly, when you exported your scene as an FS9 Scenery mdl, you should have two files in the directory you exported to. One named myfile.xml and myfile.mdl (replace the myfile part with what ever you named yours).

Start Windows Explorer and navigate to the directory you exported to. Open the myfile.xml file with a plain text editor like notepad and remove the comments to establish the location for your scene. Something like this:




     
lat="47 25.89"
lon="-122 18.43"
alt="0"
pitch="0"
bank="0"
heading="0"
altitudeIsAgl="TRUE"
imageComplexity="NORMAL"
>







Once you have the xml file modified save and close it.

Now, you need to have BGLComp.exe either in the current directory with your other files OR in a directory that is in your path environment variable like Windows or WINNT (so you can call it from anywhere).

If you have BGLComp.exe in the same directory, you can "drag and drop" myfile.xml onto BGLComp.exe.

I have mine setup with a link in my Windows Explorer right click menu so I can open a Command Prompt window and then simply type in BGLComp.exe myfile.xml at the command prompt.

Once the compile is finished you can simply move the finished myfile.bgl to your ..\Addon Scenery\scenery directory if it is not already there. Be sure any textures are in the ..\Addon Scenery\texture directory.

Start FS9 and go to the location for your scenery and check it out.

Lou

Re: Scenery with GMAX

PostPosted: Mon Jun 14, 2004 12:32 pm
by stevewilson
If you are going to use the bglcomp compiler, you will also need to have msxml installed. You can get it from M$ COF in the SDKs d/l page.

Also when you are ready to compile you can do as stated above or you can drag and drop the txt file over the bglcomp icon this will place a new bgl file in the same folder. Now drag and drop the new bgl file into your addon scenery and restart FS9.