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.

Manually editing .API files part 2 help please

Featured Replies

Hey guys, I have some api macros created with FSDS that do not use night lighting (*_lm.bmp files). What command should be changed so it uses the night lighting? Thanks, Leandro

  • Author
  • Commercial Member

Find the LoadBitmap command, it will look something like this:[tt]LoadBitmap( 0 6 EF 0 0 0 mybitmap.bmp )[/tt]If you replace it by this you will get night lighting:[tt]LoadBitmap( 0 L6 EF 0 0 0 mybitmap.bmp )[/tt]I am not sure if FSDS always shows the source this way. I remember that it used the Dwx commands first, because SCASM didn't support the new command at that time. I am not sure if that is solved, in that case you might want to replace these commands by the LoadBitmap command.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

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

Ok got that. Now there is another little prob to deal with. I have this VOD macro that uses .PAT texture. How can I make it load bmp instead and with the night light too? Here is some of the code:Points( 0 -58 0 -71 ; 0 58 0 -71 ; 1 58 0 72 ; 2 -58 0 72 ; 3 -58 0 -71 ; 4 58 0 -71 ; 5 58 0 72 ; 6 -58 0 72 ; 7)Bitmap( APRON1.PAT 0 0 0 0 )ConcavePolyBitmapMode( 1 )Inst_7DTexPoly( a ; External Top 4 128 193 7 128 50 6 244 50 5 244 193 )BitmapMode( 0 )ReturnEndA

just change .pat to .bmpB

"just change .pat to .bmp"Thanks Bob, but I also have to change from Bitmap to LoadBitmap right? What else needs to be changed?

  • Author
  • Commercial Member

Yes, for the night lighting you also need to replace the Bitmap command by the LoadBitmap command, but that's all.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

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

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.