Difference between revisions of "Shipdata structure"
From Elite Wiki
m (added commentline) |
|||
| (9 intermediate revisions by 6 users not shown) | |||
| Line 2: | Line 2: | ||
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: | |
| + | XML: | ||
''***usual XML-Header info***'' | ''***usual XML-Header info***'' | ||
| − | <plist> | + | <plist version="1.0"> |
<dict> | <dict> | ||
<key>my_object</key> | <key>my_object</key> | ||
| Line 11: | Line 12: | ||
''(all relevant property entries)'' | ''(all relevant property entries)'' | ||
</dict> | </dict> | ||
| − | <nowiki> <!-- between these everything will be ignored, | + | <nowiki> <!-- between these everything will be ignored, convenient for selfcomments --> </nowiki> |
<key>my_second_object</key> | <key>my_second_object</key> | ||
<dict> | <dict> | ||
| Line 19: | Line 20: | ||
</plist> | </plist> | ||
| − | '''[[ | + | OpenStep: |
| + | { | ||
| + | // comment | ||
| + | "my_object" = { | ||
| + | ''(all relevant property entries)'' | ||
| + | }; | ||
| + | } | ||
| + | |||
| + | * See [[Shipdata.plist]] for relevant properties. | ||
| + | |||
| + | == Subentities == | ||
| + | *[[Z GrOovy HPC pack]] (2014) equipment appears on outside of ship when bought, and can be damaged in combat impairing its efficiency | ||
| + | *[[Refugee Adder]] (2006, XML) features a rotating rear-end | ||
| + | *[[Animated Ships]] (2010) has flapping wings | ||
| + | *[[Oolite Stations|stations]] - the docking bay for one thing - and some of the Kiota stations have moving escalators | ||
| + | :Also, the original versions of Smiv's [[BattleDamage]] merged with [[Smivs' ShipSet]] to show hull damage on the ships. | ||
| + | |||
| + | [[Category:Oolite]] [[Category:Legacy scripting]] | ||
Latest revision as of 06:18, 26 April 2023
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:
***usual XML-Header info***
<plist version="1.0">
<dict>
<key>my_object</key>
<dict>
(all relevant property entries)
</dict>
<!-- between these everything will be ignored, convenient for selfcomments -->
<key>my_second_object</key>
<dict>
(all relevant property entries)
</dict>
</dict>
</plist>
OpenStep:
{
// comment
"my_object" = {
(all relevant property entries)
};
}
- See Shipdata.plist for relevant properties.
Subentities
- Z GrOovy HPC pack (2014) equipment appears on outside of ship when bought, and can be damaged in combat impairing its efficiency
- Refugee Adder (2006, XML) features a rotating rear-end
- Animated Ships (2010) has flapping wings
- stations - the docking bay for one thing - and some of the Kiota stations have moving escalators
- Also, the original versions of Smiv's BattleDamage merged with Smivs' ShipSet to show hull damage on the ships.