May 8, 200224 yr 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?
May 8, 200224 yr 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
May 8, 200224 yr 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.
May 8, 200224 yr 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