Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GMAX-API

Featured Replies

I am VERY new to scenery design, and I have created an object I want to place in FS2k2. I have placed it without a problem. But I want to share it. In order to share it I need to make it into an .API macro. How do I do that in GMAX?Is it possible?

  • Author
  • Commercial Member

You can not make an API macro directly from GMax.But there is a workaround. With FsRegen (http://www.nhreas.com/fsregen.html) you can make a library BGL that contains your object. You can then call that object with an API macro.BTW. You only need to make an API macro if you want to share your object with other scenery designers. To share it with user of the scenery you can also distribute the BGL file.ArnoMember NL2000 Teamhttp://home.wanadoo.nl/arno.gerretsen

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

That is what I want to do. I want to share the object with other scenery designers. So I guess I need a separate program to make API objects to share? So does it serve any purpose to make objects in GMAX? I am comfortable with that environment and I don't want to deal with another learning curve like that. I was told be someone that there is a Freeeware Object Designer. I will look into that.

  • Author
  • Commercial Member

>So I guess I need a separate >program to make API objects to share? So does it serve any >purpose to make objects in GMAX?No not really, you only need to make the library BGL with FsRegen. Then you can make the APi macro that calls it very simple using Notepad or so. I'll put an example below. In principle the only thing you need to change is the ID of the object (you must enter the numbers you gave to FsRegen there).ArnoMember NL2000 Teamhttp://home.wanadoo.nl/arno.gerretsen[tt]Area( 5 %1 %2 22 )PerspectiveCall( :L1 )ShadowCall( :L2 )Jump( : ):L1:L2mif( %11 )RefPoint( 2 :E1 %4 %1 %2 E= %11 v1= %10 %13 %14 )melseRefPoint( 7 :E1 %4 %1 %2 v1= %10 %13 %14 )mifendRotatedCall( :R1 0 0 %5 )Return:R1CallLibObj( 0 11111979 27042002 00000000 00000001 ):E1ReturnEndA[/tt]

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.