• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

SR 5th ed. How do I create a new Source ID category?

Jobe00

Well-known member
I'm wanting to update older material to SR5 so I can run earlier eras than the late 2070s on.

How do I create a new Source ID category like Core Rulebooks, Advanced Rules, Supplements, and such using the Editor?
 
The editor can't do this - you'll need to edit the xml files directly in order to set this up. Here's the wiki page about creating <source> elements that describes the syntax: http://hlkitwiki.wolflair.com/index.php5?title=Source_Element_(Data)


So you'll define a new source with selectable="no". Once you've done so, reload SR, and now, in the editor, that new source will be available to use as a parent source - the child sources can be defined within the editor as usual - just select the new thing you created as the parent of your new source.
 
Fair notice, the board does not include the closing parenthesis for some reason when creating the link, but it's an easy fix when following the URL. :) Here.
 
Thanks, Duggan - I thought I had gotten that fixed this time, but I didn't actually test my link.
 
Oh, yeah, and the file you put this in should have the .1st extension. Jobe00_houserules.1st, for example.


The forum doesn't like attaching .1st files, so I've copied out everything from one of the new sources files in the PF1 community pack:


Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Structure">
  <loadonce key="COM_Source_001 - Community Packs.1st"/>

<!--
  <loadonce key="COM_Source_01 - Community Packs.1st"/>

December 29, 2014 - Tim Shadow
-Created New

-->

  <!-- ============================================== -->
  <!-- SOURCES                                        -->
  <!-- ============================================== -->

  <!--
    This is the primary Parent Source for the community Packs. Every other "parent" source
    will build upon this one.
  -->
  <source
    id="pComPacks"
    name="Community Pack (v1.16)"
    selectable="no"
    parent="UserParent"
    sortorder="1"
    description="Everything under this is a Community Pack that was created by the community for the community. Use is allowed for gaming groups only. The XML and HL scripts Copy Righted 2014,2015,2016,2017 Tim Shadow.">
  </source>

 </document>
The <loadonce key> part is specific to the community pack - I'm not sure if that's leftover from when the community pack was several downloads, or it that would become important if you shared this creation with other people. So it may be easiest to leave that in and just change the file name it references to the file name you use for this.
 
Simply creating the source is easy, and happens the same way as in 5e - in the editor, in the sources list on your item (which is near the bottom of any editor tab), just create a new source. The question here was how to create a header that groups several of these user-created sources into a collapsible header. This question and answer actually apply to all the games, so the same in 5e as in SR5.
 
Back
Top