Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   Is it possible to do a template as a class? (http://forums.wolflair.com/showthread.php?t=54004)

Nightfox October 5th, 2015 03:37 PM

Is it possible to do a template as a class?
 
I know this sounds weird, but in one of our games the characters have leveling templates. They are somewhat similar to Gestalt except that progress is based on events in the game world rather then exp. For example, an 11th level character may have one level in their template. An adventure path later and they are 14th level, but only have 2 levels in the template.

Previously I accomplished this by creating and adding a separate template for each template level (Template Level 1, Template Level 2, Template Level 3, etc) with a prerequisite of the previous template levels. However this makes it somewhat difficult to look at everything together. (looks jealously at the class tabs)

With the recent 5.x updates, I've found that many of my old files are not working right anymore, so I figured I'd start from scratch to redo them (clean up code, organize the specials better, etc). So here are the questions.

1) is it possible to create a class that does not add to the level count and subsequently to the exp requirements (similar to +0 LA templates)? I can add scripting to negate the BAB, Saves, Skills, and a simple tag removes Hit Dice, but the level count messes up the exp requirements.

2) if not, is it possible to have a special or template add a class tab and organize the abilities of multiple templates under the tab similar to the class specials.


I know I can go back and redo it all as single level templates, but I'm hoping someone can help me come up with a better way.

RavenX October 6th, 2015 01:45 PM

Nightfox,

You might be able to actually accomplish this with variant class levels that do not remove class features. A single variant can be created which adds the features you wish to add, or you could even just have single variants that add specific abilities at specific levels and just add them to the character as you earn/unlock them. You wouldn't have to modify or create and existing class. This will save you a few headaches in the long run, to be honest.

Sendric October 7th, 2015 04:57 AM

Quote:

Originally Posted by RavenX (Post 216946)
Nightfox,

You might be able to actually accomplish this with variant class levels that do not remove class features. A single variant can be created which adds the features you wish to add, or you could even just have single variants that add specific abilities at specific levels and just add them to the character as you earn/unlock them. You wouldn't have to modify or create and existing class. This will save you a few headaches in the long run, to be honest.

The downside to this is that you would need variant levels for every class you intend to use the template with. I guess the question is, what do you need to be able to track in a separate tab?

As for your direct questions:

1) I haven't found a good way to do this. I've played around with it for Gestalt, but never came up with anything that really worked.

2) No. Specials and templates do not bring up class panels. At least, not that I'm aware of.

Class variants could work, but again you'd have to make separate class variants for every class at each level that you intend to use it. This may not be practical depending on your needs.

What you are doing sounds similar to the Mythic stuff from Pathfinder. I'd have to look into it, but if you could mimic how that's done then you might be able to use that. Not sure the d20 system is really set up for that, however.

Nightfox October 8th, 2015 09:49 AM

Thanks RavenX and Sendric,
I've looked into the class variant, and that can work but it still leaves me with all the specials either mixed with one class, or separated based on the class the variant is attached to. As it is, the character is epic so the specials list has become quite long which is why I wanted to get template abilities grouped and separated out.

I've never really looked at the Mythic stuff as it hasn't been used in any of our pathfinder games. Thank you for the suggestion, I'll read up on it and see if I can find some relevant codes and tags.

Nightfox October 9th, 2015 06:54 PM

The answer is YES
 
1 Attachment(s)
By the eye of Vecna I think I've got it!!!

ok, for those interested, let me share what I've done.

Why we do it: In one of our games our DM gives the characters boons/bonuses/abilities that don't necessarily correspond with our classes or levels. Over time the [Special] tab becomes less and less helpful as you end up with more and more to scroll through. If you know where an ability comes from, it can be much faster to just go to the class tab and look up the information there.

What I did: I set up a class that I could attach the boons and abilities to. If new abilities are added later, I just have to create a class special and link it to the class which is much easier then creating a new template every time. Next I create a way of controlling the template level or tier and finally the actual template. Bootstrap the class cHelp item and the level control and you are set. But if you want a more detailed solution, keep reading.

Step 1) Create a class.
We don't really need all of a class, but if you want the tab you need the cHelp item and that means making a class. The class name will appear at the top of the class tab. Most of the information on the new class page is not important or can be changed later, but as usual, make the Name, Abbreviation, and Identifier relevant.

Step 2) Clean up after the "Help"
To make things easier we're going to make some changes and add an Eval script to the cHelp item. It turns out the cClass item controls level count and Hit dice, while the cHelp has the abilities, specials, BAB, saves, and skills calculations. Because we don't want the template to add to our BAB, Saves and Skills in general, we are going to undo this with an eval script. To make things simple, I suggest changing BAB and all the Saves to "Poor", and the skills to 0

Post Level
Code:

    ~lets undo our level calculated bonuses
    ~first we'll get the level for calculation
    var lev as number
    lev = field[cTotalLev].value

    ~We'll start with BAB
    var bab as number
    bab = round(lev/2,0,-1)
    ~ remove the bonus on our attack rolls
    hero.child[Attack].field[tAtk].value -= bab
    ~ and now remove this from our number of attacks calculation
    hero.child[Attack].field[tAtkBase].value -= bab

    ~Now we'll get rid of the saves
    var sav as number
    sav = round(lev/3,0,-1)
    ~Now we just subtract from our base saves
    hero.child[vFort].field[vBase].value -= sav
    hero.child[vRef].field[vBase].value -= sav
    hero.child[vWill].field[vBase].value -= sav

    ~Finally, lets take care of the skill points
    var bon as number
    var skl as number
    bon = hero.child[aINT].field[aNormMod].value
    if (bon < 1) then
      bon = 1
      endif

    skl = lev * bon

    ~ In order to change the skill points we need to know the class index
    var index as number
    index = field[cClsIndex].value
    herofield[tSkTotals].arrayvalue[index] -= skl

Step 3) Level it out
I found it easiest to control the template level with a permanent adjustment. The counter becomes the template level and I can easily reference it later if needed.
Note 1: make the adjustment Unique so once it is added, it doesn't show up on your list again.
Note 2: make sure the Minimum adjustment is “1” or you will open yourself up to even more problems later. Once again, all the work is in the eval script.

First 100
Code:

    ~ Identify our Template Level
    var lev as number
    lev = field[pAdjust].value

    ~ Now to assign our template level to our template class
    hero.child[cHelpTst].field[cTotalLev].value = lev

Step 4) Tie it all together
Now go out and create a template under the Race/Template tab. Once you have a name and ID you can add descriptive text or any initial benefits, but when you’re ready to trick the system, head over to:
BOOTSTRAPS.
Thing: <the adjustment we made for level control in step 3>
Tags:
Group Id: Helper Tag Id: AdjPerm

Thing: cHelpTst

SAVE AND TEST.

now you can simply add any boons, bonuses or abilities as class abilities and attach them to the class we made in step 1.

Important note:
:) DON’T PANIC :)

When you add (or re-add if you update the class or template) you will see a wall of error text and all the abilities in the new class tab will be greyed out. This is due to a timing issue I haven’t figured out, but don’t worry. Just travel over to the Adjust tab of the character and you should see the level adjuster we built in the lower left. Toggle the counter to force the code to run and get everything working.


All times are GMT -8. The time now is 02:47 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.