• 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

Configuarable scripting

Mergon

Well-known member
Ok, for the current project I am working on for my Tuesday group I have creating the Princess class. I liked it, and it didn't look over powered to me so I agreed.

For those interested:
http://dnd-5e-homebrew.tumblr.com/post/147716547969/princess-class-by-by-impersonater

I am almost done but have rune into an issue and need input from a far more experienced scripter than I. For now, this is just a general info question.

This deals with Configurable's. I need to use a script for Secondary Ability Total. I want this field to be incremented on a level basis. Is this possible, or is it locked to whatever number is entered here?

I've tried various Phases & Priorities without avail . . . :/

What I am tryign to do may not be possible. If not I'll have to come up with a whole new approach. :confused:
 
Interesting, I think your princess class was one another player found and suggested but couldn't find again for me. I found the one I linked and decided to go with it instead. :)
 
This one is built into the Community Pack. Pretty sure it's a release by http://www.enworld.org/.

It's a Noble from En5inder 34 - Chessmasters and Commanders with the Path of the Heart.

I just liked the idea of this pathetic princess getting herself into trouble and all the party going above and beyond to keep her safe.
 
Last edited:
Btw daplunk, is the Noble your creation or something your found on the web? I'd be interested in seeign the full description of the class if you have a link, doc or pdf with the Noble description. :)
 
Btw daplunk, I just noticed the picture of Lady Amelia is identical to the picture I used for the daughter of a character I have played since 1981.

She is also 5th level at this time, though she is a half-elf since her mother was human. :)

Her background is a noble. She is a cleric of Nephthys, Egyptian goddess of the Dead (Death domain). :)
 
This deals with Configurable's. I need to use a script for Secondary Ability Total. I want this field to be incremented on a level basis. Is this possible, or is it locked to whatever number is entered here?

I've tried various Phases & Priorities without avail . . . :/
You still need help with this?

Nothing that I know should prevent you from modifying the field values. Can you show the script logic you used?

Basic script logic would be:
Code:
field[cfgMax2].value += hero.tagcount[Classes.?]
After Post-Level/10000 and replace Classes.? with the correct tag for your class. This script also assumes you are running on the configurable itself.

If you put this on a Class Special you would do:
Code:
hero.childfound[XXXXXXX].field[cfgMax2].value += field[xTotalLev].value
After Post-Level/10000 and replace XXXXXXX with the correct Thing ID of your configurable.
 
Chemosh:

I am working with a configurable.
For Secondary Ability Total: I have it set to 1 atm.
Here is my elav script atm:

Phase: Post-level, Priority: 21000

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

doneif (tagis[Helper.Disable] <> 0)

var iLevel as number
var iCount as number
iLevel = hero.child[cHelpPri].field[cTotalLev].value

if (iLevel >= 17) then
iCount = 5
elseif (iLevel >= 14) then
iCount = 4
elseif (iLevel >= 11) then
iCount = 3
elseif (iLevel >= 7) then
iCount = 2
else
iCount = 1
endif

field[cfgSpent2].value = iCount

I am just trying to increase the number of picks the class gets from a list of Secondary Class Abilities.

So far everythign else has wored for this class, this is the only thing still tying me up. :/
 
Phase: Post-level, Priority: 21000
Code:
field[cfgSpent2].value = iCount
Pretty sure this is the issue. In my examples I was setting cfgMax2 (which is the "maximum" number of custom abilities allowed). Your setting the Number "Spent" which will get overwritten at like Final something.

Change to cfgMax2 from cfgSpent2 and see if things work. :)
 
Just to show another way that is more flexible I would set the script up on the Class as a class special. Then bootstrap the class special multiple times to the class at levels 17,14,11 & 7. Then I would set the configurable to be "one" as that is the default.

Then use this script on the class special:
Post-Level/10000:
Code:
      ~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] <> 1)
      ~ if we've been disabled, get out now
      doneif (tagis[Helper.Disable] <> 0)

      ~ Give another Custom Ability choice
      hero.childfound[XXXXXXX].field[cfgMax2].value += 1

Now the above code simply increments "one" more use each time the ability becomes "active" on the character as they level.

This also allows an archetype or ability to disable a "single" level of the class ability leaving the rest to function. That maybe more of a pathfinder concern but I thought 5e had archetypes.
 
I'll have to try your second idea later when I have the time. The change to cfgMax2 didn't fix whatever my issues is . . .
 
I'll have to try your second idea later when I have the time. The change to cfgMax2 didn't fix whatever my issues is . . .
When you look at the configurable debug fields do you see the cfgMax2 field changing?

Can you send me the .user file to look at? Its allot easier for me to debug stuff if I can see it.
 
ShadowChemosh:

Your 2nd advised method working great. Once again my hat comes off to the codemeister. :)

Thanks again Chemosh.
 
Back
Top