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.

Ground polygons as macros

Featured Replies

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

  • Commercial Member

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.

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

Tnx Arno i'll give it a try.RegardsDaniel

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.