36 | | '''More detail to follow''' |
| 38 | === Game System Definition === |
| 39 | |
| 40 | A Game System is the simplest of the files and only needs to contain a few tags and attributes. A Game System file must have "WarFoundry_System" at the start of the Zip file's comment and contain a file called data.systemx. The .systemx file should use the [browser:IBBoard.WarFoundry.API/trunk/dtds/system.xsd system.xsd schema]. |
| 41 | |
| 42 | A simple Warhammer-esque game system can be defined as: |
| 43 | |
| 44 | {{{ |
| 45 | <?xml version="1.0" encoding="UTF-8"?> |
| 46 | <system xmlns="http://ibboard.co.uk/warfoundry/system" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" id="sampleSys" name="Sample Game System" warn="false"> |
| 47 | <categories> |
| 48 | <cats:cat id="cat1" name="Characters" minPercentage="0" maxPercentage="50" /> |
| 49 | <cats:cat id="cat2" name="Regiments" minPercentage="25" maxPercentage="100" /> |
| 50 | <cats:cat id="cat3" name="War Machines" minPercentage="0" maxPercentage="25" /> |
| 51 | <cats:cat id="cat4" name="Monsters" minPercentage="0" maxPercentage="25" /> |
| 52 | <cats:cat id="cat5" name="Allies" minPercentage="0" maxPercentage="25" /> |
| 53 | </categories> |
| 54 | <sysStatsList defaultStats="default"> |
| 55 | <sysStats id="default"> |
| 56 | <sysStat name="M"/> |
| 57 | <sysStat name="WS"/> |
| 58 | <sysStat name="BS"/> |
| 59 | <sysStat name="S"/> |
| 60 | <sysStat name="T"/> |
| 61 | <sysStat name="W"/> |
| 62 | <sysStat name="I"/> |
| 63 | <sysStat name="A"/> |
| 64 | <sysStat name="Ld"/> |
| 65 | </sysStats> |
| 66 | </sysStatsList> |
| 67 | </system> |
| 68 | }}} |
| 69 | |
| 70 | This file defines a game system called "Sample Game System" with an ID of "sampleSys" (which all races of the system will use as their Game System ID). The game system has five categories with various percentage limits on the units in the category. It also has one stat line with nine columns, which is defined as the default (the default has to be defined in case there are multiple stat lines). |
| 71 | |
| 72 | === Race File Definition === |
| 73 | |
| 74 | === Army File Definition === |