Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 28th, 2015, 07:46 PM
So I have an IsAttr.? identity tag on my Attribute component.

then in my tags.1st file I have:

Code:
  <group
    id="IsAttr"
    dynamic="yes">
    </group>
    
  <group
    id="AttrPrim"
    dynamic="yes"
    inherit="IsAttr">
    </group>
    
  <group
    id="AttrSec"
    dynamic="yes"
    inherit="IsAttr">
    </group>
I did this to make copies of the IsAttr tag but I didn't want the tags on the attributes themselves.

After creating an editor tab for classes and assigning the tags to the class, testing, and reloading the system. When I went back into the tab to create a new class the names of the tags were replaced with just the id. Is there a way to get the names back?

Attached Images
File Type: jpg missing tags.JPG (39.2 KB, 17 views)

Last edited by AndrewD2; June 28th, 2015 at 07:56 PM.
AndrewD2 is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 29th, 2015, 07:26 AM
Look for <tag group="IsAttr" tag="attrCon"/> among your thing entries - there's probably places that don't name them, or places that have name="attrCon" in them, and HL is finding that and using it for the tag name.
Mathias is online now   #2 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 29th, 2015, 08:50 AM
The only place IsAttr is named is via the Identity Tags. There is no place in any file I have that actually declares a copy of the IsAttr tag on anything.
AndrewD2 is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 29th, 2015, 09:30 AM
Try adding the tags you want to the tags.1st file, with the proper names set up.
Mathias is online now   #4 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 29th, 2015, 09:36 AM
That works, its just the purpose of doing the inherited tags is to not have to manually make every tag. Guess I'll just do that for now.
AndrewD2 is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 29th, 2015, 09:53 AM
You've got a choice - either get the tag group name right by defining the tag group, or get the tag id names right by letting them be generated as identity tags. inherit="" is a lightweight mechanism, and doesn't copy everything in every circumstance.
Mathias is online now   #6 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 29th, 2015, 10:57 AM
Is it a viable idea to do an identity tag and then have a component script delete the tag really early if you don't want the tag on the thing all the time?
AndrewD2 is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 29th, 2015, 11:10 AM
Wait for the next update of HL itself:

Code:
<identity group="Whatever">
  <match><![CDATA[
    !thing.showonly
    ]]></match>
  </identity>
Mathias is online now   #8 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 29th, 2015, 11:27 AM
Interesting. Does that mean only the matching items will get the tag assigned or only matching items will have the tags created?
AndrewD2 is offline   #9 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 29th, 2015, 11:37 AM
Created - that'll be great for cleaning up the editor, since we can exclude lots of things that don't actually need those tags, like the way that the "Available to Classes" selection on the Custom Ability tab shows three options for every base class (which is actually the class, the secondary class, and the archetype header for that class), and we may also be able to clean out all the races, or at least most of them (I'll have to test that part). I think the races are only there in order to handle the option of making them monster classes.
Mathias is online now   #10 Reply With Quote
Reply


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 09:24 AM.


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