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.

Using local .mdl files in ObPlacerXML

Featured Replies

Can you clarify this for me? When I use a local MDL file in ObPlacerXML to place a custom GMAX object I've made ObPlacer outputs a .bgl file. Does that bgl file contain the model? Or does it refer back to the mdl file? In other words: If I install that .bgl file on a new machine by itself and activate it, will it work?Che

  • Commercial Member

>Can you clarify this for me? >>When I use a local MDL file in ObPlacerXML to place a custom>GMAX object I've made ObPlacer outputs a .bgl file. Does that>bgl file contain the model? Or does it refer back to the mdl>file? >>In other words: If I install that .bgl file on a new machine>by itself and activate it, will it work?>>Che Che,Since a BGL file is slightly larger than MDL file, I suspect that it contains the MDL in it, plus a header of some sorts that tells it where to put it, how to orient it etc. So - yes - a BGL file is all you need. Plus textures. Cheers,

P3D SpacePort Team

  • Author
  • Commercial Member

Hi Che,Yes, Misho is right. If you use a "Local MDL" object, then the BGL file contains the MDL object and the code needed to place the object at your given location. FS itself never uses the MDL objects directly.So when placing them, you have them either included in the BGL or you are calling them from a library BGL. The last option is generally prefered, as the first option locks the objects. So if you combine the MDL object and the placement in one file, you can only place it around that location. If you later call the GUID from a different BGL, it will only work if you are close enough. So for generic objects, using a library is prefered.

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

Hey arno, how do I compile a mdl object(s) into a library bgl? Che

  • Author
  • Commercial Member

You can do that with a XML file. If you only use ModelData commands in your file and no SceneryObject commands, you create a library BGL file.If you prefer a GUI, you can also use Library Creator XML. It is available from my site as well.

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.