Making Scenery Plans for gMax: Page 2
 

Next open Notepad and make a little text file that looks like this. Substitute the numbers you wrote down from FSTflatten for 192 and 128 and save it with a file name like I have done. Don't change the order, or you will have a grid somewhere where you don't want it. To make this as simple as possible you should have this file, BGLC.EXE and ALL of the INC files in the same directory (folder for you non-oldtimers). Next open a command prompt window in this directory. At the prompt type in:

BGLC.EXE /bgl 192_128_Grid.txt

then hit enter. Substitute the name of your file naturally and when it is finished you should have a 192_128_Grid.bgl file in this directory only it will have the name of your txt file. You can "Drag" your text file and "Drop" it on BGLC.exe if you want, but if there is a problem, you won't know what it is and you won't get a bgl either. A DOS window will flash and you will be wondering what happened...where's my bgl file? It should be 163250 bytes.

 
 
 


UPDATE For FS2004 users!!!

I do most of my work in FS2002 and the stuff works fine in FS2004. It seems the bgl that is made with the method I described won't work in FS2004 as it does in FS2002. Go figure!!! But there is a fix. Go to Avsim and download a file named cellgrid2004a.zip. This is an updated version of the Cellgrid include and TDF macros that work with FS2004. I simply unzipped the files to a new directory C:\Program Files\CellGrid2004a. Then made the txt file like before with a slight modification. _________________________

include Cell_Grid_2004a.inc

CellDefine 192, 128
_________________________

Then opened a cmd window in this directory and compiled it with bglc.exe.
_________________________

C:\Program Files\CellGrid2004a>bglc.exe /bgl 192_128_Grid.txt
_________________________

Moved this new bgl file to an active scenery directory and copied the included texture files that were in the zip to that active scenerys texture directory. Fired up FS2004 and the grid was there.

 
Once it is compiled copy or move this new file to your C:\Program Files\Microsoft Games\FS2002\ADDON SCENERY\SCENERY directory or where ever your \ADDON SCENERY\SCENERY directory might be. Put a copy of the LOD8define.BMP in your \ADDON SCENERY\TEXTURE directory. Fire up the sim and load your flight and you should see the blue and red grid with its while numbers like the image below.  
 
 

Back a page

Page 3