5E Product Walkthrough Playlist
Page 2 of 2 First 12
  1. #11

    Join Date
    Feb 2009
    Location
    Jacksonville, Florida
    Posts
    153
    May be relatively basic process to you, but it's greek to me :P

    How does it pull up all the different stats from the bonuses?
    "Tis better to die on your feet, then live on your knees."

  2. #12
    One thing I noted from the code that could be an issue. When you use createChild, you need to make sure that you specify a data type for the node to be created. Otherwise, you end up creating an untyped (or list) node by default. Once you have the wrong node type created in the database, the specific number/string controls set to those database locations will not link up correctly, or may not even appear.

    Regards,
    JPG
    Last edited by Moon Wizard; May 13th, 2011 at 18:50.

  3. #13
    Also, you should check out the linkednumber template from either the d20 or 4E rulesets. The d20 ruleset is simpler, so you might start there. It is available for download from the Downloads section.

    Then, you can define fields that total up other fields like this:
    Code:
    <linkednumber name="agility" source="stats.agility">
    	<anchored>
    		<to>vitality</to>
    	</anchored>
    	<noreset />
    	<readonly />
    	<source>
    		<name>trueagility</name>
    		<op>+</op>
    	</source>
    	<source>
    		<name>stats.race.agility</name>
    		<op>+</op>
    	</source>
    	<source>
    		<name>stats.agility_bonus</name>
    		<op>+</op>
    	</source>
    </linkednumber>
    Even if you want to write your own, looking at the examples in the d20 ruleset, especially on the character sheet, will be helpful.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in