Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
gmax to *api for AIRPORT3.0 (Read 278 times)
Dec 26th, 2003 at 3:59am

voscon   Offline
Lieutenant Colonel
I love YaBB 1G - SP1!

Posts: 9
*****
 
Hi, A (belated?) Merry Xmas.

Could someone help me with making an api file for use in AIRPORT (AFW) from a GMAX file?

I tried it many times, but no succes.
I created an api file ok, with FSREGEN, but all it does is show a square.
I believe that the problem could be the library call in the scasm listing.

I would really like to get a concise and accurate step by step way to do it (correctly  Roll Eyes.

(I tried it with texures and material only simple models for testing, no luck)

Cheers,
voscon.
 
IP Logged
 
Reply #1 - Dec 26th, 2003 at 5:36am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Hi Voscon. Gmax was never intended for use with Airport/SCASM & similar 3rd party FS applications. AFAIK
The only practical way I've found for converting aircraft into API macros is by using M98toBGL from the SimV Scenery Design section. There is an updated version named MDLtoBGL. http://www.avsim.com/hangar/utils/mdltobgl/id2.htm
Both work best with simple aircraft from the FS98 sections. Even then, not all models will convert properly.

Easy Object Designer (EOD) is ideal for creating relatively simple building macros for use with Airport or FSSC. http://www.echos.ch/eod/
« Last Edit: Dec 26th, 2003 at 5:30pm by Hagar »  

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #2 - Dec 26th, 2003 at 7:00pm

voscon   Offline
Lieutenant Colonel
I love YaBB 1G - SP1!

Posts: 9
*****
 
Hi Hagar,

Thank you for the quick reply.
I have no problem making and exporting from gmax to FS(9 in this case), directly. By using 'keep files' option the requires *_0.asm and +.asm files are also usable, as requested by FSREGEN for the purpose of making the *.api file.
(Below part copy of the FSREGEN readme.)
"
Library Compiler
Gmax, once mastered, is the ideal tools for 3D object creation and the produced code
executes very fast. Now you can convert objects created with gmax into libraries and use them from any design program you wish.
This is what this tool does. Here’s how to create
a library :
Create a number of objects in gmax.
Export each object in a separate bgl file. Place them anywhere you want; the coordinates
will not be used when the objects are compiled into a library.
Open each .asm file in the “New object details” text box. For every object you will find
two .asm files. Assuming one exported file was named “test”, a test.asm and a test_0.asm
will be created. Select the first. Once opened, various parameters are read and the
textboxes filled as required. Modify the name if you want, and make sure you define a
GUID that is unique throughout the fs library system. The program does not check this yet,
so it’s up to you to avoid any duplication.
Click “Add to list” and repeat the procedure for all previously created objects. Do not
forget to change the GUID for each one. Select any file from the list to modify the parameters
and click on “Modify” to commit any changes made.
After your list is complete, select the output file and click on “Create Library”.
Compile with bglc /bgl <outputFileName>.asm
"

Using the 'Ceate  API Macro' appears to work, but when used in AIRPORT it only shows a square.
The scasm listing has a 'callllib' call in it which to me seems to have the problem in it somehow.

Anyway, maybe someone else has found the solution  ???

Thanks again for your attention.

voscon.
 
IP Logged
 
Reply #3 - Dec 26th, 2003 at 7:08pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Hi Voscon. I must admit that Gmax is a complete mystery to me so I can offer no further advice on this route. What type of scenery objects do you wish to create? I find that EOD & FSSC (or Airport in your case) are capable of doing almost anything I need. Check out RollerBall's Kai Tak. I believe that all this was done with these 2 utilities.

Complex scenery objects created with 3D applications like Gmax will inevitably affect frame rates.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #4 - Dec 26th, 2003 at 8:42pm

Stratobat   Offline
Colonel
To fly... Or not to fly?

Posts: 1165
*****
 
Have a look here...  Grin

http://www.windowlight.co.nz/ontarget/gmax.html

Regards,
Stratobat
 

...&&&&'If the literal sense makes good sense, seek no other sense lest you come up with nonsense'
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print