https://www.fsdeveloper.com/forum/threads/placing-objects-to-follow-elevation.445005/post-819021
Hi again and (thanks for) the valuable info!
I have the feeling that I 'm almost there.
I used the annotator and placed some default autogen objects. In the beginning I could see none of those. The reason was that the 3d objects and the GPs were preventing the autogen from showing. I managed to make the autogen appear by exporting the scenery again (3D objects and GPs) using
<NoAutogenSuppresion/> and <Nocrash/> for the 3d objects,
and prevent autogen exclusion for the GPs.
Next step was to create custom library files and place them with annotator.exe.
So here are the steps I followed.
I created a .bgl library file containing two objects. The file was placed in the addon scenery/scenery folder (the items have no textures they are simple 3d boxes).
Since I was not able to run the
AutogenEditor.exe, I manually modified the
default.xml.
This is the entry under the code "O" region
<CLASS>
<NAME>boxes</NAME>
<GUID>2cfe65273baa4d15b4acf703e8767f17</GUID>
<WIDTH>42</WIDTH>
<DEPTH>42</DEPTH>
<LIBRARYOBJECT>
<NAME>box01</NAME>
<GUID>7e8b2e8e9143482bae9bde993f4c4ab6</GUID>
</LIBRARYOBJECT>
<LIBRARYOBJECT>
<NAME>box03</NAME>
<GUID>58084332ab0f4d93a12c3c67cb2fc042</GUID>
</LIBRARYOBJECT>
</CLASS>
The GUID for the name is custom (from a GUID generator) and the other two are the GUIDs from the mdls.
All three GUIDS were modified to FS2004 version by deleting the dashes.
However, the .mdls in the .bgl file have the same GUIDs but with dashes...
I saved the default.xml file and then copied it to FSX autogen folder.
When I opened the annotator.exe the library "boxes" was into the control panel . I selected and placed it into the scenery. I pressed save and an .agn file appeared in the texture folder of my scenery.
However, nothing appears in FSX.
I also checked if there is a problem with custom libraries placement by placing a library file from another scenery that is installed in my FSX (it is present in the control panel of the annotator).
The object appeared in my scenery after placement. Since this object is in the same region (O) in the default.xml I figured that my objects are also under the correct region.
After all this procedure I 'm almost sure that there is either something wrong with my custom objects or that by not using the AutogenEditor.exe something is missing.
Can you figure out if I missed any step in the procedure? Could that be the difference in the GUIDs??
Thanks!