Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
For our campaign we're alowing players to select up to 2 flaws, the first flaw gives the player 4 skill points and the second flaw gives another feat to choose.
Is is possible to "program" these exceptions into the character?
Alright, that should be doable. Quick question though, I see there's a file called traits & flaws "ua_flaws.dat" in this folder > C:\ProgramData\Hero Lab\data\d20\source
I want to place my additional flaws inside this file but when I open it with the editor I get the following error:
Warning! This file is not present in the folder for the active game system. You may view the contents of the file, but not modify it.
I do use the d20 system though.
Is is because I shouldn't try to edit the source files directly? If so, how do I know what data pack to open to change the flaws and traits?
Is there an exisiting list of flaws and traits? Because if I select flaws & traits from the character creation screen (the books) I can choose some. Those traits and flaws are from multiple sources then?
I just created a data file called "Custom - Book of Distinctions & Drawbacks.user" and put it in source, then include it into the character screen and enabled flaws and now I get the flaws I insert there. Would this be a correct way to add aditional "stuff"?
Yes. In fact, there are already adjustments for this: "Feats, Total" and "Skill Points, Total". You can either use these adjustments or borrow the code from them and put them into your flaws (with some tweaks).
Where would I be able to find these adjustments?
Is there a resource I can see for how to code something? I find it very hard (coming from a Java background...)
I just want to add 4 skill points to the total skill point pool when a certain flaw has been selected.
Through the Skill Point total I found this:
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~ Get the class index of the class we selected
var index as number
index = field[pChosen].chosen.field[cClsIndex].value
~ Add skill points appropriately
herofield[tSkTotals].arrayvalue[index] += field[pAdjust].value
But I can't figure out how to change this code to just adding 4 skill points to the current skill point pool.
// edit. Found an older post > http://forums.wolflair.com/showthread.php?t=56640&highlight=skill+points which showed the code. I would still like to see if there's an source with code examples though.
// edit2. It seems that choosing a flaw automatically adds a feat, is there a way to turn this of?
herofield[tFeats].value -= 1