Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Shadowrun (http://forums.wolflair.com/forumdisplay.php?f=75)
-   -   SR 5th ed. How do I create a new Source ID category? (http://forums.wolflair.com/showthread.php?t=63615)

Jobe00 December 25th, 2019 04:33 PM

How do I create a new Source ID category?
 
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?

Jobe00 April 26th, 2020 07:56 PM

Is this even possible?

Mathias April 27th, 2020 08:21 AM

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.

Duggan April 27th, 2020 08:45 AM

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.

Mathias April 27th, 2020 08:47 AM

Thanks, Duggan - I thought I had gotten that fixed this time, but I didn't actually test my link.

Mathias April 27th, 2020 08:56 AM

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.

gmanor October 20th, 2020 02:37 PM

So there's no easy way to create a custom user source like you can in D&D?

Mathias October 20th, 2020 06:07 PM

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.


All times are GMT -8. The time now is 10:59 AM.

Powered by vBulletin® - Copyright ©2000 - 2021, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.