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

Library objects not showing

Messages
91
Country
canada
Hey all,

I have been trying to use the CREATEAGNLIBOBJ and CREATEXMLLIBOBJ commands for Point shapes. Scenproc makes the AGN files. However, I am having no luck in getting them to show in FSX. The only one I can get to work is for type=hotels that uses the GUID (Urban Buildings Large Modern 65x35 ). All the others are no shows. I was under the impression that all objects could be used in scenproc? On the other hand, I have also tried to load these objects using the Autogen Annotation tool and they dont appear there either. I am aware that some GUIDs can only be used for either XML or OBJ, but im not sure which GUIDS I can use and which I cant. The ones on lc0277.gratsim.fr/sceneobjects are for XML format right? Any help here would be much appreciated. Here is my code

#
SPLITGRID|AGN|FROMFILE=buildings.shp

SETAGNBUILDINGHEIGHT|*|0,8;0,3;0,1;0,0
# points along a highway. 120;150 is the distance between each light, 5 and 7 are from centre of road
PLACEPOINTSALONGLINE|highway=secondary|120;150|5;7|OBJECT|LIGHT|HDG
# NATURAL.SHP
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=forest|{2ce948be-5b15-4fa2-8d2e-4b2939cd18a5}
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=park|{2ce948be-5b15-4fa2-8d2e-4b2939cd18a5}
#CREATEAGNPOLYVEG|FTYPE=POLYGON;type=riverbank|{acd89c1c-2a87-4168-8cb6-a1ca8e2859ac}
# LANDUSE.SHP
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=cemetery|{2fde0277-1697-4dab-b481-c3985c80596f}

CREATEAGNPOLYVEG|FTYPE=POLYGON;type=farmland|{64ba39c2-0701-44aa-96b4-cb1a17177480}

CREATEAGNPOLYVEG|FTYPE=POLYGON;type=orchard|{4E67E187-5D51-420C-83DC-F2DBDE9E0518}

CREATEAGNPOLYVEG|FTYPE=POLYGON;type=grass|{08eebf57-0dd8-4e73-b8ba-d491000ea4ce}
#CREATEAGNGENBUILD|FTYPE=POLYGON;type=residential|{311de8c7-e596-4e28-a94d-da09d0252ce4}
# BUILDING.SHP , FNUMVERT is the no of vertices
#CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH<20|{ac80451e-af91-42af-945a-4ee53e70eaf7}|MAXRATIO=2
#CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH>20|{311de8c7-e596-4e28-a94d-da09d0252ce4}|MAXRATIO=1
CREATEAGNLIBOBJ|FTYPE=POINT;type=mall|{b46c5fbe-4963-52ea-78b8-548c4a4ebfda}|HDG|0|100;50

CREATEAGNLIBOBJ|FTYPE=POINT;type=cinema|{b3cdc75d-4696-8e08-2637-cdbbebbeb5f0}|HDG|10|50;50

CREATEAGNLIBOBJ|FTYPE=POINT;type=fuel|{2a2281a9-4d49-c558-6ca8-2297ad034d9e}|HDG|0|10;10

CREATEXMLLIBOBJ|FTYPE=POINT;type=hospital|{B5187AC3-8AA4-4A73-A06C-67DCBDD64060}|HDG|0|NOAUTOGENSUPPRESSION

CREATEAGNLIBOBJ|FTYPE=POINT;type=hostel|{3f7df9f6-11e0-0e99-3000-6bb2d8103067}|HDG|10|5;5

CREATEAGNLIBOBJ|FTYPE=POINT;type=hotel|{47d63f58-43ae-7906-42bb-2f9be3d8fbe5}|HDG|10|20;10

CREATEAGNLIBOBJ|FTYPE=POINT;type=parking|{1434bb2c-43d7-7030-b4e7-70af2b18033c}|HDG|10|10;10
#CREATEAGNLIBOBJ|FTYPE=POINT;type=place_of_worship|{7af89112-4447-afdb-6f95-699a3254e7a2}|HDG|0|6;6
CREATEXMLLIBOBJ|FTYPE=POINT;type=place_of_worship|{7af89112-4447-afdb-6f95-699a3254e7a2}|HDG|00|NOAUTOGENSUPPRESSION

EXPORTAGN|FSX|D:\FSX\Scenery\Countries\Bahrain\texture
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
Hi,

For the autogen library objects you need to use the GUID of the object classes defined in the default.xml file. So you can't use the object GUIDs directly.

When placing XML library objects you need to use the object GUIDs of course.
 
Messages
91
Country
canada
Hey Arno,

thanks for the reply. Ok, I know have a better understandng of it. I did a number of tests for CREATEAGNLIBOBJ using the class name GUID and it seems that most turn up, including a number of ORBX sceneries. There are some however that do not show. Is this to do with the fact that some of the sceneries are not active? I'm surprised that these are even listed in the default.xml if they are not active in FSX, or maybe they are written in on initial install of the scenery and are thus always present regardless of their status?

With that, there are many useful objects that I would like to access but are no shows when the GUIDs are selected. All of these have a path preceding the name. See below for examples

<CLASS>
<NAME>By Place/City/Housing/Style 026/Row of 4</NAME>
<GUID>3f1779100e9911e0b26b0030673010d8</GUID>
<WIDTH>32.94174</WIDTH>
<DEPTH>6.189485</DEPTH>
<LIBRARYOBJECT>
<NAME>Style 026 Row of 4</NAME>
<GUID>1ead1c8e4734348002abdf90594e076d</GUID>
</LIBRARYOBJECT>
</CLASS>
<CLASS>
<NAME>By Place/City/Housing/Style 026/Semi</NAME>
<GUID>3f177e600e9911e0b26b0030673010d8</GUID>
<WIDTH>16.44162</WIDTH>
<DEPTH>6.189485</DEPTH>
<LIBRARYOBJECT>
<NAME>Style 026 Semi</NAME>
<GUID>d7348aa14812b64f6b185a9eb3495c28</GUID>
</LIBRARYOBJECT>
</CLASS>
<CLASS>
<NAME>By Place/City/Housing/Style 026/Single</NAME>
<GUID>3f1783560e9911e0b26b0030673010d8</GUID>
<WIDTH>8.24563</WIDTH>
<DEPTH>6.189485</DEPTH>
<LIBRARYOBJECT>
<NAME>Style 026 Single</NAME>
<GUID>d6e236db4efa7a408d0f7da276c0ccf8</GUID>
</LIBRARYOBJECT>
</CLASS>
<CLASS>

Have you seen this before and would you know what scenery it is applicable to? Is there a way of accessing these objects without having the scenery active?

Thanks for the help!
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
Hi,

Those entries you show don't look like default ones to me, so I think they have been added by some scenery.

That's the downside of one shared default.xml file, you can see entries from other sceneries, but it is best to only use your own or fsx default ones in your project. Else you will have trouble distributing it.

If you use objects from other sceneries, you might have trouble if their libraries are in a scenery folder with a lower priority. Then the objects are maybe not found.
 
Messages
91
Country
canada
Hey Arno,

ok, I'll have to track down where these come from. I'll stick to the defaults from now on! Thanks for the info!
 
Top