Hi,
in shipdata.plist, is it actually of relevance if done in XML scripting in which sequence the commands are listed?
I.e., which fuel a ship has, which equipment, hyperdrive spin time, weapons energy, subentities, large cargo bay largeess etc. etc. - could they just be mixed together as it pleases or is a certain sequence nescessary, and if yes, which?
Perhaps a stupid question, perhaps not, I better ask before experimenting, and if it could be "pick & mix" that would be very practical.
Thanks in advance for any knowledgeable people
L
Another question about shipdata.plist
Moderators: winston, another_commander
Pretty sure that sequence isn't important. I tend to keep things in a certain order just so that I can find things in the list quickly. However, as long as all the keys are in place technically you can order things as you like.
Download Resistance Commander plus many other exciting OXPs HERE
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Lestradae, shipdata.plist is not a script, it is a data file. A script contains instructions, a data file contains descriptions.
The order of items in dictionaries does not matter – they are unordered collections. The order of items in arrays does matter. This applies to all plists.
The order of items in dictionaries does not matter – they are unordered collections. The order of items in arrays does matter. This applies to all plists.
E-mail: [email protected]
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
...
Thanks again, guys, for the quick and to-the-point answers.
@Ahruman: I really must get my understanding of the terms here somewhere else
Problem is, I have no programmers background at all, and what I know of the terms - legacy scripting, script, data file, XML, OpenStep etc. - I picked up by reading on the forums ...
Is there some sort of resource or dictionary from where a noob to those topics like me could get a basic education?
Greetings
L
@Ahruman: I really must get my understanding of the terms here somewhere else
Problem is, I have no programmers background at all, and what I know of the terms - legacy scripting, script, data file, XML, OpenStep etc. - I picked up by reading on the forums ...
Is there some sort of resource or dictionary from where a noob to those topics like me could get a basic education?
Greetings
L