XML or JS? [SOLVED]

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Poro
Deadly
Deadly
Posts: 249
Joined: Sun Jan 03, 2010 1:51 am
Location: Don't look in your aft view...
Contact:

XML or JS? [SOLVED]

Post by Poro »

Forgive my ignorance, but am I right in thinking that newer OXPs have things like shipdata.plist written in Javascript now? Is there any danger of XML files no longer being read in future versions?
Last edited by Poro on Wed Jul 07, 2010 5:51 pm, edited 1 time in total.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6626
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

It is not exactly JavaScript. What you see in the newer shipdata.plists (and other plists for that matter) is the OpenStep plist format which, although older than XML, is considered more readable and easier to handle by most OXPers and coders (at least those who mod and code for Oolite). Standard XML continues to be supported, so you can use it normally.
Post Reply