Senior Member
Join Date: Jun 2007
Posts: 273
|
I need some explanations for programming ( I think ) some simple things with herolab:
I created a "class" component: Quote:
Quote:
Quote:
|
|||
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Remember that editor entries are built for the Compset, not the Component - Components are collected into Compsets - you'll find those at the bottom of the traits.str file.
Could you copy the definition of the MagicTab tag group from the Tags.1st file, please? I want to make sure you've set that up as a dynamic tag group (which is required if you want the editor to be able to create new tags for it on the fly). Also, I'd recommend not building editor entries for things until near the end - I find that I have to change the way I handle things so often while getting the functions of a compset correct, that keeping the editor updated in parallel with those changes just takes more time than it's worth, and it's easier to build the editor based on the final, working version. |
#2 |
Senior Member
Join Date: Jun 2007
Posts: 273
|
Quote:
Is the whole component / compset thing an HL or an XML issue? Maybe I find a good book in German if it is an XML issue. Last edited by tkarn; March 30th, 2011 at 10:16 PM. |
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Component/Compset is a distinction within Hero Lab.
Scroll your way through traits.str or equipment.str - you'll see that both files start with components - those components have lots of fields defined on them, various scripts, prereqs, etc. Then, you'll come to the Compsets - you'll see that each of those consists of many Compref entries - look at the Ids of what's being specified in those Comprefs, and you'll see that it's the Components that were defined above. That way, you can define how the Traits component works, but you can use the trait component as part of both the attributes compset and the skills compset, and any other compset that turns out to need it. If you already have the tags you're using defined, and you're writing the thing entries manually, you can skip the name="" part of the tag definition - Hero Lab will fill that in for you. If you used the editor to generate those, you must have had different names defined in the MagicTab group at the time you created those, since I see that the names don't match between the tags. |
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Here's the wiki page that covers the Component/Compset distinction:
http://hlkitwiki.wolflair.com/index....Component_Sets It's in the Structural Building Blocks section: http://hlkitwiki.wolflair.com/index....uilding_Blocks |
#5 |
Senior Member
Join Date: Jun 2007
Posts: 273
|
Yaeh, i changed the name thing later.....
Quote:
But how can I check, if a Class has a tag - for example to make a tab visible? |
|
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Develop Menu...Floating Info Windows...Show Selection Tags will let you see the tags on everything that's been added to the character.
If it's been added to a table, just right-click it and choose "Show Debug Tags for XXXXX" |
#7 |
Senior Member
Join Date: Jun 2007
Posts: 273
|
Thank you. I will try it....
|
#8 |
Junior Member
Join Date: Apr 2011
Posts: 5
|
I am trying to add this as a custom feat and I was hoping one of a higher intelligence than me, can figure it out.
ADDITIONAL DOMAIN Your devotion to your faith has strengthened your personal bond with your deity, allowing you greater access to divine gifts. Prerequisite: Ability to cast divine spells. Benefit: Select one of your deity’s domains to which you do not already have access. You may invoke the domain power and cast the domain spells as if you were a cleric of your caster level. I would be forever grateful. |
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,502
|
Quote:
|
|
#10 |
|
|