Jump to content
Sign in to follow this  

Recommended Posts

Guest

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Guest

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.

Share this post


Link to post
Share on other sites

>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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...