Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of ".pray.xml"

From Creatures Wiki
Jump to navigation Jump to search
m (removed <nowiki> tags that only worked in live preview)
m (Updated.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''.pray.xml''' is an XML based file format designed as a modern alternative to [[PRAY source]]. The standard is being developed by [[GameFreak]], with assistance by Miya.
+
'''.pray.xml''' is an XML based file format designed as a modern alternative to [[PRAY source]]. The standard was  developed by [[GameFreak]], but never saw practical use.
 
.pray.xml files are currently only used by MonoTheism.
 
.pray.xml files are currently only used by MonoTheism.
  
 
==Sample==
 
==Sample==
 
+
Current .pray.xml syntax is something like this example, which includes one agent and one inline file.
 
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
  &lt;pray&gt;
 
  &lt;pray&gt;
Line 11: Line 11:
 
   &lt;/meta&gt;
 
   &lt;/meta&gt;
 
   &lt;blocks&gt;
 
   &lt;blocks&gt;
     &lt;block id="0"&gt;
+
     &lt;agnt id="0"&gt;
      &lt;type&gt;AGNT&lt;/type&gt;
 
 
       &lt;name&gt;example agent&lt;/name&gt;
 
       &lt;name&gt;example agent&lt;/name&gt;
 
       &lt;data&gt;
 
       &lt;data&gt;
Line 33: Line 32:
 
         &lt;count&gt;1&lt;/count&gt;
 
         &lt;count&gt;1&lt;/count&gt;
 
       &lt;/dependencies&gt;
 
       &lt;/dependencies&gt;
     &lt;/block&gt;
+
     &lt;/agnt&gt;
     &lt;block id="1"&gt;
+
     &lt;file id="1"&gt;
      &lt;type&gt;FILE&lt;/type&gt;
 
 
       &lt;name&gt;example.catalogue&lt;/name&gt;
 
       &lt;name&gt;example.catalogue&lt;/name&gt;
 
       &lt;path&gt;C:\whatever\files\example.catalogue&lt;/path&gt;
 
       &lt;path&gt;C:\whatever\files\example.catalogue&lt;/path&gt;
     &lt;/block&gt;
+
     &lt;/file&gt;
 
   &lt;/blocks&gt;
 
   &lt;/blocks&gt;
 
  &lt;/pray&gt;
 
  &lt;/pray&gt;
 +
 +
==Related links==
 +
*[[Agent files]]
 +
*[[PRAY]]
 +
[[Category:File formats]]

Latest revision as of 03:11, 17 April 2014

.pray.xml is an XML based file format designed as a modern alternative to PRAY source. The standard was developed by GameFreak, but never saw practical use. .pray.xml files are currently only used by MonoTheism.

Sample[edit]

Current .pray.xml syntax is something like this example, which includes one agent and one inline file.

<?xml version="1.0" encoding="UTF-8"?>
<pray>
  <filename>example.agents</filename>
  <meta>
    <author>Agent author's name</author>
  </meta>
  <blocks>
    <agnt id="0">
      <name>example agent</name>
      <data>
        <bioenergy>100</bioenergy>
        <type>0</type>
        <anim_file>example.c16</anim_file>
        <anim_gallery>example</anim_gallery>
        <anim_string>0 1 2 4</anim_string>
        <remove_script type="raw">enum 0 0 0 kill targ next</remove_script>
      </data>
      <scripts>
        <script type="path" no="1">C:\whatever\files\script.cos</script>
        <count>1</count>
      </scripts>
      <dependencies>
        <dependency no="1">
          <category>7</category>
          <name>example.catalogue</name>
        </dependency>
        <count>1</count>
      </dependencies>
    </agnt>
    <file id="1">
      <name>example.catalogue</name>
      <path>C:\whatever\files\example.catalogue</path>
    </file>
  </blocks>
</pray>

Related links[edit]