Difference between revisions of "Shipdata structure"

From Elite Wiki
(edit second object added)
m (added commentline)
Line 4: Line 4:
 
:The structure of the shipdata.plist is as follows:
 
:The structure of the shipdata.plist is as follows:
  
  ''***XML-Header info***''
+
  ''***usual XML-Header info***''
 
  <plist>
 
  <plist>
 
  <dict>
 
  <dict>
Line 11: Line 11:
 
     ''(all relevant property entries)''
 
     ''(all relevant property entries)''
 
   </dict>
 
   </dict>
 +
<nowiki>  <!-- between these everything will be ignored, conventient for selfcomments --> </nowiki>
 
   <key>my_second_object</key>
 
   <key>my_second_object</key>
 
   <dict>
 
   <dict>

Revision as of 08:49, 4 February 2006

Every entity is defined by a title-key, followed by a <dict>ionary of the object's properties. Do not use '-'(minus symbol) in the entity title.

The structure of the shipdata.plist is as follows:
***usual XML-Header info***
<plist>
<dict>
  <key>my_object</key>
  <dict>
    (all relevant property entries)
  </dict>
  <!-- between these everything will be ignored, conventient for selfcomments --> 
  <key>my_second_object</key>
  <dict>
    (all relevant property entries)
  </dict>
</dict>
</plist>

BACK