Page 1 of 1

KMSY and Addon.XML

Posted: Tue Jan 28, 2020 4:29 pm
by Juergen2
Hi,
I have all my addon airport scenery in a directory outside of P3Dv4. I then use a addon.xml file to load the airport in P3Dv4, which is located in C>Documents>Prepar3Dv4 Add-ons.
I am unsure of KMSY since it has a "scenery folder", a "texture folder" and a "scripts folder".
Question: does the scripts folder path location have to be included in the addon.xml? e.g.:
<AddOn.Component>
<Name>LatinVFR New Orleans Airport<Name>
<Category>Scripts</Category>
<Path>C:\Addon Scenery|LatinVFR\New Orleans<Path>
<Name> New Orleans KMSY</Path>
</Addon.Component>
Thanks for help

Re: KMSY and Addon.XML

Posted: Tue Jan 28, 2020 7:26 pm
by RicardoLVFR
Hi, this is a sample of my xml

<SimBase.Document Type="AddOnXml" version="4,0" id="add-on">

<AddOn.Name>New Orleans_KMSY</AddOn.Name>
<AddOn.Description>New Orleans_KMSY</AddOn.Description>

<AddOn.Component>
<Category>Scenery</Category>
<Path>C:\Program Files\Lockheed Martin\Prepar3D v4\LatinVFR\New Orleans_KMSY</Path>
<Name>New Orleans_KMSY</Name>
</AddOn.Component>

</SimBase.Document>

Re: KMSY and Addon.XML

Posted: Wed Jan 29, 2020 10:10 am
by Juergen2
Hi Ricardo,
Thanks for your quick response.
So if I take the complete LatinVFR folder from the default install folder and place it in my Addon Scenery folder, than create a xml similar to yours (change the path), but without a path to the texture folder and the script folder - it should load correctly?
I know this is not necessarily scenery related
Thanks for help

Re: KMSY and Addon.XML

Posted: Wed Jan 29, 2020 3:49 pm
by RicardoLVFR
hi, yes it should work correctly.

Re: KMSY and Addon.XML

Posted: Thu Jan 30, 2020 7:55 am
by Juergen2
Ricardo,
Worked just as you explained.
Thanks for help