• 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

Editor help

LadyBriar

Member
So I've made a custom race and plugged it into hero labs just fine. However, when trying to program my alternate heritage for the race, I'm struggling to overwrite the base race's racial abilities... can someone help me with this?
 
Here is a script example from my houserules package. This is a alternate dwarf setup as a "Racial Cust Special" in the editor:

First/600:
Code:
      ~set our focus to the hero's race
      perform hero.findchild[BaseRace].setfocus
      doneif (state.isfocus = 0)

      ~ Remove Dwarf base bonuses
      focus.field[rCON].value = 0
      focus.field[rWIS].value = 0
      focus.field[rCHA].value = 0

      ~ Set the new values here
      focus.field[rSTR].value += 0
      focus.field[rDEX].value += 2
      focus.field[rCON].value += 0
      focus.field[rINT].value += 2
      focus.field[rWIS].value += 0
      focus.field[rCHA].value += -2
Other than resetting specific dwarf attributes it is a generic script that could be used for any race.
 
That's for the attributes, but I'm referring to replacing abilities. Like, instead of gregarious, this alternate trait is so-and-so.

I also did look at the Aasimar and Tiefling, but I'm not seeing where they're overwriting... @_@
 
In the editor if you go to the Race -> Racial Cust Special tab and make a copy of Agathion-blooded (an Aasimar heritage). Then open the Eval scripts and look at the second one there.

The one with "call HeriAbDis" just in case it was unclear. That call is where it is disabled and the variables set will determine what will be disabled

You can see what it does there to disable the abilities. However I don't know if you are able to alter more than 2 abilities through that tho. As far as I can see this is handled behind the scenes and have predefined tags (however I aint the greatest at the editor myself yet).

If you can't set more abilities than those 2 you could bootstrap an Alternate racial trait and link that to the ability you want to overwrite tho.
 
Last edited:
Back
Top