• 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

Coding in a template for an Alchemist

Virtue

Well-known member
I am working on creating all the class templates (from Simple Monster Templates)

I want to give the alchemist talents at like HD 1 and 10 like the Rogue template grants rogue talents
 
So what have you figured out about how the rogue template grants those talents? You've made a temporary copy of rogue, right? Have you figured out what that template adds in order to allow the user to add talents?
 
yeah thats how i have been kind of doing these templates looking at other classes that are similar

This is what i got in the eval script so im thinking thats how you do it


var i as number

for i = 0 to hero.tagcount[Hero.HitDice] - 1
perform hero.assign[PreReqCaP1.RogTal]
perform hero.assign[PreReqCaP1.NinTri]
perform hero.assign[PreReqCaP1.RogTalAdv]
perform hero.assign[PreReqCaP1.NinTriMas]
next

var numfound as number
foreach pick in hero from BaseCustSp where "CustTaken.cfgRogCrea & abCategory.RogTalAdv"
numfound += 1
nexteach

validif (numfound <= 1)
 
Last edited:
If you notice, the rogue template bootstraps a configurable. If you take a look at that configurable, it has an eval script setting its own max field.
 
So im just starting to watch the video you told me to watch so im not sure what a configuarble is
 
A configurable is a type of Thing which allows you to add a new tab in Hero lab, with several tables which you can customize to purpose. They have their own sub-tab in the editor.
 
Their unique IDs start with cfg, so if you copy the Rogue template, you should be able to determine which bootstrap is the configurable, and use that to know what to copy on the Configurable tab.
 
Well I’ll have to check that out, these templates looked easy to start off with they seem to be getting more and more difficult
 
Back
Top