• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

AFLT gives me an "index out of range" error


Hi Don,

Sorry I'm causing you so much work. I've sent the link again, but it should be the same as before. I have added two new zip folders to the link, The Models folder contains all the mdl files. My setup is"

g:\models\mdl\kord
g:\msfs\FS Design Tools\Airport Design Editor 178
g:\msfs\FS Design Tools\Airport Design Editor 178\FSX\projects\kord_mgc_2020.ad4

I have never got around to changing the compile name from 2019 to 2020.

There is one difference between your testing and my compile and purge. When I perform the purge, it is not on the reference file, but the actual file.

i.e.

The reference file was originally copied from my live scenery folder and placed one level up. (KORD-2019) ADE always compiles directly to the scenery folder, so the reference isn't touched again. Whenever I have changed anything on ADE and recompiled, I was then running a purge on that file, since it still had stock data in it.

Although I have continued to work on KORD, the files I have given you are untouched and as you say should stay that way.

Hope that clarifies things and gives you a set of files that will allow a complete compile.

Martin
 
There is one difference between your testing and my compile and purge. When I perform the purge, it is not on the reference file, but the actual file.
The purge is always performed on the designated Airport Reference File. You are not given a choice. Then, that purged file is intended to replace whatever airport .bgl was in the scenery folder.

So it's not clear what you actually did.
 
Hi Don,

I think part of my confusion here is that when going through the purge process, a message box tells me what is going to happen, then this pops up, Please select the airport.bgl to replace. My assumption is I only needed to do this after making changes on ADE. The stock lighting still included in that file would be stripped out by your purge process.

I have always selected the ADE created BGL files airport_initials_2019.BGL as the file to replace in the airport scenery file.


Save BGL Dialogue.jpg


In order to clarify the way things work, I drew myself a diagram, which made me realize that whilst I made a copy of the original airport.bgl file and selected that as the reference, you then copy that to the project folder for the airport. I assume that is then always used as the reference.

I don't think any of this really explains why the aprons disappeared. I have also just noticed that GP objects that had reversed vertical indices, and which I had corrected in ADE, have been reverted to the original erroneous ones, so errors that existed in the original reference file are coming back around after I have fixed them. Does your original concept assume that all work using ADE is complete before AFLT is used?

Martin
 

Attachments

  • Understanding.jpg
    Understanding.jpg
    309.4 KB · Views: 247
First of all, you only need to purge each airport reference file once. A copy of the purged file is saved in the project folder.

Following creation of the purged file, you are given the opportunity to replace the airport .bgl in your scenery folder with the purged file. AFLT does not know the path to the scenery folder, (the file you nominated on the Make Library folder may not be the actual scenery folder) so it simply asks Windows to open a File Open dialog - which Windows does at the last-accessed folder. (In your case, that was the FS9 Compilers folder.) You are then expected to navigate to the scenery folder and identify the old airport .bgl to be replaced by the purged file. If you don't do this, then you must copy the purged file from the Project Folder to the scenery folder, replacing the airport .bgl already there. Once again, you need do this only once - unless you change the airport reference file in which case you will need to do it again if the lighting configuration in the new airport reference file is different.

It just occurred to me, though, I could tell Windows to start with the folder nominated on the Make Library dialog, which may eliminate one confusing step.
 
That sounds good, and also, since you give us a copy of bglcomp.exe for fs9 in your folder set, could you not take away the dialogue asking the user where it is? Something else that puzzles me is why the Make Library Dialogue doesn't close when completed?

Did you put the Revert to Stock button in instead of having a tick box for the centerline? If I have centerline lights I no longer want, I am currently having to either click the line to go to turn it red and hit the delete key, or hit the Revert Stock Button to clear everything from the segment. I assume that is what you intended, but thought I'd check in case I've got it wrong.

Many thanks for all the work you have put in on my behalf.

Kind Regards
Martin
 
Something else that puzzles me is why the Make Library Dialogue doesn't close when completed?
Because some users will want to compile for multiple versions of Flightsim. So leaving it open avoids having to re-select. It's not modal, so leaving it open doesn't constitute an inconvenience.

Did you put the Revert to Stock button in instead of having a tick box for the centerline
The checkbox for centerline has been replaced with a groupbox containing three radiobuttons, any of which being checked constitutes a centerline. But, of course, ypouir real question is "how do I get rid of a centerline because I can't uncheck all three radiobuttons?". I hadn't considered that, but will.

For other users, we're discussing an upcoming feature, so none of this will relate to your installations. Martin, I suggest we terminate this thread and conduct further discussion on this feature via a conversation.
 
Back
Top