• 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.

Exclude not...errmm... excluding

Messages
177
Country
unitedkingdom
Hi,

Can anyone see anything wrong with this exclude? It compiles OK, but doesn't do what it says on the tin... :scratchch

Code:
<ExclusionRectangle
latitudeMinimum="52.332461"
latitudeMaximum="52.334638"
longitudeMinimum="-14.201791"
longitudeMaximum="-14.197916"
excludeAllObjects="TRUE"/>

Best regards,
Robin.
 
Hi Robin,

Well yes, and then the question of reading order. Even if it is placed in an active scenery folder, it should also be placed so that it is read after the scenery that it attempts to exclude. So note the priority of the folders if it is in another folder, or if its in the same (say you want only to exclude part of a bgl), that within the folder scenery bgl's are read in alphabetical order.

Peter
 
I didn't know you could compile exclude bgls by just writing them in code? What do you use to compile them?
 
And OMG...thats it? That is just too easy, theres got to be a catch some were. Some kind of limitation. Please give me some more info, as at the moment i'm trying to get rid of some trees in my tarmac.
 
Hi,

I've got it!! I was using "-" instead of implied "+" for the longitude; it was working, just a thousand miles away!! :banghead:

To answer the question above, yes, you can program excludes in XML and compile using bglcomp.exe. If you read the BGLComp document that ships with the BGLComp SDK it outlines every parameter you can use in there.

I'd like to know if you can program flattens like this at all? Presently I'm adding entries to the scenery.cfg file.

Best regards,
Robin.
 
VulcanB2 said:
I'd like to know if you can program flattens like this at all? Presently I'm adding entries to the scenery.cfg file.

Yes, flattens can also be made in BGL files, but not with XML code. Have a look at the FsFlatten tool, it is really nice for this.

It is best to forget about those lines in the scenery.cfg file. They are from the FS98->Fs2000 migration. But it is not easier to no longer use them. They have their own trouble (like sometimes dissapearing again).
 
Back
Top