Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit

Notices

Reply
 
Thread Tools Display Modes
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old March 27th, 2014, 07:03 PM
So I believe I have sorted out the issue about keeping the custom abilities added to a specific agent based tab, but now I have a problem with my Primary and Secondary Table... if I add an ability to the Primary Table it shows up on the Secondary ability table, and it should not. Ideas on how to fix this?

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old March 27th, 2014, 08:41 PM
The list expression is where you solve that. You may also need an autotag on those tables.
Mathias is offline   #2 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old March 27th, 2014, 08:49 PM
Quote:
Originally Posted by Mathias View Post
The list expression is where you solve that. You may also need an autotag on those tables.
I'm guessing the autotag should be different on all five tables?

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #3 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old March 27th, 2014, 08:56 PM
Here is what I've set up for my tables.

Code:
  <!-- clCustom portal
         presents the user with a dynamic table that allows the selection of 
         psionic disciplines to add to their character.
  -->
  <portal
    id="clCustom"
    style="tblInvis">
    <table_dynamic
      component="CustomAbil"
      showtemplate="SimpleItem"
      choosetemplate="SimpleItem"
      useagentadd="yes"
      useagentcandidate="yes"
      agentlist="CustTaken"
      agentautotag="CustTaken"
      useagentlinkage="yes"
      candidatefield="cCstSpExpr">
      <list></list>
      <candidate inheritlist="yes"></candidate>
      <headertitle><![CDATA[
        @text = agent.field[cSpecSing].text
        ]]></headertitle>
      <additem><![CDATA[
        @text = "Add " & agent.field[cSpecName].text
        ]]></additem>
      </table_dynamic>
    </portal>

  <!-- clCustom2 portal
         presents the user with a dynamic table that allows the selection of 
         psionic disciplines to add to their character.
  -->
  <portal
    id="clCustom2"
    style="tblInvis">
    <table_dynamic
      component="CustomAbil"
      showtemplate="SimpleItem"
      choosetemplate="SimpleItem"
      useagentadd="yes"
      useagentcandidate="yes"
      agentlist="CustTaken"
      agentautotag="CustTaken"
      useagentlinkage="yes"
      candidatefield="cCstS2Expr">
      <list></list>
      <candidate inheritlist="yes"></candidate>
      <headertitle><![CDATA[
        @text = agent.field[cSpec2ndSi].text 
        ]]></headertitle>
      <additem><![CDATA[
        @text = "Add " & agent.field[cSpec2ndNm].text
        ]]></additem>
      </table_dynamic>
    </portal>

  <!-- clCustom portal
         presents the user with a dynamic table that allows the selection of 
         psionic disciplines to add to their character.
  -->
  <portal
    id="clCustom3"
    style="tblInvis">
    <table_dynamic
      component="CustomAbil"
      showtemplate="SimpleItem"
      choosetemplate="SimpleItem"
      useagentadd="yes"
      useagentcandidate="yes"
      agentlist="CustTaken"
      agentautotag="CustTaken"
      useagentlinkage="yes"
      candidatefield="cCstS3Expr">
      <list></list>
      <candidate inheritlist="yes"></candidate>
      <headertitle><![CDATA[
        @text = agent.field[cSpec3rdSi].text 
        ]]></headertitle>
      <additem><![CDATA[
        @text = "Add " & agent.field[cSpec3rdNm].text
        ]]></additem>
      </table_dynamic>
    </portal>

  <!-- clCustom4 portal
         presents the user with a dynamic table that allows the selection of 
         psionic disciplines to add to their character.
  -->
  <portal
    id="clCustom4"
    style="tblInvis">
    <table_dynamic
      component="CustomAbil"
      showtemplate="SimpleItem"
      choosetemplate="SimpleItem"
      useagentadd="yes"
      useagentcandidate="yes"
      agentlist="CustTaken"
      agentautotag="CustTaken"
      useagentlinkage="yes"
      candidatefield="cCstS4Expr">
      <list></list>
      <candidate inheritlist="yes"></candidate>
      <headertitle><![CDATA[
        @text = agent.field[cSpec4thSi].text 
        ]]></headertitle>
      <additem><![CDATA[
        @text = "Add " & agent.field[cSpec4thNm].text
        ]]></additem>
      </table_dynamic>
    </portal>

  <!-- clCustom5 portal
         presents the user with a dynamic table that allows the selection of 
         psionic disciplines to add to their character.
  -->
  <portal
    id="clCustom5"
    style="tblInvis">
    <table_dynamic
      component="CustomAbil"
      showtemplate="SimpleItem"
      choosetemplate="SimpleItem"
      useagentadd="yes"
      useagentcandidate="yes"
      agentlist="CustTaken"
      agentautotag="CustTaken"
      useagentlinkage="yes"
      candidatefield="cCstS5Expr">
      <list></list>
      <candidate inheritlist="yes"></candidate>
      <headertitle><![CDATA[
        @text = agent.field[cSpec5thSi].text 
        ]]></headertitle>
      <additem><![CDATA[
        @text = "Add " & agent.field[cSpec5thNm].text
        ]]></additem>
      </table_dynamic>
    </portal>

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #4 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old March 27th, 2014, 09:32 PM
Quote:
Originally Posted by Mathias View Post
The list expression is where you solve that. You may also need an autotag on those tables.
I've been looking at Pathfinder more, and I just noticed a field[cCstSpList] up there... I am guessing this is the list tag expression I need?

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old March 28th, 2014, 06:46 AM
The list expression tells a table what picks it should display, by giving it a tag expression that describes what can and cannot be present.

Talk me through what that list expression needs for this table. How will the list expression for the primary table differ from the expression on the secondary table?

Building tag expressions is an absolutely required skill for building a game system in Hero Lab, so I want to walk you through the process of figuring this out, so you'll have a better toolbox for the next issue.
Mathias is offline   #6 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old March 28th, 2014, 07:18 AM
We'd need a tag that identifies the class that added it, and one that identifies the Primary table as the one to show it,

CustTaken.cMage & AbilGroup.Primary1

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old March 28th, 2014, 07:22 AM
Correct. You've already added the agentlist="CustTaken", so part 1 of your expression is already in place in this table.

Now, how are you going to insure that everything in this table has the AbilGroup.Primary1 tag? Is the tag going to be present before you add the thing to the table, or do you want to add it with an autotag?

Then, once that tag is present, you'll need a list expression that restricts you to only those picks that have that tag.
Mathias is offline   #8 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old March 28th, 2014, 07:29 AM
The tag is added to the Custom Ability through a tagpick chooser in the Editor, so it would already be present.

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #9 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old March 28th, 2014, 07:42 AM
Quote:
Originally Posted by Mathias View Post
Then, once that tag is present, you'll need a list expression that restricts you to only those picks that have that tag.
Do I need to add this?

Code:
<list>AbilGroup.Primary</list>

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.
RavenX is offline   #10 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 03:08 AM.


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