Sign in to follow this  
Guest

Ground polygons as macros

Recommended Posts

Hi everyone, I created a polygon using Gmax. I also edited the asm file in order to eliminate the shimmering by using the addcat command. As such everything works well when I recompile the asm and put the bgl file directly into the scenery folder. I also converted the polygon into a macro using Fsregen, but the problem is that as a macro the polygon started shimmering again even though the asm file had been edited. Has anybody ever tried this or do you think that there is a way round it.Tnx and regardsDaniel

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

That's correct. The changes you made to the ASM source don't come in the library, the library only uses the yourfile_0.asm file.Try using a calling macro like this one:[tt]Area( 5 %1 %2 22 )LayerCall( :OBJ 8 )jump( : ):OBJmif( %11 )refpoint( 2 :END %4 %1 %2 E= %11 v1= %10 %13 %14 )melserefpoint( 7 :END %4 %1 %2 v1= %10 %13 %14 )mifendrotatedcall( :ROT 0 0 %5 )return:ROTcallLibobj( 0 11111979 14122000 12042003 2 ):ENDreturnEndA[/tt]The parameter 8 is the layer number.

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