Jump to content

Sign in to follow this  
Guest

Ground polygons as macros

Recommended Posts

Guest

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...