5E Character Create Playlist
  1. #1

    Story Entry Headers

    Not sure if this is the right place to post this, so please move it if not.

    I'm new to designing my own modules, so this may be common knowledge but i can't figure it out. How do you make collapsable story entries like in the picture? You know, the black header sections?

    Attachment 9689

  2. #2

    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    7,401
    AKABigBlack I don't believe collapsible headers can be done without actually editing the XML manually but I am not that familiar with the internal workings of the 5E ruleset's XML. This was something that had to be done in other rulesets when the developer was manually making library modules.

  3. #3
    That looks like an xml list group heading. Open up one of the item modules (for another ruleset) and see how they code the xml to produce that grouping.
    I never claimed to be sane. Besides, it's more fun this way.

  4. #4
    Excerpts of XML from module. You can see that the initial link points to a windowclass called reference_colindex that is available only with the 5E ruleset.

    Code:
    <root>
      ...
      <library>
        <libnddlostmineofphandelver>
          ...
            <id-00008>
              <librarylink type="windowreference">
                <class>reference_colindex</class>
                <recordname>lists.encounter.bycategory@DD Lost Mine of Phandelver</recordname>
              </librarylink>
              <name type="string">Story</name>
            </id-00008>
          ...
        </libnddlostmineofphandelver>
      </library>
      ...
      <lists>
        ...
        <encounter>
          <bycategory>
            <description type="string">Story</description>
            <groups>
              ...
              <typecategorypart1_goblinarrows>
                <description type="string">Part 1: Goblin Arrows</description>
                <index>
                  <enc_p1_01_index_part1>
                    <link type="windowreference">
                      <class>encounter</class>
                      <recordname>encounter.enc_p1_01_index_part1@DD Lost Mine of Phandelver</recordname>
                      <description>
                        <field>name</field>
                      </description>
                    </link>
                    <source type="string"/>
                  </enc_p1_01_index_part1>
                  ...
                </index>
             </typecategorypart1_goblinarrows>
             ...
            </groups>
          </bycategory>
        </encounter>
      </lists>
     ...
    </root>
    Regards,
    JPG

  5. #5
    Additional question to this. Would there be a way to to a tiered embed of the same list or does it only fold one deep?

    Code:
    Story
     - Chapter 1
       - Part the 1st
         - Overview
         - Encounter 1
         - Encounter 2
       - Part the 2nd
         - Overview
         - Encounter 1
     - Chapter 2
       - Ect.
    Edit: Formatting

  6. #6
    Would using Par5e work for this as well?

    Using the headers from that, to quickly format it in a way wanted.

    Still learning it but looking at it for a way to get my data in quickly than just OCR books.

  7. #7
    It's only one deep in the windowclass as designed. You could make a ruleset modification or extension to add windowclasses with deeper nesting.

    Cheers,
    JPG

  8. #8
    Quote Originally Posted by Moon Wizard View Post
    Excerpts of XML from module. You can see that the initial link points to a windowclass called reference_colindex that is available only with the 5E ruleset.


    Regards,
    JPG
    Would it be possible to get this windowclass into the other rulesets? In my case PF and 3.5.

    If so... where do I start?

  9. #9
    For now, you would need to create an extension with that windowclass in it to be loaded in any campaign using your module.

    The PFRPG/3.5E rulesets do contain similar lists specifically tailored to armor, weapons and equipment.

    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