• 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

Struggling with Favored Class Options

blzbob

Well-known member
So I'm trying to enter all the Favored Class Options from Super Genius Games but I'm running into the simplest of problems that I can't seem to get past. I have made sure that I have the box selected in Configure Hero. I have selected every class and race to get it to show up and nothing. I have tried making it for all Characters (in this case it would be for all characters). I have tried all the different timing options. I can't seem to figure out this first step. Is there some other trick I need to do?
 
I believe favored class options have to be bootstrapped to the class and the best way to do that after the fact is to bootstrap them to a mechanic. I could be wrong, but I think that's what I've read.
 
I just realized that I can't bootstrap them to the classes that are already in the game. I can't modify the classes. If I'm going to make this and share with the community, how can I do that?
 
AndrewD2 and ShadowChemosh already answered that question, blzbob - bootstrap them to a mechanic.
 
AndrewD2 and ShadowChemosh already answered that question, blzbob - bootstrap them to a mechanic.
Which is VERY easy to do. Simply make a new Mechanic on the Mechanic tab. Then click on bootstrap and past in the Unique ID of your Favored Class Things. To use a Mechanic you have to reload the game system. So do a "CTRL-R" and done. Now when you add the right combo of class/race the Favored Option will display.

If you add more favored options to the mechanic later just know you have to do a "CTRL-R" as "Test Now" won't work.
 
So if I'm understanding this correctly, I create it as a Favored Class Option and also as a Mechanic. Then I bootstrap them to the Mechanic. Do I have to do this separately for each option?

This is where I'm at now. I'm trying to add one that grants +1 language. I created it as a Favored Class Option and as a Mechanic. I bootstrapped the Favored Class Option to the Mechanic. What's happening now is that the character always has at least one additional language to choose no matter what's selected.

It's set at Post Attributes 10000 (just like the Hit Points and Skill Points).

This is the Eval Script I'm using:

field[abValue].value += field[fcCount].value

~+1 languages
herofield[tLangsSpk].value += 1

For some reason it always wants the character to select additional languages (and right now it's wanting two languages).
 
What's happening now is that the character always has at least one additional language to choose no matter what's selected.
Read your script. You told it to always add "one". So guess what it's always adding one. :D

I am pretty sure the HP and Skill scripts are using "field[abValue].value" and not 1 correct?

Code:
~ Set abValue to be equal to the number of times this favored
~ option was "Selected" by the user.
field[abValue].value += field[fcCount].value

~ Increase the number of languages allowed by the number
~ of times this favored option was selected.
herofield[tLangsSpk].value += field[abValue].value
Now this code adds a bonus language per level the special ability is taken.
 
Last edited:
Thanks. I thought that it would only add if selected.
Because its bootstrapped to the Mechanic it becomes "live" right away on the hero. And by "live" I mean the script actually runs/executes right away and it says add 1 to languages. So it adds one. :)

The selection logic is stored in the fcCount field. Each time this "Pick" is selected from the drop down fcCount will get incremented by 1. The count value is then stored in the abValue work field and then added to the languages field. This way you are only incrementing languages by the number of times selected. If we are never selected then fcCount will be zero and the script will add "0" to the languages.

Hopefully that helps explain what is happening in the background...
 
Last edited:
That makes sense.

I'm running into another problem now. I've got it showing up and doing the addition correctly but it shows up twice in the drop down menu. Why would it do that?
 
Back
Top