-
Notifications
You must be signed in to change notification settings - Fork 130
Game Developer's Guide to the new 3.1.X.X update
brine edited this page Mar 28, 2013
·
21 revisions
(Work in Progress)
#1. Change your Game Definition file structure
- Rename your main xml file to definition.xml (you cannot give it a specialized name anymore)
- Delete [content_types] as it is removed from OCTGN.
- definition.xml is the ONLY file allowed in the root directory of the game definition. All other files must be moved into folders.
- delete the _rels folder (no longer needed).
#2. Change the RELS id links inside definition.xml
- Wherever you had a file/image linked through your _rels document (counters, card backs, python scripts, etc), replace the _rels ID with the filepath of the file.
- I.E. <script src="r02" /> becomes <script src="scripts/actions.py" />
#3. Capitalize all instances of "true" (to "True") and "false" (to "False") inside definition.xml
#4. Make sure all XML tags inside <game> go in this order (this is now important!):
- <scripts>
- <fonts>
- <proxygen> (NEW!)
- <globalvariables>
- <card>
- <table>
- <player>
- <shared>
- <deck>
- <sharedDeck>
#5. Add new code inside the <game> tag
- (this is where stuff like the game GUID and version number are)
- tags="" -- a short tag to help locate your game, usually an acronym if available
- description="" -- give a description for your game
- setsurl="" -- the full URL of a website to find more info or help for sets in this game
- gameurl="" -- the full URL of a website to find more info or help for this game
- authors="" -- a place to put the name of the person (or people) who helped code this game
- iconurl="" -- the full URL of a hosted picture to display as an icon for this game