• 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

Custom Archetype Coding Error

Jewlrose

New member
I'm running a gestalt campaign and have a user-made gestalt class that does very well on everything we've put it through so far EXCEPT monk's flurry of blows. It tries to add monk's flurry BAB to the existing BAB instead of replacing it. I looked at the scripting in the gestalt class and decided that after scripting for several days on other things (custom items, house rules and the like), it would be a pain to fix. So, instead, I made a custom archetype to apply to the monk class that just removes the existing BAB bonus from monk flurry. Voila, everything's working

Except...

"Tag 'SpecSource.arGestMnk' not defined
Location: 'eval' script for Component 'BaseVary' (Eval Script '#11') near line 7
- - -
Identity tag does not exist for thing/pick 'arGestMnk'
Location: 'eval' script for Component 'BaseVary' (Eval Script 'Most Archetype Changes') near line 4"

I haven't made an archetype before, so I'm not sure what's trying to pull what where. I can't find "BaseVary" anywhere to look and see what it does. I looked at a couple other monk archetypes (Drunken Master, for instance) and don't see any tags there other than ability replace tags and class name change tags, neither of which are in this. The archetype is, literally, a name, an ID code, a description, a setting telling it to affect the monk class and the following eval-script:

=================

Phase: Post-Attributes | Priority: 5000 | Index: 1

hero.child[Attack].field[tAtkFluBas].value -= hero.child[Attack].field[tAtkBase].value

=================

As mentioned, the feature works. It's applied to the gestalted character, the flurry is adjusted. It's not messing up anything else visible...just throwing these errors. I'm looking for a way to make the errors stop. Any thoughts would be helpful.

Thanks!
 
Okay. I figured it out! I'll post what I found here in case someone happens across this thread looking for something similar. I know other users create archetypes to accommodate house rules or variations, and therefore may run into a similar issue.

Why The Error Occurred: Because of the intent of this archetype, I had not chosen to modify the class name in any way. i.e. Under "Modify Class Name?" I had selected "- None -". Some script somewhere (I never did find it) runs to handle archetype names automatically and it was looking for a tag to tell it what to do with the class name with this archetype. Since I had selected none, there was no tag for the script to find.

Solution: As I did not want to ultimately change the class name, but did want the archetype to be easily referenced in the list of archetypes, I chose to leave the name of the Archetype (in this case "Gestalt Monk") the same. However, I wrote a script to change the livename of the archetype to "Monk" and chose the "Replace" option for "Modify Class Name?". In this manner, the Gestalt Monk name shows on the list of archetypes, allowing it to be easily located and discerned, but the class name "Monk" is replaced with the Archetype's livename "Monk." Please note that this does also change the name visible in the list of archetypes that have actually been placed on the character, at the bottom of the Classes tab.

Script for livename: field[livename].text = "Monk"
 
Back
Top