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 July 19th, 2017, 02:17 PM
Mathias,

Is there a way to rig an it_bootcustom through the editor to put bootstrapped items into the gizmo?

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 July 19th, 2017, 02:59 PM
To get the gizmo on there in the first place, you've got two options:

A checkbox (this one defaults to yes, you'll note):
Code:
    <inputthing
      name="Allows Modifications"
      helptext="Check this if this gear can be modified (unchecking this is very rare, since without this, you cannot set the grade of the augmentation)">
      <it_entitycheck entity="grCustom" default="yes" />
      </inputthing>
Or with a default child setting:

Code:
  <editthing
    compset="Armor"
    name="Armor"
    group="Equipment"
    prefix="arm"
    defchild="grCustArm"
    description="Weapons, vehicles, and simple equipment all have their own tabs for creating objects of those types."
    summary="Defines armor that can be selected on the Armory tab.">
Here's examples of how to put a tag within the gimzo, and how to put a bootstrap within the gizmo:

Code:
    <inputthing
      name="Armor Specials"
      helptext="Specify any special notes about this armor.">
      <it_taglist group="ArmorNote" tag="?" target="child"/>
      </inputthing>
    <inputthing
      name="Armor Features"
      helptext="Choose any armor features this armor always comes with.">
      <it_bootcustom compset="Equipment" target="child">
        <match><![CDATA[
          ModCat.ArmorFeat & !thing.showonly
          ]]></match>
        <inputthing
          name="Fixed Rating?"
          helptext="If this gear uses ratings, specify the minimum rating it can be set to.">
          <it_tagcheck group="Equipment" tag="FixRating"/>
          </inputthing>
        <inputthing
          name="Rating"
          helptext="If this gear is only available at a single rating, specify that here.">
          <it_field field="grUser"/>
          </inputthing>
        </it_bootcustom>
      </inputthing>
The bootstraps within the gizmo option may not be something you can do unless there's a defchild set for that editor tab - I forget whether that will work with just an entitycheck.

You may also be able to set up a defchild and an entitycheck, if some items on this editor tab will need this and others won't (I think that works, but Shadowrun doesn't use that combo, so I'm not certain). An alternative, of course, is making a new compset that's nearly identical to the old compset, but is only used for the picks that will need gizmos, so it can have its own editor tab with a defchild set.
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 July 19th, 2017, 03:49 PM
Ok I'll try it with the target="Child" part. The documentation on the wiki has nothing on bootcustom material yet. Thank you for 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   #3 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old July 19th, 2017, 03:51 PM
And yes, it says the target reference is only valid if you specify a defchild... so looks like the entitycheck is going to have to disappear now...

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
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:54 AM.


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