Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Scenery with GMAX (Read 182 times)
Jun 13th, 2004 at 3:39pm

ryan6802   Offline
Colonel
Tucson

Gender: male
Posts: 36
*****
 
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?
 
IP Logged
 
Reply #1 - Jun 13th, 2004 at 7:31pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Why don't you just use the Gmax compiler?  It will turna  Gmax file directly into a .BGL file.
 

...
IP Logged
 
Reply #2 - Jun 13th, 2004 at 8:59pm

Firestriker   Offline
Colonel
Gearhart, Oregon

Gender: male
Posts: 274
*****
 
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:

<?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">
     
<SceneryObject
lat="47 25.89"
lon="-122 18.43"
alt="0"
pitch="0"
bank="0"
heading="0"
altitudeIsAgl="TRUE"
imageComplexity="NORMAL"
>

<LibraryObject name="10FCAE12464AE50E70C095B347C2E473" scale="1.0" />

</SceneryObject>

</FSData>


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
 
IP Logged
 
Reply #3 - Jun 14th, 2004 at 1:32pm

stevewilson   Offline
Colonel
Wish I had my pic here!
Hanford, Ca.

Gender: male
Posts: 445
*****
 
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.
 

Steve&&&&CPU: Intel Pentium 4 519 3.06 GHz &&Memory: 512MB (256MBx2) DDR PC3200 (400MHz) DIMM &&Intel Graphics Media Accelerator 900 Graphics&&Motherboard: Intel Augsburg &&SATA 8MB Cache 160GB 7200 &&CD R/W ROM, DVD-R/RW&&1 CPU FAN, 1 ANTEC FAN&&300 W PSU, WITH FAN &&FS9/2002&&...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print