Card Data

Working with Card Data allows you to speed up your workflow and make mass changes. As of update 0.13, there are XML and CSV export/import data types. XML is the raw card data, and allows full editing of cards, such as adjusting image position, swapping an image asset, etc. CSV is designed to be more user friendly. It works closely with tagging objects to identify card elements in table editors, such as Excel.

To import or export a card data type, go to the settings in the top-right with a project loaded. Then, Click on ‘Card Data’. A window will pop up where you can select card data.

CSV

It is encouraged to export the CSV file of your project right before you intend to make changes, so that you always have the most recent version. Card Engine uses IDs to find data, so the order of the cards does not matter in the CSV file.

  • Adding a new card: To add a new card, simply leave the CardID column blank. Alternatively, assign a custom ID. If the ID does not exist, Card Engine will create a new card. Creating new cards requires a templateID to be assigned. If you do multiple lines with the same CardID (By accident?), Card Engine will apply each row to the same card, effectively making only the last row with the correct CardID relevant.

  • Deleting a card: To delete a card, simply place a ! at the beginning of the CardID cell.

  • Moving a card to another deck: In the deck column, the name you specify is the name of the deck you would like to move the card to. If this deck does not exist, it will be created. If you leave the cell blank, the card will be returned to the default deck.

  • Adding a new deck: The name you specify in the Deck column is the name of the deck you’d like to place the card in. If this deck does not exist, it will be created.

  • Deleting a deck: Simply place a ! at the beginning of any of the cells under the Deck column with the deck name you would like to delete. (You don’t need to call it for every single card that was in the deck). All cards that were previously in the deleted deck will be moved to the default deck.

Images and texts use the same cells. For images, the cell consist of category_file. For example, an image asset with the name “Warrior” imported to a custom category called “Custom” would have the ID Custom_Warrior.