octgn
[[xml_set_description]]
Last edit on
Dec 18, 2008
3:32 PM
by Anonymous
The main description of a set is an XML file.
The XSD schema definition for sets is available here: http://octgn.net/octgn-client/CardSet.xsd
TODO: Describe the format in a more friendly way than just providing XSD
unique id's for sets and cards MUST be in the following form 8 hex digits - 4 hex digits - 4 hex digits - 4 hex digits - 12 hex digits
A rough description of the XML file using real xml as an example:
-
gameVersion="game version, found in .o2g/gamename.xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CardSet.xsd">-
REQUIRED FIELD - rest of card information is as defined in .o2g/gamename.xml under subheading
<property name="" value="" /> <property name="" value="" /> <property name="" value="" />all properties within a card are name/value pairs and must be made this way and must match the card layout from the .o2g game definition
</card>multiple card elements should be nested within the cards element, in this way a set of cards made up of lots of individual card is formed
<property name="" value="" /> <property name="" value="" /> <property name="" value="" /> </card>
Unable to determine immediate purpose of marker class from XSD
close of set