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

BGLC_9, Trees and Exclude!

mskhan1991

Resource contributor
Messages
931
Country
pakistan
I created trees using gmax. Exported them using FS2004 gamepack in .mdl format.

Now the thing is that, each tree is a separate object in gmax. There are around 3000 trees at the airport. I export around 1500 in one mdl file and the other 1500 in another.

I wasn't expecting exclusion since each tree is a separate object.

The problem is that when I export in .mdl format I can use the mdltweaker to unify all the normal vertices. But the exclude problem still remains there.

I tried exporting the object in .asm files and then editing in and adding this line

"SCALE_AGL OBJECT_0_RETURN, 0, 0, 0, 0, 0, 0, 0, 0, 0"

but to no use since BGLC_9.exe can't compile the file into .mdl with this line, I am not sure but i gives me error regarding "OBJECT_0_RETURN" value.

So my requirement is that I want to export the trees using FS2004 gamepack in .mdl format but don't want them to exclude the entire area around the airport. Any solutions to that?

Regards. Reply soon
 
Hi,

As you found out autogen exclusion is determined by the bounding box of the mdl. It does not matter how many individual objects there are in the mdl file.

It would help to see the exact error you get from bglc_9. Sounds like the return label you used might not be defined. Also I think the trick you used is usually used for ground polygons, which have a different asm format (they are fs2002 style code). So I am not sure if that will work for mdl files too.

The best way to preserve autogen is in general to make sure your objects are not too big and have the reference point in the center. So maybe if you make more mdl files with smaller groups of trees it might work.
 
yep, it's not defined.

Also, it's more accurate for me to place these objects in one file. And they all can't have reference points at the center, so I wanted to try this "SCALE_AGL......0,0,0" command.

Also, how may i get the unify normals option in Gmax to actually work? Because if that can be done, my problem is solved.

Now what i do? here's a screenshot:
 
Last edited:
"SCALE_AGL OBJECT_0_RETURN, 0, 0, 0, 0, 0, 0, 0, 0, 0"

This command can only be used with .asm generated by FS2002 gamepack makemdl. Doesn't matter if it's a ground polygon or 3d object but is there any way to use such a thing for FS2004 style .asm files?
 
Hi,

I am not aware of good tweaks for fs2004 mdl files. That's why I guessed work arounds to minimize the bounding box size.
 
Back
Top