anathema / anathema_legacy

Anathema is an exhaustive suite for all aspects of Exalted series management. This repository hold the code to support Exalted 1, Exalted 2 and Exalted 2.5.
http://anathema.github.com
69 stars 70 forks source link

Custom Dragon Blooded Templates Broken #353

Closed ccubed closed 11 years ago

ccubed commented 11 years ago

When trying to create a custom character template for DragonBlooded an error is received that states: 'No caste with found for id Air.'

This happens on a straight copy of the existing DragonBlooded template into a new file where the only change is this line:

<exaltedCharacterTemplate characterType="Dragon-Blooded" subtemplate="GunstarDB">

Error persists even if DbAbilityGroup2nd.template is defined inline in the XML file. DbAbilityGroup2nd.template is the only xml file in the Character_DB.jar that I can find that references the castes asides from the Immaculate Martial Artists magic file.

ccubed commented 11 years ago

I was able to fix this myself. Changing the name of the file to Character_Dragon-Blooded_GunstarDB.xml fixed all issues. It was originally named Character_Solar_GunstarDB.xml because I didn't think it mattered.

UrsKR commented 11 years ago

Great you figured it out yourself!

I've added a remark to the instructions on the wiki.

Do you think that makes it clear enough?

ccubed commented 11 years ago

I would probably note that it should match the character type specified on the first line of the template they copied from or something to that effect just so it's clear where it's coming from, but yeah, that makes it much clearer. Good job on the project.

UrsKR commented 11 years ago

Okay, it now has a concrete example. Thanks for the feedback.

Luckily, this issue is gone in the 3E version. You can name templates anyway you like there, as long as your file's name starts with Character_ and ends with .xml