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

FS2004 Setting GUID

Sidney Schwartz

Resource contributor
Messages
514
Country
us-oregon
Since I use Instant Scenery for placing objects in FS, I've always put the mdls of any objects I create into object libraries. I've just made some objects for a friend, and he says it would be easier for him (he uses ScenGenX) to have just the mdls and guids, not libraries. Loading any of the mdls into MCX I see there are no guids assigned. Uh oh. Does this mean I have to manually assign a guid to each mdl before exporting if the mdl is not going to be placed in a library? I'm guessing that when I compile mdls into a library, guids are generated at that time, and since I've always used libraries I've never assigned guids to mdls, or even thought about it.

Fortunately the number of objects is small, so if I have to create the guids myself it will not be a big problem.

The usual thanks in advance for helping the stoopid person. :)
 
Unlike FSX, in FS9 I think the GUIDs are assigned WHEN the obect is placed in the library.

Not quite sure why your friend doesn't want the library.

The model data will need to go somewhere. So where is he planning to put it? If it goes straight into SceneGenX, then that will probably assign the GUIDs at that point.
 
I know nothing about the programs he uses to create and place objects--FSDS and SceneryGenX--and he knows nothing about the programs I use--Sketchup and Instant Scenery. All I know is that he says it's easier to place mdls with SceneryGenX than it is to place library objects. I have idea why. I'm curious, anyway, about assiging guids in MCX. It has the capability...there must be a reason for it.
 
Hi,

FS2004 MDL files have no GUID, until they are put in the library. So you can probably give him the MDL files. SceneGenX should then make sure they get a GUID. I don't know SceneGenX good enough though to be sure about that.

But on the other hand it is much better to give him the library. Else you get the same objects living with different GUIDs in different sceneries. It would be better to just use the same library with the same objects and the same GUIDs.
 
Thanks, Arno!

Another question. In the LibraryCreatorXML xml file, the mdl has both a guid and the name I gave it. If I decompile the library using BGL2XML and import one of the extracted mdls into MCX, the guid is shown as the name of the object and the guid field is still zeros. Same with the bglxml decompiler. Are the names of the mdls saved in the LibaryCreatorXML file but not in the compiled bgl? :confused:
 
Hi,

BGL2XML saves the MDL files with the GUID as the filename, that's why the GUID ends up in the name field. But that is only because they are named that way.

ModelConverterX uses the filename as the name for FS2004. For FSX MDL files the name is also stored in the MDL.

When you would load your BGL into ModelConverterX (without first decompiling it) you will see that the GUID is read correctly. That's because the BGL is where the GUIDs are assigned.
 
For your friend - SceneGenX can place library objects just fine - I do that all the time. Add 3D Object, and copy and paste the GUID into the proper line (you can give it any name you like). So Library Objects are fine.

That said, the general consensus is if these objects are specific to this one airport (terminal buildings, etc.) they can be added as MDL files to the SGX airport BGL file itself, since they will not be used anywhere else and will just clutter up any real library BGL file. However, if these objects are to be used at more than one airport (ramp vehicles, etc.) then they really should be in a separate library BGL file.

Hope this helps,
 
Back
Top