Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Shadowrun

Notices

Reply
 
Thread Tools Display Modes
Jobe00
Senior Member
 
Join Date: Nov 2008
Location: Jonesboro, Arkansas
Posts: 113

Old December 25th, 2019, 05:33 PM
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 is offline   #1 Reply With Quote
Jobe00
Senior Member
 
Join Date: Nov 2008
Location: Jonesboro, Arkansas
Posts: 113

Old April 26th, 2020, 08:56 PM
Is this even possible?
Jobe00 is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,816

Old April 27th, 2020, 09: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.
Mathias is offline   #3 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,435

Old April 27th, 2020, 09: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.
Duggan is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,816

Old April 27th, 2020, 09:47 AM
Thanks, Duggan - I thought I had gotten that fixed this time, but I didn't actually test my link.
Mathias is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,816

Old April 27th, 2020, 09: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.
Mathias is offline   #6 Reply With Quote
gmanor
Junior Member
 
Join Date: Dec 2016
Posts: 5

Old October 20th, 2020, 03:37 PM
So there's no easy way to create a custom user source like you can in D&D?
gmanor is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,816

Old October 20th, 2020, 07: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.
Mathias is offline   #8 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:33 PM.


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