-
Notifications
You must be signed in to change notification settings - Fork 0
Game Definition
Note: You will use O8build to build your packages. It will automatically pack a game into the proper packages for both manual installs and feeds.
The o8g files must contain the following files and folders. File names (and presumably folder names too) may not contain spaces.
+ definition.xml
+ Sets (Any sets you want to include in your game. It is best to include them all, as there is no built in way to install a set by itself.)
| + SetName (aka My First Set)
| + set.xml (Only file allowed in this folder)
| + Markers (optional, but can contain marker images)
Sets are required to be defined inside of the game definition folder, as o8s's don't exist anymore.
Further folders to structure the contents are required to add more files to your game. The only file allowed in the root of an o8g is definition.xml
(see definition.xml). Often module creators define additional folders like "groups", "counters" and "cards" to hold the respective images. The contents of a "Blue Moon" game module might look like this:
+ definition.xml
+ cards
| + back.png
|
+ counters
| + crystal.png
| + reddragon.png
| + greendragon.png
| + bluedragon.png
|
+ groups
| + hand.png
| + draw.png
| + discard.png
|
+ scripts
. + actions.py
+ Sets
| + My First Set
| + set.xml
The game definition can define custom properties for cards.
Some temp notes:
17:30 <brine> I think ignoretext hides it from that little search box in the pile view windows
17:31 <brine> _maybe_ hides it from the deck editor columns, doubt it though
17:32 <brine> and textkind parses the value for the sealed deck editor
17:33 <brine> like if my subtype was Elf Warrior, it would split it apart for the check boxes
17:34 <brine> textKind (FreeText (default)/Tokens/Enum. Helps OCTGN treat String properties correctly. FreeText is any text; Tokens means that the property contains space-separated values (e.g. card type may be "Beastfolk Warrior", or color may be "Blue Yellow"); Enum means the string is a restricted set of possible values (e.g. rarity is "Rare", "Common" or "Uncommon").)
17:35 <brine> haven't had a chance to test and see if they still work properly
17:41 <brine> yeah still good
17:44 <brine> freetext properties are ignored in the sealed deck editor filter