Friday, December 16, 2011

First Product

For the limited amount of time I had to code this week, I produced a fairly simple utility that outputs half a character sheet.  You might find this handy if you already have a data system storing your characters.  It takes in an XML file and spits out a PNG of a character sheet for the character described in the XML file.  I tried to keep it as simple as possible.

The XML file only has four possible tags: the <character> tag (only one per file), and within, <attribute>, <trait>, and <skill> tags.  I included an example character to show how these work.  The only real curve balls are the tiers vs. combined linked attributes.  Combine attributes are listed with a '+' sign between them in the linkedAttributes attribute of the skill tag, while tiered attributes (in which the second attribute is used if the skill is at least +4) are listed with a '/' between them.

The second curve ball is that the system automatically detects and accounts for "Fast Learner" and "Slow Learner" when computing skills -- you don't have to redo those manually.

This still needs a lot of work, and is probably destined to become part of something larger, but I'm making the link available here:

A Time of War Character Sheet Renderer (1.1 MB)

No comments:

Post a Comment