• 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

Source Parent

Frodie

Well-known member
How do I get a new source under another Source, (i.e. - Modern is the main source and the Modern Monsters under it)?
 
Ok this is my error:

The data files could not be loaded due to errors. Hero Lab will now attempt to load them in recovery mode. Once loaded, you can access the editor as normal to correct any errors.

The following errors occurred:

Source 'Modern' may not be user-selectable and also possess children


And this is my script:

<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Structure">

<source
id="Modern"
name="Modern"
selectable="yes"
sortorder="0"
description="Modern Pathfinder">
</source>

<source
id="ModMon"
name="Modern Monsters"
parent="Modern"
description="Any description">
</source>

</document>

Any ideas?
 
Ok, I got it to work with this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Structure">

<source
id="Modern"
name="Modern Pathfinder"
selectable="no"
sortorder="0"
description="Modern Pathfinder">
</source>

<source
id="ModMon"
name="Modern Monsters"
parent="Modern"
description="Any description">
</source>

</document>

But do I need to change all my "Core Rules" to:

<source
id="CoreMon"
name="Modern Core"
parent="Modern"
description="Modern Core Rules">
</source>
 
But do I need to change all my "Core Rules" to:

<source
id="CoreMon"
name="Modern Core"
parent="Modern"
description="Modern Core Rules">
</source>
Their should only be one instance of the source with all the information including its Parent and Description. The rest should all look like this:
Code:
 <source>id="CoreMon"</source>

So you would only need to change the one instance of the Source Tag that includes the Parent information. The rest will simply inherit the information from the main one then.
 
Ok, cool, but it looks like you have to check Modern Monsters to get the core rules to show up. I'll play around with it and see what I can do.
 
Cool, got it, thanks everyone!

<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Structure">

<source
id="ModPath"
name="Modern Pathfinder"
selectable="no"
sortorder="0"
description="Modern Pathfinder">
</source>

<source
id="Modern"
name="Modern Core"
parent="ModPath"
description="Modern Core Rules">
</source>

<source
id="ModMon"
name="Modern Monsters"
parent="ModPath"
description="Modern Monsters">
</source>

</document>
 
A parent source can't be user-selectable.

Since you've presumably put many things into your existing Modern source, you may not want to make that one the parent source. Instead create a new header:

Code:
<source
  id="ModernHead"
  name="Modern Pathfinder"
  selectable="no"
  sortorder="0"
  description="Various options for applying d20 Modern to the Pathfinder Roleplaying Game">
  </source>

Then set Modern, ModMon, etc. to use ModernHead as their parent source.
 
From the tools menu, select "Launch HLExport" - the HLExport program is designed to package HL files (any number of them), into a single package that users can simply double-click in order to install in HL. So, that way you can package your .1st file and all your .dat files into one file.
 
Back
Top