PDA

View Full Version : Adding Character Class Slots



mpcurley31
May 23rd, 2009, 06:19
Ive been reading through the post but none of them relate to the new set-up for the .XML files. I am trying to add additional class slots because in today's world of D&D 3 slots are not enough. Any help would be much appreciated and if someone has successfully edited the script it would save time to get the .xml files e-mailed to me. [email protected] thanks to all!!

Moon Wizard
May 26th, 2009, 00:27
In the d20 ruleset, the 3 class setup is hard-coded into the ruleset. Since d20_JPG and foundation 3.5 rulesets are derived from the d20 ruleset, they also have the same limit.

There are 2 ways to add new class slots to the ruleset. Both of them require modification of the ruleset code.

1. You could add extra class slots (say 5). You would need to change all the related code that references class slots. I think that the changes would mostly revolve around main page layout, code for spells tab, and code for skills tab.

2. You could rewrite the ruleset to handle any number of class slots. This would be a fairly complex ruleset modification, and would most likely not be backward compatible.

Let me know if anyone takes this on, and I can look into whether it makes sense to import into the d20_JPG ruleset.

Cheers,
JPG