• 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

Race Tag Duplicated?

Sevisin

Well-known member
3.5 system

I'm building a Desert Kobold Dragonkind Rogue creating the missing feats. My goal is to add a tag to the race (Race.DragonKind) after selecting the feat. Currently, I'm having a duplicate bug that I'm hoping someone can solve.

Pre-Feat application
Race (custom): Desert Kobold. Aside from a few changes in numbers, it's basically the same as a kobold. Some tags of note for the Desert Kobold are as follows... (Group ID.Tag ID)
Race.Kobold
Race.stypReptil
Race.typHumanoi
WeightDice.1
WeightSize.6

When I test the custom race, everything is good. Double-checking the tags via Develop > Floating Info Windows > Show Hero Tags. Good to go.

Feat (custom): Dragonwrought. Tag... Race.DragonKind
Bootstrap: Thing - rDsrtKbld (desert kobold race ID), tags Race.RagonKind

When I test it and apply the Dragonwrought feat, there are duplicates that happen in the tags. In fact, every tag attached to the race is being duplicated. Two languages, two types, two weight dice, ect.

Any thoughts?
 
First, not sure if it matters but Kobolds do not get gain the Race.stypReptil.

Needless to say, duplicates means you are gaining additional information from another source. Since you say it only happens when you apply the dragonwrought feat it is obviously something that is being applied with that, which is odd since the Dragonwrought doesn't bootstrap anything.

So.. on the Specials tab, when you get the duplicates right click and you'll see three options. Three debug options and a copy unique id.. the unique id will give a clue as what the extra source is for the duplicates. If you could let us now what the other id's are that would help.
 
@TobyFox2002
Thank you for the quick reply.
A few pre-notes:
I don't have the Dragonwrought feat so I decided to build it.
The build I'm trying to replicate can be found here under Builds > That Damned Kobold.

I created a Desert Kobold race using the standard Kobold as a template. Turns out, rKobold doesn't have Race.stypReptil where as rKobold2 does. I'll have to cross-check the data from books to see what's going on there. Thanks for bringing that up.

I clicked on the Special tab. No duplicates on the test. The tags themselves have duplicates.

In PseudoCode, I can picture how the task of replacing the Race could be done considering the Important Race Details > Counts As Races... is a large list of check boxes. If I can manipulate that instead of doing what I mentioned in the first post, that would be nice. Any thoughts?
 
In PseudoCode, I can picture how the task of replacing the Race could be done considering the Important Race Details > Counts As Races... is a large list of check boxes. If I can manipulate that instead of doing what I mentioned in the first post, that would be nice. Any thoughts?

What do you want to do with that? I'm not followinging. If you want to race to also count as another you select the checkbox. Except for the types and subtypes. Those actually add things to your race. Try removing them one at a time and testing. See if the dupicates go away after each testing. IF they do, you found your problem.

Also, if you built the dragonwrought feat, I'd like to see the code for it. I have the feat in my hero labs already. (Though, I made some stuff for races of the dragon, that could be one of the items). I use a lot of dragons and dragonblood creatures.
 
@TobyFox2002
Sorry for the confusion. I'll try to clarify via steps and conditions...
Desert Kobold is Race.Kobold and Race.typHumanoi. The feat Dragonwrought requires Race.Kobold to be active (works). Upon inserting the feat, the book says you lose the humanoid type and gain the dragonblood type. I'm trying to change Race.typHumanoi to Race.Dragonblood when Dragonwrought is selected.
 
@TobyFox2002
Sorry for the confusion. I'll try to clarify via steps and conditions...
Desert Kobold is Race.Kobold and Race.typHumanoi. The feat Dragonwrought requires Race.Kobold to be active (works). Upon inserting the feat, the book says you lose the humanoid type and gain the dragonblood type. I'm trying to change Race.typHumanoi to Race.Dragonblood when Dragonwrought is selected.

Thats a timing issue, um... I don't know the exact details of how to get that to work but there is something similiar for the Dread Skeleton Template in the community set. I do not understand how the foreach stuff works at all.

Code:
~ Finally, delete all Race.typWhatever tags and add back one for the Undead type.
  perform hero.delete[Race.typ?]
  perform hero.assign[Race.typUndead]
Replace .typUndead with whatever is your needs.

That may work.
 
Okay, I set up a Eval script
First @100
perform hero.delete[Race.typHumanoi]
but when the feat is selected, Race.typHumanoi is still there. What do I need to do to activate this script?
 
Okay, I set up a Eval script
First @100
perform hero.delete[Race.typHumanoi]
but when the feat is selected, Race.typHumanoi is still there. What do I need to do to activate this script?

I don't know, I've tried to get it working for feats that I use and I've had trouble. Dread Skeleton uses First/50. But the timing is very tight. I dont know the timing of how types and subtypes are assigned. You may have to wait, Sendric would definitely know.
 
You are running the script too early. There are some templates that run these scripts at First/50, but that is wrong. They don't delete the old Tag (or if they do, the tag gets reassigned later by something else). These need to be fixed. Try running that script at First/50000. That's where I put the script for the ghost template I did.

That said, I'm not sure bootstrapping a race to a feat is really the way to go. Is that what you are doing? How are you assigning the Race.DragonKind tag?

In answer to the Kobold question, rKobold is the race that is provided with the base d20 release from LW. rKobold2 is in the Monster Manual user file for the d20 community set. The base set does not have a Reptilian subtype special, so it wasn't bootstrapped to the original. This was corrected with the community set, which added the subtype special also found in the monster manual file.
 
Last edited:
You are running the script too early. There are some templates that run these scripts at First/50, but that is wrong. They don't delete the old Tag (or if they do, the tag gets reassigned later by something else). These need to be fixed. Try running that script at First/50000. That's where I put the script for the ghost template I did.

Ah, so thats the problem I was having with my trait assigned feats.. I have a feat called, "Otherworldly" (It adds the Outsider type) from the faerun files and because of the way the traits assign feats to the character the twin scripts for First/1000 and First/1001. It kept telling me that I couldnt bootstrap the race using the dependent feat. The timing for those is WAAY to tight.


[EDIT] PS, also the Juntunbrund feat which alters the characters random height data after creation.
 
wohoo! It works! AND it didn't duplicate a bunch of tags like in the original post.

Eval Script First@20000
Code:
perform hero.delete[Race.typHumanoi]
perform hero.assign[Race.typDragon]

And to answer your question how I got a bootstrap to add Race.DragonKind (whereas the new method uses Race.typDragon), here's what I (think I) did...

On the feat, I added a Field with Field ID: Race, Value: DragonKind. This info may be off, but it should give you an idea on my table of events. Then I added a Bootstrap. Chose my race (Desert Kobold) ID. Clicked Tags... and put the same values I did for Field. Did it work? Could I have used it? Probably. I, however, am picky about my code and didn't want any unexpected problems later as a result of me working with a potentially temporary solution.


Thank you both for your help. If you're interested in seeing the progression of my current (and previous) problem, here's the forum link.
 
@TobyFox2002
Off and on for about... 3-4 days cumulative. Only semi-recently started playing D&D again (and even more recently discovered Hero Lab). I was just looking at some rogue builds and I saw That Damn Kobold and I said to myself, "This looks like fun to build." When I saw there were missing feats, I decided to build them myself... which brings me to this.
 
Races of Dragon is certainly on the to-do list.

Typically, the way to create Race tags is to create a race in the editor, then click on "Counts As Races..." and select "New Tag". I don't think you can just put it into the "Edit Tags" window unless its already been created.
 
Back
Top