I'm working on a set of races that share common rules. It's not a new subtype, though, so the best way I found to implement it was to put the common rules in one big Custom Race Trait that is bootstrapped by all the variant races. It's worked well so far, though the code could probably use some cleanup.
The Custom Race Trait has an Array Based Menu that, among other effects, changes the RaceSize.? tag on the BaseRace. For the most part, no problems; almost every size-based effect is updated automatically as menu is changed.
The one thing that looks funny now is a Racial Special with the SpecType.Attack tag. When the size of the race is increased, the Racial Special appears to remain the same size, because it gains a size indicator in parentheses which indicates the attack is a different size than the creature.
I've tried a number of different approaches to setting the size of the Racial Special, without much success. The one odd thing I see in the debug windows is that, even though tSize and tBaseSize change correctly on the Hero when the RaceSize is modified, tGearSize does not; it remains at the base value. I'm not sure if there's anything I can do to correct that, as an old thread on the forum seemed to imply that there is some complexity under the hood around gear size.
Any thoughts on what I might add or do differently would be welcome.
The Custom Race Trait has an Array Based Menu that, among other effects, changes the RaceSize.? tag on the BaseRace. For the most part, no problems; almost every size-based effect is updated automatically as menu is changed.
The one thing that looks funny now is a Racial Special with the SpecType.Attack tag. When the size of the race is increased, the Racial Special appears to remain the same size, because it gains a size indicator in parentheses which indicates the attack is a different size than the creature.
I've tried a number of different approaches to setting the size of the Racial Special, without much success. The one odd thing I see in the debug windows is that, even though tSize and tBaseSize change correctly on the Hero when the RaceSize is modified, tGearSize does not; it remains at the base value. I'm not sure if there's anything I can do to correct that, as an old thread on the forum seemed to imply that there is some complexity under the hood around gear size.
Any thoughts on what I might add or do differently would be welcome.