A password will be e-mailed to you.

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.

Pages: [1]
Author Topic: Create a mission problem categories
Christy
New User
Posts: 23
Send Message
Post Create a mission problem categories
on: June 17, 2012, 07:16

Bonjour,

here is my xml:

<? xml version = "1.0" encoding = "UTF-16"?>
<SimBase.Document type = "AceXML" version = "1.0"
id = "FSCategories">
<descr> AceXML Document </ Descr>
<Filename> OccitaniaCategories.xml </ filename>
     <SimMissionUI.ScenarioCategory id="{a5f331d5-c3c6-44b3-a602-3bddaa7c44de}">
         <descr> Fly to the discovery of the scenes of this area </ Descr>
         <title> Occitania </ Title>
         <PreviewImage> Banner_allcategories.bmp </ PreviewImage>
     </ SimMissionUI.ScenarioCategory>
</ SimBase.Document>

- I'am saving the file on : OccitaniaCategories.xml in : P3D/categories
-
- The folder mission Occitania, including a mission inside, all copied in the
   P3D/missions

I run P3D and unfortunately for me, load the menu does not open, I get an error and closes P3D.

I tried to move the mission in Occitania: My mission, the result is: P3D same mistake.

janvaane
Professional
Posts: 544
Send Message
Jan Vaane
Post Re: Create a mission problem categories
on: June 17, 2012, 11:39

Put it in the emergency folder under missions and give this a try

Jan Vaane - http://flightsimeindhoven.nl/?page_id=6715

Christy
New User
Posts: 23
Send Message
Post Re: Create a mission problem categories
on: June 18, 2012, 13:03

It'is an 2 errors in Xml file, now is ok.

janvaane
Professional
Posts: 544
Send Message
Jan Vaane
Post Re: Create a mission problem categories
on: June 18, 2012, 16:53

Tested with http://www.w3schools.com/dom/dom_validate.asp and getting this (just for fun..)

<?xml version = "1.0" encoding = "UTF-16"?>
<SimBase.Document type = "AceXML" version = "1.0" id = "FSCategories">
<Descr> AceXML Document </Descr>
<Filename> OccitaniaCategories.xml </Filename>
<SimMissionUI.ScenarioCategory id="{a5f331d5-c3c6-44b3-a602-3bddaa7c44de}">
<Descr> Fly to the discovery of the scenes of this area </Descr>
<Title> Occitania </Title>
<PreviewImage> Banner_allcategories.bmp </PreviewImage>
</SimMissionUI.ScenarioCategory>
</SimBase.Document>

Jan Vaane - http://flightsimeindhoven.nl/?page_id=6715

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.31 ; Page loaded in: 0.068 seconds.