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.

BGLC Compiler SDK was added

Featured Replies

  • Replies 51
  • Views 5.4k
  • Created
  • Last Reply

Top Posters In This Topic

All I can say is wow. As a web developer who's been scripting for years, I was always confused by the syntax and flow of BGLC code. From just a quick glance at the new docs I'm already way more comfortable with the new XML-based methodology. Of course the real test will come when trying to actually use this stuff, but I'm already much more hopeful. Thanks for the heads up!

  • Commercial Member

Great news :D.Had a quick look, but I don't know if I like the new XML format more then the old BGLC format. Will take some time to get used to it I guess.Also I have the idea that not all aspects of the previous BGL Compiler SDK are covered, for example the code to define the vertices and triangles of an object are not there. Maybe these are moved to a different SDK now.Arno

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

As Bill I

Hi again,After playing for a while with the bglcomp I have one problem: when i call to library

They seem to have split the creation of models from the layout of airports. The BGLComp program seems to assemble the airports. The creation of models, seems to be handled by MakeMDL, the SDK for which will supposedly be coming soon. I can see this opening up a lot of possibilities for new scenery design tools. This actually looks more like SCASM than BGLC with regards to the ease of creating scenery, so I applaud that. I'll be very interested to see the new MakeMDL SDK now.

Well, I am somewhat confused. I start reading the FS2004BGLCompSDK.doc, paying particular attention to the Scenery File Format. As a comparison, I open one of the sample XML files. I find that the sample doesn't follow the format given:Scenery File Format:<?xml version=

Bill Sieffert

I got the example files to compile, Bill, so I guess it works even without the initial XML declaration. I don't think it makes any difference whether you include the line breaks to organize the code within the XML tags, it's purely a matter of making it more readable for the coder.

  • Commercial Member

It could be that the area in which the library is valid is limited, so then the objects could only be used in the New York area and won't show else where. This was the case in Fs2002.

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

Hi!I had som serious trouble getting my first try (a refuel area) to compile - I got errors on words that, according to the documentation, should be correct. For example: I wrote, as stated in the doc, REFUELREPAIR (a trigger) which was not accepted. Same thing on the availability-variable...I opened the file bglcomp.xsd with the Notepad (just drag-n-drop) and found the correct syntax to be REFUEL_REPAIR. Bingo - compiled without errors. Might be useful to know if you get strange errors reported. Seems easy, but if MS tells you to write REFUELREPAIR, then you do... ;-)/hans

Dear Jos

Arno, that was my concern, too. I tried placing the leaning tower of Pisa in my own scenery with Airport and it worked fine. There must be some other reason why it din't work. Best regards, Chris

Thank you Arno for you reply. I

  • Commercial Member

I tried to place both on a test location (far away from both cities). The leaning tower of Pisa does appear, but the Statue of Liberty does not. So I think there is still some difference between the library files, maybe some are basically still the old Fs2002 files?

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

  • Author

Hi all.You can easily place objects at a height relative to the ground elevation:<?xml version="1.0"?>This code suspends the Oil Rig example at Tacoma 100 meters in the air.Dick

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.