Difference between revisions of "Shipdata structure"

From Elite Wiki
(extra info)
 
(edit second object added)
Line 1: Line 1:
Every entity is defined by a key, followed by a <dict>ionary of the object's properties.
+
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.
 
Do not use '-'(minus symbol) in the entity title.
  
 
:The structure of the shipdata.plist is as follows:
 
:The structure of the shipdata.plist is as follows:
  
  ***XML-Header info***
+
  ''***XML-Header info***''
 
  <plist>
 
  <plist>
 
  <dict>
 
  <dict>
 
   <key>my_object</key>
 
   <key>my_object</key>
 
   <dict>
 
   <dict>
     (all property entries)
+
     ''(all relevant property entries)''
 +
  </dict>
 +
  <key>my_second_object</key>
 +
  <dict>
 +
    ''(all relevant property entries)''
 
   </dict>
 
   </dict>
 
  </dict>
 
  </dict>
 
  </plist>
 
  </plist>
  
[[shipdata.plist|BACK]]
+
'''[[shipdata.plist|BACK]]'''

Revision as of 23:52, 3 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:
***XML-Header info***
<plist>
<dict>
  <key>my_object</key>
  <dict>
    (all relevant property entries)
  </dict>
  <key>my_second_object</key>
  <dict>
    (all relevant property entries)
  </dict>
</dict>
</plist>

BACK