• 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

Template Woes

Brolthemighty

Well-known member
A new campaign begins, meaning new programming woes. I'm working on Templates this time...and have become stumped on a couple problems.

So through backstory and such, my character has been granted several bonus feats. In order to dilute the power this could bring, they'll be granted over several levels. However, I'm just not sure how to program that in the editor. I starting to get the hang of how to program a Template, but can't for the life of me figure out how to script the bonus feats to only appear once the character hits the appropriate level.

The second problem I'm having, is one of modifications. I'm trying to take the Half-Demon template, and essentially make it something that is toggleable. A sort of Were-Demon type template. I'm not sure which one would be easier to do, start with a copy of the Lycanthrope template and modify it, or start with the half-demon template, and modify that. Anyone want to give some input?
 
To your first point, on the In-Play Tab under Other Adjustments you can increase your number of feats. That would be a lot easier way to do it. There is a script for it, and you could probably see it on that adjustment in the editor, just using that adjustment would probably be easier.

Shape-changing coding is pretty easy IF you know what you are doing. But to start out, it can be a bit overwhelming. You can take a look at the were templates to get an idea, but some of it is difficult to figure out if you don't know what the scripts are doing. If you have the Tome of Horrors Complete package, I would also recommend looking at the Animal Lord, Cat Lord one. I did that one a bit different.
 
Thank you for responding Umarian, and I appreciate the point towards the adjustment tab, but that was already something I was aware of. Although I understand it's easier, I'm not wanting to rely on that. I'm asking for help on how to set feats,etc. to activate at a certain level in a template.
 
Isn't there a level option for feats already but into the tempate formate? MY HL is crashed at the moment so I can't look it up right now. But I think its already in there and available.
 
Thank you for responding Umarian, and I appreciate the point towards the adjustment tab, but that was already something I was aware of. Although I understand it's easier, I'm not wanting to rely on that. I'm asking for help on how to set feats,etc. to activate at a certain level in a template.
This gets into what is known as Bootstrap Conditions. Take a look at the Rangers Endurance Feat class ability. That gives an example of a Bootstrap Condtion. You would just want to look for any set of classes so you would use a ? as a wild card.

In example this would allow the bootstrap to happen only after the character had two or more class levels.
First/400
Code:
count:Classes.? >= 2

Note once you get into bootstraps conditions "Test Now!" will NOT WORK correctly. You will need to "CTRL-R" to reload the game system. Also do NOT try and save the template into a .por file until its 100% finished either as it can do strange things.
 
Last edited:
Thanks for the help. As soon as I have time (wife just had our baby yesterday) I'll try it out. I'm sure I'll have more template questions.

Edit: So, I tried the script to check for class levels...and it gave me an error. Here's the short summary of the error:

Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'bootstrap #1 condition' tag expression for Thing 'tmBrndHis'
One or more timing errors were identified. Please review the timing report and correct the errors. You can access the report under the 'Develop' menu or by clicking this link.
 
Last edited:
Fiddling around with the wording of the script, I'm just not finding how to get this to work. I think I'm learning that I'm almost completely crap when it comes to scripting.
 
Keep at it, you're no worse than me when I started out. I'm guessing you copy pasted ShadowChemosh's code, which has a typo. "> =" should have no space, it should be ">="
 
Keep at it, you're no worse than me when I started out. I'm guessing you copy pasted ShadowChemosh's code, which has a typo. "> =" should have no space, it should be ">="
oopps my bad. Hey whats a space among friends. :D

I fixed my original post to remove the space....
 
Back
Top