Difference between revisions of "TRE QSTFileType"

From SWGANH Wiki
Jump to: navigation, search
(New page: QueST files are the new version of quests that appear with publish 10 when SOE introduced the journal in the game. <pre> <?xml version="1.0"?> <quest version="1.0" > <tasks availabl...)
 
Line 1: Line 1:
 
QueST files are the new version of quests that appear with publish 10 when SOE introduced the journal in the game.
 
QueST files are the new version of quests that appear with publish 10 when SOE introduced the journal in the game.
  
 +
=Basic Structure=
 
<pre>
 
<pre>
 
<?xml version="1.0"?>
 
<?xml version="1.0"?>
Line 26: Line 27:
 
   </quest>
 
   </quest>
 
</pre>
 
</pre>
 +
We have:
 +
:a XML header
 +
:a '''quest''' packet  (1 per file)
 +
::a '''tasks''' packet containing 2 things:
 +
:::a '''task''' packet (the main one of the quest) containing some informations:
 +
::::name=value
 +
::::...
 +
::::and 0 or more other '''task''' packets which can each contain 0 to more other '''task''' packet and so on...
 +
:::a '''list''' packet containing some informations:
 +
::::name=value
 +
::::...

Revision as of 05:27, 12 June 2007

QueST files are the new version of quests that appear with publish 10 when SOE introduced the journal in the game.

Basic Structure

<?xml version="1.0"?>
  <quest version="1.0" >
    <tasks availableId="" >
      <task type="" id="" name="" taskOnFail="" >
        <data value="" name="" />
        <data value="" name="" />
        <data value="" name="" />
        ...
        <task type="" id="" name="" taskOnFail="" >
          <data value="" name="" />
          <data value="" name="" />
          <data value="" name="" />
          ...
        </task>
      </task>
    </tasks>
    <list>
      <data value="" name="" />
      <data value="" name="" />
      <data value="" name="" />
      ...
    </list>
  </quest>

We have:

a XML header
a quest packet (1 per file)
a tasks packet containing 2 things:
a task packet (the main one of the quest) containing some informations:
name=value
...
and 0 or more other task packets which can each contain 0 to more other task packet and so on...
a list packet containing some informations:
name=value
...